Datatable and CommandLink - issue converting to PF 3.4

UI Components for JSF
spooker
Posts: 2
Joined: 08 Jan 2013, 10:57

06 Feb 2013, 17:44

smithh032772 wrote:My recommendation is replace action="#{bean.doSomething()}" with actionListener="#{bean.doSomething()}" and use navigationhandler in your bean.

Why is that my recommendation? because how many times do you see action="#{bean.doSomething()}" in PrimeFaces showcase examples or user guide? I'm sure you will see actionListener="#{bean.doSomething()}" in-and-throughout the PrimeFaces world/realm, and you will see recommendations/chatter in the forums about navigationhandler.

I just searched google for the following:

jsf balusc navigation handler actionlistener

If I were you, I would definitely read any/all what showed up in that list of search results. I have learned a lot about JSF from BalusC. :)

FYI, someone was kind enough to create an issue in issue tracker; that is why I am responding here; i was strolling through issue tracker and decided to reply here.

Issue 5225
I can verify that your solution with an actionListener and a navigationHandler unfortunately has the same issue...... It was worth the shot however!!! Thanks anyway!
I created the issue in the tracker :D
primefaces-3.5
jboss-as-7.1.1

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 35 guests