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
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 :
http://www.jboss.com/index.h
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=bb&op=viewtopic&t=128228&postdays=0&postorder=asc&start=0
Thanks in advance,
Vikram Chhetry
View the orig
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=bb&op=viewtopic&p=4123483#4123483
Reply to the post :
htt
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:
[com.impact.entity.User]
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 an
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
/home/vikramc/workspace/Impact/te
seam-2.0.1.CR1
jboss-4.2.2.GA
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122787#4122787
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4122787
___
jboss-user mailing list
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 :
http://www.jboss.com/index.html?module=bb&op=vie
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] Running:
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 java.lang.Class.forName0(Native
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 /home/vikram
Problem fixed.
I modified my code:
| public void loadRolesList() {
| Collection list = em.createQuery(
| "select object(r) from Roles r order by
r.iroleId")
| .getResultList();
|
| for (Roles roles :
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() {
| List list = (List) em
| .createQuery(
| "select r.iro
Can somebody help me out on this?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4119089#4119089
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4119089
___
jboss-user mailing li
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
|
Thanks mars,
You gave me the reason to kill myself
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4118669#4118669
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4118669
___
jbos
Can anyone help me?
I am stuck badly.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4118636#4118636
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4118636
___
jboss-user mailin
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
|
|Action
|
|
|
Stateful bean:
public class CallCenterAgentEditAction imp
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
| [hibernat
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:-
|
|
|
|
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 searc
Hi All,
I have a search user page where user can be searched by firstname and last name.
My Code
xhtml
|
|Call Center Agent Search
|
| First Name
|
|
|
| Last Name
|
|
|
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 l
"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=bb&op=viewtopic&p=4116327#4116327
Reply t
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 appreciated.
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
|
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;
| p
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:-
|
|
| http://www.jboss.org/j2ee/dtd/jboss-ds_1_5.dtd";>
|
|
|
| AbcDatasource
| jdbc:mysql://127.0.0.1/abc
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 :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114522#4114
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 origina
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=bb&op=viewtopic&p=4114360#4114360
Reply to the post :
http://www.jboss.com/index.h
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
http://localhost:808
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 o
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 :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113845#
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
| #
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=bb&op=viewtopic&p=4113835#4113835
Reply to the post :
http://ww
I mean in build.xml of seam root directory i made some changes. Now it looks
like this:-
|
|
|
Even then its not deplying it in jboss deploy folder
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113830#4113830
Reply to the post :
http://www.jboss
Following line was added by in build.xml in root directory of seam
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113828#4113828
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4113828
__
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
|
|
|
|
|
|
Thanks for ur reply
View t
I made some changes in build.xml
am i doing the right thing
|
|
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113812#4113812
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4113812
__
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
/home/vikramc/.eclipse/seam/examples/registrati
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 de
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
44 matches
Mail list logo