Re: Contrib:Table pagination and validation issue

2006-10-05 Thread Vinicius Carvalho
I tried that, I'm pretty sure I missed something, but it did not work for a reason (at least I believe that) my ImageSubmit buttons where located around the register form. Even using Javascript (document.forms['tableForm'].submit()) for some reason, some methods like the remove all (its a table wi

Re: Contrib:Table pagination and validation issue

2006-10-05 Thread Jesse Kuhnert
Why don't you just have a separate form wrapping your table ? Seems like the easiest solution to me. Maybe I've missed something though. On 10/5/06, Vinicius Carvalho <[EMAIL PROTECTED]> wrote: Hi there Jesse! It's a master detail page: So I have a form to register/update Seminars, and a Table

Re: Contrib:Table pagination and validation issue

2006-10-05 Thread Vinicius Carvalho
Hi there Jesse! It's a master detail page: So I have a form to register/update Seminars, and a Table with all the Seminars registred so far. As any form, it has validation on many fields. So, when I get a pagination, and the user clicks on the navigation, the page renders with errors from the vali

Re: Contrib:Table pagination and validation issue

2006-10-02 Thread Jesse Kuhnert
I'm not sure what the original problem was now. Can you show a clear example of what you expect vs what is happening? On 10/2/06, Vinicius Carvalho <[EMAIL PROTECTED]> wrote: Still stuck on this, I'm moving to the coding each validator on hand, dumping the automatic validation. I'm just sad, c

Re: Contrib:Table pagination and validation issue

2006-10-02 Thread Vinicius Carvalho
Still stuck on this, I'm moving to the coding each validator on hand, dumping the automatic validation. I'm just sad, cuz my form has a lot of validators, and It's taking quite some time, I wish it had a better way... Regards On 9/29/06, Vinicius Carvalho <[EMAIL PROTECTED]> wrote: I belive thi

Re: Contrib:Table pagination and validation issue

2006-09-29 Thread Vinicius Carvalho
I belive this is the reason for the problem: some checkboxes nested inside problem is, when I click on the imagesubmit it submits the first form, tried to override it by using a javascript onclick = "document.forms['tableForm'].submit()" but it seems to have no effect at all :( Any

Re: Contrib:Table pagination and validation issue

2006-09-29 Thread Vinicius Carvalho
Jesse I tried this, but I'm stuck in something Im sure its a dumb mistake from my self. Having two forms, now, the checkbox I have on the table does not updates the object field as it did before when the table was nested inside the same form as the detail form... Any hints? Regards On 9/28/06,

Re: Contrib:Table pagination and validation issue

2006-09-28 Thread Jesse Kuhnert
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 InlineEdi

Re: Contrib:Table pagination and validation issue

2006-09-28 Thread andyhot
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 el

Re: Contrib:Table pagination and validation issue

2006-09-28 Thread Vinicius Carvalho
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. :( Regards On 9/28/06, andyhot <[EMAIL PROTECTED]> wrote: Vinicius Carvalho wrote: > onrefresh did not work... :( I've noticed that the links poin

Re: Contrib:Table pagination and validation issue

2006-09-28 Thread andyhot
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

Re: Contrib:Table pagination and validation issue

2006-09-28 Thread Vinicius Carvalho
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? Any ideas on how to clear the delegate messages? Regards On 9/28/06, Vinicius Carvalho <[EMAIL PROTECTED]> wrote: