On 10/13/05, Wendy Smoak <[EMAIL PROTECTED]> wrote: > From: <[EMAIL PROTECTED]> > > > So my jsp has this: > > <h:inputText id="userName" required="true" > > value="#{registration.userName}" /> > > .. > > <h:inputSecret id="password" required="true" > > binding="#{registration.password}" /> > > > > My backingbean RegistrationBean has the following: > > > > private HtmlInputText userName = null; > > private HtmlInputSecret password = null; > > with appropriate getters and setters. > > What happens if you use 'binding' instead of 'value' for the userName? > > <h:inputText id="userName" required="true" > binding="#{registration.userName}" /> <snip/>
I was tempted to change the prefix to JSF, but didn't want to break the email thread. The above suggestion should do it. But I'd ask why you want to bind component instances rather than values? If this is a "traditional" login view, I'd think binding values should be sufficient? -Rahul --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]