Re: [appfuse-user] mvn jetty:run => OutOfMemoryError: PermGen space

2008-02-05 Thread Yopy
The latest update of Java, Java SE 6 Update 4, adds a command line option that may solve this problem: http://java.sun.com/javase/6/webnotes/ReleaseNotes.html Additional JVM Command Line Option If the Java HotSpot VM option switch -XX:+ExplicitGCInvokesConcurrentAndUnloadsClasses is sel

[appfuse-user] invoking the edit method of a form bean programmatically

2008-02-05 Thread sudheerp
Hi Friends, I am using appfuse-jsf 1.9.4 .. I want to invoke the edit method of the manuscriptForm bean programmatically (from my java source). Also please let me know how to pass the param 'id' to it. Thank you.

[appfuse-user] Appfuse generated boolean getter/setter

2008-02-05 Thread ernasm
I have appfuse:gen generated class with boolean property .. private boolean useUnit; ... and generated setter/getter are: public boolean isUseUnit() { return this.useUnit; } public void setUseUnit(boolean useUnit) { this.useUnit = useUnit; } in hibernate dao ge

Re: [appfuse-user] How to get authentication info into a Spring bean / Hibernate interceptor

2008-02-05 Thread Rob Hills
Hi Richard, Gareth Davis wrote: Authentication.getPrincipal() is your friend here. On 5 Feb 2008, at 06:05, [EMAIL PROTECTED] wrote: Yes, that was referred to earlier and I did check out the code in UserSecurityAdvice. The code in UserSecurityAdvice uses SecurityContextHolder to return a Secu

Re: [appfuse-user] How to get authentication info into a Spring bean / Hibernate interceptor

2008-02-05 Thread Gareth Davis
Authentication.getPrincipal() is your friend here. Gareth On 5 Feb 2008, at 06:05, [EMAIL PROTECTED] wrote: Matt, Yes, that was referred to earlier and I did check out the code in UserSecurityAdvice. The code in UserSecurityAdvice uses SecurityContextHolder to return a SecurityContext that i

Re: [appfuse-user] How to get authentication info into a Spring bean / Hibernate interceptor

2008-02-05 Thread [EMAIL PROTECTED]
Garet/Rob, That did the trick - thanks! The Hibernate interceptor is all working now. I just need to fix up for the situations where a user has not logged in yet (e.g. signing up) and I've got it all handled. I'll probably just use a "public" user and the IP address of the request. Thank you again

Re: [appfuse-user] Strange TagAttributeException

2008-02-05 Thread Casanova
Hello Sir, I reproduced the error by creating the appfuse from scratch. 1.) Created the Appfuse Jsf basic application using quickstart. 2.) Used this document http://appfuse.org/display/APF/Eclipse for integration with eclipse webtools. 3.) Now try to create a crud application. note: If I dont

Re: [appfuse-user] Sysdeo Tomcat Maven Plugin

2008-02-05 Thread Miguel Romero
hi, i needn´t put a context file in tomcat. with eclipse clean mvn eclipse:eclipse sysdeo-tomcat:generate the .tomcatplugin file is generated, it´s need file to work tomcat plugin. In Eclipse: Windows->Preferences->Tomcat, you must configure tomcat Windows->Preferences->Tomcat->Source Path, my

Re: [appfuse-user] Appfuse generated boolean getter/setter

2008-02-05 Thread Matt Raible
What happens if you just use "useUnit" in your Expression? Matt On Feb 5, 2008, at 1:46 AM, [EMAIL PROTECTED] wrote: I have appfuse:gen generated class with boolean property .. private boolean useUnit; ... and generated setter/getter are: public boolean isUseUnit() { return this

Re: [appfuse-user] invoking the edit method of a form bean programmatically

2008-02-05 Thread Matt Raible
I don't understand what you're hoping to accomplish. Can you explain in more detail what you want and post the error you're seeing when you try to do it? Matt On Feb 5, 2008, at 12:24 AM, sudheerp wrote: Hi Friends, I am using appfuse-jsf 1.9.4 ..

Re: [appfuse-user] viewing some web pages in a specific path without go through login

2008-02-05 Thread Nathan Anderson
If you take a look at the security.xml you will see some examples of how to require different roles for different URL patterns. http://fisheye4.cenqua.com/browse/appfuse/trunk/web/common/src/main/webapp/WEB-INF/security.xml?r=3044 There are two ways to accomplish your goal. First you could ex

Re: [appfuse-user] why this happened ?

2008-02-05 Thread Nathan Anderson
Different email clients handle threads differently. In Zimbra (which is what I use) the threads are based on the subject line. It appears your reply subject is slightly different than the original message ("gothrough" rather than "go through"). That was enough of a difference for Zimbra to t

Re: [appfuse-user] Strange TagAttributeException

2008-02-05 Thread Matt Raible
I don't understand how integrating with Eclipse affects this. Is there something in the instructions that makes you change the directory structure of an AppFuse application? Matt On Feb 5, 2008, at 6:49 AM, Casanova wrote: Hello Sir, I reproduced the error by creating the appfuse from sc

Re: [appfuse-user] Appfuse generated boolean getter/setter

2008-02-05 Thread ernasm
On Feb 6, 2008 12:54 AM, Matt Raible <[EMAIL PROTECTED]> wrote: > What happens if you just use "useUnit" in your Expression? > Sorry Matt, I wrote a bad example, the property was "isUseUnit" private Boolean isUseUnit; ... public Boolean isUseUnit() { } public void setUseUnit(Boolean isUseUnit) {

Re: [appfuse-user] Strange TagAttributeException

2008-02-05 Thread Casanova
Hello sir, Here is the code, I used to integrate appfuse into eclipse as stated in the eclipse integration docu. Edit myproject/web/.settings/org.eclipse.wst.common.component: * Delete * Add * Delete * Edit myproject/web/.classpath * Delete * Add * Add I coul

Re: [appfuse-user] Strange TagAttributeException

2008-02-05 Thread Matt Raible
The error you're seeing is from Jetty? If so, it might be caused by a bug in Jetty: http://jira.codehaus.org/browse/JETTY-470 Matt On 2/5/08, Casanova <[EMAIL PROTECTED]> wrote: > > Hello sir, > > Here is the code, I used to integrate appfuse into eclipse as stated in the > eclipse integration d

Re: [appfuse-user] Strange TagAttributeException

2008-02-05 Thread Casanova
Yes sir, But, I think I read your post somewhere that this is resolved in jetty 6.1. Any how, I have a workaround by creating all the entities before integrating them to eclipse. Some how, this resources files is making my life uneasy. So, I would end this post here. Thank you for your valuable

Re: [appfuse-user] invoking the edit method of a form bean programmatically

2008-02-05 Thread sudheerp
Hello Matt, Thanks for the reply. It is not the error, I want to switch between forms, ie, I have a manuscript form related to author form (many-to-one), and agreement form, work order, cover disign, typesetting order etc all having relation with manuscript (one-to-one). I have a selec