myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andy Schwartz (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Commented] (TRINIDAD-2343) Hook for overriding UIXCollection temp var storage
Date Thu, 29 Nov 2012 20:08:58 GMT

    [ https://issues.apache.org/jira/browse/TRINIDAD-2343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13506740#comment-13506740
] 

Andy Schwartz commented on TRINIDAD-2343:
-----------------------------------------

Committed fix to trunk in r1415347.
                
> Hook for overriding UIXCollection temp var storage
> --------------------------------------------------
>
>                 Key: TRINIDAD-2343
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2343
>             Project: MyFaces Trinidad
>          Issue Type: Improvement
>          Components: Components
>            Reporter: Andy Schwartz
>            Assignee: Andy Schwartz
>            Priority: Minor
>             Fix For: 2.1.0-core
>
>         Attachments: trinidad-2343.patch
>
>
> UIXCollection uses the following private method for storing temporary variables (eg.
var and varStatus values):
>   private Object _setELVar(String varName, Object newData)
>   {
>     if (varName == null)
>       return null;
>     // we need to place each row at an EL reachable place so that it
>     // can be accessed via the 'var' variable. Let's place it on the
>     // requestMap:
>     return TableUtils.setupELVariable(getFacesContext(), varName, newData);
>   }
> I need to override this behavior in my subclasses of UIXCollection as I have my own mechanism
for managing temporary variables.
> Logging this issue to request that we expose a protected hook that subclasses can override
to provide alternate implementations of temporary variable storage.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message