aspose file tools
The moose likes JSF and the fly likes outputLink question Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "outputLink question" Watch "outputLink question" New topic
Author

outputLink question

Joshua Fix
Ranch Hand

Joined: Sep 18, 2007
Posts: 57
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?


SCJP 5.0
Joshua Fix
Ranch Hand

Joined: Sep 18, 2007
Posts: 57
I've been battling this for a couple hours... I should have waited 2 more minutes before posting! <hutputLabel> did the trick!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: outputLink question
 
Similar Threads
How to capture a Hyperlink click without JEditorPane
Confused JSFNewbie: Sign In commandlink
Unknown thing
change image on click
AHREF text changing