[jboss-user] [JBoss Seam] - Dynamic Entity Beans

2008-01-31 Thread vikramchhetryy
Hi All, I have started working on an application with some complex data model using seam. Before starting that I want to ask some questions. 1.) Does seam support dynamic forms? I want to generate the form from the database. 2.) How do we deal with an array in the form (elements having same

[jboss-user] [JBoss Seam] - Seam Test Jboss

2008-01-25 Thread vikramchhetryy
Hi, Can I use my jboss server in place of using jboss embedded container? If yes then how? I am facing lot many problems while running test scripts. http://www.jboss.org/index.html?module=bbop=viewtopict=128228postdays=0postorder=ascstart=0 Thanks in advance, Vikram Chhetry View the original

[jboss-user] [JBoss Seam] - Re: FAILED CONFIGURATION: @BeforeClass init

2008-01-25 Thread vikramchhetryy
It might be a stupid question. Does it have anything to do with import-test.sql file? All the files import-test.sql,import-dev.sql,import-dev.sql are empty. Thanks, Vikram View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123483#4123483 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Seam Test Jboss

2008-01-25 Thread vikramchhetryy
anonymous wrote : You could take a look at JSFUnit. But check how far Stan has got with support for Seam. Last I asked, it wasn't complete. Does JSFUnit use jboss application server? or its not possible yet to use jboss application server? View the original post :

[jboss-user] [JBoss Seam] - Re: FAILED CONFIGURATION: @BeforeClass init

2008-01-24 Thread vikramchhetryy
I changed my hsqldb-ds.xml and getting this error now. Buildfile: build.xml | | compiletest: | [javac] Compiling 1 source file to /home/vikramc/workspace/Impact/test-build | | copytestclasses: | | buildtest: | [copy] Copying 1 file to

[jboss-user] [JBoss Seam] - Re: FAILED CONFIGURATION: @BeforeClass init

2008-01-24 Thread vikramchhetryy
Thanks pete, thank a lot for your response. anonymous wrote : I suggest starting with a clean copy of Seam 2.0.1.CR1 or CR2 and use seam-gen to generate a build script for you. It does work correctly, I promise! | I have a question. After starting with clean copy of seam do I need to make

[jboss-user] [JBoss Seam] - Re: FAILED CONFIGURATION: @BeforeClass init

2008-01-24 Thread vikramchhetryy
I created a fresh project using seam gen. Then I replaced src and view folder with my old project. When I tried running ant test i got this exception [testng] INFO [com.impact.session.AddUser] Exception = org.hibernate.exception.GenericJDBCException: could not insert:

[jboss-user] [JBoss Seam] - Re: FAILED CONFIGURATION: @BeforeClass init

2008-01-23 Thread vikramchhetryy
Logs that I see:- [Parser] Running: | /home/vikramc/workspace/Impact/src/test/com/impact/test/ChangePasswordActionTest.xml | | FAILED CONFIGURATION: @BeforeClass init | java.lang.NoClassDefFoundError: org/jboss/deployers/spi/DeploymentException | at

[jboss-user] [JBoss Seam] - Re: FAILED CONFIGURATION: @BeforeClass init

2008-01-23 Thread vikramchhetryy
Buildfile: build.xml | | compiletest: | | copytestclasses: | | buildtest: | [copy] Copying 1 file to /home/vikramc/workspace/Impact/test-build/META-INF | [copy] Copying 1 file to /home/vikramc/workspace/Impact/test-build | | test: |[testng] [Parser]

[jboss-user] [JBoss Seam] - Re: FAILED CONFIGURATION: @BeforeClass init

2008-01-23 Thread vikramchhetryy
I am still not able to solve this problem. Can any one send me a link or tell me what all things are required to run a basic test script. I still do not know where the problem is? Any help would be appreciated. -Vikram View the original post :

[jboss-user] [JBoss Seam] - Re: FAILED CONFIGURATION: @BeforeClass init

2008-01-23 Thread vikramchhetryy
seam-2.0.1.CR1 jboss-4.2.2.GA View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4122787#4122787 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4122787 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - FAILED CONFIGURATION: @BeforeClass init

2008-01-22 Thread vikramchhetryy
Hi All, When i try to run a test using ant test it throws an exception:- | Buildfile: build.xml | | compiletest: | | copytestclasses: | | buildtest: | [copy] Copying 1 file to /home/vikramc/workspace/Impact/test-build/META-INF | [copy] Copying 1 file to

[jboss-user] [JBoss Seam] - Iterate List of entities

2008-01-18 Thread vikramchhetryy
Hi all, I am getting class cast exception when I try to execute this code in this line roles = (Roles) it.next(); public void loadRolesList() { | ListRoles list = (ListRoles) em | .createQuery( |

[jboss-user] [JBoss Seam] - Re: Iterate List of entities[FIXED]

2008-01-18 Thread vikramchhetryy
Problem fixed. I modified my code: | public void loadRolesList() { | CollectionRoles list = em.createQuery( | select object(r) from Roles r order by r.iroleId) | .getResultList(); | | for (Roles

[jboss-user] [JBoss Seam] - Conversation ends on its own

2008-01-11 Thread vikramchhetryy
Hi All, I am trying to edit User details in a very unorthodox manner, I dont know if this is cause for Conversation problem. My Code:- | public class CallCenterAgentEditAction implements CallCenterAgentEdit { | | @Logger | private Log log; | | @PersistenceContext |

[jboss-user] [JBoss Seam] - Re: Conversation ends on its own

2008-01-11 Thread vikramchhetryy
Can somebody help me out on this? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4119089#4119089 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4119089 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - No action called

2008-01-10 Thread vikramchhetryy
Hi all, I want to view details of a user by clicking on a link. But when I click the link nothing happens. I went accross the seam-booking example but couldnt figure out the problem. My Code XHTML | h:column |f:facet name=headerAction/f:facet |s:link id=editCallCenterAgent

[jboss-user] [JBoss Seam] - Re: No action called

2008-01-10 Thread vikramchhetryy
Can anyone help me? I am stuck badly. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4118636#4118636 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4118636 ___ jboss-user mailing

[jboss-user] [JBoss Seam] - Re: No action called

2008-01-10 Thread vikramchhetryy
Thanks mars, You gave me the reason to kill myself View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4118669#4118669 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4118669 ___

[jboss-user] [JBoss Seam] - Edit details

2008-01-09 Thread vikramchhetryy
Hi All, I have two associated tables viz. User and LoginInfo . User table contains:- UserId FirstName UserType LoginInfo table contains:- UserId UserName Password I have 2 type of users: Admin and Agent Admin can search agents and change Agent details(FirstName, UserName, Password). I have

[jboss-user] [JBoss Seam] - Re: Edit details

2008-01-09 Thread vikramchhetryy
Hi, Why anyone doesnt answer me? Am I in a wrong forum? I nearly have 10 unanswered posts. Anyways I tried to solve it and wrote some doce for this. XHTML:- | a:outputPanel id=searchResults | div class=sectionh:outputText value=No Agents Found |

[jboss-user] [JBoss Seam] - Re: Edit details

2008-01-09 Thread vikramchhetryy
Thanks for your response pete. I tried seam reverse engineering but there is an error in seam generate-ui command ERROR:- [hibernate] INFO: Hibernate EntityManager 3.3.1.GA | [hibernate] An exception occurred while running exporter #2:generic exportertemplate: view/list.xhtml.ftl |

[jboss-user] [JBoss Seam] - ejb-ql join and h:dataTable

2008-01-07 Thread vikramchhetryy
Hi All, I have a search user page where user can be searched by firstname and last name. My Code xhtml | h:form id=searchCallCenterAgentForm style=width:600px; |f:facet name=headerCall Center Agent Search/f:facet | div class=dialogh:panelGrid columns=2 rowClasses=prop |

[jboss-user] [Beginners Corner] - SelectOneMenu problem

2008-01-03 Thread vikramchhetryy
Hi All, Can someone help me populate a dropdown/SelectOneMenu dynamically. I have three tables:- Person:- personId name Roles:- roleId description PersonRoles:- personId roleId I want a dropdown/SelectOneMenu of roles in my add person screen. Can some one help me with some sample code or url

[jboss-user] [Beginners Corner] - insert record in associated tables

2008-01-02 Thread vikramchhetryy
Hi All, I have two associated tables viz. User and LoginInfo. User table contains:- UserId FirstName LoginInfo table contains:- UserName Password i want to insert data in both the tables from a single screen. I have no idea how to do that using EntityManager class. Any help would be

[jboss-user] [Beginners Corner] - Re: insert record in associated tables

2008-01-02 Thread vikramchhetryy
vikramchhetryy wrote : | LoginInfo table contains:- | UserName | Password | Correction- LoginInfo table contains:- UserId UserName Password View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4116327#4116327 Reply to the post : http://www.jboss.com

[jboss-user] [JBoss Seam] - Reverse engineering two associated tables

2007-12-27 Thread vikramchhetryy
Hi All, I have two tables USER and USER_LOGIN_INFO. I want to generate ui for Adding a USER using reverse engineering and i want fields from both the table in one page. Example; USER:- | USER_ID | FIRST_NAME | | | USER_LOGIN_INFO:- | | | USER_LOGIN_INFO_ID | | USER_ID |

[jboss-user] [JBoss Seam] - javax.el.PropertyNotFoundException

2007-12-21 Thread vikramchhetryy
Hi all, My code looks like this:- User.java | @Entity | @Name(userBean) | @Scope(SESSION) | @Table(name = abcd) | public class User implements Serializable { | | private static final long serialVersionUID = -7928759431732764467L; | private String StrUserName; |

[jboss-user] [JBoss Seam] - Re: Seam Example + Local Database

2007-12-20 Thread vikramchhetryy
Thanks a lot guys... Local host problem is solved now But still i dont know how to connect to the local mysql4.1 database. I am very new to this technology and already running late. Thanks, Vikram View the original post :

[jboss-user] [JBoss Seam] - Mysql Database Connection Problem Seam

2007-12-20 Thread vikramchhetryy
Hi All, I am trying to create a new application in seam my problem is that i am not able to connect to the database. my connection xml looks like this:- | ?xml version=1.0 encoding=UTF-8? | | !DOCTYPE datasources | PUBLIC -//JBoss//DTD JBOSS JCA Config 1.5//EN |

[jboss-user] [JBoss Seam] - Seam Example + Local Database

2007-12-19 Thread vikramchhetryy
Hi All, I have all the seam example application running on my machine, I want to use my local database, what all changes do i need to make. I think some changes are to be made in persistence.xml but i dont know what to change. I am facing one more problem i.e. when i access

[jboss-user] [JBoss Seam] - Re: Seam Example + Local Database

2007-12-19 Thread vikramchhetryy
Hi Jay How are you? Actually I dont know what to change, i didn't try changing any thing. Do you have any idea about localhost problem? Thanks Jay View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4114360#4114360 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Seam Example + Local Database

2007-12-19 Thread vikramchhetryy
for database connectivity I didnt get an error because i didnt make any changes in any xml file because i dont know where to start with. http://10.0.0.188:8080/seam-registration/ error: Unable to connect Firefox can't establish a connection to the server at 10.0.0.188:8080. View the

[jboss-user] [JBoss Seam] - HTTP Status 404 - /registration/

2007-12-18 Thread vikramchhetryy
Hi All, I tried installing seam on jboss but when i try to access registration example it says HTTP Status 404 - /registration/ wild guesses:- http://localhost:8080/seam-registration/ http://localhost:8080/jboss-seam-registration/ as suggested i made two changes in build.xml which looks like

[jboss-user] [JBoss Seam] - Re: HTTP Status 404 - /registration/

2007-12-18 Thread vikramchhetryy
Hi jbalubas, could you please tell me the directory location where the application is deployed? this is the output when i type ant deploy: | Buildfile: build.xml | Overriding previous definition of reference to emma.classpath | | initcopy: | | initpoms: | [echo] Setting up

[jboss-user] [JBoss Seam] - Re: HTTP Status 404 - /registration/

2007-12-18 Thread vikramchhetryy
ant clean deploy | Buildfile: build.xml | Overriding previous definition of reference to emma.classpath | | clean: |[delete] Deleting directory /home/vikramc/.eclipse/seam/examples/registration/dist |[delete] Deleting directory

[jboss-user] [JBoss Seam] - Re: HTTP Status 404 - /registration/

2007-12-18 Thread vikramchhetryy
thanks jay i manualy copied the ear to jboss deply directory and its working fine. But why is it creating new folder Applications, and why isnt it deploying the application directly to the jboss deply folder. My build.xml looks like this | property name=jboss.home value=/opt/jboss-4.2.2.GA /

[jboss-user] [JBoss Seam] - Re: HTTP Status 404 - /registration/

2007-12-18 Thread vikramchhetryy
Following line was added by in build.xml in root directory of seam property name=jboss.home value=/opt/jboss-4.2.2.GA / View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113828#4113828 Reply to the post :

[jboss-user] [JBoss Seam] - Re: HTTP Status 404 - /registration/

2007-12-18 Thread vikramchhetryy
I mean in build.xml of seam root directory i made some changes. Now it looks like this:- property name=jboss.home value=/opt/jboss-4.2.2.GA / | property name=deploy.dir value=${jboss.home}/server/default/deploy / | | property name=webroot.dir

[jboss-user] [JBoss Seam] - Re: HTTP Status 404 - /registration/

2007-12-18 Thread vikramchhetryy
I made some changes in build.xml am i doing the right thing property name=jboss.home value=/opt/jboss-4.2.2.GA / | property name=deploy.dir value=${jboss.home}/server/default/deploy / | !--property name=webroot.dir value=${deploy.dir}/jbossweb-tomcat55.sar/ROOT.war / -- | property

[jboss-user] [JBoss Seam] - Re: HTTP Status 404 - /registration/

2007-12-18 Thread vikramchhetryy
build.properties | #See build/sample.build.properties for properties you might want to set | #Wed Dec 12 11:30:23 CST 2007 | qualifier=.CR1 | mavenized=false View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113835#4113835 Reply to the post :

[jboss-user] [JBoss Seam] - Re: HTTP Status 404 - /registration/

2007-12-18 Thread vikramchhetryy
build/sample.build.properties # Use this properties file to set system specific properties | # -- | # | # Location of JBoss AS and Tomcat | # --- | #jboss.home /Applications/jboss-4.2.1.GA # Default |

[jboss-user] [JBoss Seam] - Re: HTTP Status 404 - /registration/

2007-12-18 Thread vikramchhetryy
stupid me. jboss.home was supposed to be set in build.properties and i did it in build.xml Neways..its working now thanks a lot for your help. I am really thankful to you jay -Vikram View the original post :

[jboss-user] [JBoss Seam] - Jboss Seam Eclipse Plugin

2007-12-18 Thread vikramchhetryy
Hi All, I am very new to Jboss and Seam. Can any one tell me how to use eclipse for developing seam jboss application? I have seam example applications running but i cant change it on eclipse. Where can I download eclipse plugin for seam application? i am using eclipse-3.1-4, jboss4.2.0,seam2.0