myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "daniel ccss" <danielcc...@gmail.com>
Subject Re: SelectOneMenu text
Date Fri, 31 Aug 2007 14:25:27 GMT
Hi, sorry, yes the correct question is how to:

loop through the SelectItem list until find the one with the selected value
to extract the description

Thanks

On 8/31/07, Simon Lessard <simon.lessard.3@gmail.com> wrote:
>
> Hello Daniel,
>
> I don't really understand your question. Can you be a bit more specific?
> If I understand well though, you could either change the value property of
> your SelectItem object, or loop through the SelectItem list until you find
> the one with the selected value to extract the description.
>
>
> Regards,
>
> ~ Simon
>
> On 8/31/07, daniel ccss <danielccss2@gmail.com> wrote:
> >
> > Hi all,
> >
> > How I can get the selected text, not the code, of a <h:selectOneMenu
> > component?
> >
> > thanks
> >
>
>

Mime
View raw message