Pete,
Using the code you posted at
http://jroller.com/page/pmuir?entry=using_sets_in_jsf, I was
able to get this to work with a facelet function to convert the Map to a List. Here's
how the code looks now:
| <rich:subTable var="selectTask"
value="#{sr:asList(taskObj.taskAssignments)}"
| onRowMouseOver="this.style.backgroundColor='#E0E0E0'"
|
onRowMouseOut="this.style.backgroundColor='#{a4jSkin.tableBackgroundColor}'">
| <rich:column>
| <h:outputText value="#{selectTask.comments}"/>
| </rich:column>
| <rich:column style="text-align:center">
| <s:button type="submit"
action="#{report.updateTask(selectTask)}"
| value="Update Task" />
| </rich:column>
| <rich:column style="text-align:center">
| <s:button type="submit"
action="#{report.removeTask(selectTask)}"
| value="Remove Task" />
| </rich:column>
| </rich:subTable>
|
Please let me know if you have any other suggestions on the same. The only other problem
now I'm facing is that report.updateTask(selectTask) method that gets called on the
report bean sends in a null value. Not sure what I'm doing wrong. Any suggestions?
Thanks
Amit
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4062233#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...