You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by PEGASUS84 <pe...@hotmail.it> on 2009/06/15 12:01:15 UTC
white space
good moornig,
my problem is this:
i've this select
<s:select cssClass="selezione" id="docente" listKey="getCodiceD()"
listValue="getNome()+getCognome()" theme="simple"
list="getDocentiNONComm()"></s:select>
in listValue i Want to separate getNome() and getCognome() with a white
space.
How can I make it?
--
View this message in context: http://www.nabble.com/white-space-tp24031922p24031922.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: white space
Posted by Nils-Helge Garli Hegvik <ni...@gmail.com>.
I'd consider creating a new getter that returns what you want.
Nils-H
On Mon, Jun 15, 2009 at 12:01 PM, PEGASUS84<pe...@hotmail.it> wrote:
>
> good moornig,
>
> my problem is this:
> i've this select
>
> <s:select cssClass="selezione" id="docente" listKey="getCodiceD()"
> listValue="getNome()+getCognome()" theme="simple"
> list="getDocentiNONComm()"></s:select>
>
> in listValue i Want to separate getNome() and getCognome() with a white
> space.
>
> How can I make it?
> --
> View this message in context: http://www.nabble.com/white-space-tp24031922p24031922.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: white space
Posted by Lukasz Lenart <lu...@googlemail.com>.
2009/6/15 PEGASUS84 <pe...@hotmail.it>:
> How can I make it?
Did you try this
listValue="%{nome + ' ' + cognome}"
Regards
--
Lukasz
http://www.lenart.org.pl/
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org