Title: How to update fields from ValueChangeEvent

Hi!
This question seems to be very stupid, but I can't achieve to update inputText Components within a ValueChangeEvent when this inputTextComponents have a binding attribute.

If I remove the binding attribute, then the fields are updated...
In the ValueChangeMethod I get records from Database depending on the Input of the first inputtext component and write the records into the other inputtext COmponents with their setter Methods.

Then the page is loaded new but the inputtextfields arenot updated
What can I do to achieve this?

Here is my JSF Page:
<t:htmlTag value="td" rendered="#{showTags.showLfnr}">
        <h:inputText binding=
"#{beziehungsDto.ITlfnr}"  id="lfnr"
                value="#{beziehungsDto.lfnr}" styleClass="mustfield" required="true"
                size="35" rendered="#{showTags.showLfnr}" immediate="true"
                valueChangeListener="#{querySelectHelper.selectSamData}"
                >"submit()">
                <f:validateLength maximum=
"35"></f:validateLength>
        </h:inputText>
</t:htmlTag>
 
In
this second field some data should be written. If I remove the binding attribute, it works, if I leave it, the field isn't updated...
<t:htmlTag value="td">
        <h:inputText binding=
"#{beziehungsDto.ITpartnername}" id="partnernameneu" value="#{beziehungsDto.namepartner}"
        styleClass="mustfield" required="true" size="35">
                <f:validateLength maximum=
"35"></f:validateLength>
        </h:inputText>
</t:htmlTag>


Regards,
Andy


______________________________________________________________________ This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system manager. This footnote also confirms that this email message has been swept for the presence of computer viruses. ______________________________________________________________________

Reply via email to