Re: Manualy define WOPopUpButton
Re: Manualy define WOPopUpButton
- Subject: Re: Manualy define WOPopUpButton
- From: Kevin Xiaowen Ren <email@hidden>
- Date: Tue, 07 Sep 2004 10:34:18 +1200
Hi,
What I have done now is using WOGenericContainer NOT WOGenericElement to
setup <option>.
in HTML: <WEBOBJECT NAME= MyOption ><WEBOBJECT NAME=
MyLabel ></WEBOBJECT></WEBOBJECT>
MyOption:WOGenericContainer
{
elementName="option";
class = getOptionClass;
value = modelItem.name;
}
MyLabel:WOString{
value = modelItem.name;
}
The display interface in the browser is quiet right, but how to get the
selected value is problem.
Any idea?
kevin
Hi,
Who has done this before? Cause I want to define the font weight for
displayString.
I want to know how to binding value in <option> tag, like displayString,
value and selection in WOPopUpButton.
I was trying do this code, but no lucky.
MyOption:WOGenericElement
{
elementName="option";
class = getOptionClass;
otherTagString = "selected";
formValue = modelItem.name;
invokeAction=selectedThisModel;
}
thanks,
kevin
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.