[appfuse-user] Is there a Design doc template for Appfuse?

2008-01-17 Thread Dave88
Hello, We are using the appfuse lite 1.8 for our application. Now we need to write the design doc for the same. So I am wondering is there a design doc template like appfuse. So that we can jump start in documentation. I believe there are thousands of appfuse user, some body got have documented

Re: [appfuse-user] Send Email from Service Layer

2008-01-17 Thread Matt Raible
You should be able to add a setEmailEngine method and wire it up in your XML file with: Matt On 1/17/08, Ding, Qin <[EMAIL PROTECTED]> wrote: > I have a need to send email from service layer (ie., > xxxManagerImpl.java) rather than web layer. There is no web layer for > the application. This is

[appfuse-user] Send Email from Service Layer

2008-01-17 Thread Ding, Qin
I have a need to send email from service layer (ie., xxxManagerImpl.java) rather than web layer. There is no web layer for the application. This is a scheduled batch job. How do I get the emailEngine bean defined in spring applicationContext-service.xml from xxxManagerImpl.java? Thank you. ---

[appfuse-user] Using Richfaces Components

2008-01-17 Thread Casanova
Hello Guys, Did anybody had the solution how to use Richfaces components in Appfuse Application? In normal application, I used Richfaces jars(3.1.3), Myfaces(1.1.4) and the following code in the web.xml org.richfaces.SKIN blueSky RichFaces Filter rich

Re: [appfuse-user] Eclipse Europa Integration using sysdeo for quicker development

2008-01-17 Thread Nathan Anderson
Hi Olaf, This is some good information! Could you add it to the wiki? That would be the best place to refer to this kind of setup information. Thanks, Nathan - "Olaf Kittelmann" <[EMAIL PROTECTED]> wrote: > Hi, > > I managed to setup eclipse with sysdeo plugin for > appfuse projects. >

Re: [appfuse-user] Persistence Annotations

2008-01-17 Thread Matt Raible
You should use JPA annotations as much as possible. However, since the JPA and Hibernate flavors have hibernate-annotations in the classpath, there's nothing stopping you from using them. Matt On 1/17/08, emmettwalsh <[EMAIL PROTECTED]> wrote: > > > has anybody got a good resource/tutorial for us

[appfuse-user] AppFuse + Lucene = Compass or Spring Lucene Module?

2008-01-17 Thread Jon Loken
Hi all, Can anyone provide any hints as to which Lucene-wrapper project to integrate into AppFuse? It will either be Compass (http://www.opensymphony.com/compass/) or Spring Lucene Module (https://springmodules.dev.java.net/docs/reference/0.8/html/lucene.html) . Our main requirement is that it

Re: [appfuse-user] one core (in jar), three wars, all in one ear

2008-01-17 Thread elaroche
Well thanks to Mike Horwitz, skinny war did help !!! like this: maven-war-plugin 2.0.2 **/jdbc.properties,**/hibernate.cfg.xml,**/sql-map-config.xml,**/web.xml,WEB-INF/classes/META-INF/**

Re: [appfuse-user] Circular placeholder reference 'jdbc.driverClassName'

2008-01-17 Thread Casanova
Hello Mike, Thank you for your reply. It took some time for me to understand the maven to use as build tool. Now, I could able to change the Appfuse application in eclipse and then use maven(mvn install) to generate my war file. And then, I can use hot deploy from eclipse. And do you have any t

[appfuse-user] Persistence Annotations

2008-01-17 Thread emmettwalsh
has anybody got a good resource/tutorial for using persistence annotations. I have read a few but there are many conflicts on the way to do things regarding relationships. Is there any official documentation makes sense? In appfuse, do we use hibernate 3 annotations, java persistence annotations

Re: [appfuse-user] one core (in jar), three wars, all in one ear

2008-01-17 Thread Michael Horwitz
On 1/17/08, elaroche <[EMAIL PROTECTED]> wrote: > > > First I really want to thank you for the time you're spending helping me > !! > > so, ok I understand that I need my core, the dependency etc. > I've tried skinny war, but it doesn't exclude my core jar (all the others > yes). And I think it's b

Re: [appfuse-user] Appfuse 2 SSL switching

2008-01-17 Thread chubi
Thank your Mike, I got it solved thank to the link you gave me. I also found this in some forum which helped me a lot in understanding Acegi configuration. Here it is by copy/paste: chubi wrote: > > --- > Here is a rundown

Re: [appfuse-user] one core (in jar), three wars, all in one ear

2008-01-17 Thread elaroche
First I really want to thank you for the time you're spending helping me !! so, ok I understand that I need my core, the dependency etc. I've tried skinny war, but it doesn't exclude my core jar (all the others yes). And I think it's because the core module is not actually a jar in the subprojec

Re: [appfuse-user] Multiple Locals one application

2008-01-17 Thread Matt Raible
If you have your browser's locale set to one that AppFuse supports, it should show up in that language. If it doesn't, that's because we changed the logic to only switch locales when "locale=" is passed in. Matt On 1/17/08, elaroche <[EMAIL PROTECTED]> wrote: > > I don't know much about Appfuse 2

Re: [appfuse-user] one core (in jar), three wars, all in one ear

2008-01-17 Thread Michael Horwitz
On 1/17/08, elaroche <[EMAIL PROTECTED]> wrote: > > > thanks for you reply, > > but what about the compilation problem ? > in the modular archetype the project-core.jar is not in the WEB-INF/lib > but > an other project. So it needs to be processed before creating war file :-/ > otherwise it's quit

Re: [appfuse-user] Error using IE on GetCookie

2008-01-17 Thread mxb
that seems to have fixed that. Thanks. I know that this may not be appfuse but you may know the answer. When i run firefox i get an "element has no properties" which doesn't stop the application from running. however when i run it under IE it does stop and cause an error on the following line in p

Re: [appfuse-user] one core (in jar), three wars, all in one ear

2008-01-17 Thread elaroche
thanks for you reply, but what about the compilation problem ? in the modular archetype the project-core.jar is not in the WEB-INF/lib but an other project. So it needs to be processed before creating war file :-/ otherwise it's quite easy with the lib already existing Mike Horwitz wrote:

Re: [appfuse-user] Multiple Locals one application

2008-01-17 Thread elaroche
I don't know much about Appfuse 2 but with the Appfuse 1.8 it was using the local from your web browser ! What I know is that appfuse supports multiple languages. ddanet wrote: > > I have seen many threads regarding single locale apps but I could not find > one that suggests using several loca

Re: [appfuse-user] one core (in jar), three wars, all in one ear

2008-01-17 Thread Michael Horwitz
It is possible - the following will be useful: http://maven.apache.org/plugins/maven-war-plugin/examples/skinny-wars.html Basically you want to build each war as a "skinny war" and then package the lot into an ear file. Mike On 1/17/08, elaroche <[EMAIL PROTECTED]> wrote: > > > Hi everybody (Hi

Re: [appfuse-user] Error using IE on GetCookie

2008-01-17 Thread mxb
no. i will place it and see what happens. thanks. mraible wrote: > > Do you still reference global.js in your project? This is the file > that has the getCookie function. > > Matt > > On 1/17/08, mxb <[EMAIL PROTECTED]> wrote: >> >> Hi, >> >> I am getting an error in IE (object required) on t

[appfuse-user] one core (in jar), three wars, all in one ear

2008-01-17 Thread elaroche
Hi everybody (Hi Matt ;-) ) I was used to Appfuse < 2.0 and now I'm getting on the latest one (with Maven). What I'm trying to do is to share one core with multiple webapps, which will live in the same ear. I couldn't find any information in the forum about that (if you have a thread let me know

Re: [appfuse-user] Error using IE on GetCookie

2008-01-17 Thread Matt Raible
Do you still reference global.js in your project? This is the file that has the getCookie function. Matt On 1/17/08, mxb <[EMAIL PROTECTED]> wrote: > > Hi, > > I am getting an error in IE (object required) on the line below which is in > the login.js > > getCookie("username") != null) > > In Fire

[appfuse-user] Eclipse Europa Integration using sysdeo for quicker development

2008-01-17 Thread Olaf Kittelmann
Hi, I managed to setup eclipse with sysdeo plugin for appfuse projects. This allows to work more productively as the tomcat directly refers to the target/SNAPSHOT/dir, so after mvn:package the app is instantly available to tomcat On top of this I found the nice filesync plugin that allows to

[appfuse-user] Struts2 Example for Enums in option List

2008-01-17 Thread Olaf Kittelmann
Hi, After reading up some documentation I managed to construct the following solution which I would like to share with all of you the struts select tag is very powerful in that it allows the very commonly used header key header value be set as an attribute of the select tag. to use an e

[appfuse-user] Error using IE on GetCookie

2008-01-17 Thread mxb
Hi, I am getting an error in IE (object required) on the line below which is in the login.js getCookie("username") != null) In Firefox it occurs however the browser just ignores it. I am using a Javascript obfuscator (JCEPro) although i have told it not to obfuscate getCookie. Can anyone help

[appfuse-user] Dynamic Update

2008-01-17 Thread chubi
Hello there, I find this forum really useful, thank you for the effort you people are offering to support our development. I have deployed Struts/Spring/Hibernate project and need to update a persistent object by only looking up non null properties. I searched over the net and found a hibernate