Hi Grzegorz,
The use of toString() / fromString() methods is actually suggested on
the cocoon daisy (like here :
http://cocoon.zones.apache.org/daisy/cdocs-forms/g1/forms/concepts/487.html).
The usual 2.1 documentation does not mention it.
Anyway, I quickly found the part where the name is given in the
EnumSelectionList class and there is no trace of a declared toString()
lookup. Latest trunk of 2.2 does not have it either. So this is not a bug :)
I did not succeed in creating a patch, I may look again into it if I get
some time.
Shall I open an issue in Cocoon JIRA ?
-Baptiste
Grzegorz Kossakowski a écrit :
Baptiste Placé napisał(a):
Hi Franziska ,
Thanks for the tip, it works quite well :)
Although a cleaner way with toString() method would be the best ^^
I'm not sure if this issue is really a bug but if you think so create
an issue in our JIRA, please.
If you submit a patch I'll be happy to commit it as soon as you
explain the issue in more detail and discuss back compatibility.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]