On Wed, 2006-03-22 at 10:45 -0300, Nicolás Lichtmaier wrote:
> > In your sitemap.xmap, you need to include a matcher for the
> > client-side javascript files. You should write something like this:
> >
> > <map:match pattern="resources/*/**">
> > <map:read src="resource://org/apache/cocoon/{1}/resources/{2}"/>
> > </map:match>
>
> I already have that in the sitemap. But there's no inclussion, no
> <script src=""> tag. And there's no documentation about what I should
> add and I can't find any such tag in the samples.
>
> Should I add an inclussion of forms-lib.js by hand?
You need to have a <head> element in the XML that is processed by the
XSL (forms-samples-styling.xsl or equivalent). Otherwise the script and
css links won't be added.
--
Bruno Dumon http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
[EMAIL PROTECTED] [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]