• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
newbie question regarding WOPopUp
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

newbie question regarding WOPopUp


  • Subject: newbie question regarding WOPopUp
  • From: Timmy <email@hidden>
  • Date: Tue, 30 May 2006 11:15:25 -0700

WOList:

I'm adding a WOPopUp element to a search page I am creating. I am manually creating the NSArray with String values that will populate the pop-up rather than using EO's. I am building my list like so:

NSArray buildingList = new NSArray(new Object[] {"Building One","Building Two","Building Three"});

for my PopUp, I'm binding 'name' like "myElementName."


My WOSubmit is executing a DirectAction which is grabbing the selected PopUp value via request().formValueForKey("myElementName"). The value returned by that method is a String representing the index of the selected item from my WOPopUp rather than the actual text string ("Building One", etc.). I'm sure this must be the expected behavior but I could use a nudge in the right direction to get the actual selected string value back rather than the index value.


Thanks for any available assistance,

Tim
_______________________________________________
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


  • Follow-Ups:
    • Re: newbie question regarding WOPopUp
      • From: "Pierce T. Wetter III" <email@hidden>
  • Prev by Date: Re: Java Error on startup of App
  • Next by Date: Re: newbie question regarding WOPopUp
  • Previous by thread: Senior WO Engineer Wanted - San Jose, CA
  • Next by thread: Re: newbie question regarding WOPopUp
  • Index(es):
    • Date
    • Thread