You need a "resource" piplene reading from jar file in sitemap: <map:match pattern="resources/*/**"> <map:read src="resource://org/apache/cocoon/{1}/resources/{2}"/> </map:match>
and e.g. the following lines in "your" forms2html stylesheet: <xsl:include href="resource://org/apache/cocoon/forms/resources/forms-page-styling.xsl"/> <xsl:include href="resource://org/apache/cocoon/forms/resources/forms-advanced-field-styl ing.xsl"/> <xsl:param name="resources-uri">resources</xsl:param> The value of the resources-uri param points to the pipeline match pattern. > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of > [EMAIL PROTECTED] > Sent: Thursday, March 16, 2006 11:20 AM > To: users@cocoon.apache.org > Subject: RE: Resources misplaced in CForms (2.1.8)? > > > They are in the JAR, but in the wrong place, according to the stylesheet > references. > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 16, 2006 11:11 AM > To: users@cocoon.apache.org > Subject: RE: Resources misplaced in CForms (2.1.8)? > > citation of change log: > "CForms block: The default HTML stylesheets have been moved into the jar > packages." > > > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of > [EMAIL PROTECTED] > Sent: Thursday, March 16, 2006 9:59 AM > To: users@cocoon.apache.org > Subject: Resources misplaced in CForms (2.1.8)? > > > I see the CForms resources are located in a "resources" subdirectory, > but in > the foms stylesheets they are referenced > as located in "{$resources-uri}/forms" . There's no intermediate "forms" > directory in "resources". > > > > > --------------------------------------------------------------------- > 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]