This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

toggle h:commandLink ??

 
nimo frey
Ranch Hand
Posts: 580
  • 0
  • 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
  • 0
  • 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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic