Hi Ralph, I see my english was not good enough. What I wanted to say is that I changed a Stylesheet and used PortalPageLabels.
I did not do anything to PortalPageLabels. :-) I configured Cocoon for the use of PortalPageLabels like you described very well in Cocoon-Wiki (http://wiki.apache.org/cocoon/PortalPageLabels). Thanks for this description. After that I put all my Coplets that I wanted to call (one after the other) in the layout/portal.xml in a composite-layout for a submenu. I gave the Coplets the names "page1", "page2" and so on. In my Stylesheet submenu.xsl I find out, if a Coplet Name starts with "page". In these cases I don't write the Coplet Names out to the Submenu. In my Coplets I can then use Liks like href="portal?pageLabel=FirstTab.page2". Mark > -----Urspr�ngliche Nachricht----- > Von: Ralph Goers [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 16. M�rz 2005 17:01 > An: [email protected] > Betreff: Re: AW: [Portal] Links to Coplets > > Can you provide the details of your workaround, especially with what you > needed to do to page labels? > > Thanks, > Ralph > > Ostermann, Mark wrote: > > >Hi again, > >i have solved the below Problem with a small Workaround in a Stylesheet > and PortalPageLabels. It works fine. > >But i am still interested how to use the Coplet Transformer and cl:links. > > > >Can somone please give me an hint, how to solve the below Problem with > cl:links. > > > >Greetings, > >Mark > > > > > > > >________________________________ > > > >Von: Mark Ostermann [mailto:[EMAIL PROTECTED] > >Gesendet: So 13.03.2005 14:00 > >An: [email protected] > >Betreff: [Portal] Links to Coplets > > > > > > > >Hi all, > > > >i'm trying to put a Link in one Coplet that calls another Coplet. The > >selected Menu shall stay the same. I have tried this with bookmarks an > >this workes fine. Now I want to call a coplet which is not in my > >layout/portal.xml. > >I have read a little bit about the Coplet Transformer and Intercoplet > >Communication. I have tried to use this, but I think I have still missed > >something about it. Here is my first try with cl:link. > > > ><cl:link coplet="coplet-id-to-use" path="attributes/link" > >value="coplet-instance-to-call"> > > <cl:content><xsl:value-of select="."/></cl:content> > ></cl:link> > > > >The Link which is generated looks like this: > >http://localhost:8080/webapp/samples/blocks/portal/portal?cocoon-portal - > >action=4&cocoon-portal-event=17 > > > >When I use the Link "nothing" happens. The same Page, and same Coplet is > >"reloaded". Where is the ralation between cocoon-portal-event set to the > >coplet-instance? > > > >Is this the right (preferred) way to manage Links in Cocoon Portal, or > >are there other ways? Can someone please point me into the right > >direction. > > > >Thanks in advance. > > > >Greetings, > >Mark > > > > > > > > > > > > > > > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > >----------------------------------------------------------------------- - > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
