Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Forms and CommandLinks  RSS feed

 
Raj Maheshwari
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a bit of a problem with JSF when having multiple commandlinks in the same page and a custom component.

I wrapped my whole page in a h:form to keep things simple. However, I cannot render a HtmlCommandLink unless it is wrapped inside its own form. So I had to wrap each individual commandlink in its own h:form (and remove the h:form that wrapped the whole page).

However, my problem is that it only works as expected for the first link. The rest simply fail.

Anyone seen this or know why?
Thanks
Raj
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!