You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-issues@incubator.apache.org by "Kamran Kashanian (JIRA)" <ad...@incubator.apache.org> on 2006/11/11 22:04:37 UTC
[jira] Created: (ADFFACES-288) Move the defaulting of the
focusRowKey attribute for the TreeTable component to the renderer
Move the defaulting of the focusRowKey attribute for the TreeTable component to the renderer
--------------------------------------------------------------------------------------------
Key: ADFFACES-288
URL: http://issues.apache.org/jira/browse/ADFFACES-288
Project: MyFaces ADF-Faces
Issue Type: Improvement
Environment: All
Reporter: Kamran Kashanian
The Trinidad TreeTable is limited to a single root node. The root node that is displayed by the TreeTable is indicated by the focusRowKey attribute of TreeTable. When no focusRowKey attribute is specified, TreeTable defaults the focusRowKey to the first node in the tree model. This defaulting of the focusRowKey attribute is done in a package scoped method (__init()) of the UIXTreeTable class. Since there is no hook for subclasses of UIXTreeTable to override the defaulting of the focusRowKey attribute, the subclasses are also limited to a single root node (if they use the same focusRowKey logic to display the root node.)
The proposal is to move the defaulting of the focusRowKey attribute out of the UIXTreeTable component and into the renderer. This allows subclasses of UIXTreeTable to handle a null focusRowKey and display multiple root nodes.
This patch includes this change. Also currently both Tree and TreeTable initially expand the focusRowKey node. This initial expansion was also being done in the component. This patch moves the initial expansion of the focusRowKey node into the renderer.
--
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
[jira] Updated: (ADFFACES-288) Move the defaulting of the
focusRowKey attribute for the TreeTable component to the renderer
Posted by "Kamran Kashanian (JIRA)" <ad...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/ADFFACES-288?page=all ]
Kamran Kashanian updated ADFFACES-288:
--------------------------------------
Attachment: trunk.patch
> Move the defaulting of the focusRowKey attribute for the TreeTable component to the renderer
> --------------------------------------------------------------------------------------------
>
> Key: ADFFACES-288
> URL: http://issues.apache.org/jira/browse/ADFFACES-288
> Project: MyFaces ADF-Faces
> Issue Type: Improvement
> Environment: All
> Reporter: Kamran Kashanian
> Attachments: trunk.patch
>
>
> The Trinidad TreeTable is limited to a single root node. The root node that is displayed by the TreeTable is indicated by the focusRowKey attribute of TreeTable. When no focusRowKey attribute is specified, TreeTable defaults the focusRowKey to the first node in the tree model. This defaulting of the focusRowKey attribute is done in a package scoped method (__init()) of the UIXTreeTable class. Since there is no hook for subclasses of UIXTreeTable to override the defaulting of the focusRowKey attribute, the subclasses are also limited to a single root node (if they use the same focusRowKey logic to display the root node.)
> The proposal is to move the defaulting of the focusRowKey attribute out of the UIXTreeTable component and into the renderer. This allows subclasses of UIXTreeTable to handle a null focusRowKey and display multiple root nodes.
> This patch includes this change. Also currently both Tree and TreeTable initially expand the focusRowKey node. This initial expansion was also being done in the component. This patch moves the initial expansion of the focusRowKey node into the renderer.
--
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
[jira] Updated: (ADFFACES-288) Move the defaulting of the
focusRowKey attribute for the TreeTable component to the renderer
Posted by "Adam Winer (JIRA)" <ad...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/ADFFACES-288?page=all ]
Adam Winer updated ADFFACES-288:
--------------------------------
Status: Resolved (was: Patch Available)
Resolution: Fixed
Checked in patch.
> Move the defaulting of the focusRowKey attribute for the TreeTable component to the renderer
> --------------------------------------------------------------------------------------------
>
> Key: ADFFACES-288
> URL: http://issues.apache.org/jira/browse/ADFFACES-288
> Project: MyFaces ADF-Faces
> Issue Type: Improvement
> Environment: All
> Reporter: Kamran Kashanian
> Attachments: trunk.patch
>
>
> The Trinidad TreeTable is limited to a single root node. The root node that is displayed by the TreeTable is indicated by the focusRowKey attribute of TreeTable. When no focusRowKey attribute is specified, TreeTable defaults the focusRowKey to the first node in the tree model. This defaulting of the focusRowKey attribute is done in a package scoped method (__init()) of the UIXTreeTable class. Since there is no hook for subclasses of UIXTreeTable to override the defaulting of the focusRowKey attribute, the subclasses are also limited to a single root node (if they use the same focusRowKey logic to display the root node.)
> The proposal is to move the defaulting of the focusRowKey attribute out of the UIXTreeTable component and into the renderer. This allows subclasses of UIXTreeTable to handle a null focusRowKey and display multiple root nodes.
> This patch includes this change. Also currently both Tree and TreeTable initially expand the focusRowKey node. This initial expansion was also being done in the component. This patch moves the initial expansion of the focusRowKey node into the renderer.
--
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
[jira] Updated: (ADFFACES-288) Move the defaulting of the
focusRowKey attribute for the TreeTable component to the renderer
Posted by "Matthias Weßendorf (JIRA)" <ad...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/ADFFACES-288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthias Weßendorf updated ADFFACES-288:
----------------------------------------
Fix Version/s: 1.0.0-incubating-core
Affects Version/s: 1.0.0-incubating-core
> Move the defaulting of the focusRowKey attribute for the TreeTable component to the renderer
> --------------------------------------------------------------------------------------------
>
> Key: ADFFACES-288
> URL: https://issues.apache.org/jira/browse/ADFFACES-288
> Project: MyFaces ADF-Faces
> Issue Type: Improvement
> Affects Versions: 1.0.0-incubating-core
> Environment: All
> Reporter: Kamran Kashanian
> Fix For: 1.0.0-incubating-core
>
> Attachments: trunk.patch
>
>
> The Trinidad TreeTable is limited to a single root node. The root node that is displayed by the TreeTable is indicated by the focusRowKey attribute of TreeTable. When no focusRowKey attribute is specified, TreeTable defaults the focusRowKey to the first node in the tree model. This defaulting of the focusRowKey attribute is done in a package scoped method (__init()) of the UIXTreeTable class. Since there is no hook for subclasses of UIXTreeTable to override the defaulting of the focusRowKey attribute, the subclasses are also limited to a single root node (if they use the same focusRowKey logic to display the root node.)
> The proposal is to move the defaulting of the focusRowKey attribute out of the UIXTreeTable component and into the renderer. This allows subclasses of UIXTreeTable to handle a null focusRowKey and display multiple root nodes.
> This patch includes this change. Also currently both Tree and TreeTable initially expand the focusRowKey node. This initial expansion was also being done in the component. This patch moves the initial expansion of the focusRowKey node into the renderer.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (ADFFACES-288) Move the defaulting of the
focusRowKey attribute for the TreeTable component to the renderer
Posted by "Kamran Kashanian (JIRA)" <ad...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/ADFFACES-288?page=all ]
Kamran Kashanian updated ADFFACES-288:
--------------------------------------
Status: Patch Available (was: Open)
> Move the defaulting of the focusRowKey attribute for the TreeTable component to the renderer
> --------------------------------------------------------------------------------------------
>
> Key: ADFFACES-288
> URL: http://issues.apache.org/jira/browse/ADFFACES-288
> Project: MyFaces ADF-Faces
> Issue Type: Improvement
> Environment: All
> Reporter: Kamran Kashanian
> Attachments: trunk.patch
>
>
> The Trinidad TreeTable is limited to a single root node. The root node that is displayed by the TreeTable is indicated by the focusRowKey attribute of TreeTable. When no focusRowKey attribute is specified, TreeTable defaults the focusRowKey to the first node in the tree model. This defaulting of the focusRowKey attribute is done in a package scoped method (__init()) of the UIXTreeTable class. Since there is no hook for subclasses of UIXTreeTable to override the defaulting of the focusRowKey attribute, the subclasses are also limited to a single root node (if they use the same focusRowKey logic to display the root node.)
> The proposal is to move the defaulting of the focusRowKey attribute out of the UIXTreeTable component and into the renderer. This allows subclasses of UIXTreeTable to handle a null focusRowKey and display multiple root nodes.
> This patch includes this change. Also currently both Tree and TreeTable initially expand the focusRowKey node. This initial expansion was also being done in the component. This patch moves the initial expansion of the focusRowKey node into the renderer.
--
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