Popup in a query page for a property selection
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