myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Marinschek (JIRA)" <>
Subject [jira] Commented: (MYFACES-1056) getValue() vs. getLocalValue() in RendererUtils.getStringValue()
Date Tue, 24 Jan 2006 10:32:10 GMT
    [ ] 

Martin Marinschek commented on MYFACES-1056:

There is no getLocalValue.

If a local value is set, the valuebinding will not be called and getValue will return the
local value.



> getValue() vs. getLocalValue() in RendererUtils.getStringValue()
> ----------------------------------------------------------------
>          Key: MYFACES-1056
>          URL:
>      Project: MyFaces
>         Type: Bug
>   Components: General
>     Versions: 1.1.1
>  Environment: all
>     Reporter: Andreas Knuth

> For the case that any component on the page got a validation error and the value of this
component has been changed to empty, these changes will not be visible after rendering !!
> HtmlTextRendererBase uses the RendererUtils.getStringValue(...) Method and that class
uses the getValue() Method for retrieving the value. To my mind it should use  the getLocalValue()
Method, because the user wants the changed value being rendered.
> ->
> "getValue()" get the value from the ValueBinding of this component.
> "getLocalValue()" get the value from the Attribut _value of this component

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