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 protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to