cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bruyn Bill" <Bru...@mcao.maricopa.gov>
Subject [CFORMS] required fields error translation
Date Tue, 14 Feb 2006 17:41:11 GMT
For the life of me, I can't figure out how to translate the i18n error
messages for required fields...  I did find this thread that reports a
bug that should be fixed by now (I'm on Cocoon 2.1.8):
http://java2.5341.com/msg/97625.html

Can anyone confirm that this was indeed fixed?

If so, then I suppose it's most likely a problem with my sitemap.  I've
tried various permutations of the following with no luck:

<map:match pattern="forms/view/*.jx">
    <map:generate type="jx" src="forms/view/{1}.xml" 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>
    <map:transform src="context://stylesheets/forms-styling.xsl"/>
    <map:transform type="i18n">
     <map:parameter name="locale" value="{flow-attribute:locale}"/>
    </map:transform>
    <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>


Anything obvious there?


TIA,

Bill Bruyn
Senior Programmer/Analyst


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message