-
1. rendered attribute of <rich:dataTable>
wenggh007 May 11, 2011 6:33 AM (in response to elisei)i can't fully understand what you mean.
rendered value should be for a data object,not true/false
-
2. rendered attribute of <rich:dataTable>
elisei May 11, 2011 7:24 AM (in response to wenggh007)I understand it like the doc says:
Library: http://richfaces.org/rich (http://richfaces.org/rich)
Tag: dataTable
rendered
Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit. The default value for this property is true.
So, a true or false flag. I use exactly the same flag on columns and that works.
-
3. rendered attribute of <rich:dataTable>
ilya_shaikovsky May 21, 2011 9:29 AM (in response to elisei)elisei you get the docs fine.
Here is what I quickly checked :
<h:form>
<h:selectBooleanCheckbox id="ch">
<a4j:ajax render="table" />
</h:selectBooleanCheckbox>
</h:form>
<a4j:outputPanel id="table">
<rich:dataTable rendered="#{rich:findComponent('ch').value}"
width="700" var="record" value="#{reportBean.expReport.records}">
...
and it works fine. table getting completelly hidden and shown while changing the checkbox state.
-
4. rendered attribute of <rich:dataTable>
ilya_shaikovsky May 21, 2011 9:30 AM (in response to ilya_shaikovsky)Post should be moved to RichFaces space. That space for RF design discussions.