Re: [appfuse-user] Extending User Class Problem

2007-05-12 Thread dusty
Did you ever get the answer to this question? I have seen in other threads this issue about querying the users. Apparently its a Hibernate issue and its joining the user's roles and returning you the cross-join product. The way it was suggested to fix this is to put your Users (or Students) int

Re: [appfuse-user] one to many problem on appfuse2.0-m4

2007-05-12 Thread GBSGBSGBS
i'v solved this problem yet... i mistake a struts tag in my jsp pages(tag) thank u Eric -- View this message in context: http://www.nabble.com/one-to-many-problem-on-appfuse2.0-m4-tf3731354s2369.html#a10451702 Sent from the AppFuse - User mailing list archive at Nabble.com.

Re: [appfuse-user] one to many problem on appfuse2.0-m4

2007-05-12 Thread GBSGBSGBS
anyway, thank u Eric Fitzsimmons well, i think u misunderstand my point let me put it this way assum that there is a "form" (called maintain)which has a "applyPerson" and a "confirmPerson" then the "form"(called maintain) bean is: -

Re: [appfuse-user] Same error from security.xml

2007-05-12 Thread Matt Raible
Does this error happen when you run "mvn jetty:run-war". You should be able to use "mvn install -Dcargo.wait=true" and it'll deploy your app in Tomcat using Cargo. When it's ready, you'll see a message in your console that says "use Ctrl+C to cancel". It's strange that you're getting these XML

Re: [appfuse-user] Same error from security.xml

2007-05-12 Thread nmall
Hi, I am still trying to run on Tomcat by running hte project as mvn -e tomcat:run-war. It uses tomcat 5.5 ( I have tomcat-maven-plugin). I haven't changed my JDK but not sure what JDK tomcat is using. I don't have another machine to test on - do you want me test it on a clean new environment

Re: [appfuse-user] Overwriting User core class?

2007-05-12 Thread Matt Raible
Make sure you run "mvn clean" and exclude the appfuse-data-common module in your source tree. If you're using an IDE, you should probably regenerate your project files as well. Matt On 5/12/07, pcberg <[EMAIL PROTECTED]> wrote: hi, Per http://appfuse.org/display/APF/AppFuse+Core+Classes I cus

Re: [appfuse-user] Overwriting User core class?

2007-05-12 Thread bUg.
Здравствуйте, pcberg. Вы писали 13 мая 2007 г., 0:35:12: > hi, > Per http://appfuse.org/display/APF/AppFuse+Core+Classes I customized the > User core class to rename the table and some of the fields in order to match > the naming standard for the project I'm working on. In general this doesn't >

[appfuse-user] Overwriting User core class?

2007-05-12 Thread pcberg
hi, Per http://appfuse.org/display/APF/AppFuse+Core+Classes I customized the User core class to rename the table and some of the fields in order to match the naming standard for the project I'm working on. In general this doesn't seem to be a problem (mvn integration-test succeeds) except now tha

[appfuse-user] Re: try to understand something.. jasper

2007-05-12 Thread Gilberto C Andrade
majaa majaa wrote: > Hello > I don't understand the main idea... (Jasper, iReports) and sorry for my Sorry for delay! I'm now working full time as DBA and have little time read mail list. First, you need understand that what we use here is the japerresports api and iReports is the designing tool

Re: [appfuse-user] one to many problem on appfuse2.0-m4

2007-05-12 Thread Eric Fitzsimmons
You will most likely want to allow children the possibility of having children and you would want to extend Person, but if you do that then you can't map Person directly to the database because it would have to be @MappedSuperclass You really want to try to make your code a bit easier to read an

Re: [appfuse-user] Same error from security.xml

2007-05-12 Thread Matt Raible
Are you still using Tomcat? Did you change your JDK? When does this happen - when running tests? Does it happen if you test everything on another machine? Matt On 5/12/07, nmall <[EMAIL PROTECTED]> wrote: Hi, I got rid of this error in applicationContext-resources.xml by changing the head

Re: [appfuse-user] How to remove the dependency of appfuse-hibernate-2.0-m4.jar & appfuse-service-2.0-m4.jar

2007-05-12 Thread Matt Raible
svn export --force https://appfuse.dev.java.net/svn/appfuse/tags/APPFUSE_2.0_M4/data/hibernate/src --username guest Then add Hibernate as a dependency in your pom.xml: org.hibernate hibernate-annotations ${hibernate.version} Matt On 5/12/07, chi

Re: [appfuse-user] Warpath

2007-05-12 Thread Philip Barlow
Thanks alot Michael Michael Horwitz wrote: Hi Philip, The binary is stored in the AppFuse maven repository: http://static.appfuse.org/ under org/appfuse/maven-warpath-plugin. Mike. On 5/11/07, [EMAIL PROTECTED] * <[EMAIL PROTECTED] > wrot

Re: [appfuse-user] No Bean named userDao found

2007-05-12 Thread Matt Raible
If appfuse-hibernate is in your classpath and there's a applicationContext-dao.xml in its root directory - it should be loaded properly. Matt On 5/12/07, nmall <[EMAIL PROTECTED]> wrote: Hi, Due to xerces parser giving me errors on the header file ( which I posted in a previous thread), I ha

[appfuse-user] Re: (瑞星提示-此邮件可能是垃圾邮件)Re: [appfuse-user] How to remove the dependency ofappfuse-hibernate-2.0-m4.jar & appfuse-service-2.0-m4.jar

2007-05-12 Thread chinofish
In other words, i want to do something like http://www.nabble.com/Re%3A-Problems-with-package-structure-p10400407s2369.html === 2007-05-13 00:23:35 chinofish wrote:=== >Thanks. >but i just want to do the things like : > >http://appfuse.org/display/APF/AppFuse+Core+Classes >http://appf

Re: [appfuse-user] How to remove the dependency of appfuse-hibernate-2.0-m4.jar & appfuse-service-2.0-m4.jar

2007-05-12 Thread chinofish
Thanks. but i just want to do the things like : http://appfuse.org/display/APF/AppFuse+Core+Classes http://appfuse.org/display/APF/AppFuse+Core+Classes "Exclude the AppFuse Data Common Package" there do exist possibility to modify something, such as User logic. Eric Fitzsimmons wrote: >

Re: [appfuse-user] ESB

2007-05-12 Thread André Faria
Excuse-me I forgot the link... :.) http://mule.codehaus.org/display/MULE/Using+Spring+as+a+Component+Factory André Faria escreveu: Hi All, What you about ESB Frameworks like Mule? Is not interessant to do an Appfuse Mule Integrated Version? Have a Nice Weekend! --

[appfuse-user] ESB

2007-05-12 Thread André Faria
Hi All, What you about ESB Frameworks like Mule? Is not interessant to do an Appfuse Mule Integrated Version? Have a Nice Weekend! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PR

Re: [appfuse-user] Warpath

2007-05-12 Thread Philip Barlow
Ok thanks Matt, i actually got it eventually in a round about way, i installed appfuse into my local repository and the warpath plugin also got installed by default, so i had a copy of it to work with! Now i just have to get it working with our project Matt Raible wrote: I believe you mea

Re: [appfuse-user] one to many problem on appfuse2.0-m4

2007-05-12 Thread GBSGBSGBS
@Entity class Person { Private Long id; Private Set childSMother = new HashSet<>(Child), Set childSFother = new HashSet<>(Child); /** getter/setter of id */ @OneToMany(mappedBy="mother") public Set getChildSMother(){ return childSMother

Re: [appfuse-user] one to many problem on appfuse2.0-m4

2007-05-12 Thread Eric Fitzsimmons
Personally I would simplify it. I'm not exactly sure how you have things set up. So lets just cut to the chase... please put in the full pojos involved. Just copy the the classes with getters/setters and associated elements please. GBSGBSGBS wrote: thank you for your reply Person bean:(O

Re: [appfuse-user] Warpath

2007-05-12 Thread Michael Horwitz
Woops! The repository bit is kind of important. :-) On 5/11/07, Matt Raible <[EMAIL PROTECTED]> wrote: I believe you mean static.appfuse.org/repository. ;-) On 5/11/07, Michael Horwitz <[EMAIL PROTECTED]> wrote: > Hi Philip, > > The binary is stored in the AppFuse maven repository: > http:

Re: [appfuse-user] one to many problem on appfuse2.0-m4

2007-05-12 Thread GBSGBSGBS
thank you for your reply Person bean:(OK,just an example, person is without gender) /** properties */ @OneToMany(mappedBy="mother") Set childSMother @OneToMany(mappedBy="father") Set childSFather Child bean: /** properties */ @ManyToOne @JoinColumn(name="MOTHER_ID", nullable=false) Perso

Re: [appfuse-user] one to many problem on appfuse2.0-m4

2007-05-12 Thread Eric Fitzsimmons
Some more information would be helpful. I am assuming you have person pojo and are having a List for it's children? if that is the case it will be a "@OneToMany List getChildren()" relationship. which will make up another table called Person_children storing by default the ids of the parent a

[appfuse-user] one to many problem on appfuse2.0-m4

2007-05-12 Thread GBSGBSGBS
i'v made two entity beans the first one is called "person", which stores a set of "child"s then, obviously, "child" has a mother(person) and a father(person) property so, there is a one to many relationship between these two beans i use the pre-existing classes in appfuse(GenericDaoHibernate and

Re: [appfuse-user] How to remove the dependency of appfuse-hibernate-2.0-m4.jar & appfuse-service-2.0-m4.jar

2007-05-12 Thread Eric Fitzsimmons
I may be a bit tipsy, but how you will probably have to do that is remove the dependency that has that jar attached to it and add the dependencies to your maven repository manually. I have been using maven since it came out and I don't know of any way to exclude specific jars from your buildpa

[appfuse-user] How to remove the dependency of appfuse-hibernate-2.0-m4.jar & appfuse-service-2.0-m4.jar

2007-05-12 Thread chino fish
Because I want to copy src of them into src/main/java/ and do the compile by myself ,so how to remove the dependency just through modification of pom.xml ? chinofish

[appfuse-user] No Bean named userDao found

2007-05-12 Thread nmall
Hi, Due to xerces parser giving me errors on the header file ( which I posted in a previous thread), I had to remove the xml header with a simple DTD header http://www.springframework.org/dtd/spring-beans.dtd";> However, this doesn't recognise statements in the security.xml so I removed thef o