myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Koci (JIRA)" <>
Subject [jira] Created: (TRINIDAD-28) MessageFactory.BindingFacesMessage resolves parameters only once
Date Tue, 22 May 2007 11:51:16 GMT
MessageFactory.BindingFacesMessage resolves parameters only once

                 Key: TRINIDAD-28
             Project: MyFaces Trinidad
          Issue Type: Improvement
          Components: Components
    Affects Versions: 1.0.1-incubating-core-SNAPSHOT
            Reporter: Martin Koci
            Priority: Minor

I probably found a problem  with BindingFacesMessage class. If calling   getMessage() it resolves
value binding only once and then cache it. 
I think values should be resolved every time as normal ValueBinding or   ValueExpressing does
- calling getValue(context) creates a new value  every time; but BindingFacesMessage returns
still same value (which can be pretty old and unactual).

I fixed it locally with:

        private void _resolveBindings()
               //if (_resolvedParameters == null)
                 _resolvedParameters = _getProcessedBindings(null, _parameters);

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message