Re: Re: [appfuse-user] appfuse:install error

2007-07-20 Thread chinofish
my pojo is very very simple as follows: and i am sure there is no problem about it ;-) @Entity public class Teacher { private Long id; private String name; @Id @GeneratedValue(strategy = GenerationType.AUTO) public Long getId() { return id; } public void setId(Long id) { this.id = id;

Re: [appfuse-user] Adding extra jar

2007-07-20 Thread Msarda
Yes, I executed command as C:\work>mvn install:install-file -Dfile=C:\work\repository\HROnline\SML_PeoplePickerControls.jar -DgroupId=au.com.suncorp.PeoplePi cker -DartifactId=PeoplePicker -Dversion=1.0 -Dpackaging=jar -DgeneratePom=true The jar is at C:\work\repository\au\com\suncorp\PeoplePic

Re: Re: [appfuse-user] appfuse:install error

2007-07-20 Thread Matt Raible
Is there an error if you run "appfuse:gen"? If not, do you get the same error if you run "appfuse:install" after it? Thanks, Matt On 7/20/07, chinofish <[EMAIL PROTECTED]> wrote: my pojo is very very simple as follows: and i am sure there is no problem about it ;-) @Entity public class Tea

Re: [appfuse-user] One-to-one Example

2007-07-20 Thread fadhli
Is it a bidirectional or a unidirectional one-to-one association? On 7/20/07, Doug Pham <[EMAIL PROTECTED]> wrote: Hi All, I am having a hard time writing a one-to-one annotation for two classes User and UserInfo. Every User will have a UserInfo where it have a foreign key from User. If y

Re: [appfuse-user] Adding extra jar

2007-07-20 Thread Matt Raible
If Eclipse is not resolving the JAR, I'd suggest you add it manually by navigating to the JAR. Maybe that will help you figure out if you're overlooking something. Matt On 7/20/07, Msarda <[EMAIL PROTECTED]> wrote: Yes, I executed command as C:\work>mvn install:install-file -Dfile=C:\work\repo

Re: [appfuse-user] Null pointer exception

2007-07-20 Thread Matt Raible
What class does EngagementformDaoHibernate extend? Matt On 7/19/07, Msarda <[EMAIL PROTECTED]> wrote: Hi all, I have created EngagementformDaoHibernate and also made entry in application-context.xml for it. as But i am getting null pointer exception at.. List engagement

Re: [appfuse-user] Add Trinidad to AppFuse Project. Tomcat errors.

2007-07-20 Thread Matt Raible
It looks like you have invalid XML in faces-config.xml. Matt On 7/19/07, snehalsao <[EMAIL PROTECTED]> wrote: Hi, I am using AppFuse 1.9.3. I am trying to add the Trinidad-1.2.1. I downloaded all files and modified some existing files based on the following installation instructions at: http:/

Re: Re: Re: [appfuse-user] appfuse:install error

2007-07-20 Thread chinofish
i tried it again, the situation is the same. when i run appfuse:gen, there is no error. but when i run appfuse:install, there is error: [INFO] [appfuse:install] [INFO] [AppFuse] Installing generated files (pattern: **/*.java)... [INFO] [AppFuse] Installing sample data for DbUnit... [INFO] -

[appfuse-user] Error 404 & Build Failed under apache-tomcat-1.6.0

2007-07-20 Thread Arkumik Raneas
To Mr Raible, my name RV from Indonesia i have many dificulty implementing Appfuse, i have try it for one week and never succeed, the OS that i use are Linux cetOS & Windoes Xp, of course i have already read the tutorial created by you but i still don't understand please give me enlightment - I us

Re: [appfuse-user] Adding extra jar

2007-07-20 Thread Msarda
I tried it adding manually also,but .. :( mraible wrote: > > If Eclipse is not resolving the JAR, I'd suggest you add it manually > by navigating to the JAR. Maybe that will help you figure out if > you're overlooking something. > > Matt > > On 7/20/07, Msarda <[EMAIL PROTECTED]> wrote: >> >>

Re: [appfuse-user] Error 404 & Build Failed under apache-tomcat-1.6.0

2007-07-20 Thread fadhli
Hi RV, what is your Java version in your machine? What exactly is the ant command you're executing to get that error? Maybe you can tell us the step to get that problem. On 7/20/07, Arkumik Raneas <[EMAIL PROTECTED]> wrote: To Everyone who can help.., my name RV from Indonesia i have many di

Re: [appfuse-user] Error 404 & Build Failed under apache-tomcat-1.6.0

2007-07-20 Thread Arkumik Raneas
my java version 1.6.0_01, and the step on eclipse 3.2 is like usually, i run the build.xml as Ant. and error 404 came when i proceed http://localhost:8080/appfuse/ note: i already put the appfuse folder into webapps folder thx again for the response Mr. fadhil fadhlirahim wrote: > > Hi RV, wha

[appfuse-user] Dynamic Struts Menu with VelocityMenuDisplayer

2007-07-20 Thread okey
Hi All, I tried to implement a database driven Menu list using struts Menu but had some issues. I get the following exception: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getMessage' in class net.sf.navigator.displayer.VelocityMenuDisplayer threw exception class

Re: [appfuse-user] Error 404 & Build Failed under apache-tomcat-1.6.0

2007-07-20 Thread fadhli
Ok, have you set up your environment for your tomcat? CATALINA_HOME? On 7/20/07, Arkumik Raneas <[EMAIL PROTECTED]> wrote: my java version 1.6.0_01, and the step on eclipse 3.2 is like usually, i run the build.xml as Ant. and error 404 came when i proceed http://localhost:8080/appfuse/ note:

Re: [appfuse-user] Error 404 & Build Failed under apache-tomcat-1.6.0

2007-07-20 Thread Arkumik Raneas
not yet, but is it important ?, because i thought that's enough to setup JAVA_HOME, because i'm quite curious what is the reason that i can proceed liferay meanwhile i can't proceed AppFuse?, but i will try to setup the CATALINA_HOME like you said, very-very thank you for your suggest. if i fail o

[appfuse-user] Appfuse & DWR design pattern question

2007-07-20 Thread fadhli
Hi everyone, I've read in the article in Appfuse1.9x regarding integration with DWR. I'm a newbie to DWR and I'm asking whether we have to make a different interface and a different implementation class just for DWR. Or we can use the existing service managers? Really appreciate the help. --

Re: [appfuse-user] Cannot exclude page from sitemesh

2007-07-20 Thread Dinu Alecsandru
Thanks Matt, I added the url to the jsp /ajax/* /WEB-INF/ajax/companyList.jsp and now it works. - Original Message From: Matt Raible <[EMAIL PROTECTED]> To: users@appfuse.dev.java.net Sent: Thursday, July 19, 2007 6:54:24 PM Subject: Re: [appfuse-user] Cannot

Re: [appfuse-user] Error 404 & Build Failed under apache-tomcat-1.6.0

2007-07-20 Thread fadhli
Oh, you just need to specify you tomcat home environment. I'm familiar with windows xp, so in windows xp, you just need to specify CATALINA_HOME in your windows environment exactly the same way you specify your JAVA_HOME environment. Senang aja sih ;-) On 7/20/07, Arkumik Raneas <[EMAIL PROTECTE

Re: [appfuse-user] Error 404 & Build Failed under apache-tomcat-1.6.0

2007-07-20 Thread fadhli
Hmm.. I've dwelt with liferay before and usually their run command has already set the CATALINA_HOME environment at the root of the project (Because they ship the product including with tomcat). So right now, the ant build file in appfuse1.9 needs you to specify the tomcat home environment. So it

Re: [appfuse-user] Error 404 & Build Failed under apache-tomcat-1.6.0

2007-07-20 Thread Arkumik Raneas
so can you give me a tutor, how to specify my ant bulid file to my tomcat home environtment? if you don't mind on linux or on windows xp fadhlirahim wrote: > > Hmm.. I've dwelt with liferay before and usually their run command has > already set the CATALINA_HOME environment at the root of the pr

Re: [appfuse-user] Error 404 & Build Failed under apache-tomcat-1.6.0

2007-07-20 Thread Arkumik Raneas
Ok thnx's so i can't try it now, because my computer in my office using linux centOS :) klo gitu biar saya coba di rumah aja deh, terima kasih ya soalnya saya newbie di J2EE, ikutan JUG-Indonesia?, tapi klo saya berhasil, mau- nggak mau njawabnya menggunakan bahasa Indonesia : ini email saya : [E

[appfuse-user] Can I access to a Manager (UniversalManager or GenericManager) in a BaseObject ?

2007-07-20 Thread Laurent Dejoux
I need to execute an sql request on a instanciated object of my model. Do I need to use a manager ? Is that possible to use a manager with an BaseObject ? My case is : I have 2 BaseObjects "Project" and "Tool". One Tool is connected at one Project. When i deals with a Project, i want to be able t

Re: [appfuse-user] Error 404 & Build Failed under apache-tomcat-1.6.0

2007-07-20 Thread fadhli
You're welcome. Glad to help. Hehe.. sebenarnya saya orang Malaysia. Tp banyak nonton sinetron heheh ;-) On 7/20/07, Arkumik Raneas <[EMAIL PROTECTED]> wrote: Ok thnx's so i can't try it now, because my computer in my office using linux centOS :) klo gitu biar saya coba di rumah aja deh, ter

[appfuse-user] struts.locale

2007-07-20 Thread tibi
Hi list, i have this message: [topnet] WARN [main] Settings.getLocale(143) | Settings: Could not parse struts.locale setting, substituting default VM locale which i can take away when i add a struts.properties file to my resources and adding: struts.locale=nl_nl maybe its a good idea to add t

Re: [appfuse-user] Null pointer exception

2007-07-20 Thread Msarda
It's working :) I created new instance of EngagementformDaoHibernate in testcase instead of creating setEngagementformDaoHibernate () method. mraible wrote: > > What class does EngagementformDaoHibernate extend? > > Matt > > On 7/19/07, Msarda <[EMAIL PROTECTED]> wrote: >> >> Hi all, >> >> I

RE: [appfuse-user] Can I access to a Manager (UniversalManager or GenericManager) in a BaseObject ?

2007-07-20 Thread benoit moraillon
You can access your Tool object simply by using a getter and an JPA Hibernate annotation. Read the hibernate documentation, all relationships mapping are explained. Example : @OneToMany(cascade=CascadeType.ALL, mappedBy="project",targetEntity=Tool.class) private List tools = new A

Re: [appfuse-user] Error with appfuse:full-source

2007-07-20 Thread tibi
hi i have the same problem. anyone? my appfuse is a upgraded m4 to m5 struts base project thanks, tibi tweibel wrote: Hi! I wanted to execute `mvn appfuse:full-source' in a newly created Appfuse application with `JSF Basic' archetype and get the following error: --8<-- + Error stacktraces

Re: [appfuse-user] Error with appfuse:full-source

2007-07-20 Thread tibi
even mvn jetty:run will not run any more. i had to retrieve my project as was before the full-source command to get things working again. tibi tibi wrote: hi i have the same problem. anyone? my appfuse is a upgraded m4 to m5 struts base project thanks, tibi tweibel wrote: Hi! I wanted

Re: [appfuse-user] Adding extra jar

2007-07-20 Thread Eric Fitzsimmons
I have issues with eclipse not picking up library files all the time using maven. Try closing the project and reopening it and disable and enable the dependencies. A lot of times I just don't even bother as long as the maven commands still work from command line. I don't believe the maven ec

[appfuse-user] chang user object

2007-07-20 Thread tibi
hi list, i want to make some minor changes to the user object. (add one field 'department' and make some fields not mandatory) i added the user source in my project. i added the department field with getters and setters but it is not added to the database. i have a feeling my changed user is

[appfuse-user] Apffuse 1.9 Query By Example

2007-07-20 Thread Fred Forester
Hi All, a newbie to appfuse/struts/hibernate so have what is probably a stupid questiom. I noticed this comment in my DaoHibernate class. /* Remove the line above and uncomment this code block if you want to use Hibernate's Query by Example API. */ I have about 4 fields in this table I wou

Re: [appfuse-user] struts.locale

2007-07-20 Thread Matt Raible
The default language for JSTL is set in web.xml, so you might need to set the default there as well. When I had struts.locale set, it didn't allow me to change the user's locale using LocaleFilter, so I removed the setting. AFAICT, setting "struts.locale" makes it impossible to change the user's l

Re: [appfuse-user] Apffuse 1.9 Query By Example

2007-07-20 Thread Matt Raible
There's no question in this message. ;-) Matt On 7/20/07, Fred Forester <[EMAIL PROTECTED]> wrote: Hi All, a newbie to appfuse/struts/hibernate so have what is probably a stupid questiom. I noticed this comment in my DaoHibernate class. /* Remove the line above and uncomment this code block

Re: [appfuse-user] chang user object

2007-07-20 Thread Matt Raible
I'd make sure you run "mvn clean" so the old User object is not getting picked up from your classpath. If that doesn't work, it's likely you need to do some exclusions on appfuse-hibernate or appfuse-service for appfuse-data-common. Matt On 7/20/07, tibi <[EMAIL PROTECTED]> wrote: hi list, i w

Re: [appfuse-user] struts.locale

2007-07-20 Thread tibi
i have struts.local set and still am able to change the language tibi Matt Raible wrote: The default language for JSTL is set in web.xml, so you might need to set the default there as well. When I had struts.locale set, it didn't allow me to change the user's locale using LocaleFilter, so I

Re: [appfuse-user] Appfuse & DWR design pattern question

2007-07-20 Thread Matt Raible
I'd try to use the existing ones and if they don't work for some reason, work on a new implementation then. Matt On 7/20/07, fadhli <[EMAIL PROTECTED]> wrote: Hi everyone, I've read in the article in Appfuse1.9x regarding integration with DWR. I'm a newbie to DWR and I'm asking whether we ha

Re: [appfuse-user] chang user object

2007-07-20 Thread tibi
thanks i did a clean so i think i need to do the excluding is there an example or howto? again thanks, tibi Matt Raible wrote: I'd make sure you run "mvn clean" so the old User object is not getting picked up from your classpath. If that doesn't work, it's likely you need to do some exclusions

AW: [appfuse-user] Adding extra jar

2007-07-20 Thread Tobias Vogel
Hi, what always works for me is the following: - mvn eclipse:clean eclipse:eclipse - Mark the root dir of the project and press F5 to refresh After that, all depencencies are correct for Eclipse. If not, I always made a mistake in the maven pom. HTH, Tobias -Ursprüngliche Nachricht- V

Re: Re: Re: [appfuse-user] appfuse:install error

2007-07-20 Thread Matt Raible
I'm sorry, there's not enough information for me to figure out what's causing the problem. The only thing I can think of is to check your project into source control, check it out on another machine and try it there. Matt On 7/20/07, chinofish <[EMAIL PROTECTED]> wrote: i tried it again, the

Re: [appfuse-user] Error with appfuse:full-source

2007-07-20 Thread Matt Raible
You could always try creating an archetype with 2.0-rc1-SNAPSHOT and see if that problem is fixed. Most issues with full-source seem to be caused by SVN and proxy issues. Matt On 7/20/07, tibi <[EMAIL PROTECTED]> wrote: even mvn jetty:run will not run any more. i had to retrieve my project as

Re: [appfuse-user] Problems executing controller test after running mvn appfuse:full-source

2007-07-20 Thread syg6
After playing around with this problem a while longer I am starting to suspect that 'exploding' Appfuse has caused my tests to stop working. In previous threads we talked about how Appfuse 'breaks' after running: 1. 'mvn war:inplace' 2. 'mvn appfuse:full-source' 3. 'mvn eclipse:eclipse' ... t

Re: [appfuse-user] chang user object

2007-07-20 Thread Matt Raible
There should be some existing in your pom.xml you can use as an example. This page may help as well: http://appfuse.org/display/APF/AppFuse+Core+Classes Matt On 7/20/07, tibi <[EMAIL PROTECTED]> wrote: thanks i did a clean so i think i need to do the excluding is there an example or howto? a

Re: [appfuse-user] Apffuse 1.9 Query By Example

2007-07-20 Thread Fred Forester
Sorry about that. I guess the question is this. is there a write up on how to implement the Query By Example. i.e. front ending the list with a search form and have the DaoHibernate class use the QBE API using the criteria specified on the search form. Thanx Fred Matt Raible wrote: There'

Re: [appfuse-user] Problems executing controller test after running mvn appfuse:full-source

2007-07-20 Thread Matt Raible
You should make sure you don't have 2 hibernate.cfg.xml files in your classpath. The M5 version of full-source adds a file to your "src/test/resources" directory that shouldn't be there. This is fixed in RC1. Matt On 7/20/07, syg6 <[EMAIL PROTECTED]> wrote: After playing around with this probl

Re: [appfuse-user] Apffuse 1.9 Query By Example

2007-07-20 Thread Matt Raible
I don't believe there's a tutorial. However, with the code in the DAO, it shouldn't be too difficult. Just populate the object in your Controller (from your form) and then pass it down to your DAO layer. Worst case, you can just use request.getParameter() to populate your object manually. Getting

[appfuse-user] Appfuse2.0+EMMA+PMD

2007-07-20 Thread Volodymyr Petrushkevych
Could you give consultations about using Emma and PMD? I'm working with AppFuse 2.0 M5 and Maven 2.0.7. PMD generates report for model but nothing for test. Using Emma gives nothing :( Is it problem of Maven2 and these plug-ins or possible there should be some configurations in AppFuse ? Thanks

Re: [appfuse-user] Appfuse2.0+EMMA+PMD

2007-07-20 Thread Matt Raible
What version of the EMMA plugin are you using? As far as I know, the best one to use hasn't been released yet: http://jira.codehaus.org/browse/MOJO-762 Did Corbertura not work for you? Matt On 7/20/07, Volodymyr Petrushkevych <[EMAIL PROTECTED]> wrote: Could you give consultations about using

Re: [appfuse-user] One-to-one Example

2007-07-20 Thread Doug Pham
fadhli, It can be any! I trying to work with the bidirectional at the moment. Thanks, Doug fadhli <[EMAIL PROTECTED]> wrote: Is it a bidirectional or a unidirectional one-to-one association? On 7/20/07, Doug Pham <[EMAIL PROTECTED] > wrote:Hi All, I am having a hard time writing a one-

Re: [appfuse-user] Adding extra jar

2007-07-20 Thread Eric Fitzsimmons
Great tip. That worked great for me. Thanks -Fitz On 7/20/07, Tobias Vogel <[EMAIL PROTECTED]> wrote: Hi, what always works for me is the following: - mvn eclipse:clean eclipse:eclipse - Mark the root dir of the project and press F5 to refresh After that, all depencencies are correct for Ecl

[appfuse-user] XSL issues with Win2003 sp2

2007-07-20 Thread pankaj singla
Hi, I am using Appfuse 1.9. We have an application which uses XSL to generate menus and we have around 1500 submenus in there generated with XSL. The problem I am having is that the xsl transformation is working fine for SP1 but is messing up in SP2. We are converting XML to HTML. While xml is g

Re: [appfuse-user] Problems executing controller test after running mvn appfuse:full-source

2007-07-20 Thread syg6
Ok Matt. I'll check it out. Unfortunately ... actually, fortunately, I am off on a week's vacation so I won't be able to check until I get back. Cheers and thanks again, Bob mraible wrote: > > You should make sure you don't have 2 hibernate.cfg.xml files in your > classpath. The M5 version of

Re: [appfuse-user] POM Question

2007-07-20 Thread Saeed Iqbal
Can we please put this thing in the documentation? Matt i've been trying to get appfuse started since last year. I mean it gives errors, i give up now i want to use appfuse-light, and the first thing was missing this information from the readme file of the documentation. It just said conveniently

Re: [appfuse-user] POM Question

2007-07-20 Thread Matt Raible
The easiest way to search for dependencies is using mvnrepository.com. Please form what you'd like to see in the form of a FAQ and I'll try to answer it and add it to the documentation. Matt On 7/20/07, Saeed Iqbal <[EMAIL PROTECTED]> wrote: Can we please put this thing in the documentation? M

[appfuse-user] Reverse Engineering Existing Schema

2007-07-20 Thread Doug Pham
Hi All, While experimenting with JPA & Annotations, I am working on a project using an existing database. Once I completed the reverse engineering of the schema (*.java and *.xml) files and moved them to the project accordingly. What part of the pom.xml do I have to removed or added to use

Re: [appfuse-user] Reverse Engineering Existing Schema

2007-07-20 Thread Matt Raible
What do you mean by "the code generation part"? AppFuse 1.x does code generation with XDoclet, but not 2.x. Which version are you using? Matt On 7/20/07, Doug Pham <[EMAIL PROTECTED]> wrote: Hi All, While experimenting with JPA & Annotations, I am working on a project using an existing data

Re: [appfuse-user] Reverse Engineering Existing Schema

2007-07-20 Thread Doug Pham
Matt, I am using the 2.0.5m, once you created the annotation java file, I am assuming in the pom somewhere it creates the tables according to the file and also generate the xml file for hibernate? Thanks, Doug Matt Raible <[EMAIL PROTECTED]> wrote: What do you mean by "the code generation

Re: [appfuse-user] POM Question

2007-07-20 Thread Saeed Iqbal
Alright will do. Can we have a db creation script please? I searched for it on google and found this guy asking the same question http://www.logemann.org/2007/04/25/tapestry-quickstart-with-appfuse-light/ Hope to get started with appfuse light soon. Thanks, -saeed mraible wrote: > > The ea

[appfuse-user] Link to FAQ page down

2007-07-20 Thread Saeed Iqbal
The link to FAQ page http://wiki.sourcebeat.comdisplay/SPL/FAQ on this page https://appfuse-light.dev.java.net/#setup is not working. So i hope i can ask questions that may have existed on FAQ ;) -- View this message in context: http://www.nabble.com/Link-to-FAQ-page-down-tf4119757s2369.html#a1

Re: [appfuse-user] Error with appfuse:full-source

2007-07-20 Thread Saeed Iqbal
I have the same problem and that is why i gave up and thought of moving to appfuse light. Can anyone help me get 1 decent JSF/iBatis app started with Appfuse please? i am struggling since last year !. :( Sorry if i sound frustrated because i am more of what i sound -saeed tweibel wrote: > >

[appfuse-user] Sharing Domain Classes between projects

2007-07-20 Thread Brett Knights
Hello, I have a working Appfuse project. I need to create a new project that shares much of the dao and service layers but not much of the web layer. Does anyone have any tips on a strategy for dealing with this? I'm currently using Appfuse 1.9.4 TIA Brett Knights --

Re: [appfuse-user] Sharing Domain Classes between projects

2007-07-20 Thread Saeed Iqbal
Do you think adding the folder where /classes reside for all the packages you mentioned into the build path of your other project would help. Personally i have not gotten any appfuse project working. breaking my head still but yea to answer your question find out where the .class files are for th

Re: [appfuse-user] POM Question

2007-07-20 Thread Matt Raible
http://static.appfuse.org/downloads/appfuse.sql On 7/20/07, Saeed Iqbal <[EMAIL PROTECTED]> wrote: Alright will do. Can we have a db creation script please? I searched for it on google and found this guy asking the same question http://www.logemann.org/2007/04/25/tapestry-quickstart-with-appfu

Re: [appfuse-user] Link to FAQ page down

2007-07-20 Thread Matt Raible
Do we have a bad link? It should be: http://wiki.sourcebeat.com/display/SPL/FAQ Can you please enter an issue in JIRA? Otherwise, I'll forget. ;-) http://issues.appfuse.org/browse/EQX Matt On 7/20/07, Saeed Iqbal <[EMAIL PROTECTED]> wrote: The link to FAQ page http://wiki.sourcebeat.comdisp

[appfuse-user] DOJO problem in struts basic 2m5

2007-07-20 Thread arvinder
I am trying a very simple Ajax call in jsp but I cannot get it to work..delaying my friday beer session:) I have in head and following in my jsp body loading content... My ajax action is spitting some static content, but I never get that on this page, but if I type in

Re: [appfuse-user] Link to FAQ page down

2007-07-20 Thread Saeed Iqbal
http://issues.appfuse.org/browse/EQX-149 Just created my first issue. I feel very confident today LOL. -saeed mraible wrote: > > Do we have a bad link? It should be: > > http://wiki.sourcebeat.com/display/SPL/FAQ > > Can you please enter an issue in JIRA? Otherwise, I'll forget. ;-) > > htt