Re: [appfuse-user] Cannt using gen command in AppFuse

2007-12-19 Thread JinBinWang
Yes,AMP works very well when I remove the inheritence relation between Manager class and Employee class.I think the bug of AMP result in the problem.I cannt find the "web/jsf/form-view.ftl" file on my %MAVEN_HOME%,AppFuse localRepository and project directory.Could you tell me where can I find the

Re: [appfuse-user] Cannt using gen command in AppFuse

2007-12-19 Thread Matt Raible
This is likely because AMP doesn't support relationships very well. If you remove your relationships from your POJO, you may be able to generate successfully. Another option, available in 2.0.1-SNAPSHOT, is you can override/customize the web/jsf/form-view.ftl in your project and fix the issue. Mat

Re: [appfuse-user] Cannt using gen command in AppFuse

2007-12-19 Thread JinBinWang
mraible: Hi~Thanks for your repondence. I am using the latest AppFuse2.0.1 version and maven2.0.7. I don't know whether it's just the AMP or whether there's something inherently wrong with my entity structure. mraible wrote: > > What version of AppFuse/AMP are you using? > > Matt > >

Re: [appfuse-user] a4j and tomcat 6

2007-12-19 Thread kace
Haven't changed the JDK yet but I did test the app using IE and it plays nicely - there's only an issue with firefox. I've asked them to upgrade to update 11 for now. Thanks for the tips ..kace -- View this message in context: http://www.nabble.com/a4j-and-tomcat-6-tp14422990s2369p14426931.ht

Re: [appfuse-user] a4j and tomcat 6

2007-12-19 Thread Matt Raible
Java 6 is known to be faster than Java 5. However, there have been issues with AppFuse on Java 6 that have been fixed by reverting to Java 5. I'm currently unaware of any specific issues, so it *might* work. I'd try installing Java 6 locally and running "mvn clean install" from the top-leve

Re: [appfuse-user] a4j and tomcat 6

2007-12-19 Thread kace
Thanks for the tip - we have the same versions of tomcat but their JDK is JDK 5 update 8 where I have update 11 on my local machine. It works on my machine. They have Java 6.0 Update 2 that I can upgrade the server to - do you recommend updating their server to Java 6 ? Any issues with Appfuse

Re: [appfuse-user] a4j and tomcat 6

2007-12-19 Thread Matt Raible
You might check their versions of Tomcat and JDK - then try to reproduce it locally with those same versions. Matt On Dec 19, 2007, at 2:15 PM, kace wrote: I'm copying the war and deploying manually with a hosting company. ..kace mraible wrote: I don't think so. Are you deploying manua

Re: [appfuse-user] a4j and tomcat 6

2007-12-19 Thread kace
I'm copying the war and deploying manually with a hosting company. ..kace mraible wrote: > > I don't think so. Are you deploying manually by copying the WAR or > are you running "mvn cargo:start -Dcargo.wait=true"? > > Matt > > On Dec 19, 2007, at 11:50 AM, kace wrote: > >> >> Hey fellas,

Re: [appfuse-user] org.springframework.mail.SimpleMailMessage not work with UTF-8?

2007-12-19 Thread BruceLee
Matt, It rocks! I created JIRA http://issues.appfuse.org/browse/APF-991 Thank you guys for nice support, -Bruce mraible wrote: > > Bruce, > > If this solves your problem, please enter an issue into JIRA so we can fix > it. > > Thanks, > > Matt > > On 12/18/07, Peter Schneider-Manzell <[EM

Re: [appfuse-user] a4j and tomcat 6

2007-12-19 Thread Matt Raible
I don't think so. Are you deploying manually by copying the WAR or are you running "mvn cargo:start -Dcargo.wait=true"? Matt On Dec 19, 2007, at 11:50 AM, kace wrote: Hey fellas, Using the Appfuse 2.0 JSF flavor. A4J works when I test on the jetty server but after I deployed it to tomca

[appfuse-user] a4j and tomcat 6

2007-12-19 Thread kace
Hey fellas, Using the Appfuse 2.0 JSF flavor. A4J works when I test on the jetty server but after I deployed it to tomcat 6 it gives me a A4J is not defined error in the console. Is there anything different that needs to be done for tomcat 6? Thanks ..kace -- View this message in context: h

Re: [appfuse-user] How can an Action's list() method disappear in the web container?

2007-12-19 Thread Rob Hills
Hi Matt, Matt Raible wrote: This sounds like a strange phenomenon that only happens on your machine. Do you have access to another machine you can try it on? Yeah, I thought it was very strange too. Unfortunately, I don't have another box with a debugger that I can use. I'll hopefully be d

Re: [appfuse-user] Does anybody know how to protect my web pages for JSF?

2007-12-19 Thread Matt Raible
On Dec 19, 2007, at 11:15 AM, Carlos Ortiz wrote: Does anybody know how to protect my web pages for JSF? What do you mean? Can you explain the problem you're seeing in more detail? Hi, I am interested in knowing how do I protect my JSF pages from being stolen by thiefs. How can t

[appfuse-user] Does anybody know how to protect my web pages for JSF?

2007-12-19 Thread Carlos Ortiz
Does anybody know how to protect my web pages for JSF? Hi, I am interested in knowing how do I protect my JSF pages from being stolen by thiefs. I am also interested in not putting suffix to the URL or make them use the HTML extension?

Re: [appfuse-user] How can an Action's list() method disappear in the web container?

2007-12-19 Thread Matt Raible
This sounds like a strange phenomenon that only happens on your machine. Do you have access to another machine you can try it on? Matt On 12/19/07, Rob Hills <[EMAIL PROTECTED]> wrote: > Hi All, > > Using AppFuse 2.0 + Struts2 > > I've described this problem before but had no takers so either no-

[appfuse-user] How can an Action's list() method disappear in the web container?

2007-12-19 Thread Rob Hills
Hi All, Using AppFuse 2.0 + Struts2 I've described this problem before but had no takers so either no-one has seen this before, or else I've not described the problem well enough. It's becoming a major problem for me so I'll have another go at describing it. I have an Action that needs to

Re: [appfuse-user] Why the GenericManager can not be injected when the model ID is a String ?

2007-12-19 Thread Vachel Chan
You are right! Matt. I changed the "DRegion" model to "Dregion", and regenerated all the things . It 's seems ok. Appreciate your patiently reply. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mai

Re: [appfuse-user] Cannt using gen command in AppFuse

2007-12-19 Thread Matt Raible
What version of AppFuse/AMP are you using? Matt On 12/19/07, JinBinWang <[EMAIL PROTECTED]> wrote: > > This seems as though it would be a common problem but I haven't found much > information on the forum. > I create two entitys like this: > SUPERCLASS: > @Entity > @Table(name="emp_table") > @Inh

Re: [appfuse-user] Adding something to 'flushCache'

2007-12-19 Thread Yopy
Sorted, I used the easy method and just created a new CacheController controller class, which calls EHCache's CacheManager.clearAll() method, which clears all of EHCache's Cache's. The default view is the same as the current flushCache page, so OSCache should also be cleared. The class: import

Re: [appfuse-user] Case issue with view / jsp when using Tomcat

2007-12-19 Thread syg6
Ok Matt, thanks. I could have sworn that the out-of-the-box jsp's - userForm.jsp for example - had camel case, and that I had initially tried using all lower-case and it didn't work. But I stand corrected. Of all of those pages one, mainMenu.jsp, has camel case but I imagine that page isn't the Vi

[appfuse-user] Cannt using gen command in AppFuse

2007-12-19 Thread JinBinWang
This seems as though it would be a common problem but I haven't found much information on the forum. I create two entitys like this: SUPERCLASS: @Entity @Table(name="emp_table") @Inheritance(strategy=InheritanceType.JOINED) public class Employee implements Serializable { private static fin