[jboss-user] [JBoss Seam] - Validation for uniqueness in the DB

2008-02-15 Thread adriju
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 | {

[jboss-user] [JBoss Seam] - Re: Problem with update

2008-02-12 Thread adriju
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.

[jboss-user] [JBoss Seam] - Re: Problem with update

2008-02-12 Thread adriju
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-

[jboss-user] [JBoss Seam] - Re: Problem with update

2008-02-12 Thread adriju
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

[jboss-user] [JBoss Seam] - Re: Problem with update

2008-02-12 Thread adriju
I've got this: | And the bean is: | @Stateless | @Name("usuariosEditBean") | @Scope(EVENT) | @Restrict("#{identity.loggedIn}") | public class UsuariosEditBeanAction implements UsuariosEditBeanInterface, Serializable | { | private stat

[jboss-user] [JBoss Seam] - Re: Problem with update

2008-02-12 Thread adriju
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=

[jboss-user] [JBoss Seam] - Re: Problem with update

2008-02-12 Thread adriju
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

[jboss-user] [JBoss Seam] - Re: Problem with update

2008-02-11 Thread adriju
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

[jboss-user] [JBoss Seam] - Problem with update

2008-02-11 Thread adriju
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

[jboss-user] [JBoss Seam] - Re: Problem retrieving data from the DB

2008-01-10 Thread adriju
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

[jboss-user] [JBoss Seam] - Problem retrieving data from the DB

2008-01-04 Thread adriju
Hi people!! I´ve got the following tables in my DB Oracle 9: anonymous wrote : USUARIOS | | Name Null?Type | - --- | COD_USUARIO NOT NULL

[jboss-user] [Beginners Corner] - Re: Compilation of latest CVS update

2007-11-27 Thread adriju
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 __

[jboss-user] [Beginners Corner] - Compilation of latest CVS update

2007-11-27 Thread adriju
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.

[jboss-user] [JBoss Seam] - Re: Problems when generating entities

2007-11-26 Thread adriju
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 :

[jboss-user] [JBoss Seam] - Problems when generating entities

2007-11-26 Thread adriju
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