-
1. rich:column rendered="false" results in page not loading
snaker May 6, 2011 3:49 AM (in response to amramajeed)Can you put the code that you use for change the column true to false??
Are you use ajax with a4j:commandButtom or h:commandButtom??
-
2. rich:column rendered="false" results in page not loading
lfryc May 6, 2011 5:31 AM (in response to amramajeed)Hello, I tried on my sample and it works great, could you please create small (preferably maven based) application which will be able to reproduce your issue?
Thank you, Lukas
-
3. Re: rich:column rendered="false" results in page not loading
michael.vu Jun 20, 2012 1:38 AM (in response to lfryc)Hi, my issue is:
- I have rich:dataTable like that
- in Type column, when I change from I to S. I expect that it will show 1 more column named Job Type, right before Qty column.
But actually, It is shown like that:
As you see, i Icon is content of Job Type column, but Column header is not shown. Hence, number of columns and number of headers are different.
-
4. Re: rich:column rendered="false" results in page not loading
sivaprasad9394 Jun 20, 2012 2:25 AM (in response to michael.vu)Hi,
You do like below,.
1)Instead of true,false for rendered attribute ,try adding one variable and set some value for it in backend(When means onchange of the combo box).
Example:
only for the column add like this
<a4j:outputPanel id="panelIDType">
<a4j:region rendered="#{UrBean.renderIDType == 'idtype'}">
.... ur column deatails
end of region tag and output panel ...
Onchnage of the combobox rerender id="panelIDType" and your datatable id also.
It will refresh mostly..just try it..
Thanks,
Siva
-
5. Re: rich:column rendered="false" results in page not loading
michael.vu Jun 20, 2012 4:18 AM (in response to sivaprasad9394)Thanks, but my problem is:
after onchange event of combobox, the table is re-rendered (show i icon), new column was shown. but header of this column (which should be "Job Type") wasn't shown. In code, I set rendered property of rich:column = #{Type=="S"}.