IntelliJ Java IDE
The moose likes JSF and the fly likes programmatic HTmlCommandLink action with parameters not working Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "programmatic HTmlCommandLink action with parameters not working" Watch "programmatic HTmlCommandLink action with parameters not working" New topic
Author

programmatic HTmlCommandLink action with parameters not working

frank b
Greenhorn

Joined: May 14, 2007
Posts: 1
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?


index.jsp:




getUserNumbersPanel() in NumberGuessBean.java:

 
 
subject: programmatic HTmlCommandLink action with parameters not working
 
Threads others viewed
How to create BINDING of command link with backing bean
How to add new text boxes and check boxes dynamically when clicking on button in JSF
How does one read the value associated with the HtmlCommandLink in the Action Method?
dynamic panel grid binding
Dynamic UI generation problem while opening popup
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture