-
1. Include dynamic panel in dataGrid
ilya40umov Jan 17, 2011 9:24 AM (in response to dh2k7)1) Try a4j:include
2) Accordingly to this http://www.ilikespam.com/blog/c:foreach-vs-ui:repeat-in-facelets c:forEach should work in your case.
-
2. Include dynamic panel in dataGrid
dh2k7 Jan 17, 2011 10:11 AM (in response to ilya40umov)Forgotten to say, that I use richfaces 4, a4j:include is not available anymore, right?
-
3. Include dynamic panel in dataGrid
ilya40umov Jan 17, 2011 10:15 AM (in response to dh2k7)yes, a4j:include is not ported to 4.0. (But I hope it will be ported in 4.x)
But you still can try c:forEach.
-
4. Include dynamic panel in dataGrid
dh2k7 Jan 17, 2011 10:18 AM (in response to ilya40umov)But then I can't use easy paging with rich:dataScroller and other easy to use features from the datagrid
Seems, if I had to include all possible panels in the datagrid and render only the appropriate...
-
5. Include dynamic panel in dataGrid
ilya40umov Jan 17, 2011 10:21 AM (in response to dh2k7)You can try a4j:repeat. dataScroller should work with it.
-
6. Include dynamic panel in dataGrid
dh2k7 Jan 17, 2011 10:55 AM (in response to ilya40umov)Will ui:include work with a4j:repeat?
-
7. Include dynamic panel in dataGrid
ilya40umov Jan 17, 2011 10:59 AM (in response to dh2k7)I'm afraid using ui:include won't work with any iteration tag except c:forEach. Take a look at the link for the details http://community.jboss.org/message/64611
-
8. Include dynamic panel in dataGrid
dh2k7 Jan 17, 2011 11:13 AM (in response to ilya40umov)So there is not way to use the simple pagination and other features together with dynamic includes?
-
9. Include dynamic panel in dataGrid
ilya40umov Jan 17, 2011 11:21 AM (in response to dh2k7)Yes, I suppose that you are absolutely right. There is no way how to do it with standard components. I think that you may try to work with JSF Tree dynamically or implement some kind of pagination by yourself.