hello I want to have a separate error page, where I can display different error messages. These error messages are generated from methods in the bean and they should be translated. Therefor I setup a error.xml which holds only a <xf:output> element which should display the error.
So far I could get it, because either the <i18n:text> or the <xf:output> element isn't translated correctly, when I tried to position the i18n action within the sitemap. With this I actually get the translation, but the <xf:output> element isn't transformed correctly. ----- code ------------------------- <map:act type="test"> <map:parameter name="xmlform-id" value="printInv"/> <map:parameter name="xmlform-scope" value="session"/> <map:parameter name="xmlform-model" value="test.UserBean"/> <map:generate src="forms/{page}.xml" /> <map:transform type="xmlform" label="xml"/> <map:select type="parameter"> <map:parameter name="parameter-selector-test" value="{page}" /> <map:when test="print"> <map:call resource="format-transformation"> <map:parameter name="format" value="{format}" /> </map:call> </map:when> <map:otherwise> <map:transform src="stylesheets/wizard2html.xsl" /> <map:transform src="stylesheets/xmlform2html.xsl" /> <map:act type="locale"> <map:transform type="i18n"> <map:parameter name="locale" value="{locale}"/> </map:transform> </map:act> <map:serialize type="html" label="debug"/> </map:otherwise> </map:select> </map:act> </map:match> ----- /code ------------------------- Has somebody an idea how to solve this, because I need it for another form as well. I would like to use the same form (input.xml) for adding and editing purpose and would like to setup the title of the page within the action. thanks ciao Lars --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>