You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Dan Moore <mo...@yahoo.com> on 2004/11/30 21:04:02 UTC

how do I link to a localized page with no header and footer

Hi folks,

I'm working on a site that needs a pop up window with localized text.

I found some stuff on popup windows, but it became too complex, so
right now, I'm just trying to create a link to a page that has no text
other than what I put in it, but that text can be localized. 

I looked at the jslink documentation here:
http://portals.apache.org/jetspeed-1/apidocs/org/apache/jetspeed/util/template/JetspeedLink.html
and here:
http://portals.apache.org/jetspeed-1/portlet_config_Velocity.html
and at the jslink example portlet too.

But didn't really see anything that applied.

I'd like to avoid creating a new PSML page with a single new portlet
because:
1. It seems like overkill for a simple text message.
2. I don't want the top and bottom to show up in the help popup menu.

This page seems to be talking about what I want:
http://nagoya.apache.org/eyebrowse/ReadMsg?listName=jetspeed-user@jakarta.apache.org&msgNo=15199,
but I created a page in templates/vm/html/ called foo.vm and linked to
it via $jslink.getTempate("foo").

When I view the link, I see the text I want, but it has the header and
footer on it. 

Can I pass parameters to jslink (looked in javadoc, it is not
immediately obvious to me if this is the case)?  Or do I need a new
layout?  

Thanks,
Dan

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


solution to Re: how do I link to a localized page with no header and footer

Posted by Dan Moore <mo...@yahoo.com>.
Here's the answer, for future reference.

http://nagoya.apache.org/eyebrowse/ReadMsg?listName=jetspeed-user@jakarta.apache.org&msgId=1587488

Thanks,
Dan

--- Dan Moore <mo...@yahoo.com> wrote:

> Hi folks,
> 
> I'm working on a site that needs a pop up window with localized text.
> 
> I found some stuff on popup windows, but it became too complex, so
> right now, I'm just trying to create a link to a page that has no
> text
> other than what I put in it, but that text can be localized. 
> 
> I looked at the jslink documentation here:
>
http://portals.apache.org/jetspeed-1/apidocs/org/apache/jetspeed/util/template/JetspeedLink.html
> and here:
> http://portals.apache.org/jetspeed-1/portlet_config_Velocity.html
> and at the jslink example portlet too.
> 
> But didn't really see anything that applied.
> 
> I'd like to avoid creating a new PSML page with a single new portlet
> because:
> 1. It seems like overkill for a simple text message.
> 2. I don't want the top and bottom to show up in the help popup menu.
> 
> This page seems to be talking about what I want:
>
http://nagoya.apache.org/eyebrowse/ReadMsg?listName=jetspeed-user@jakarta.apache.org&msgNo=15199,
> but I created a page in templates/vm/html/ called foo.vm and linked
> to
> it via $jslink.getTempate("foo").
> 
> When I view the link, I see the text I want, but it has the header
> and
> footer on it. 
> 
> Can I pass parameters to jslink (looked in javadoc, it is not
> immediately obvious to me if this is the case)?  Or do I need a new
> layout?  
> 
> Thanks,
> Dan
> 
> ---------------------------------------------------------------------
> 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