[appfuse-user] Is possible to separate appfuse's menu and content page with frame?

2008-06-04 Thread oliver.appfuse
hi,all my goal is to refresh the content page only, when select a different menu options. normally this is done by using html frames,but i heard the sitemesh doesnt support the frames any way to achieve this? oliver.appfuse 2008-06-05

Re: [appfuse-user] PersonManagerImplTest using JMock error.

2008-06-04 Thread Matt Raible
Here's the source for the completed tutorial. It's possible the documentation is wrong. http://tinyurl.com/6muqtj Matt On Wed, Jun 4, 2008 at 8:31 PM, Flavio Froes <[EMAIL PROTECTED]> wrote: > I am having an error on the PersonManagerImplTest class in the with the > following snip > > >

[appfuse-user] PersonManagerImplTest using JMock error.

2008-06-04 Thread Flavio Froes
I am having an error on the PersonManagerImplTest class in the with the following snip context.checking(new Expectations() {{ one(dao).get(with(equal(id))); will(returnValue(person)); }}); I am using the code from the tutorial, is the code from the tutori

Re: [appfuse-user] All pages too slow

2008-06-04 Thread Sanjiv Jivan
My experience with YourKit has been very positive. It's easy to setup, provides a very intuitive UI to zero-in on bottle necks, and best of all can be used in production too as it has virtually zero overhead unless you connect the actual profiler to your process and start profiling. Often times per

Re: [appfuse-user] Problem referencing BaseFormController within Eclipse

2008-06-04 Thread Matt Raible
The warpath plugin creates a war.jar in target/warpath - you might try adding that to your dependencies. I believe "mvn eclipse:eclipse" will do this for you when creating your .classpath, but I could be wrong. Matt On Wed, Jun 4, 2008 at 4:04 PM, mschipperheyn <[EMAIL PROTECTED]> wrote: > > Hi,

Re: [appfuse-user] MySql javax.faces.el.EvaluationException : no natively generated identity value

2008-06-04 Thread Matt Raible
You might check that the id is null and not 0 before the save occurs. Matt On Wed, Jun 4, 2008 at 3:59 PM, George.Francis <[EMAIL PROTECTED]> wrote: > > And yes, APP_USER.ID has AUTO_INCREMENT set to true... > > > George.Francis wrote: >> >> Hello, >> I inherited a JSF Appfuse application backed

[appfuse-user] Problem referencing BaseFormController within Eclipse

2008-06-04 Thread mschipperheyn
Hi, My project can't seem to find the BaseFormController dependency within Eclipse. Since, it seems only to be contained in the appfuse-spring.war file, how do I reference it (spring modular)? Kind regards, Marc -- View this message in context: http://www.nabble.com/Problem-referencing-Base

Re: [appfuse-user] MySql javax.faces.el.EvaluationException : no natively generated identity value

2008-06-04 Thread George.Francis
And yes, APP_USER.ID has AUTO_INCREMENT set to true... George.Francis wrote: > > Hello, > I inherited a JSF Appfuse application backed by MySQL. When an > Administrator tries to create a new user, they get the following > stacktrace. It seems to imply that the DB can't auto generate a new >

[appfuse-user] MySql javax.faces.el.EvaluationException : no natively generated identity value

2008-06-04 Thread George.Francis
Hello, I inherited a JSF Appfuse application backed by MySQL. When an Administrator tries to create a new user, they get the following stacktrace. It seems to imply that the DB can't auto generate a new primary key value. I can't immediately tell how the application got into this state, since I

[appfuse-user] Optimistic Locking Failure Handling

2008-06-04 Thread Anil Sharma
I am building a web application using tapestry/spring/hibernate based on appfuse. During signup process I send an email with a link to verify the email address and take user automatically to next step to fill another form in the browser. When user clicks on the link in email, there is an databas

[appfuse-user] hibernate exception on adding user

2008-06-04 Thread kace
Hi guys, I am getting the following stack trace on an 2.0.1 jsf based app. I dont see this error locally only on the hosted site at the clients. I can add users fine on my machine but when I try to do it on their site it doesnt work. Any ideas? It mentions "with identifier [0]" but there are

Re: [appfuse-user] All pages too slow

2008-06-04 Thread Matt Raible
On Wed, Jun 4, 2008 at 1:43 AM, Campa <[EMAIL PROTECTED]> wrote: > > > > mraible wrote: >> >> I would use a profiler and some load testing tool to try to reproduce >> the problem locally. >> Matt >> > > Hi Matt, > I'have trouble using TPTP to profile the webapp running on remote tomcat, > there is

Re: [appfuse-user] All pages too slow

2008-06-04 Thread pedro_burglin
you may want to try another JDK implementation like BEA's jRockit... it has tools you can use in development environment for free to look for memory leaks and if you find that there is no leak in your app its improved garbage collector may help too. with Sun's JDK, tomcat etc I always get memory-

Re: [appfuse-user] AppFuse 2.0.2; Jetty 6.1.9 still accesses org/acegisecurity

2008-06-04 Thread pedro_burglin
Not sure if it is the same root cause of your problem but I just got exactly the same error and I found that a compilation error in one of my classes left my ROLE table without any value when I ran mvn install... is your ROLE table empty or missing the entry for ROLE_USER? Martin Homik wrote: >

Re: [appfuse-user] Exclude Page Sitemesh

2008-06-04 Thread Matt Raible
Override decorators.xml in your project by copying it to src/main/webapp/WEB-INF from target/project-version/WEB-INF after running "mvn package". Matt On Wed, Jun 4, 2008 at 10:29 AM, Mauri Ferreyra <[EMAIL PROTECTED]> wrote: > Hi, I need exclude some page from sitemesh. > Where it's this exclusi

[appfuse-user] Exclude Page Sitemesh

2008-06-04 Thread Mauri Ferreyra
Hi, I need exclude some page from sitemesh. Where it's this exclusion? How I can add new decoretors for some pages.. Thanks

Re: [appfuse-user] Google Map does not get included in jsp

2008-06-04 Thread Matt Raible
You need to provide more information about the problem in order for us to provide a clue. Matt On Wed, Jun 4, 2008 at 8:34 AM, satanik <[EMAIL PROTECTED]> wrote: > > Google map is not visible when included in a appfuse page. Please provide any > clue if possible. > -- > View this message in conte

[appfuse-user] Google Map does not get included in jsp

2008-06-04 Thread satanik
Google map is not visible when included in a appfuse page. Please provide any clue if possible. -- View this message in context: http://www.nabble.com/Google-Map-does-not-get-included-in-jsp-tp17648221s2369p17648221.html Sent from the AppFuse - User mailing list archive at Nabble.com.

[appfuse-user] Using Transient Values to map a ManyToOne relationship JPA/Hibernate

2008-06-04 Thread Yatin Mistry
Hi, I need some help. I am trying to use some transient values in a OneToMany Mapping, but the transient values are created as colums in the database. I have a ProductBO Class, which contains a RegionType Class. In database, i have a product_table, which has a region_id. This is a forign key t

Re: [appfuse-user] All pages too slow

2008-06-04 Thread Campa
mraible wrote: > > I would use a profiler and some load testing tool to try to reproduce > the problem locally. > Matt > Hi Matt, I'have trouble using TPTP to profile the webapp running on remote tomcat, there is a way of getting appfuse working into elipse using WTP ? or how can profile wi