It looks everything fine.
Your problem with popup
Do you hava access to resources/forms-lib.js in your browser when you try
the following URL:http://yourhosthost/cocoon/yourapp/resources/forms-lib.js
If you can see the code the resources is configured well.
Look at the html-source to check from which from which location the javascript Files
are loaded.
Check cocoon/WEB-INF/logs/access.log to see if the javascripts Files send out.
Your problem with i18n What does the stylesheet forms.xsl that you use in your internal pipeline My Pipeline for the forms looks like this:
<map:match pattern="*-display-pipeline">
<map:generate type="jx" src="jx/{1}.jx" />
<map:transform type="forms" />
<map:transform type="i18n">
<map:parameter name="locale" value="de" />
</map:transform>
<map:transform src="xsl/forms-samples-styling.xsl" />
<map:serialize />
</map:match>Hope this helps a little bit.
Wolfgang
Derek Hohls wrote:
Hmm...
I have alreeady copied the "messages" directory (and the "resources") under my application directory; in fact I have been using HTMLarea already.
I have the :
<map:match pattern="resources/**"> <map:read src="{0}"/> </map:match>
to enable the resources to work!
Still no signs that the either the popup is working or the field gets translated via the i18n: my pipeline looks as:
<map:match pattern="*-display-pipeline">
<map:generate src="cocoon:/internal/form/{1}"/> <!-- internal pipeline -->
<map:transform type="i18n">
<map:parameter name="locale" value="en-US"/>
</map:transform>
<map:call resource="simple-page2html"/>
<map:serialize type="html"/>
</map:match>
where the "internal" form comes from
<map:match pattern="internal/form/*">
<map:generate src="forms/{1}/{1}_template.xml"/>
<map:transform type="forms"/>
<map:transform src="stylesheets/forms/forms.xsl"/>
<map:serialize type="xml"/>
</map:match>
The map:transformer name="i18n" is setup as per your example below.
Where else could be the source of the problem?!
Thanks Derek
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
