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 Stefan Rennick Egglestone <sr...@cs.nottingham.ac.uk> on 2004/05/04 16:22:50 UTC

creating links to portlets using JSP

Can anyone point me in the direction of some example portlets / 
documentation describing how to create links when using a JSP portlet?

There's nothing in the tutorial, and I've tried searchijng the mailing 
list and not found anything definitive. I can try and hard code a link

eg something like

 http://localhost:8080/WorkflowPortal/portal/media-type/html/user/admin/page/default.psml/js_panename/UserForm

<copied from a portal which is up and running on my computer>

but there are some things which I don't know about - eg I can see this 
is a link to a portlet defined in default.psml in directory 
psml/user/admin/html/default.psml, but what does js_panename mean? Does 
it mean " a portal on the same pane in default.psml as the one 
displaying this link" ? 

I've noticed that Jsp portlets are passed an instance of 
org.apache.turbine.services.jsp.util.JspLink which I'm guessing is goig 
to be used to make link creation easier, but unfortunately I couldn't 
really work out how to to use this object (or 
org.apache.turbine.util.DynamicURI which it extends). Any extra 
information about any of the stuff that might help me work out how to 
make links between portlets would be appreciated.

Stef


This message has been scanned but we cannot guarantee that it and any
attachments are free from viruses or other damaging content: you are
advised to perform your own checks.  Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.


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


Re: creating links to portlets using JSP

Posted by David Sean Taylor <da...@bluesunrise.com>.
On May 4, 2004, at 7:22 AM, Stefan Rennick Egglestone wrote:

> Can anyone point me in the direction of some example portlets /  
> documentation describing how to create links when using a JSP portlet?
>
> There's nothing in the tutorial, and I've tried searchijng the mailing  
> list and not found anything definitive. I can try and hard code a link
>
> eg something like
>
> http://localhost:8080/WorkflowPortal/portal/media-type/html/user/ 
> admin/page/default.psml/js_panename/UserForm
>
> <copied from a portal which is up and running on my computer>
>
> but there are some things which I don't know about - eg I can see this  
> is a link to a portlet defined in default.psml in directory  
> psml/user/admin/html/default.psml, but what does js_panename mean?  
> Does it mean " a portal on the same pane in default.psml as the one  
> displaying this link" ?
> I've noticed that Jsp portlets are passed an instance of  
> org.apache.turbine.services.jsp.util.JspLink which I'm guessing is  
> goig to be used to make link creation easier, but unfortunately I  
> couldn't really work out how to to use this object (or  
> org.apache.turbine.util.DynamicURI which it extends). Any extra  
> information about any of the stuff that might help me work out how to  
> make links between portlets would be appreciated.
>
I agree the docs are lacking here

There are examples in the distribution, see JSP1_1andJetspeedTagLibrary  
and JSP1_2andJetspeedTagLibrary portlets



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