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

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -