cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bart Molenkamp" <>
Subject RE: Form in Coplet
Date Wed, 08 Sep 2004 13:31:25 GMT
"uri" is the URI which is called when the coplet is supposed to display.
Set it to "cocoon:/coplets/html/application", and you'll probably don't
need to change it. 

temporary:application-uri stores the URI that is used by
cocoon:/coplets/html/application (look at it, you'll see). This
temporary URI should point to some flow-script application or ... (eg
cocoon://my/ The html event link transformer also uses
this attribute to transform <form> and <a> elements into portal events,
but you probably don't need to worry about that.

So, always set the uri to cocoon:/coplets/html/application and set the
temporary uri to the startpoint of your flow application.

> -----Original Message-----
> From: news [] On Behalf Of Steinar Rune
> Sent: Wednesday, September 08, 2004 1:57 PM
> To:
> Subject: Re: Form in Coplet
> I managed the second part by adding
>   <map:match pattern="resources/**">
>      	<map:read mime-type="*" src="{global:skin}resources/{1}"/>
>    </map:match>
> to my main sitemap in my portal and moving resources into my skin dir.
> Not sure if this is the appropriate way though....
> Still wondering why the 2 uri references uri and
> temporary:application-uri. I currently have them both pointing to the
> same uri.
> Steinar Rune Eriksen wrote:
> > I am trying to link a form into a coplet, and I am very confused
> > the difference between the attributes: uri  and
> > temporary:application-uri in portal.xml.
> > It does not work if I only use temporary:application-uri, I have to
> > my application into the uri section. What is
> > used for?
> >
> >
> > Furthermore, images and scripts are not shown/executed. They seem to
> > search for a path resources/  which is found when the form is run
> > standalone, but I am not sure in what context it is executed when
> > a coplet. I have tried moving the resource directory about (skins
> > directories etc) but it is not found from the coplet
> >
> >
> > Steinar
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message