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

outputLink question  RSS feed

 
Joshua Fix
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a javascript that displays a tool tip when a link is moused over. The link doesn't really point to anything, however... it's just the mouse-over effect that I'm after. If I create an <a> tag without an href, the link is not clickable... this is what I'm really after. JSF ALWAYS sticks in a blank href="" tag though, making the link clickable, and thus making my whole page reload if somebody clicks it.

I tried just using standard html and creating the tag myself, but apparently JSF doesn't process tags the same way JSTL does, and it won't render the value unless the #{bean.field} tag is inside a JSF tag...

Any ideas on how to create a non-clickable link that my onmouseover JavaScript function will work on?
 
Joshua Fix
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've been battling this for a couple hours... I should have waited 2 more minutes before posting! <hutputLabel> did the trick!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!