cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ron van de Ven" <Ron.vande...@mp-objects.com>
Subject selection lists and cforms locale problem
Date Fri, 21 Jan 2005 13:35:43 GMT
Hi,

 

When I use a dutch locale, my cform selection lists do not work; 

A selected option is lost after redisplay on a validation error.

The html input parameter after form submission that I see in the core.log
file is 1.000.946 

       

In the form instance this turns up as: <fi:value>1</fi:value>.

Cforms truncates the digits after the first dot.

 

The form instance selection llist content is: 

     

    <fi:item value="1.000.946">

                                <fi:label>MyUnitT</fi:label>

                            </fi:item>

                            <fi:item value="1.000.948">

                                <fi:label>mySecUnit</fi:label>

                            </fi:item>

 

The sitemap resource that I use 

 

                                    <map:transform type="i18n">

                                                <map:parameter value="nl"
name="locale"/>

                                    </map:transform>          

                                    <map:transform type="forms">

                                                <map:parameter value="nl"
name="locale"/>

                                    </map:transform>

                                    <map:transform type="jx"/>

                                    <map:transform type="logXml">

                                                <map:parameter
value="form-instance.xml" name="file-name"/>

                                                <map:parameter value="page"
name="dom-root-element"/>

                                    </map:transform>

                                    <map:transform type="i18n">

                                                <map:parameter value="nl"
name="locale"/>

                                    </map:transform>

                                    <map:transform label="xmlContent"
src="../core/cforms/style/simple-page2html.xsl"/>

                                    <map:transform type="i18n">

                                                <map:parameter value="nl"
name="locale"/>

                                    </map:transform>

                                    <map:transform
src="../core/cforms/style/forms-base-styling.xsl"/>

 

 

Has anybody a clue why this is happening.

 

Regards,   Ron van de Ven

 

 

 

                       

 


Mime
View raw message