Re: [appfuse-user] Change skin for site report?

2009-05-04 Thread tibi
please add the link... so you can help others... Kenny Ha wrote: > Ok,I found a tutorial for this. > > > Kenny Ha wrote: > >> Hi all, >> >> How to change skin for site report? >> >> Thanks and Regards! >> Kenny >> >> > > -

Re: [appfuse-user] Create new project based on old project framework

2009-05-04 Thread tibi
you can turn it with maven into an archtype. google on maven archtype i guess Kenny Ha wrote: > Hi all, > > Assume I created a Maven project A and installed it to my repository. > Now I want to create a new project B based on project A's framework. > What should I do?? > > Thanks all! > --

Re: [appfuse-user] [appfuse-users] Error when making two related tables by appfuse:gen

2009-05-04 Thread tibi
i just did it and its quite simple... you need the add a getter for the list of the many relation. in you jsp file i will find this: you don't need to change any thing. only make in your action a get*list to return the list. in my case a public List getRelationList(){return genericRelat

[appfuse-user] Create new project based on old project framework

2009-05-04 Thread Kenny Ha
Hi all, Assume I created a Maven project A and installed it to my repository. Now I want to create a new project B based on project A's framework. What should I do?? Thanks all! -- View this message in context: http://www.nabble.com/Create-new-project-based-on-old-project-framework-tp23365471s

Re: [appfuse-user] [appfuse-users] CRUD with master/detail Persona *---1 Comuna

2009-05-04 Thread Michael Horwitz
Which framework are you using? It looks like JSF? Basically it is complaining it cannot convert an object on type Comuna to a String to display on the page. I'm no JSF expert I am afraid - perhaps someone else can help? 2009/5/4 Leonardo Castaño > Triying to solve the problem with JSF in persona

Re: [appfuse-user] [appfuse-users] CRUD master/detail

2009-05-04 Thread Matt Raible
It should be possible, but you may have to do some manipulation of the object in your Controller to make sure it's setup properly to persist. I believe David Whitehurst once wrote a one-to-many tutorial, but I can't seem to find it via Google. Hopefully he's still subscribed to this list and can po

Re: [appfuse-user] Change skin for site report?

2009-05-04 Thread Matt Raible
http://maven.apache.org/guides/mini/guide-site.html On Mon, May 4, 2009 at 3:36 AM, tibi wrote: > please add the link... so you can help others... > > Kenny Ha wrote: > > Ok,I found a tutorial for this. > > > > > > Kenny Ha wrote: > > > >> Hi all, > >> > >> How to change skin for site report? >

Re: [appfuse-user] Hibernate Named SQL query

2009-05-04 Thread Matt Raible
You should not use your own HibernateUtil class. You should use the "sessionFactory" bean that's already configured and use it (or a HibernateTemplate) to get your session. Matt On Sun, May 3, 2009 at 7:58 PM, Kenny Ha wrote: > > Hi all, > > I posted this problem on AppFuse-Dev, but I haven't f

Re: [appfuse-user] Handling MaxUploadSizeExceededException

2009-05-04 Thread Matt Raible
What does your ExceptionResolver configuration look like? 500 error codes are generally handled by AppFuse's configuration in web.xml. Matt On Sun, May 3, 2009 at 10:10 PM, Carlos Ortiz wrote: > Hi everyone > > I don't know if any of you have come across the following annoying > situation. > I

Re: [appfuse-user] Error when run mvn site command

2009-05-04 Thread Matt Raible
You could remove the code coverage (corbertura) plugin - I believe it makes everything run twice. On Sun, May 3, 2009 at 10:30 PM, Kenny Ha wrote: > > Everytime I run mvn site command,it take me a long time to build successful > (over 20 minutes) > How to make site command run faster?? > > Thank

Re: [appfuse-user] Create new project based on old project framework

2009-05-04 Thread Matt Raible
mvn archetype:create-from-project cd target/generated-sources/archetype mvn install On Mon, May 4, 2009 at 3:36 AM, tibi wrote: > you can turn it with maven into an archtype. > google on maven archtype i guess > > Kenny Ha wrote: > > Hi all, > > > > Assume I created a Maven project A and install

Re: [appfuse-user] [appfuse-users] Error when making two related tables by appfuse:gen

2009-05-04 Thread Matt Raible
On Mon, May 4, 2009 at 3:42 AM, tibi wrote: > i just did it and its quite simple... > > you need the add a getter for the list of the many relation. > in you jsp file i will find this: > > listKey="id" listValue="companyName"> > > you don't need to change any thing. only make in your acti

[appfuse-user] Login with extra business logic

2009-05-04 Thread taltun
Hi, I use Modular Struts 2, vers. 2.02. I hope some can help on my issues. 1. What is the best and most painless solution if I want to put some extra business logic when an user use the login box to login. I also want to parse a request parameter to the extra business logic code. 2. I have 2

[appfuse-user] Failed to build AppFuse 2.1-SNAPSHOT

2009-05-04 Thread George Wei
Hi all, I checked AppFuse 2.1-SNAPSHOT source code out and tried to build it. When I run "mvn install -Dmaven.test.skip=true" on Windows, it always gives me the following error: [INFO] [INFO] Building AppFuse Core Archetype

Re: [appfuse-user] Failed to build AppFuse 2.1-SNAPSHOT

2009-05-04 Thread Matt Raible
Works for me on OS X and Linux, haven't tried Windows. On May 4, 2009, at 6:01 PM, George Wei wrote: Hi all, I checked AppFuse 2.1-SNAPSHOT source code out and tried to build it. When I run "mvn install -Dmaven.test.skip=true" on Windows, it always gives me the following error: [INFO]

Re: [appfuse-user] Create new project based on old project framework

2009-05-04 Thread Kenny Ha
Ok, I did as u said. I got a file project_A-archetype-1.0-SNAPSHOT.jar in my repository. So then what should I do to create a new project_B based on project_A?? Thanks much! mraible wrote: > > mvn archetype:create-from-project > cd target/generated-sources/archetype > mvn install > > On Mon,

Re: [appfuse-user] Failed to build AppFuse 2.1-SNAPSHOT

2009-05-04 Thread George Wei
I checked the source repository, there's another src folder under https://appfuse.dev.java.net/svn/appfuse/trunk/archetypes/appfuse-core/src/, the directory structure differs from version 2.0.2 (there's no such a folder named src in https://appfuse.dev.java.net/svn/appfuse/tags/APPFUSE_2.0.2/arche

Re: [appfuse-user] Change skin for site report?

2009-05-04 Thread Kenny Ha
Another link : http://maven.apache.org/plugins/maven-site-plugin/examples/sitedescriptor.html http://maven.apache.org/plugins/maven-site-plugin/examples/sitedescriptor.html Hope it can help you. mraible wrote: > > http://maven.apache.org/guides/mini/guide-site.html > > On Mon, May 4, 2009 at

Re: [appfuse-user] Hibernate Named SQL query

2009-05-04 Thread Kenny Ha
Can you give me an example?? Thanks much! mraible wrote: > > You should not use your own HibernateUtil class. You should use the > "sessionFactory" bean that's already configured and use it (or a > HibernateTemplate) to get your session. > > Matt > > On Sun, May 3, 2009 at 7:58 PM, Kenny Ha

Re: [appfuse-user] [appfuse-users] Error when making two related tables by appfuse:gen

2009-05-04 Thread Leonardo Castaño
can I do this ??? Call a comunaList from Other pojo ?? this is a good idea?? to show a list of selectItems? 2009/5/4 tibi > i just did it and its quite simple... > > you need the add a getter for the list of the many relation. > in you jsp file i will find this: >

Re: [appfuse-user] Hibernate Named SQL query

2009-05-04 Thread Matt Raible
Have you read the DAO tutorial? You should be able to create another DAO and have access to HibernateTemplate. http://appfuse.org/display/APF/Using+Hibernate Matt On Mon, May 4, 2009 at 8:06 PM, Kenny Ha wrote: > > Can you give me an example?? > Thanks much! > > > mraible wrote: > > > > You sh

Re: [appfuse-user] Create new project based on old project framework

2009-05-04 Thread Matt Raible
mvn archetype:generate Your project should be one of the first choices. Matt On Mon, May 4, 2009 at 7:22 PM, Kenny Ha wrote: > > Ok, I did as u said. > I got a file project_A-archetype-1.0-SNAPSHOT.jar in my repository. > So then what should I do to create a new project_B based on project_A??

Re: [appfuse-user] Failed to build AppFuse 2.1-SNAPSHOT

2009-05-04 Thread Matt Raible
Yes. In 2.1, all we store in the archetype is a pom.xml file. I store this under "src" because it seems like the most logical solution. During the build process, Maven calls Ant to copy the files from web/common and web/${web.framework} and build the archetype using "archetype:create-from-project".

Re: [appfuse-user] Create new project based on old project framework

2009-05-04 Thread Kenny Ha
Ok,I got it.Thanks! mraible wrote: > > mvn archetype:generate > > Your project should be one of the first choices. > > Matt > > On Mon, May 4, 2009 at 7:22 PM, Kenny Ha wrote: > >> >> Ok, I did as u said. >> I got a file project_A-archetype-1.0-SNAPSHOT.jar in my repository. >> So then wha