Re: [Struts2] NumberFormatException with large sx:tree

2008-06-17 Thread Musachy Barroso
See this: http://freemarker.sourceforge.net/docs/ref_builtins_number.html in short, try: id: '${node.id?c}', musachy On Tue, Jun 17, 2008 at 8:16 AM, Gehmeyr, Andreas (CT) (EXT) <[EMAIL PROTECTED]> wrote: > I display a Tree with more than 1000 nodes using a lazy-loading sx:tree > with struts2.

[Struts2] NumberFormatException with large sx:tree

2008-06-17 Thread Gehmeyr, Andreas (CT) (EXT)
I display a Tree with more than 1000 nodes using a lazy-loading sx:tree with struts2.1.2. Whenever I select a node with nodeid >=1000, I get a NumberFormatException because the nodeid seems to be i18n'ized and gets transported to (and from) the browser as a string literal "1.271" instead of "1271"