portals-jetspeed-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zilber Laurent" <lzil...@axway.com>
Subject RE : Base tag and crosshatch (#) href
Date Fri, 06 Jan 2006 08:21:46 GMT
Hello,

My problème was actually in the javascript, unrelated to the Portal rendering.
In the
<a href="#" onclick="doSomething()">
The doSomething() method needs to return false, otherwise the href navigation occurs.

I still wonder if there is an issue with anchors and relative URIs in a portlet and the Jetspeed
2 rendering, so I'll try to test this.

-----Message d'origine-----
De : Zilber Laurent 
Envoyé : jeudi 5 janvier 2006 09:23
À : jetspeed-user@jakarta.apache.org
Objet : Base tag and crosshatch (#) href


Hello,
The Jetspeed 2 final templates include a <Base> tag at the top of the page with the
portal url. We use anchors with a href pointing to "#" in our portlets : <a href="#" onclick="doSomething()">

It used to work fine in M3 but now the <Base> tag actually cause this href to become
a link to the portal root instead of staying on the current page.

I tried a response.createRenderURL() but it doesn't provide the exact same behavior as before
(i.e. no naviguation).

Any ideas would be welcome!
Thanks in advance,
Laurent.

______________________________________
Laurent Zilber - SOPRA Group - AXWAY R&D


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


Mime
View raw message