You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Björn Voigt <bv...@hs-harz.de> on 2004/06/14 11:51:38 UTC

How to define a portal bookmark

moin list,

I am testing the portal engine of cocoon and
I try to define bookmarks for my sample.

I have defined 3 tabs in the anonymous-view of the portal.

<composite-layout name="tab" id="maintab">
     <named-item name="Home">
         <composite-layout name="row">
	[...]
	</composite-layout>
     </named-item>
     <named-item name="Tab1">
         <composite-layout name="row">
	[...]
	</composite-layout>
     </named-item>
     <named-item name="Tab2">
         <composite-layout name="row">
	[...]
	</composite-layout>
     </named-item>
</composite-layout>

I want to switch over to the tabs by using a bookmark or
a bookmark calling generator  respectively.

Is this possible? How I have to define my bookmark in the
bookmark.xml? The WikiBookmarkFaq ist still confusing me. ;-)

Thanks for help

Björn


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


Re: How to define a portal bookmark

Posted by Björn Voigt <bv...@hs-harz.de>.
ok i solved my first problem, now it works, but
I have a second  prob.

I want access bookmarks with an additional matcher,
to hide the redirections and requestparamters.

I use the following:

<map:match pattern="tab-*.html">
   <map:generate src="cocoon:/bookmark?showtab={1}"/>
   <map:serialize type="html"/>
</map:match>

My problem is now, that the all
generated links starts now with:

http://myserver/bookmark?cocoon-portal-action=x&cocoon-portal-event=y

instead of:

http://myserver/portal?cocoon-portal-action=x&cocoon-portal-event=y

any idea to solve this?

Thank you for help


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