Is the JetspeedLink class available?
If so, what is the package name?
I can't seem to find the api docs for it.
Is it basically the same as JetspeedTemplateLink?

 
 


-----Original Message-----
From: David Sean Taylor [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 15, 2002 7:50 PM
To: 'Jetspeed Developers List'
Subject: RE: linking portlets


I believe you have 2 choices:

1. maximize the portlet

2. show the portlet in another psml page

For ex. 1, just try maximizing any portlet to get an idea of what the
url should look like.
On my system from today's build I maximized HelloVelocity from the
Turbine user:

http://localhost:8080/jetspeed/portal/page/default.psml/js_peid/04?actio
n=controls.Maximize


In order to do this from Java, I would use the new JetspeedLink. 

        JetspeedLink jsLink = JetspeedLinkFactory.getInstance();
        
jsLink.setPortletById(portlet.getID()).setAction("controls.Maximize")
                   

For ex. 2, you'd have to create a new psml file, perhaps for the same
user, and put the one portlet on it, and then again use JetspeedLink to
create the link from Java:

        JetspeedLink jsLink = JetspeedLinkFactory.getInstance();
          jsLink.setPage("mypage")

Not sure how that would work for a group or role specific page, since I
cant find setGroup or setRole methods.
Nor can I find addQueryInfo or addPathInfo, in that case perhaps use
DynamicURI or JetspeedTemplateLink until the new JetspeedLink is
completed.

> -----Original Message-----
> From: Cabio, Michelle (Michelle) [mailto:[EMAIL PROTECTED]] 
> Sent: Monday, April 15, 2002 12:21 PM
> To: Jetspeed Developers List
> Subject: linking portlets
> 
> 
> 
> 
> David - 
>  
> I know that to call a portlet from another portlet you do 
> base.addElement(portlet.getContent(aRunData));
> return base;
>  
> However, in my portlet I have created a link, an html link 
> ..(using ecs) 
> once the user clicks on that link...i would like that 
> specific portlet to be called and displayed on the same 
> window pane. Is this possible?? What api allows me to do this??..
>  
> Michelle
>  
> 
> --
> To unsubscribe, e-mail:   
> <mailto:jetspeed-dev-> [EMAIL PROTECTED]>
> For 
> additional commands, 
> e-mail: <mailto:[EMAIL PROTECTED]>
> 
> 



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to