tags:

views:

30

answers:

1

Hi I am working on JSF 1.2 with richfaces. If user select a particular value in dropdown, based on the value one of the text field has to be editable or read-only. if user selects twice the drop down and give the value in input text the value is not refected in backing bean i am getting null value. this happens only in mozilla and not in IE7.I have added a a4j support for dropdown and rerendering. Please help me out in this


Update: my JSF code is:

<h:selectOneMenu value="#{testBean.user}">
    <a4j:support event="onchange" action="#{testBean.editUser}" reRender="intxt">
</h:selectOneMenu> 

my backing bean source code is:

public void editUser() {
    if (StringUtils.equals(user,"OTHER") {
        localBean.getUser().setReadOnly(false);
    } else {
        localBean.getUserValue().setReadOnly(true);
        localBean.seUserValue(null);
    }
}
A: 

(moved update back into question)

sankar
As per the note in your original answer that you're unable to edit your question: You need to register your account. Unregistered accounts are backed by a cookie and thus tied to a specific machine/webbrowser. I'd suggest to go back to the machine/webbrowser from where you originally posted the question and then register *that* account. This way you can access your account from anywhere.
BalusC