There must be some stack trace ? Can you share that ? regards Taha
On Fri, Jul 29, 2011 at 6:54 PM, Julien Martin <bal...@gmail.com> wrote: > I've added these as suggested. It still does not work... > Any other idea? > J. > > > * @OnEvent(value = EventConstants.ACTION, component = "pause") > Object pauseJobPosting(JobPosting jobPosting) { > service.pauseJobPosting(jobPosting); > return grid.getBody(); > } > > @OnEvent(value = EventConstants.ACTION, component = "unPause") > Object unPauseJobPosting(JobPosting jobPosting) { > service.unPauseJobPosting(jobPosting); > return grid.getBody(); > }* > > > 2011/7/29 Taha Hafeez <tawus.tapes...@gmail.com> > >> Do the corresponding event handlers of these actionlinks return >> zone.getBody() >> >> @InjectComponent >> private Zone grid; >> >> Object onUnPause() >> { >> return grid.getBody(); >> } >> >> regards >> Taha >> >> >> On Fri, Jul 29, 2011 at 6:32 PM, Julien Martin <bal...@gmail.com> wrote: >> > Hello, >> > >> > I have a form that contains a number of action links. I would like to >> update >> > the whole enclosig form from an action link and have added a zone to that >> > purpose. >> > >> > It is as follows: >> > >> > * <t:zone t:id="grid" id="grid"> >> > <form t:type="form" t:id="jobPostings"> >> > >> > <t:grid source="jobPostings" row="jobPosting" add="actions" >> > exclude="jobPostingValidationDate"> >> > <p:jobPostingPausedCell> >> > <t:if test="jobPosting.jobPostingPaused"> >> > <t:actionlink t:id="unPause" context="jobPosting" >> > zone="grid">unPause</t:actionlink> >> > <p:else> >> > <t:actionlink t:id="pause" >> context="jobPosting" >> > zone="grid">pause</t:actionlink> >> > </p:else> >> > </t:if> >> > </p:jobPostingPausedCell> >> > <p:actionscell> >> > <t:actionlink t:id="activate" >> > context="jobPosting">activate</t:actionlink> >> > <br/> >> > <t:actionlink t:id="modify" >> > context="jobPosting">modify</t:actionlink> >> > <br/> >> > <t:actionlink t:id="delete" >> > context="jobPosting">delete</t:actionlink> >> > <br/> >> > </p:actionscell> >> > </t:grid> >> > </form> >> > </t:zone>* >> > >> > However the zone is not updated when I click on the button. >> > >> > Can anyone please help? >> > >> > Regards, >> > >> > Julien. >> > >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> For additional commands, e-mail: users-h...@tapestry.apache.org >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org