This content has been marked as final.
Show 6 replies
-
1. Re: Table and checkboxes
rschoeler May 14, 2009 8:12 AM (in response to tony.herstell1)Hi tony.herstell, I've worked on a similar problem and have found a solution for myself. My page-code looks similar to yours - with three differences:
This are the differences:
1. ID at the element<h:selectBooleanCheckbox id="YOUR_ID" value="#{eachEntry.swapCandidate}"/>
2. Usage of h:commandButton instead of a4j:commandButton
3. I don't use seam now (but will do this in a later stage ;-})
Other related points could be:
conditional rendering problem?
ajax-stuff with submit all values, but processing only specific one?
Hope this helps you, or give you some input....
regards
rschoeler -
2. Re: Table and checkboxes
tony.herstell1 May 14, 2009 2:27 PM (in response to tony.herstell1)Thanks rschoeler,
I tried all these to no avail.
Thanks anyhow. -
3. Re: Table and checkboxes
tony.herstell1 May 14, 2009 2:42 PM (in response to tony.herstell1)i have noticed that for an id for the table i get
<td><form id="j_id157:0:j_id184" name="j_id157:0:j_id184" method="post" action="/site/pages/events/showEvent.seam">id9table<table class="dr-table rich-table " id="j_id157:0:j_id184:idtable"
This is from this:<h:outputText value="id#{eachClass.id}table" /> <rich:dataTable id="id#{eachClass.id}table"
SO why is the id for the table NOTd="j_id157:0:j_id184:id9table
Note the 9! -
4. Re: Table and checkboxes
tony.herstell1 May 14, 2009 2:44 PM (in response to tony.herstell1)Looking through the code I see
{'affected':['id9table'] ,'similarityGroupingId':'j_id157:0:j_id184:idtable:2:j_id210','parameters':
-
5. Re: Table and checkboxes
tony.herstell1 May 14, 2009 3:05 PM (in response to tony.herstell1)#####
THIS IS 100% tied to having two+ tables on 1 page (the last table on the page works).
This bug is already raised as a JIRA<a4j:repeat value="#{event.classes}" var="eachClass"> ... <a4j:form> <h:outputText value="id#{eachClass.id}table" /> ... </a4j:repeat>
#####