Hi,Chris: I change the uri attribute because I change GAlleryViewer from URICoplet to CachingURICoplet,the CachingURICoplet need to change the original attribute.What make me stuffed is CachingURICoplet not URICoplet.Maybe it is a CachingURICoplet's bug.
Roy Huang ----- Original Message ----- From: "Christian Mayrhuber" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 01, 2004 1:49 AM Subject: Re: cl:links in cachingURI coplet ? > On Wednesday 30 June 2004 13:17, roy huang wrote: > > Hi,Phil: > > How to add copletID in cl:link?If you mean coplet="test-coplet" I already > > added it in the beginning.So the error is not appear but the data like > > "attributes/param" still not passed. I try this in samples of current cvs > > version,steps below: > > 1.edit portal.xml in profiles\copletdata ,change GalleryViewer from > > URICoplet to CachingURICoplet 2.add attributes: > > <attribute> > > <name>buffer</name> > > <value xsi:type="java:java.lang.Boolean" > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">true</value> > > </attribute> > > <attribute> > > <name>handleParameters</name> > > <value xsi:type="java:java.lang.Boolean" > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">true</value> > > </attribute> > > <attribute> > > <name>uri</name> > > <value xsi:type="java:java.lang.String" > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">cocoon:/coplets/html/ > >application</value> </attribute> > > <attribute> > > <name>temporary:application-uri</name> > > <value xsi:type="java:java.lang.String" > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">cocoon://samples/bloc > >ks/portal/coplets/gallery/viewer</value> </attribute> > > 3.start jetty and then the Gallary Viewer did't work. > > What can I do to make this work again? Or is it a bug? > > Hmm, > I guess it does not work because you have added a second uri attribute which > points to the wrong pipeline location. > There is already an uri attribute in copletdata/portal.xml > > <attribute> > <name>uri</name> > <value xsi:type="java:java.lang.String" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">cocoon:/coplets/gallery/browser</value> > </attribute> > > The CachingURICoplet should not make a difference for this application. > (I have not tried this myself) > > If you want to use urls that actually make sense you will have to use the > bookmark feature of the portal engine. > See http://wiki.cocoondev.org/Wiki.jsp?page=PortalEngineBookmarks > > -- > lg, Chris > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
