I can't get the request parameter to work from pages.xml. My dataTable is as
follows. What should be in my myBean.myAction method - anything? Right now it's
empty, like it was when I was using DataModel/DataModelSelection...
<h:dataTable id="table" value="#{myList}" var="a">
| <h:column>
| <s:link value="#{a.text}"
action="#{myBean.myAction}" >
| <f:param name="theId"
value="#{a.id}" />
| </s:link>
| </h:column>
| </h:dataTable>
My pages.xml looks like the following. Should the param element be in the
navigation element of the initiating page, the page element of the resulting
page, or either? What's the difference? (Right now I've got it commented out in
the latter.) The resultPage.xhtml displays information relating to
contextualBean...
<page view-id="/listpage.xhtml">
| <navigation from-action="#{myBean.myAction}">
| <begin-conversation />
| <redirect view-id="/resultPage.xhtml">
| <param name="theId"
value="#{contextualBean.id}" />
| </redirect>
| </navigation>
| </page>
|
| <page view-id="/resultPage.xhtml">
| <!--
| <param name="theId" value="#{contextualBean.id}" />
| -->
| </page>
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016524#4016524
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016524
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user