• 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
Popup in a query page for a property selection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Popup in a query page for a property selection


  • Subject: Popup in a query page for a property selection
  • From: Ângelo Andrade Cirino <email@hidden>
  • Date: Mon, 24 Mar 2014 16:03:02 -0300

Hi,

I am trying to use a popup menu to let the user select the option for a query instead of filling the value in a ERD2WQueryToOneField. I thought that this would be easily accomplished with the following rules

100 : (pageConfiguration = 'QueryParty' and propertyKey = 'status') => componentName = "ERD2WPopUp" [com.webobjects.directtoweb.Assignment],
100 : (pageConfiguration = 'QueryParty' and propertyKey = 'status') => list = "session.statusList" [com.webobjects.directtoweb.Assignment],
100 : (pageConfiguration = 'QueryParty' and propertyKey = 'status') => choice = "session.statusChoice" [com.webobjects.directtoweb.Assignment],
100 : (pageConfiguration = 'QueryParty' and propertyKey = 'status') => selection = "session.statusChoice" [com.webobjects.directtoweb.Assignment],

But the D2W app will throw an exception due to the choice binding:

NullPointerException

  at er.directtoweb.components.numbers.ERD2WPopUp.choice(ERD2WPopUp.java:49)


When I use the D2W Key inspection panel I am able to confirm that both session.statusList and session.statusChoice are correctly set. What is my mistake?

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

  • Prev by Date: Re: Session-ID randomness
  • Next by Date: Re: Error after adding entity and relationship to model
  • Previous by thread: Re: Error after adding entity and relationship to model
  • Next by thread: Saving NSDictionary to DB
  • Index(es):
    • Date
    • Thread