Re: binding 'displayString' to combined columns...
Re: binding 'displayString' to combined columns...
- Subject: Re: binding 'displayString' to combined columns...
- From: Johann Werner <email@hidden>
- Date: Sun, 22 Mar 2009 18:57:04 +0100
Hi Theodore,
Am 22.03.2009 um 10:21 schrieb Theodore Petrosky:
I don't get this... I want to show the combined attributes from my
entity in the displayString. What I want is:
displayString = "$theUser.firstName" + " " + "$theUser.lastName"
I think this should be something like
displayString = "~theUser.firstName + \" \" + theUser.lastName";
look at http://wiki.objectstyle.org/confluence/display/WO/Project+WONDER-Frameworks-WOOgnl
for some examples.
jw
but of course this doesn't work. I feel i am missing something
obvious but it isn't coming forth.
My entity has:
firstName
lastName
and I want to keep it normalized like this.
<wo:WOPopUpButton list = "$repList" displayString =
"$theUser.firstName"
item = "$theUser" selection = "$theUser" />
Ted
_______________________________________________
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
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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