Bingo! Switching the order of the transforms seems to have done the
trick. For clarification, the matcher in question now
reads:
<map:match pattern="forms/view/*.jx">
<map:generate type="jx" src="" label="content1"> <map:parameter name="locale" value="{flow-attribute:locale}"/> </map:generate> <map:transform type="browser-update"/> <map:call resource="simple-page2html"> <map:parameter name="file" value="forms/view/{1}.xml"/> </map:call> <!-- // Put the i18n transformer before the actualy cform xsl. This is because cforms // xsl does <xsl:value-of> in some places, which sends in output only the content of the // i18n:text and not the i18n:text itself. --> <map:transform type="i18n"> <map:parameter name="locale" value="{flow-attribute:locale}"/> </map:transform> <map:transform src=""/> <map:select type="ajax-request"> <map:when test="true"> <map:serialize type="xml"/> </map:when> <map:otherwise> <map:serialize type="html"/> </map:otherwise> </map:select> </map:match> Thank you!
|
Title: Message
- Re: [CFORMS] required fields error translation Simone Gianni
- RE: [CFORMS] required fields error translation Jason Johnston
- RE: [CFORMS] required fields error translation Bruyn Bill