Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

programmatic HTmlCommandLink action with parameters not working  RSS feed

frank b
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a very basic form with a panelGrid to which I add HtmlComandLinks from my backing bean. I'm also adding a parameter, "guess", to each link.

The links are created. The problem is the links don't work. Looking at the generated html, i see this in the onclick event of the link:

Because there isn't a form field called "guess", a JavaScript error occurs.

Shouldn't JSF create the hidden field?


getUserNumbersPanel() in

Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!