cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leszek Gawron <o...@wlkp.org>
Subject woody integer field problem
Date Tue, 02 Dec 2003 13:34:54 GMT
I have a selection list for integer field:
<wd:selection-list xmlns:wd="http://apache.org/cocoon/woody/definition/1.0">
<wd:item value="66588"><wd:label>Asco</wd:label></wd:item>
<wd:item value="65753"><wd:label>Displaye</wd:label></wd:item>
[...]
</wd:selection-list>

the problem is that if the field is of type string everything is ok but when I
change it to "integer" this is the output:
<wi:multivaluefield id="groups">
<wi:values/>
<wi:label>Grupy</wi:label>
<wi:selection-list xmlns:wd="http://apache.org/cocoon/woody/definition/1.0">
<wi:item value="66 588"><wi:label>Asco</wi:label></wi:item>
<wi:item value="65 753"><wi:label>Displaye</wi:label></wi:item>
<wi:item value="65 756"><wi:label>Gifty</wi:label></wi:item>

The 0xA0 character gets inserted into every value!
	lg
-- 
            __
         | /  \ |        Leszek Gawron            //  \\
        \_\\  //_/       ouzo@wlkp.org           _\\()//_
         .'/()\'.     Phone: +48(501)720812     / //  \\ \
          \\  //  recursive: adj; see recursive  | \__/ |


Mime
View raw message