Re: WOPopButtton change action
Re: WOPopButtton change action
- Subject: Re: WOPopButtton change action
- From: Geoff Hopson <email@hidden>
- Date: Tue, 19 Apr 2005 14:47:26 +0100
You could do an 'onclick="document.forms[0].submit()" on your popups
if you really must call the form action.
You may also need to set 'multipleSubmit = true' on the WOForm bindings as well.
Geoff
On 4/19/05, Jerry W. Walker <email@hidden> wrote:
> From the WebObjects Dynamic Elements Reference documentation for
> WOForm's bindings:
>
> ================================
> action
>
> Action method that's invoked when the form is submitted. If the form
> contains a dynamic element that has its own action (such as a
> WOSubmitButton or a WOActiveImage), that action is invoked instead of
> the WOForm's.
> ================================
>
> If you have a submit button in the form to which you've bound an action
> method, then the form's action method won't be called as stated above.
>
> HTH
>
> Jerry
>
> On Apr 19, 2005, at 7:43 AM, Tanmoy Roy wrote:
>
> > Hi all,
> > I am really flustered on this. Following is my requirement:
> >
> > I have 3 WOPopButton (say WOP1,WOP2,WOP3). I will select some value
> > in WOP1 and depending on the selection WOP2 will be populated by a set
> > of values from database. And depending on the selection og WOP2 WOP3
> > will be populated like wise.
> >
> > I have tried to bind a WOAction with the action of the form and then
> > have tried to submit it. The form is getting submitted without the
> > function getting called.
> >
> > Please, anybody help.
> >
> > Chuck :: I was reading on of your posting in the net. where you have
> > done something like my requirement. Can you plese let me know the
> > steps?
> >
> > Thanks and Regards
> >
> > Tanmoy Roy
> >
> >
> > _______________________________________________
> > Do not post admin requests to the list. They will be ignored.
> > Webobjects-dev mailing list (email@hidden)
> > Help/Unsubscribe/Update your Subscription:
> > email@hidden
> >
> > This email sent to email@hidden
> >
> >
>
> --
> __ Jerry W. Walker, Partner
> C o d e F a b, LLC - "High Performance Industrial Strength Internet
> Enabled Systems"
> email@hidden
> 212 465 8484 X-102 office
> 212 465 9178 fax
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden