This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

toggle h:commandLink ??  RSS feed

 
nimo frey
Ranch Hand
Posts: 580
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I use JSF and Facelets..

I have a link



So when I press the link, I only wanna have substitute the link above to this link below:


For short: I wanna have a toogle-Link. How can I do that? With c:if or ui:decorate ?? I have nooo clue?

Thanks for helping!
 
Darryl Nortje
Ranch Hand
Posts: 140
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Nimo,

You could use the render attribute of the commandLink tag, to render on a particular value, and that value you can set in your "do" bean in the "it" and "that" methods.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!