Hi, 2008/2/15, Baiss Eric Magnusson <[EMAIL PROTECTED]>: > > I have a WOImageButton with an Action method which brings up an > editing pane. > > I need to call Javascript to set the <selectedIndex> of one of the > WOPopupButtons in the editing pane, right now it always defaults to > zero. > > The form has multiple submit buttons and each record shown on the > page has it own WOImageButton, clicking one of the image buttons > opens up that record for editing.
Does this refresh the page? if not, you should use an ajax call. If this refresh the page, you should use a binding or set a variable in the java classwith the value. I know about hidden fields so I can get to the correct value of the > <selectedIndex> for that record from within a Javascript function. I already use <onLoad> from the <Body> tag to set up the Javascript, > but that only happens on page load. So you don't refresh... you should consider to use the Ajax.framework of Project Wonder ---- > Baiss Eric Magnusson > <http://www.Track-Your-Finances.com> > <http://www.CascadeWebDesign.com> > > > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list ([email protected]) > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/webobjects-dev/ildenae%40gmail.com > > This email sent to [EMAIL PROTECTED] > -- Daniele Corti AIM: S0CR4TE5 Messenger: [EMAIL PROTECTED] -- Computers are like air conditioners -- they stop working properly if you open WINDOWS -- What about the four lusers of the apocalypse? I nominate: "advertising", "can't log in", "power switch" and "what backup?" --Alistair Young
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
