• 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
Re: WOPopUpButton
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WOPopUpButton


  • Subject: Re: WOPopUpButton
  • From: David Holt <email@hidden>
  • Date: Tue, 30 Mar 2010 14:33:57 -0700

Thanks Chuck,

On 30-Mar-10, at 2:23 PM, Chuck Hill wrote:


On Mar 30, 2010, at 2:18 PM, David Holt wrote:

Hi all,

A WOPopUpButton I have in a project converted from WO 5.3.3 to WO 5.4.3 is no longer displaying the selected value when there is one. It always shows the noSelectionString even though the value has been set in the database. Is this expected behaviour?

These are the only issues that I recall: http://www.global-village.net/chill/webobjects_5.4.2_changes


Is there a way around this?

<wo:select list = "$yearList" selection = "$aPerson.birthyear" displayString="$selectedYear" item = "$selectedYear" noSelectionString = "Please select ..." />


What is in yearList? The contents need to be .equals() with aPerson.birthyear for the selection binding to work.

I had also inadvertently changed the data type from VARCHAR to INT and apparently that was what caused the issue. Thanks!


David



Chuck

--
Chuck Hill             Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects









_______________________________________________ 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
References: 
 >WOPopUpButton (From: David Holt <email@hidden>)
 >Re: WOPopUpButton (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: WOPopUpButton
  • Next by Date: Re: NSTimestampFormatter and the GMT offset
  • Previous by thread: Re: WOPopUpButton
  • Next by thread: One Model and two databses: MySql and Oracle
  • Index(es):
    • Date
    • Thread