Why don't you just separate the table from your other form and have two forms instead? Most of the form based functionality of the table is best realized when doing things like providing a "search" component or nesting form fields within table columns. (Like checkboxes ..etc...Soon to be InlineEditBox s as well )
On 9/28/06, andyhot <[EMAIL PROTECTED]> wrote:
Vinicius Carvalho wrote: > ouch... I guess I'll have to dump my validators ... and validate each > input on the save button, those side effects are too dangerous for my > screen. It's not as bad as it sounds. That's how Tap3 worked. It simply made sure that on rewind you'd iterate over the same elements you had during render - it would throw stale link exception otherwise. So, if that's never happens in your case, go ahead and try it. > > :( > > Regards > > On 9/28/06, andyhot <[EMAIL PROTECTED]> wrote: >> Vinicius Carvalho wrote: >> > onrefresh did not work... :( I've noticed that the links points to a >> > Tapestry javascript function: Tapestry.submitform. Just one question, >> > why pagination invokes a form submission? >> >> cause otherwise you would lose the updated inputs. This was the original >> idea, >> before refresh or cancel listeners existed. >> >> You can try setting volatile="true" in your form. This is : >> "Only active in a form. Determines whether to avoid creating hidden >> fields within a form. >> Using this parameter may make the form structure different during render >> and rewind, >> and cause exceptions as a result. Please use with caution." >> >> As a sideffect, it forces normal links to be displayed (instead of form >> submiting ones) >> >> > Any ideas on how to clear the delegate messages? >> > >> > Regards >> > >> > On 9/28/06, Vinicius Carvalho <[EMAIL PROTECTED]> wrote: >> >> Hello there! When using the pagination of the contrib:table that is >> >> inside a form it is displaying errors of my validation delegate >> (since >> >> the form fields are blank). I override this with the property >> >> selection using a onRefresh method, does it work for contrib as well? >> >> >> >> Regards >> >> >> >> -- >> >> IBM Certified SOA Solution Designer >> >> >> > >> > >> >> >> -- >> Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr >> Tapestry / Tacos developer >> Open Source / J2EE Consulting >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > -- Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr Tapestry / Tacos developer Open Source / J2EE Consulting --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Jesse Kuhnert Tapestry/Dojo/(and a dash of TestNG), team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com