Re: [appfuse-user] How to configure customized ReverseEngineeringStrategy in AppFuse2.0

2007-10-19 Thread stonebox2007
Thank you Matt for your answer, I tried to do as http://static.appfuse.org/plugins/appfuse-maven-plugin/gen-model-mojo.html, I changed the configure file hibernate.reveng.xml, when I run command: mvn appfuse:gen-model, it can read my Oracle9i database, but perhaps it did not care about hibernate.r

[appfuse-user] Re[appfuse-user] gEx Validation

2007-10-19 Thread jsoukup
FYI I noticed User-validation.xml contains the following notation I was able to successfully use regex validation on my own class by using the format described on the struts.apache.org/2.x website and it worked fine in AppFuse .*\.txt

Re: [appfuse-user] How to connect the maven to my local repository?

2007-10-19 Thread Ashkan Roshanayi
Hi, I removed remoteRepositories parameter and added -o but got error. Adding a -e to showed this error: [ERROR] ResourceManager : unable to find resource 'VM_global_library.vm' in > any resource loader. I run: mvn -o -e archetype:create -DarchetypeGroupId=org.appfuse.archetypes-DarchetypeArt

Re: [appfuse-user] LazyInitializationException again

2007-10-19 Thread Daniel Kibler
Is there another filter to uncomment besides the lazyLoadingFilter? mraible wrote: > > Did you uncomment the filter-mapping in your web.xml? > > Matt > > On 10/19/07, Daniel Kibler <[EMAIL PROTECTED]> wrote: >> >> Appfuse2 + struts2 + hibernate >> >> I'm trying to display a list of related ob

Re: [appfuse-user] Zero size response when using LDAP based authentication

2007-10-19 Thread Nathan Anderson
Which web layer are you using in your app? I had a zero size response in a Struts 2 app which I found to be caused by trying to read from a non-existent session variable [which was caused by a typo ;)]. Nathan - Original Message - From: "Florian Kirchhoff" <[EMAIL PROTECTED]> To: user

Re: [appfuse-user] How to connect the maven to my local repository?

2007-10-19 Thread Matt Raible
Remove the "remoteRepositories" parameter and everything should work. Matt On 10/19/07, Ashkan Roshanayi <[EMAIL PROTECTED]> wrote: > > Thanks Matt for your quick reply, > I did copied them into my ~/.m2/repository so I should now do: > > mvn -o archetype:create > -DarchetypeGroupId=org.appfuse

[appfuse-user] Secured webservice returns a 302 error.

2007-10-19 Thread George.Francis
I turned on security for my webservice by adding /services/**=/services/**=ROLE_ADMIN,ROLE_USER to my WEB-INF/security.xml. Now when I send a request to the webservice I get the following response: HTTP/1.1 302 Moved Temporarily Server: Apache-Coyote/1.1 Set-Cookie: JSESSIONID=E7E1F4EECDA442F202

Re: [appfuse-user] How to connect the maven to my local repository?

2007-10-19 Thread Ashkan Roshanayi
Thanks Matt for your quick reply, I did copied them into my ~/.m2/repository so I should now do: mvn -o archetype:create -DarchetypeGroupId=org.appfuse.archetypes-DarchetypeArtifactId=appfuse-basic-jsf -DremoteRepositories= > http://static.appfuse.org/releases -DarchetypeVersion=2.0 -DgroupId= >

[appfuse-user] Zero size response when using LDAP based authentication

2007-10-19 Thread Florian Kirchhoff
Hi, I have successfully used AppFuse 2.0 to create a CRUD type app for several entities. I am trying to switch from DB based to LDAP based authentication. I have followed the steps in http://appfuse.org/display/APF/LDAP+Authentication (which are great). I checked my LDAP setup with some unit tes

Re: [appfuse-user] How to connect the maven to my local repository?

2007-10-19 Thread Matt Raible
You should be able to unzip this file into your ~/.m2 directory and you'll have all the dependencies needed. Then if you use the "-o" flag, Maven will run offline. Matt On 10/19/07, Ashkan Roshanayi <[EMAIL PROTECTED]> wrote: > Hi, > I have a folder called "appfuse-2.0-m5-dependencies" on my loc

[appfuse-user] How to connect the maven to my local repository?

2007-10-19 Thread Ashkan Roshanayi
Hi, I have a folder called "appfuse-2.0-m5-dependencies" on my local machine and want to use it in creating my appfuse project instead of downloading all jar files from internet. Is there anybody who has done this before? Cheers, -- Ashkan http://www.rubako.com

Re: [appfuse-user] Eclipse doesn't show packages!

2007-10-19 Thread Jesfre
No, I didn't. Sorry, I forget it... After I run mvn eclipse>eclipse this works... :drunk: mraible wrote: > > Did you generate the Eclipse project files using "mvn eclipse:eclipse"? > > Matt > > On 10/19/07, Jesfre <[EMAIL PROTECTED]> wrote: >> >> Hi all... I'm working with: >> - Appfuse 2 >>

Re: [appfuse-user] LazyInitializationException again

2007-10-19 Thread Matt Raible
Did you uncomment the filter-mapping in your web.xml? Matt On 10/19/07, Daniel Kibler <[EMAIL PROTECTED]> wrote: > > Appfuse2 + struts2 + hibernate > > I'm trying to display a list of related objects for the first time and > receiving the dreaded LazyInitializationException. > > org.hibernate.Laz

[appfuse-user] LazyInitializationException again

2007-10-19 Thread Daniel Kibler
Appfuse2 + struts2 + hibernate I'm trying to display a list of related objects for the first time and receiving the dreaded LazyInitializationException. org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: com.getrolling.cis.model.Region.tours, no session

Re: [appfuse-user] Eclipse doesn't show packages!

2007-10-19 Thread Matt Raible
Did you generate the Eclipse project files using "mvn eclipse:eclipse"? Matt On 10/19/07, Jesfre <[EMAIL PROTECTED]> wrote: > > Hi all... I'm working with: > - Appfuse 2 > - Spring framework > - Eclipse europa > - SVN plugin > And when I download some appfuse project, eclipse sonly shows folders,

[appfuse-user] Eclipse doesn't show packages!

2007-10-19 Thread Jesfre
Hi all... I'm working with: - Appfuse 2 - Spring framework - Eclipse europa - SVN plugin And when I download some appfuse project, eclipse sonly shows folders, not packages... This only occurs with appfuse2 projects, with appfuse 1.9.4 projects this works fine... Somebody knows about this thing?

Re: [appfuse-user] Using i18n for enums in Struts 2 s:select

2007-10-19 Thread tibi
just to make this complete: but i get an error: Invalid field value for field "subscriber.domain". tibi sarat.pediredla wrote: > I have a s:select form element in my JSP that gets a list of enums to display > in a drop down box. > > The following is my enum > > public enum Colour { >WHITE

Re: [appfuse-user] Size of deployed war

2007-10-19 Thread Matt Raible
I've tried to do this for the current AppFuse dependencies - so there shouldn't be any JARs in your final WAR that you don't need in there. While we may only use parts of each libraries, all of them are likely required by one feature or another. You might try using the minijar-maven-plugin to crea

Re: [appfuse-user] A question about Matt's appgen video demo

2007-10-19 Thread Michael Horwitz
On 10/19/07, Ashkan Roshanayi <[EMAIL PROTECTED]> wrote: > > Hi Matt, > I was watching your AppGen demo and noticed you are using "tlog" in shell > to start tomcat. I see this is an alias created by you, so I am curious to > know what it is? > Also I tried to use appgen in appfuse 1.9.4 as you dem

[appfuse-user] A question about Matt's appgen video demo

2007-10-19 Thread Ashkan Roshanayi
Hi Matt, I was watching your AppGen demo and noticed you are using "tlog" in shell to start tomcat. I see this is an alias created by you, so I am curious to know what it is? Also I tried to use appgen in appfuse 1.9.4 as you demonstrated but got "Repeated column in mapping for entity" in generat

Re: [appfuse-user] Size of deployed war

2007-10-19 Thread Michael Horwitz
You can by manipulating the transitive dependencies inherited through the poms. Just a quick word of warning: the process is a little mind bending, and is time consuming. That said, I'm sure the AppFuse community would love a leaner, meaner AppFuse deployment, so if you do decide to go ahead please

[appfuse-user] Size of deployed war

2007-10-19 Thread Micke
Can I in a simple way shrink the size of the generated war? Is the minimum size of a webapp based on appfuse ~20 MB? I'm pretty sure that I don't need all the included jar-files that is downloaded for me. Thanks, Mike -- View this message in context: http://www.nabble.com/Size-of-deployed-war-

Re: [appfuse-user] mvn:package delete a table from oracle??

2007-10-19 Thread Matt Raible
Do you get this error from dbunit or the hibernate3-maven-plugin? Can you post the stack trace you see when this happens? Thanks, Matt On 10/19/07, Matthew Wu <[EMAIL PROTECTED]> wrote: > > I create a table name Group_List in oracle. I create POJO from this table > with appfuse:gen-model. then

Re: [appfuse-user] disabled mail

2007-10-19 Thread Julien C.
ok. thanks Matt Matt Raible a écrit : You could probably set the mail.properties to have an invalid host. Sending mail would fail - but it might hang while trying to connect. You could also point it to a mail server that you have control of and then disable sending mail on the SMTP server itself

Re: [appfuse-user] disabled mail

2007-10-19 Thread Matt Raible
You could probably set the mail.properties to have an invalid host. Sending mail would fail - but it might hang while trying to connect. You could also point it to a mail server that you have control of and then disable sending mail on the SMTP server itself. Matt On 10/19/07, Julien C. <[EMAIL P

[appfuse-user] disabled mail

2007-10-19 Thread Julien C.
Hi, can we quickly disabled the send of mail in a site. on appfuse 2M5 Spring MVC Thanks, Julien C.

Re: [appfuse-user] AppFuse javadocs for version 2.x

2007-10-19 Thread Campa
Mike Horwitz wrote: > > The Javadocs are listed on a per module basis under "Project Reports". For > an example see: AppFuse Common Data Module -> Project Reports -> JavaDocs. > Not all modules contain Java code, so not all modules will have > Javadoc. > > The Maven generated pages sometim

Re: [appfuse-user] AppFuse javadocs for version 2.x

2007-10-19 Thread Michael Horwitz
The Javadocs are listed on a per module basis under "Project Reports". For an example see: AppFuse Common Data Module -> Project Reports -> JavaDocs. Not all modules contain Java code, so not all modules will have Javadoc. The Maven generated pages sometimes fail to display anything in the lef

Re: [appfuse-user] AppFuse javadocs for version 2.x

2007-10-19 Thread Campa
mraible wrote: > > Unfortunately, they're not aggregated, but you can find them at: > http://static.appfuse.org/ > Matt > Hi Matt, I'have searched javadocs under http://static.appfuse.org/ , but I'm not able to find javadoc documentation. There is a way to generate javadocs via Maven ? Thx.

Re: [appfuse-user] Tapestry heading - personsList.html

2007-10-19 Thread Bartolomej
Hi Matt, It works! Thanks! Bartoloměj mraible wrote: > > It looks like the tutorial is out of date - try this: > > > > I'll fix the tutorial. > > Thanks, > > Matt > > On 10/18/07, Bartolomej <[EMAIL PROTECTED]> wrote: >> >> Hi Matt >> >> It looks like tapestry is ignoring the code... >>

Re: [appfuse-user] integrating appfuse2 maven build with eclipse and debugging

2007-10-19 Thread Michael Horwitz
There is a guide here with a few tips and tricks: http://www.appfuse.org/display/APF/Eclipse Mike On 10/19/07, mxb <[EMAIL PROTECTED]> wrote: > > > HI, > > DOes anyone have any information about how to integrate the maven build > process into Eclipse and also how to configure eclipse to be able t

[appfuse-user] integrating appfuse2 maven build with eclipse and debugging

2007-10-19 Thread mxb
HI, DOes anyone have any information about how to integrate the maven build process into Eclipse and also how to configure eclipse to be able to debug when using Jetty. Thanks. -- View this message in context: http://www.nabble.com/integrating-appfuse2-maven-build-with-eclipse-and-debugging-tf