[prev in list] [next in list] [prev in thread] [next in thread]
List: jetspeed-user
Subject: Re: Retrieve url from RunData
From: "luca.bonzagni" <luca.bonzagni () freefile ! it>
Date: 2004-05-25 7:34:06
Message-ID: WorldClient-F200405250934.AA34060203 () freefile ! it
[Download RAW message or body]
Hy Stefano,
To retrive a Link to the current page in the .vm files, I'm using $jslink command.
For more information check out here: "http://portals.apache.org/jetspeed-
1/portlet_config_Velocity.html"
I hope that could be useful for your needs,
Luca Bonzagni.
---------------------------------
Ciao Stefano,
Per ottenere un link alla pagina corrente da file con estensione .vm, stò utilizzando il
comando $jslink.
Per ulteriori informazioni ho trovato utile il link: "http://portals.apache.org/jetspeed-
1/portlet_config_Velocity.html"
Spero che questo ti possa essere utile
Luca Bonzagni.
----------------------------------
__________________________________
Ing. Luca Bonzagni
e-mail: luca.bonzagni@freefile.it
-----Original Message-----
From: "Stefano Bianchi" <stefano.bianchi@softeco.it>
To: "Jetspeed Users List" <jetspeed-user@jakarta.apache.org>
Date: Fri, 21 May 2004 15:53:32 +0200
Subject: Retrieve url from RunData
> HEllo!
>
> With this I can get the page name:
>
> <%@ taglib uri='/WEB-INF/templates/jsp/tld/template.tld'
> prefix='jetspeed'
> %>
> <%@ page import =
> "org.apache.jetspeed.services.resources.JetspeedResources"
> %>
> <%@ page import = "org.apache.turbine.util.RunData" %>
>
> <%
> RunData data = (RunData) request.getAttribute("rundata");
> String currentPage = data.getParameters().getString("page");
> %>
>
> How can I get the whole link such as:
>
> http://www.mysite.org/user/anon/page/default.psml ?
>
> Thank you
> Stefano
>
> Ing. Stefano Bianchi
> Softeco Sismat S.p.A.
> Via De Marini, 1 - WTC Tower
> 16149 Genoa (ITALY)
> e-mail: stefano.bianchi@softeco.it
> tel: +39 010 60.26.368
> fax: +39 010 60.26.350
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic