Hi,

On Wed, Feb 13, 2008 at 6:02 PM, Walter Mourão <[EMAIL PROTECTED]> wrote:
> Hi folks,
> I'm trying to show a tr:inputText with a (initial) value calculated from an
> EL expression (no value binding since the value will be read from the
> request), something like <tr:inputText value="#{fn:join(somevar)}" />. But
> the input becomes "read-only". I found in the tag documentation and I think
> it is related:
>
> > the value of the component. If the EL binding for the "value" points to a
> bean property with a getter but no setter, and this is an editable
> component, the component will be rendered in read-only mode.
> >
>
> Is there a way to make the inputText writable when it gets its value from an
> EL expression ?

this: #{bean.blah}
where there is a set/getBlah() in the "bean", the EL is not! readOnly.

if there is only a getBlah(), the EL is read-only.

A way around could be using <h:inputText/>, since there is no such an
additional read-only check.

-M

>
> Thanks in advance,
>
> --
> Walter Mourão
> http://waltermourao.com.br
>  http://waltermourao.blogspot.com
> http://arcadian.com.br
>



-- 
Matthias Wessendorf

further stuff:
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
mail: matzew-at-apache-dot-org

Reply via email to