You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Andy Schwartz (JIRA)" <de...@myfaces.apache.org> on 2012/11/27 21:33:57 UTC
[jira] [Updated] (TRINIDAD-2343) Hook for overriding UIXCollection
temp var storage
[ https://issues.apache.org/jira/browse/TRINIDAD-2343?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andy Schwartz updated TRINIDAD-2343:
------------------------------------
Status: Patch Available (was: Open)
> 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
> 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