I am facing one problem in Tapestry.
Problem – I am using a grid to display the data. with each row i am displaying a Plus(+) button. when we click on the Plus(+) button then i’ll display the inner rows for that Row. I achieved this statically. Statically means, when Grid load the data at the same time i fetch the data for inner rows and store it into the Hidden fields. when i click on the Plus(+) button then i’ll call a JS function which use the Hidden Data field and draw the inner rows.
Now there is a twist. I have to do the same thing dynamically. It means on the click of Plus(+) button i have to fetch the data for hidden rows and then call the JS function to draw the inner rows. To achieve this i have used Zone & ActionLink to get the inner rows data dynamically. Zone contain the Hidden fields which contain the data for the Inner rows. when i click on the ActionLink, Zone get refreshed and fetch the data but after that i am not able to call the JS function.
Hope you guys understood the Problem. Need your help on urgent basis.
Regards,
Mahendra
Problem is that you are not able to call the JS function on Zone refresh. so there is one solution.
So in your case you can use like below code
so when Zone get refresh it will call yourfunction.
for more info Zone Effect Functions
Enjoy.
Regards,
Mahendra