You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Rogerio Pereira <ro...@gmail.com> on 2006/07/17 21:14:34 UTC
only use component binding is possible?
Hi guys!
i decided use only component binding in my jsf apps like this:
<h:inputText binding="#{bean.comp}" id="comp" maxlength="40" size="50" />
but i can´t retrieve the value of this component, i tried:
comp.getValue();
comp.getLocalValue();
comp.getSubmittedValue();
and no sucess.
Somebody has any idea?
--
Yours truly (Atenciosamente),
Rogério
Re: only use component binding is possible?
Posted by Martin Marinschek <ma...@gmail.com>.
Are you in an action-method when you try to retrieve the value?
regards,
Martin
On 7/17/06, Rogerio Pereira <ro...@gmail.com> wrote:
> Hi guys!
>
> i decided use only component binding in my jsf apps like this:
>
> <h:inputText binding="#{bean.comp}" id="comp" maxlength="40" size="50" />
>
> but i can´t retrieve the value of this component, i tried:
>
> comp.getValue();
> comp.getLocalValue();
> comp.getSubmittedValue();
>
> and no sucess.
>
> Somebody has any idea?
>
> --
> Yours truly (Atenciosamente),
>
> Rogério
--
http://www.irian.at
Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German
Professional Support for Apache MyFaces