I belive this is the reason for the problem:

<span jwcid="detailForm">

<input jwcid="[EMAIL PROTECTED]"/>

</span>
<span jwcid="tableForm">

<table>
some checkboxes nested inside
</table>

</span>

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 help would be real nice :)

Regards

On 9/29/06, Vinicius Carvalho <[EMAIL PROTECTED]> wrote:
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, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
> 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
>
>


--
IBM Certified SOA Solution Designer



--
IBM Certified SOA Solution Designer

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to