You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Mathias Werlitz (JIRA)" <my...@incubator.apache.org> on 2005/08/19 11:43:58 UTC

[jira] Commented: (MYFACES-420) InputText isn't refreshed after valueChangeListener

    [ http://issues.apache.org/jira/browse/MYFACES-420?page=comments#action_12319339 ] 

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: http://issues.apache.org/jira/browse/MYFACES-420
>      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:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira