This content has been marked as final.
Show 4 replies
-
1. Re: s:fragment in dataTable
pmuir Apr 20, 2007 5:51 PM (in response to tony.herstell1)h:column must be a direct child of h:dataTable
-
2. Re: s:fragment in dataTable
tony.herstell1 Apr 20, 2007 5:54 PM (in response to tony.herstell1)Could this be added to the manual?
I put fragemnts round a LOT of stuff... and this is hell of a gotcha as there is NO clue why stuff just aint appearing!
JSF kindly dont put out any mesasges... -
3. Re: s:fragment in dataTable
pmuir Apr 20, 2007 6:02 PM (in response to tony.herstell1)Not really, this is just JSF ;) Better errors/warnings for this kind of thing are on the cards for JSF 2.
-
4. Re: s:fragment in dataTable
tony.herstell1 Apr 20, 2007 6:09 PM (in response to tony.herstell1)Well I hope that this post helps someone who got as frustrated as myself.
tis like second nature to do this:<h:column> <s:fragment rendered="#{eachDisplayableCategory.refined}"> <s:fragment rendered="#{eachDisplayableCategory.immutableCategory.parent == null}"> <h:selectBooleanCheckbox value="#{eachDisplayableCategory.selected}" disabled="true" /> </s:fragment> <s:fragment rendered="#{eachDisplayableCategory.immutableCategory.parent != null}"> <h:selectBooleanCheckbox value="#{eachDisplayableCategory.selected}" /> </s:fragment> </s:fragment> <s:fragment rendered="#{eachDisplayableCategory.refined}"> <h:selectBooleanCheckbox value="#{eachDisplayableCategory.selected}" disabled="true" /> </s:fragment> </h:column>
its only a small set to add <s:fragment> outside the column!!! and you have NO IDEA why suddenly nothing happens...
:/