I've fixed it in the current trunk and the current 1.0.x branch, so it
will be available in version 1.0.26. (See my mail form 23. April, 23:19
CEST)
Regards
Udo
I'm not really understanding why the mapping does not works with
but for know I have a working solution.
Hello Udo, thanks for the comprehensive answer.
I decide to use solution no. 5 and it works fine for me. But I dont't
use enums because the underlying objects are also used for hibernates
and it'makes some trouble to mapped them to the hibernate datatypes.
I'm not really understanding why th
Hi Michael,
I've thought about that problem and implemented a solution that works
for the most cases.
See: https://issues.apache.org/jira/browse/TOBAGO-877
With the current sources your example should work now, without any of
the modifications I told you.
Which version of JSF you are using?
Hi Michael,
there are more than one solution for that, but as far as I know there is
not cast operator...
1. use a managed bean
faces-config.xml:
intValues
java.util.ArrayList
application
java.lang.Integer
0
1
2
JSP/Facelet:
(simple, scales not good, works with JSF 1.1, 1.2 and JSP and F
Hello Udo, hello Volker,
both together (using braces for EL expression and long data type for
getter and setter) helped to get the tx:selectOneChoice working like
expected :-)
Since I use many int getters and setters where I want to use the
tx:selectOneChoice component it would be nice if th
Hello Volker,
thanks for reply. Now my tx:selectOneChoice box looks like the
following. Converter is away and values in braces
itemLabel="inactiv" />
itemLabel="activ" />
Hi,
there is still a little problem with that. #{0} is a Long value, so the
getter/setter needs be a also a Long and not an Integer.
I don't know, if in EL there is something like a "cast" operator...
Regards,
Udo
Am 22.04.10 18:20, schrieb Volker Weber:
Hi Michael,
(btw yes i work togethe
Hi Michael,
(btw yes i work together with Dirk Fangohr. sorry for the delay, was a
bit busy last Friday)
the problem is you has int as value in getActive() but String in select items.
Try
you don't need a converter!
Regards,
Volker
2010/4/21 Michael Kakuschky :
>
Hello,
I have a strange problem selecting the correct item of
tx:selectOneChoice boxes if the itemValue of the tc:selectItem item is
an Integer.
Storing the selected values works fine as aspected. I will find the
correct values in mybackend database
What does not work is that after rerend
9 matches
Mail list logo