Hi All,I tried to get a input parameter for the server side using the jsfcore libabray tag 'param' as shown in below with a <h:commandButton>,but it never worked. The serverside variable was always null. All theexamples i saw on the internet was described using <h:commandLink>. Sowhen i check the 'param' tag using <h:commandLink> it worked. I gotthe value in the serverside properly.It there a way to use the <param> tag with <h:commandButton> as well.or is it just for the <h:commandLink>?ThanksJanakaDoesnt Work<h:commandButton value=" [Remove Package] "action="#{PackageManagementBean.deletePackage}"> <f:param value="#{package.id}" name="packageIdParam"/> </h:commandButton >Working<h:commandLink value=" [Remove Package] "action="#{PackageManagementBean.deletePackage}"> <f:param value="#{package.id}" name="packageIdParam"/> </h:commandLink>
|
|
0
|
|
|
|
Reply
|
janakaclk (10)
|
10/29/2007 8:10:42 PM |
|