[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jetspeed-user
Subject:    solution to Re: how do I link to a localized page with no header and footer
From:       Dan Moore <moore234 () yahoo ! com>
Date:       2004-11-30 21:10:07
Message-ID: 20041130211007.85514.qmail () web41508 ! mail ! yahoo ! com
[Download RAW message or body]

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 <moore234@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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic