Anyone could help me, please?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4128611#4128611
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4128611
___
jboss-user mailing list
if your selectItems work on a list of entities and your selectbox value is
pointing at an entity you need the s:convertEntity tag, check the manual for
futher details.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4128613#4128613
Reply to the post :
I´ve got a selectOneMenu, and is pointing to a variable of an entity, the
group name, of the entity group.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4128625#4128625
Reply to the post :
And are you using a nested s:convertEntity?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4128638#4128638
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4128638
___
jboss-user
I've got this:
h:selectOneMenu id=grupoUsuario1 required=true
value=#{usuariosHome.instance.gruposUsuarios.nombreGruposUsuarios
| }
| s:selectItems
value=#{usuariosEditBean.listaGruposUsuarios} var=t label=#{t} /
/h:selectOneMenu
And the bean is:
|
When I use s:convertEntity / and select a new group (grupo
2) for the user and click on update, it gives me the following error:
10:53:37,124 WARN [lifecycle] For input string: grupo2
| java.lang.NumberFormatException: For input string: grupo2
| at
Give it a try on a plain list of entities, now the converter is trying to
convert the string to an entity id...
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4128693#4128693
Reply to the post :
It is a list of Strings.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4128676#4128676
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4128676
___
jboss-user mailing list
And you are now working on lists of entities without converting them to Strings?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4128669#4128669
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4128669
GruposUsuarios has 2 columns, codGruposUsuarios (the @Id) and
nombreGruposUsuarios, which is the one I'm using to change the group.
Could it be the problem that nombreGruposUsuarios is not a @Id??
In this case, how could I do to change not by the Id?
Thanks.
View the original post :
Sorry, I'm using Seam 2.0.1.SNAPSHOT.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4128413#4128413
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4128413
___
jboss-user mailing
11 matches
Mail list logo