• Post Reply Bookmark Topic Watch Topic
  • New Topic

Setting a variable

 
Luciano A. Pozzo
Ranch Hand
Posts: 112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello...

How can I set a form(JavaBean) variable on a commandLink Tag?
I want pass the clientCod value for the clientCod variable on JavaBean.

<h:form>
<h:commandLink action="some_action" --> "here some cod, like:clientForm.clientCod='1'">
<h utputText value="#{text.some_text}"/>
</h:commandLink>
</h:form>
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!