Glenn,

Glenn Golden wrote:

> Paul (et al) -
> 
> I'm looking at JetspeedLink and wondering...
> 
> The routines like:
> 
> public DynamicURI setPortletById(String peid);
> 
> Return a DynamicURI - but might we want these to return instead a
> JetspeedLink?  Once I call one of these, doesn't that stop me from tagging
> on another such call?  For example, if I want to make a link to:


No, their is a addPathInfo() and addQueryData() method in Dynamic URI. I 
  will be adding an example of this in the jslink_example portlet

> 
> A) the page, with all the user/group/roll stuff correct, and
> B) a specific portlet by id, and
> C) a specific template, and finally
> D) one more thing to place on the path to tell my portlet something...
> 
> I'd want to do something like:
> 
> $jslink.setPortletById($portlet.ID).setTemplate("content").addPathInfo("$pan
> el","$panel-monitor")
>   ^A^               ^B^                      ^C^                    ^D^
> 
> But once I call setPortletById I'm out of the JetspeedLink interface and in
> a DynamicURI, right?
> 


Yes


> And is this how jslink is designed to be used?  If not, how can I do A..D
> above?


Yes.

It became obvious that Jetspeed link should support "A..D".  I am in the 
process of adding a getLink() that allows you to set {[Group|Role|User]} 
+ {Page} + {[PaneID|PaneName|PortletID|PortletName]} + {TemplateName} + 
{ActionName} + {MediaType} + {Country} + {Language}.
{} = optional parameter
[] = pick one

getLink() should allow a URI to be generated to address any portlet 
entry (PEID) or pane with an action or template.  Will Jetspeed 
correctly interpret the URI is a different story.

> 
> Thanks.
> 
> - Glenn
>  



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

Reply via email to