| Author |
Weird behaviour of links - there is URL appended to every link displayed on page
|
Sancho Pansa
Greenhorn
Joined: Aug 11, 2012
Posts: 4
|
|
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.
|
 |
Brendan Healey
Ranch Hand
Joined: May 12, 2009
Posts: 218
|
|
It's impossible to say without seeing a code fragment showing how these links are generated.
|
 |
Sancho Pansa
Greenhorn
Joined: Aug 11, 2012
Posts: 4
|
|
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
Joined: May 12, 2009
Posts: 218
|
|
|
I can't help you as I don't use primefaces any more. Anyone? (actually this is cross-posted on stackoverflow...)
|
 |
Sancho Pansa
Greenhorn
Joined: Aug 11, 2012
Posts: 4
|
|
|
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
Joined: Aug 11, 2012
Posts: 4
|
|
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 ;-)
|
 |
 |
|
|
subject: Weird behaviour of links - there is URL appended to every link displayed on page
|
|
|