Hi,

 

I can’t bind a component to my backing bean when an aliasBean is used.

In my backing bean I have:

private UIInput userNameUIInput;

 

In my jsp:

<h:inputText id=”userName” value=”#{myAliasBean.user.userName}” binding=”#{myAliasBean.userNameUIInput}”/>

 

The first time the jsp is showed, it works correctly. After, when I make an action, for example a refresh of the datamodel, the following exception is reported: javax.faces.el.EvaluationException: Cannot set value for _expression_ ‘#{myAliasBean.userNameUIInput}’ to a new value of type javax.faces.component.html.HtmlInputText.

 

myAliasBean refers to something like myMasterBean.myDetailBean (it works when no aliasBean is used).

 

Is it a bug or am I doing a bad usage of the <t:aliasBean/> tag?

 

Thx.

 

Regards,

 

Maxence Dewil.

Reply via email to