[JBoss JIRA] Created: (RF-9978) rich:tab rendered wrong
by wojtek k (JIRA)
rich:tab rendered wrong
-----------------------
Key: RF-9978
URL: https://jira.jboss.org/browse/RF-9978
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-panels-layout-themes
Affects Versions: 4.0.0.Milestone4
Environment: all
Reporter: wojtek k
<rich:tabPanel id="tp" switchType="server">
<rich:tab name="1" header="1">
tab1
</rich:tab>
<rich:tab name="2" header="2">
tab2
</rich:tab>
<rich:tab name="3" header="3">
tab3
</rich:tab>
</rich:tabPanel>
html output
<div class="rf-tb" id="j_idt28:j_idt29"><div id="j_idt28:j_idt29:content" class="rf-tb-cnt">
tab1
</div><script type="text/javascript">new RichFaces.ui.Tab("j_idt28:j_idt29",{"index":0,"togglePanelId":"j_idt28:tp","switchMode":"server","disabled":false,"name":"1"} )</script></div>
<div class="rf-tb" id="j_idt28:j_idt31"><div style="display: none;" id="j_idt28:j_idt31:content" class="rf-tb-cnt">
tab2
</div><script type="text/javascript">new RichFaces.ui.Tab("j_idt28:j_idt31",{"index":1,"togglePanelId":"j_idt28:tp","switchMode":"server","disabled":false,"name":"2"} )</script></div>
<div class="rf-tb" id="j_idt28:j_idt33"><div style="display: none;" id="j_idt28:j_idt33:content" class="rf-tb-cnt">
tab3
</div><script type="text/javascript">new RichFaces.ui.Tab("j_idt28:j_idt33",{"index":2,"togglePanelId":"j_idt28:tp","switchMode":"server","disabled":false,"name":"3"} )</script></div>
when switchType=server only selected rich:tab should be rendered
not sure in case ajax (append new, refresh selected)?
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 11 months
[JBoss JIRA] Created: (RF-9997) rich:tree - adaptors - introduce value/property node binding
by Lukas Fryc (JIRA)
rich:tree - adaptors - introduce value/property node binding
------------------------------------------------------------
Key: RF-9997
URL: https://issues.jboss.org/browse/RF-9997
Project: RichFaces
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: component-tree
Affects Versions: 4.0.0.Milestone5
Reporter: Lukas Fryc
rich:treeModelAdaptor is currently able to bind only Iterable or Map instances, but we should also consider binding values, which can take their place in tree structure.
<rich:treeModelRecursiveAdaptor
roots="#{richTreeModelRecursiveAdaptorBean.rootNodes}"
nodes="#{node.recursive}"
>
<rich:treeNode>
#{node.label}
</rich:treeNode>
<!-- unsupported -->
<rich:treeModelAdaptor nodes="#{node.value}">
<rich:treeNode>
#{node.property}
</rich:treeNode>
</rich:treeModelAdaptor>
<!-- end-unsupported -->
<rich:treeModelAdaptor nodes="#{node.list}">
<rich:treeNode>
#{node.label}
</rich:treeNode>
</rich:treeModelAdaptor>
</rich:treeModelRecursiveAdaptor>
It will be good to see another tag used since conflict with naming like @nodes="value".
Proposal:
<rich:treePropertyNode var="value" value="#{node.value}">
#{value.property}
</rich:treePropertyNode>
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 11 months
[JBoss JIRA] Created: (RF-10017) rich:tree - add attribute @handleLoading and reimplement loading facet
by Lukas Fryc (JIRA)
rich:tree - add attribute @handleLoading and reimplement loading facet
----------------------------------------------------------------------
Key: RF-10017
URL: https://issues.jboss.org/browse/RF-10017
Project: RichFaces
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: component-tree
Affects Versions: 4.0.0.Milestone5
Reporter: Lukas Fryc
Attachments: handleLoading.png, loading-facet.png
See [JBoss Forum Reference] for details.
1. introduce @handleLoading for customizing handle's icon when loading subnodes (handleLoading.png)
2. reimplement "loading" facet for specifying the content under node visible during loading (loading-facet.png)
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 11 months
[JBoss JIRA] Created: (RF-10016) rich:tree - introduce ajax-expanding/server-expanding mode
by Lukas Fryc (JIRA)
rich:tree - introduce ajax-expanding/server-expanding mode
----------------------------------------------------------
Key: RF-10016
URL: https://issues.jboss.org/browse/RF-10016
Project: RichFaces
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: component-tree
Affects Versions: 4.0.0.Milestone5
Reporter: Lukas Fryc
When using ajax/server mode for expanding tree, the requests are sent also in case of collapsing.
But this is scenario when developers usually don't expect the server reload, it can be done completely on client-side.
However one aspect when server request is necessary is triggering nodeToggleListener.
See [JBoss Forum Reference] for details.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 11 months