• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Weird behaviour of links - there is URL appended to every link displayed on page

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Here's the problem:

Take a look at: http://postimage.org/image/zclhvutfl/

The question is how to get rid of appending the urls to links?? They are appended to every link in application. I.e. there should be only "Index" and "Time" word in the links, but there is also appended path to them. In Firebug I can see that everything is OK, but the links render as you see on above screenshot.

Im using Apache MyFaces and PrimeFaces on Tomcat 7. I already tried to remove PROJECT_STAGE=development from web.xml, but that was not the issue.
 
Ranch Hand
Posts: 218
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

It's impossible to say without seeing a code fragment showing how these links are generated.
 
Sancho Pansa
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
For example:


or:



It also happens when i use h:commandLink etc. This is appended to EVERY link in application, even in primefaces calendar component, the "#" is added to every "day" field in it! Any suggestions?
 
Brendan Healey
Ranch Hand
Posts: 218
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I can't help you as I don't use primefaces any more. Anyone? (actually this is cross-posted on stackoverflow...)
 
Sancho Pansa
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Primefaces are not the issue. When I'm using MyFaces components, such as h:commandLink it also happens and I think this issue is more connected to MyFaces than to Primefaces. Maybe it is some kind of MyFaces implementation specific behavior? And maybe somewhere is a param I have to set to get rid of it?
 
Sancho Pansa
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
SOLVED: it was just z blueprint css style for <a>

a:link:after, a:visited:after { content: " (" attr(href) ")"; font-size: 90%; }

sounds funny, but I'm working with blueprint for one year now, but versions I had eariler didn't have this feature ;-)
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic