Re: Extra set of eyes on this WOPopUp.
Re: Extra set of eyes on this WOPopUp.
- Subject: Re: Extra set of eyes on this WOPopUp.
- From: Chuck Hill <email@hidden>
- Date: Mon, 7 Jun 2010 15:33:10 -0700
session.ratings and selectedRating are not in the same EC
On Jun 7, 2010, at 3:08 PM, James Cicenia wrote:
The problem, no matter what I pick, it always selects the first non-
null entry in the dropdown.
As evidenced by my printout.
YET -
In the javascript is does put the correct rating.name in the text
field!
Just the object is getting somehow mis-referenced.
public void setSelectedRating(Rating pRating)
{
System.out.println(pRating.name());
}
RatingPopUp : WOPopUpButton{
id = "ratingSelect";
list = session.ratings;
item = aRating;
name="CA_type";
class="MB_focusable MB_field width100";
selection = selectedRating;
displayString = aRating.name;
noSelectionString = "-- select rating --";
onChange = "javascript:createAlertNameEntry()";
}
Thanks
James
_______________________________________________
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
--
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