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

JSF check box with link  RSS feed

 
Rauhl Roy
Ranch Hand
Posts: 401
Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
May I know how to accomplish below thing through JSF.

When I click on check box X (on the top of the web page) a link X with data related to it should display. If I click on check box Y a link (with the same lable name Y) should display with data related to it Y. And very importent thing is when I UNcheck X check box, label X should be removed and along with its data.

Thanks

 
Tim Holloway
Bartender
Posts: 18662
71
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Technically, you can't do that with JSF.

You can, however, do it with JavaScript. The only real difference is that since JSF abstracts from the underlying HTML, you may have to figure out what the HTML you're manipulating is. Which is why "View Page Source" is my friend.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!