jsf - passing string paramater using p:commandButton -
i want send 2 parameters using notificationupdate function. able pass p.email when trying send status string,its getting passed null.
<p:commandlink value="views" action="#{statusbean.update(p.statusid)}" ajax="true" style="text-decoration:none;color:white;" update=":statusblock" > <f:actionlistener binding="#{notificationbean.notificationupdate(p.email,status)}" /> </p:commandlink>
if meaning want send "status" string value, try send following:
<f:actionlistener binding="#{notificationbean.notificationupdate(p.email,'status')}" />
Comments
Post a Comment