Hi all again!
I have a form in which I edit or create users from a DB. To check the
uniqueness of the username I have created a custom validator:
@Name("userNameValidator")
| @BypassInterceptors
| @Validator
| public class UserNameValidator implements javax.faces.validator.Validator
| {
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 :
http://www.
It is a list of Strings.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128676#4128676
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4128676
___
jboss-user mailing list
jboss-
When I use 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 java.lang.NumberFormatException.forInputString(Unkn
I've got this:
|
And the bean is:
| @Stateless
| @Name("usuariosEditBean")
| @Scope(EVENT)
| @Restrict("#{identity.loggedIn}")
| public class UsuariosEditBeanAction implements UsuariosEditBeanInterface,
Serializable
| {
| private stat
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=bb&op=viewtopic&p=4128625#4128625
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=
Anyone could help me, please?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128611#4128611
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4128611
___
jboss-user mailing list
Sorry, I'm using Seam 2.0.1.SNAPSHOT.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128413#4128413
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4128413
___
jboss-user mailin
Hi all,
I've got an entity (user) that has a many-to-one relationship with another
entity (group), both generated with seam-gen. The problem is that when I try to
change the group that a user belongs to, this happens, but in the database what
has happened is that the name of that group has been
Hi again!
I haven´t found the reason of the problem yet. I don´t know if it´s a
problem from the automatically generated entities or from the DB.
Does anyone know something about this?
Thanks!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4118533#4118533
Hi people!!
I´ve got the following tables in my DB Oracle 9:
anonymous wrote : USUARIOS
|
| Name Null?Type
| - ---
| COD_USUARIO NOT NULL
Ok, solved. It´s described in the file release-process.txt.
I´m really new in this :)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108029#4108029
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4108029
__
Hi all!!
I´ve just downloaded from CVS the latest update of jboss-seam but, do I have
to compile it first before using? If so, how can I compile it?
Thanks a lot.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107991#4107991
Reply to the post :
http://www.
Hi again!
Can seam-gen read if a table has either a primary-key (simple or composite) or
a foreign-key, or do I have to specify it in the reveng.xml file?
Thanks for replying.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107948#4107948
Reply to the post :
Hi!! I am new in all this world and I have problems with the Seam.
First, I am using an Oracle 9.2 DB. There are tables that have simple
primary-keys and others that have composite primary-keys. Other tables have
foreign-keys and a mix of primary and foreign keys.
I want to generate the entities
15 matches
Mail list logo