cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Laurent Trillaud" <ltrill...@jouve.fr>
Subject RE: Portal Engine bookmarks
Date Fri, 20 Feb 2004 12:50:35 GMT
Oops sorry for my previous mail, it was empty
Jon
It's not the way I follow. I don't care about the length of the URL. Why are
you concern about that? Do you reach the http limit size?
Form the user, point of view, he see always the same url
http://MyServ/MyApp/portal and he see the name of the link, not the href.
In my opinion, the best way to make links in the portal is the cl:link. It's
straight forward.
Bookmarks are design to access to the portal by link hosted outside the
portal. For example, to put a link in an email.
Laurent
 
> >  You can use portal bookmark, it's a shortcut for events.
> >  Edit the .../portal/resources/bookmarks.xml for each event you need
> >  and use the following URL
> >  http://.../portal/bookmark?OutTab=0&LeftNav=0&PageTab=1&CopletA=123
> 
> Thanks for the tip, I get it now.  I thought I could define in
> bookmarks.xml a "set" of events which would all be triggered from just
> one URL parameter.
> 
> Anyway, I now have the following situation.
> 
> One of my coplets creates links with URLs like this: app?id=123
> 
> I have the following matcher (lines split to prevent wrapping):
> 
> <!-- Handle app?id=123 by redirecting to a
>       bookmark URL which does the right thing -->
>    <map:match pattern="app">
>      <map:redirect-to uri="bookmark?top=0&amp;leftnav-home=0
>        &amp;home-apps=1
>        &amp;app1={request-param:id}
>        &amp;app2={request-param:id}"/>
>    </map:match>
> 
> This works great, except the user now has to wait for 2 redirects.
> First they are redirected to the bookmark URL, then the bookmark URL
> redirects them to the portal URL.
> 
> Is there any way to make it so that the app?id=123 URL returns the page
> without needing the redirects?
> 
> Thanks,
> 
> Jon
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message