Re: [appfuse-user] Adding extra jar

2007-07-18 Thread Eric Fitzsimmons
What version of appfuse are you using? If you are using any version of appfuse 2.*(aka using maven), you will want to add the dependency to your pom. If the jar does not exist in the repositories you are checking, then you will have to add it manually add it. You can find tons of examples wi

[appfuse-user] Adding extra jar

2007-07-18 Thread Msarda
Hi all, I want to add one jar in application. I copied that jar in WEB-INF/lib folder manuallly and put it in java build path,but it was not getting recognized. I copied that jar in c:/work/repository and added in java build path but still it was not getting recognized. Is there any other way i

Re: [appfuse-user] Retriving username of user logged in

2007-07-18 Thread Matt Raible
request.getRemoteUser() will get the username for you. Matt On 7/18/07, Msarda <[EMAIL PROTECTED]> wrote: Hi all, i have to implement functionality where when user logs in,he should be able to access the open and closed requests he submitted before. For this i want to attach username field w

[appfuse-user] Problem with exception UnsatisfiedDependencyException and Integration test

2007-07-18 Thread Gary Darnton
Hi all, I got a problem when I try to run command: mvn test -Dtest=PersonActionTest The error occur as below. Even I tried to put this code in applicationContext.xml file If I dont want to run test when I run jetty:run-war. How should I do? All suggestion are appreciated. Regards, G

[appfuse-user] Retriving username of user logged in

2007-07-18 Thread Msarda
Hi all, i have to implement functionality where when user logs in,he should be able to access the open and closed requests he submitted before. For this i want to attach username field with request in the database when storing new request. Is there any way to get username of user currently logge

[appfuse-user] Cannot deploy appfuse 1.9

2007-07-18 Thread Mack Boonyoung
Hi all! I'm just a beginner in web-dev and after I downloaded appfuse 1.9, trying to deploy it and I've got something like this: INFO: Deploying web application archive appfuse.war [EMAIL PROTECTED]@] DEBUG [ContainerBackgroundProcessor[StandardEngine[Catalina]]] StartupListener.contextInitia

Re: [appfuse-user] Not able to run appfuse:full-source

2007-07-18 Thread Dmitry Chuyko
I run full-source goal using Eclipse maven.ide plugin - i.e. embedder 2.0.4. And the bug that has been fixed for standalone Maven (no prob with 2.0.6 and 2.0.7) appears. Here is the log: - NFO] appfuse:full-source [INFO] [AppFuse] Insta

Re: [appfuse-user] restlet framework integration

2007-07-18 Thread Matt Raible
Not that I know of. On 7/18/07, dev dev <[EMAIL PROTECTED]> wrote: Hi appfusers, Does anyone has tried to integrated restlet in appfuse 2.0? Thanks dev -- http://raibledesigns.com - To unsubscribe, e-mail: [EMAIL PROTECTE

[appfuse-user] restlet framework integration

2007-07-18 Thread dev dev
Hi appfusers, Does anyone has tried to integrated restlet in appfuse 2.0? Thanks dev

RE: [appfuse-user] dropdown question

2007-07-18 Thread Ding, Qin
Thank you, Matt. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Raible Sent: Wednesday, July 18, 2007 9:50 AM To: users@appfuse.dev.java.net Subject: Re: [appfuse-user] dropdown question It gets it from CountryModel, which is referenced in BasePage.

Re: [appfuse-user] dropdown question

2007-07-18 Thread Matt Raible
It gets it from CountryModel, which is referenced in BasePage.java: http://static.appfuse.org/appfuse-jsf/xref/org/appfuse/webapp/action/CountryModel.html Matt On 7/18/07, Ding, Qin <[EMAIL PROTECTED]> wrote: Appfuse 1.9.4/JSF Where is the countries dropdown get its data from? In userForm.xh

[appfuse-user] dropdown question

2007-07-18 Thread Ding, Qin
Appfuse 1.9.4/JSF Where is the countries dropdown get its data from? In userForm.xhtml: In UserForm.java: I see getCountry() and setCountry(). But I don't see countires in UserForm.java. Qin - To unsu

Re: [appfuse-user] search - integrate compass (lucene) and appfuse

2007-07-18 Thread snowch
Chris, Did you ever get to reworking these instuctions using a display tab-able list? Cheers, Chris Chris Barham wrote: > > Hi Matt, > > Shay did a review over at the Compass forum and made some suggestions. > I will rework and incorporate them. Also, as I will have to do this > anyway,

Re: [appfuse-user] Flex 2 RIA

2007-07-18 Thread Matt Raible
I don't know if it will become a standard. If you're developing a RIA, IMHO there are 3 main web frameworks for the JVM: GWT, Flex and OpenLaszlo. I believe what separates the last two are its licenses and tooling. OpenLaszlo is more "open source" and Flex has better tools. Since both OL and Flex

Re: [appfuse-user] Freemarker error when including struts plugin dependencies

2007-07-18 Thread Matt Raible
Since we have customized templates, it may be our fault. If you can exclude our customized templates from being merged, you can see if this happens with Struts's default templates. If it does, it's a Struts bug. If it doesn't, it's our bug. Matt On 7/18/07, Travers Snyman <[EMAIL PROTECTED]> wro

RE: [appfuse-user] Deploying to a linux box

2007-07-18 Thread Aled Rhys Jones
It's a RHE 4 box. I've got tomcat running properly on 8080, and I've opened the firewall to 8080 using an iptables command. This is a short term solution and the firewall blocks 8080 again if I restart the box. Can anyone advise on the correct way of opening port 8080 long term? I'll eventually

Re: [appfuse-user] ...xwork2.ObjectFactory with the name xwork has already been loaded by bean...struts2-core-2.0.6.jar

2007-07-18 Thread Matt Raible
I've seen this happen when there's duplicate Struts 2.x JARs in your classpath. If this is not the case, maybe you have a single application/JAR that's been registered twice? Matt On 7/18/07, -=j=- <[EMAIL PROTECTED]> wrote: On Tue, 2007-07-17 at 21:24 -0700, Matt Raible wrote: > It looks like

Re: [appfuse-user] AppFuse 1.9.4-JSF with annotations in pojos instead of xdoclet tags.

2007-07-18 Thread Matt Raible
While the transition likely won't be difficult (new JARs, remove "hibernatedoclet" target), AppGen will no longer function with annotations. I don't know if that's a big deal for you or not. Matt On 7/18/07, Irshad Buchh <[EMAIL PROTECTED]> wrote: Hi, We have a project team working on a AppFus

[appfuse-user] AppFuse 1.9.4-JSF with annotations in pojos instead of xdoclet tags.

2007-07-18 Thread Irshad Buchh
Hi, We have a project team working on a AppFuse 1.9.4-JSF-Hibernate-Spring project. They are currently using xdoclet tags in pojos. We would like to change xdoclet tags to annotations (jdk 5). What changes do we need in build.xml to accomplish this? Is this possible without much problems? --Irsh

Re: [appfuse-user] Query tutorial on Appfuse, jsf, hibernate

2007-07-18 Thread Matt Raible
It depends on how robust you want your search to be. Do you want to use Lucene or HQL/SQL to query your database? If HQL, just create new methods on your interfaces, implementations and call it from your front-end, passing down an example object, or an individual search term. Hibernate's QBE (Que

Re: [appfuse-user] ...xwork2.ObjectFactory with the name xwork has already been loaded by bean...struts2-core-2.0.6.jar

2007-07-18 Thread -=j=-
On Tue, 2007-07-17 at 21:24 -0700, Matt Raible wrote: > It looks like you still have a struts-2.0.6 JAR in your classpath. > Maybe you need to run "mvn clean package"? > Matt - Well, it's something like that but I submitted that error stack tr

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

2007-07-18 Thread syg6
Good to know that that web exists! Before receiving your email I took a shot at it and included the following in my pom.xml: org.apache.commons.lang commons-lang ${commons.lang.version} But Maven complained saying that the artifact didn't exist, and to run: mvn install:install-file -Dg

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

2007-07-18 Thread Michael Horwitz
Help is at hand: http://mvnrepository.com/ . Search for the artifact you want and it helpfully gives you the snippet to include: commons-lang commons-lang 2.3 The only thing you need to do is cut and paste, and then change the version to: ${commons.lang.version}. And that is the compl

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

2007-07-18 Thread syg6
That's what I originally was going to do but I am not sure how. First off, I am not sure why it's grabbing 2.1 when in the properties section of pom.xml we have: 2.3 Apparently Maven selects 2.1 because it's the 'shorter path' even though we set this property. Oh well. convention over configurat

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

2007-07-18 Thread Michael Horwitz
Maven selects its dependencies not on highest version number, but on shortest path to dependency. i.e. if you have project dependencies A 1.0depends on B 1.0 depends on C 1.2 and D 1.0 depends on C 1.1, then the dependency in your classpath will be C 1.1 as it has the shortest path to your project

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

2007-07-18 Thread syg6
Well I can't get this thing to work. I ran a 'mvn -X' and 'commons-lang-2.1' comes up all over the place. What I gather I need to do is find out which artifacts depend on 'commons-lang-2.1' and exlcude them from the 'spring-modules-validation' artifact, which depends on 'commons-lang-2.3' (or 2.2

RE: [appfuse-user] Many to Many mapping error

2007-07-18 Thread Srini Bobbala
Yes, I did. -Original Message- From: Aled Rhys Jones [mailto:[EMAIL PROTECTED] Sent: 18 July 2007 11:56 AM To: users@appfuse.dev.java.net Subject: RE: [appfuse-user] Many to Many mapping error You need to add both models to the hibernate.cfg.xml file. -Original Message- From: Sr

RE: [appfuse-user] Many to Many mapping error

2007-07-18 Thread Aled Rhys Jones
You need to add both models to the hibernate.cfg.xml file. -Original Message- From: Srini Bobbala [mailto:[EMAIL PROTECTED] Sent: 18 July 2007 09:18 To: users@appfuse.dev.java.net Subject: [appfuse-user] Many to Many mapping error Hi, I have 2 model classes (Employee and Task) which ha

RE: [appfuse-user] Hibernate mapping

2007-07-18 Thread Srini Bobbala
Fan, Did you get the solution? I am also facing same problem. Thanks. -Original Message- From: Fan [mailto:[EMAIL PROTECTED] Sent: 15 July 2007 05:34 PM To: users@appfuse.dev.java.net Subject: [appfuse-user] Hibernate mapping I have one POJO called Facility and another called Club, the

[appfuse-user] Flex 2 RIA

2007-07-18 Thread benoit moraillon
Hi appfusers, I would like to know your opinion about Flex 2 technology. Do you think it'll become a standard in rich application development ? Do you plan to integrate it in appfuse one day ? Thanks, BenoƮt. - To unsubscribe

RE: [appfuse-user] Freemarker error when including struts plugin dependencies

2007-07-18 Thread Travers Snyman
Thanks Matt, Removing the following line from /src/main/webapp/css_xhtml/form-close.ftl <#include "/${parameters.templateDir}/xhtml/form-close-validate.ftl" /> Solves the problem. I would like to understand the problem though - is it struts core or appfuse ? Why is including the struts-plugin de

Re: [appfuse-user] Hibernate with existing database

2007-07-18 Thread tibi
did you turn on the logging for queries? in log4j.properties (by default commented out) tibi BoJeevs wrote: I am using annotations. Here is the class @Entity @Table(name="ORG") public class Organization extends BaseObject { protected String id; protected String name;

[appfuse-user] Many to Many mapping error

2007-07-18 Thread Srini Bobbala
Hi, I have 2 model classes (Employee and Task) which have many to many relationship. I am using appfuse 2.0 with struts 2.0 and maven When I run the command mvn clean compile hibernate3:hbm2ddl I am getting an error Use of @OneToMany or @ManyToMany targeting an unmapped class: cam.model.

Re: [appfuse-user] How to alphabetically sort drop down list before displaying on jsp

2007-07-18 Thread Msarda
Thanks Matt. :) Got it working. mraible wrote: > > You may have to write your own Comparable class for your Webappssystem > object. > > Matt > > On 7/17/07, Msarda <[EMAIL PROTECTED]> wrote: >> >> Hi, >> Thanks for the reply. >> I tried this,but i am getting following exception in testcases.

[appfuse-user] Query tutorial on Appfuse, jsf, hibernate

2007-07-18 Thread chichi
Good day Sir Matt. Could you post a tutorial on how to query in Appfuse, jsf, hibernate. I'm using version 1.9.2. For example, you want to search for a certain person. Thanks a lot Sir. -- View this message in context: http://www.nabble.com/Query-tutorial-on-Appfuse%2C-jsf%2C-hibernate-tf41016