myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mathias Werlitz (JIRA)" <>
Subject [jira] Commented: (MYFACES-420) InputText isn't refreshed after valueChangeListener
Date Fri, 19 Aug 2005 09:43:58 GMT
    [ ] 

Mathias Werlitz commented on MYFACES-420:

Can you provide more details what you are doing in the valueChangeListener?
The Input components show the submitted value on the next request. Thats a normal behavior.

You may have to clear the value. That can be done by code or by navigating to the same page
through a navigation rule.

> InputText isn't refreshed after valueChangeListener
> ---------------------------------------------------
>          Key: MYFACES-420
>          URL:
>      Project: MyFaces
>         Type: Bug
>   Components: JSF 1.1
>     Versions: 1.0.9 beta
>     Reporter: Christian Rueedi

> I use the following valueChangeListener and submit on blur via javascript:
> <h:inputText id="EAN" value="#{LpChooseTypeForm.a_LpObject.a_niGloWa.a_EAN}" valueChangeListener="#{LpChooseTypeForm.a_LpObject.a_niGloWa.getSkuDetails}"

> onblur="this.form.submit();">
> In the valueChangeListener I set some sku details and fill up new input fields:
> <h:outputText id="SkuNr" value="#{LpChooseTypeForm.a_LpObject.a_niGloWa.a_skuNo}"
> <h:inputText id="SkuDescription" value="#{LpChooseTypeForm.a_LpObject.a_niGloWa.a_skuDesc}"
> but the "SkuDescription" inputText doesen't get updated. If I change "SkuDescription"
to h:outputText  it get's updated.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message