aspose file tools*
The moose likes JSF and the fly likes programmatic HTmlCommandLink action with parameters not working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
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:

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: programmatic HTmlCommandLink action with parameters not working