• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

outputLink question

 
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've been battling this for a couple hours... I should have waited 2 more minutes before posting! <h:outputLabel> did the trick!
 
Space pants. Tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic