Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Can't reRender h:inputText value using a4j

843844Jul 14 2007
Hi

I think I've already asked, but still no idea how to update input text component using h:selectOneMenu Can anyone help? Simply, reRender doesn't work on this component. The code:


<h:selectOneMenu value="#{myBean.selected}">
<f:selectItems value="#{myBean.myList}"/>
<a4j:support event="onchange" action="#{myBean.changeOption}"
ajaxSingle="true" reRender="myInput" />
</h:selectOneMenu>

<h:inputText id="myInput" value="#{myBean.myValue}"/>

It works with outputText, but not with inputText. I use a4j 1.1.1 and facelets 1.1

Thanks in advance.

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Aug 11 2007
Added on Jul 14 2007
0 comments
108 views