[JBoss JIRA] Created: (RF-3382) Closed SimpleTogglePanel on postback behaves like it is being rendered
by h b (JIRA)
Closed SimpleTogglePanel on postback behaves like it is being rendered
----------------------------------------------------------------------
Key: RF-3382
URL: http://jira.jboss.com/jira/browse/RF-3382
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Environment: Facelets, MyFaces, Tomcat, XP/OSX
Reporter: h b
On page post-back, the SimpleTogglePanel with switch type 'Ajax' or 'Server' invokes backing bean getters even when it is not open.
<rich:simpleTogglePanel opened="false" switchType="ajax">
<f:facet name="header">hello</f:facet>
<ui:repeat value="#{backingBean.expensiveData}" var="data">
#{data.tag}
</ui:repeat>
<rich:dataTable value="#{backingBean.expensiveData2}".../>
<h:outputText value="#{backingBean.expensiveData3}"/>
</rich:simpleTogglePanel>
The first time the page is rendered backingBean.getExpensiveData, getExpensiveData2 and getExpensiveData3 are not invoked.
However on postback getExpensiveData, getExpensiveData2 are invoked (getExpensiveData3 is not invoked).
The same thing happens with TabControls that are not visible and toggle panel facets that are not visible.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 4 months
[JBoss JIRA] Created: (RF-1396) Add late rendering support for Calendar in client mode
by Boris Kirzner (JIRA)
Add late rendering support for Calendar in client mode
------------------------------------------------------
Key: RF-1396
URL: http://jira.jboss.com/jira/browse/RF-1396
Project: RichFaces
Issue Type: Feature Request
Reporter: Boris Kirzner
Current implementation always renders a calendar on page load even if popup is true. The rendering operation takes about 100ms in average.
Thus, adding 10 calendar instances to a page causes additional 1 second delay in page loading. This is completely redundant on page load since in real production scenario most of the dates have a big probability to remain untouched.
Calendar should support late rendering, i.e. popup should be actually rendered only after user clicks in image for the first time.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 4 months