[appfuse-user] Réf. : Re: [appfuse-user] Flex + Appfuse How To

2008-02-12 Thread benoit . moraillon
Thanks Fred,Could you send me your pom.xml ?Where do you put mxml files, as3 files ? Thanks.    - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[appfuse-user] Flex + Appfuse How To

2008-02-11 Thread benoit . moraillon
Hi Appfusers,I'm trying to integrate Flex + Appfuse 2. Anybody already suceeded ? Thanks,Benoît.  - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[appfuse-user] why using merge into GenericDaoHibernate ?

2007-12-14 Thread benoit . moraillon
Why do you use merge instead of saveOrUpdate ? I think merge can be usefull but it can be a source of errors.  Best Regards,Benoît Moraillon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTEC

RE: [appfuse-user] Struts2 problem

2007-10-02 Thread benoit moraillon
M (GMT-0800) > America/Los_Angeles > Subject: Re: [appfuse-user] Struts2 problem > > > I know Matt posted a blog entry covering exactly this topic. I cannot access his site at the moment from work (some sort of networking issue), but have a hunt though the blog on http://www.raible

RE: [appfuse-user] Struts2 problem

2007-10-02 Thread benoit moraillon
I just want to know how to get an error message instead of a blank page for this case. Have you got any idea ? Thanks, Benoît. -Message d'origine- De : Nathan Anderson [mailto:[EMAIL PROTECTED] Envoyé : mardi 2 octobre 2007 10:43 À : users@appfuse.dev.java.net Objet : Re: [appfuse-user]

RE: [appfuse-user] Struts2 problem

2007-10-02 Thread benoit moraillon
Hi, I'm very interrested also by this case. -Message d'origine- De : Nathan Anderson [mailto:[EMAIL PROTECTED] Envoyé : mardi 2 octobre 2007 10:23 À : users Objet : [appfuse-user] Struts2 problem Howdy folks, I'm in this weird predicament where I have an error on my Struts 2 JSP page

[appfuse-user] Include automatically custom in appfuse archetype

2007-09-27 Thread benoit moraillon
Hi appfusers, What is the best way to include automatically specific organization needs (security, css theme, custom javascripts...) in an appfuse 2 archetype ? 1) build a specific archetype (copy of appfuse-basic-struts + company 's custom) or 2) build a specific maven plugin in order to includ

[appfuse-user] Appfuse 2 AcegiUtil improvement

2007-09-20 Thread benoit moraillon
I found this add on spring forum in order to manage more easily user granted authorithies in appfuse webapp: http://opensource.atlassian.com/projects/spring/browse/SEC-545 I vote for including AcegiUtil in the appfuse 2.x maven archetype. Matt, what is your opinion about this ? --

RE: [appfuse-user] Problem in updating an Object

2007-09-10 Thread benoit moraillon
It's ok but you'll have to do a getHibernateTemplate().merge(blabla) or this : // delete all hibernate session objects this.session.clear(); // perform save getHibernateTemplate().save(blabla); _ De : Mel Pison [mailto:[EMAIL PROTECTED] Envoyé : lundi 10 septembre 2007 13:44 À :

RE: [appfuse-user] transaction manager

2007-09-07 Thread benoit moraillon
re it in Jetty. This is possible, but unnecessary since Spring provides the transaction manager. Matt On 9/7/07, benoit moraillon <[EMAIL PROTECTED]> wrote: > > > Hi appfusers, > Could you explain the following statement when jetty is launched : > > 2007-09-07 11:52:10.682::

[appfuse-user] transaction manager

2007-09-07 Thread benoit moraillon
Hi appfusers, Could you explain the following statement when jetty is launched : 2007-09-07 11:52:10.682::INFO: No Transaction manager found - if your webapp re quires one, please configure one. Thanks, -- Benoît Moraillon

RE: [appfuse-user] Appfuse:gen problem SOLVED

2007-09-06 Thread benoit moraillon
In fact i forgot @Entity @Table(name = "ressource") in my model class Sorry and thanks for your help. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [appfuse-user] Appfuse:gen problem

2007-09-06 Thread benoit moraillon
java.net Objet : Re: [appfuse-user] Appfuse:gen problem Can you try running "mvn clean"? Did you run "full-source" on Windows? If so, can you run "mvn install" successfully? Matt On 9/6/07, benoit moraillon <[EMAIL PROTECTED]> wrote: > In addition my ta

RE: [appfuse-user] Appfuse:gen problem

2007-09-06 Thread benoit moraillon
In addition my target directory contains : appfuse-hibernate/ appfuse-root/ appfuse-service/ appfuse-struts/ appfuse-web-common/ classes/ surefire-reports/ test-classes/ testrc1-1.0-SNAPSHOT/ ... But no appfuse/ and no appfuse/generated-sources ---

RE: [appfuse-user] Appfuse:gen problem

2007-09-06 Thread benoit moraillon
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Matt Raible Envoyé : jeudi 6 septembre 2007 10:06 À : users@appfuse.dev.java.net Objet : Re: [appfuse-user] Appfuse:gen problem Does the object you're trying to generate for exist? On 9/6/07, benoit moraillon <[EMAIL PROTECTED]>

[appfuse-user] Appfuse:gen problem

2007-09-06 Thread benoit moraillon
Hi appfusers, I'm using appfuse:gen on an appfuse:full-source RC1 project and i got a fatal error : [INFO] src/main/resources/database.properties not found within the project. Tryi ng absolute path. [INFO] No hibernate properties file loaded. [info] [AppFuse] Installing generated files (pattern: *

RE: [appfuse-user] How can I tell Struts 2 to throw/log exceptions for invalid OGNL Expressions?

2007-08-28 Thread benoit moraillon
No but i'm interrested by the solution. -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Matt Raible Envoyé : lundi 27 août 2007 17:50 À : AppFuse Objet : [appfuse-user] How can I tell Struts 2 to throw/log exceptions for invalid OGNL Expressions? Anyone

[appfuse-user] Avoid Struts 2 OgnlUtil warning on redirection-action

2007-08-24 Thread benoit moraillon
I think log4j.xml should include this for appfuse 2 / struts 2 archetype : In order to avoid the famous OgnlUtil.setProperty warning when doing a redirect-action with parameter. See :https://issues.apache.org/struts/browse/WW-1714 -

RE: [appfuse-user] RE: menu-config.xml show/hide menu item with roles

2007-08-24 Thread benoit moraillon
I think you should check your user's role in order to know what role is assigned to the anonymous user. -Message d'origine- De : ros [mailto:[EMAIL PROTECTED] Envoyé : vendredi 24 août 2007 13:32 À : users@appfuse.dev.java.net Objet : [appfuse-user] RE: menu-config.xml show/hide menu ite

RE: [appfuse-user] menu-config.xml show/hide menu item with roles

2007-08-24 Thread benoit moraillon
ROLE_ANONYMOUS is the anonymous role name by default in acegi (no authentication). -Message d'origine- De : ros [mailto:[EMAIL PROTECTED] Envoyé : vendredi 24 août 2007 13:08 À : users@appfuse.dev.java.net Objet : [appfuse-user] menu-config.xml show/hide menu item with roles Hi! How i

[appfuse-user] Spring Task Executor

2007-08-21 Thread benoit moraillon
Hi appfusers, Do you know how i can transform an appfuse/spring manager into a spring async task executor in order to execute one of my manager method asyncronously (in an other container thread). Thanks in advance, Benoît.

[appfuse-user] Appfuse:full-source, ressources, directory organization, ergonomics

2007-08-21 Thread benoit moraillon
Hi appfusers, appfuse:full-source is a very good idea, more productive and more comfortable for webapp developpement. But... I think having both applicationContext.xml in webapp/web-inf and application-dao.xml, -service.xml in src/main/ressources is confusing. I think appfuse should reduce the nu

RE: [appfuse-user] Asynchronous task

2007-08-17 Thread benoit moraillon
pfuse-user] Asynchronous task You can do it by starting your own Thread then. Ron - Original Message ---- From: benoit moraillon <[EMAIL PROTECTED]> To: users@appfuse.dev.java.net Sent: Friday, August 17, 2007 6:29:54 AM Subject: RE: [appfuse-user] Asynchronous task Thanks, but when it&#

RE: [appfuse-user] Asynchronous task

2007-08-17 Thread benoit moraillon
À : users@appfuse.dev.java.net Objet : AW: [appfuse-user] Asynchronous task Hi! Take a look at the springframework docu: http://www.springframework.org/docs/reference/scheduling.html Bye, Peter -Ursprüngliche Nachricht- Von: benoit moraillon [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 16. A

[appfuse-user] Asynchronous task

2007-08-16 Thread benoit moraillon
Do you know what is the best way to perform asyncrhonous tasks with appfuse ? Thanks in advance, Benoît Moraillon. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [appfuse-user] EJB 3.0 vs Spring

2007-08-09 Thread benoit moraillon
Why do you feel that EJB 3.0 might be more appropriate than Spring? If you'd like to use EJB 3.0 and JSF, I'd suggest looking at Seam. That being said, you can (apparently) use EJB 3 with Spring. http://interface21.com/pitchfork/ Matt On 8/9/07, benoit moraillon <[EMAIL PROTECTED]>

[appfuse-user] EJB 3.0 vs Spring

2007-08-09 Thread benoit moraillon
Hi appfusers, What is your opinion on using EJB 3.0 instead of using Spring IoC ? Best regards, Benoît Moraillon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [appfuse-user] Can I access to a Manager (UniversalManager or GenericManager) in a BaseObject ?

2007-07-20 Thread benoit moraillon
You can access your Tool object simply by using a getter and an JPA Hibernate annotation. Read the hibernate documentation, all relationships mapping are explained. Example : @OneToMany(cascade=CascadeType.ALL, mappedBy="project",targetEntity=Tool.class) private List tools = new A

[appfuse-user] Flex 2 RIA

2007-07-18 Thread benoit moraillon
Hi appfusers, I would like to know your opinion about Flex 2 technology. Do you think it'll become a standard in rich application development ? Do you plan to integrate it in appfuse one day ? Thanks, Benoît. - To unsubscribe

RE: [appfuse-user] war:inplace ressources and configuration files in different directories

2007-07-17 Thread benoit moraillon
different directories war:inplace is part of the Maven war plugin. You will find full documentation on this feature here: http://maven.apache.org/plugins/maven-war-plugin/ Mike. On 7/17/07, benoit moraillon <[EMAIL PROTECTED]> wrote: Hi appfusers; It would be interesting to have a p

[appfuse-user] mvn install and smtp

2007-07-17 Thread benoit moraillon
mvn install fail in m5 because it is mandatory to install and up an smtp mail server for succeding test cases. Starting and configuring appfuse 2 should be easier if the mail test case is removed. -- Benoît Moraillon

RE: [appfuse-user] redeploy jsp, css, ... using jetty

2007-07-17 Thread benoit moraillon
You must use mvn war:inplace feature to do this. Look at the quickstart movie in order to see this feature in action. _ De : Julien C. [mailto:[EMAIL PROTECTED] Envoyé : mardi 17 juillet 2007 11:17 À : users@appfuse.dev.java.net Objet : [appfuse-user] redeploy jsp, css, ... using jetty

[appfuse-user] war:inplace ressources and configuration files in different directories

2007-07-17 Thread benoit moraillon
Hi appfusers; It would be interesting to have a project "war:inplace" archetype with all ressources and xml configuration files automatically dropped in src/main/ressources instead of having some configuration files in src/main/ressources and others in web-inf/classes It is boring to do the follo

[appfuse-user] Struts2 double validator

2007-06-08 Thread benoit moraillon
Hi appfusers, I've an issue with Struts 2 DoubleRangeFieldValidator : when i submit my form with a x,xx value it works but not with x.xx. How can i do to allow x.xx value ? Write a custom validator ? Validate using regular expression ? Thanks for your help, -- Benoît.

RE: [appfuse-user] Best way to put custom struts menu permission adapter in session scope

2007-05-10 Thread benoit moraillon
use a HttpSessionActivationListener that detects when a user logs in. Or use a listener that listens for Acegi's Authentication Events. Matt On 5/10/07, benoit moraillon <[EMAIL PROTECTED]> wrote: > Hi all, > Do you know what is the best way to put a custom permission adap

[appfuse-user] Best way to put custom struts menu permission adapter in session scope

2007-05-09 Thread benoit moraillon
Hi all, Do you know what is the best way to put a custom permission adapter in appfuse1.9.4 application session scope. Thank you very much. -- Benoît. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [

RE: [appfuse-user] iReport and Acegi UserDetails

2007-05-02 Thread benoit moraillon
Hi, You'll have to add your .jar in ireport classpath using options/classpath menu. You'll be able to user your bean fields in ireport. -Message d'origine- De : Jonathan Tse [mailto:[EMAIL PROTECTED] Envoyé : mercredi 2 mai 2007 11:44 À : users@appfuse.dev.java.net Objet : [appfuse-user]

[appfuse-user] Two different foder for xml confgiuration in appfuse 2.0 is not a godd thing

2007-04-24 Thread benoit moraillon
Hi appfusers, When using war:inplace feature in my project, i have to edit different configurations files (applicationContext.xml, hibernate.cgf.xml...) in two differents folders main/ressources and main/webapp/web-inf. I think it is confusing. Is it possible to have one common folder for configura

Re: [appfuse-user] Problem with the Person Tutorial

2007-03-29 Thread Benoit Moraillon
Have you registered your dao in applicationContext.xml as : ? lk a écrit : Hi, I'm new to appfuse and I'm studying the example in the Person tutorial. I followed every instructions but I get an error in the PersonDaoTest class. Eclipse gives me an error like

Re: [appfuse-user] JPA Problem -> Continued

2007-03-28 Thread Benoit Moraillon
See your Db admin, this error come from oracle. Maybe oracle is configured to allow a particular naming convention like IDENT instead of ID VJ22 a écrit : When I try to persist this class, it gives me the following error ORA-00904: "MODEL0_"."ID": invalid identifier Totally Lost. VJ

Re: [appfuse-user] Re: Appfuse 2.0 - Struts 2 - Error 500 - /error.jsp

2007-03-27 Thread Benoit Moraillon
It works. Thanks ! Do you plan to remove it in the maven archetype ? Matt Raible a écrit : I would try removing the messages.jsp include in error.jsp - if that helps, leave it out. Matt On 3/27/07, Benoit Moraillon <[EMAIL PROTECTED]> wrote: If i remove :

[appfuse-user] Re: Appfuse 2.0 - Struts 2 - Error 500 - /error.jsp

2007-03-27 Thread Benoit Moraillon
filing(DefaultActionInvocation.java:219) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:218) Benoit Moraillon a écrit : Internal Server Error in appfuse 2.0 should be treated by /error.jsp but jetty don't display this page. HTTP

[appfuse-user] Appfuse 2.0 - Struts 2 - Error 500 - /error.jsp

2007-03-27 Thread Benoit Moraillon
Internal Server Error in appfuse 2.0 should be treated by /error.jsp but jetty don't display this page. HTTP ERROR: 500 INTERNAL_SERVER_ERROR RequestURI=/error.jsp /Powered by Jetty:// / Have you got a solution for this issue ?

Re: [appfuse-user] generic converter

2007-03-27 Thread Benoit Moraillon
Yes it works ! Matt Raible a écrit : This sounds like a reasonable approach. Have you been using it with success? Matt On 3/1/07, Benoit Moraillon <[EMAIL PROTECTED]> wrote: Hi everybody, 1) i'm using jsf converter in order to create a many-to-one relationship from will be

[appfuse-user] 2nd solution : struts 2 problem select and validation

2007-03-26 Thread Benoit Moraillon
Another solution by overriding validate method in action class : @Override public void validate() { // TODO Auto-generated method stub super.validate(); this.availableTypesRessources = typeRessourceManager.getAll(); } --

[appfuse-user] solution : struts 2 problem select and validation

2007-03-26 Thread Benoit Moraillon
i've found the solution with form validation and s:select tag : if i put this in my action, it works : public List getAvailablesTypesRessources() { return this.typeRessourceManager.getAll(); } but if i do : public List getAvailablesTypesRessources() { return this.availableTypes

[appfuse-user] struts 2 problem select and validation

2007-03-26 Thread Benoit Moraillon
Hi appfusers, i've a big problem with form validation ans s:select tag in struts 2. I have a ressource form like this : validate="true"> key="button.delete" onclick="return confirmDelete('ressource')"/> name="r

Re: [appfuse-user] war:inplace and properties

2007-03-07 Thread Benoit Moraillon
No sorry, i use reply in my mail box. wnqq a écrit : Dear Ben, I am not sure if your comments are related to my post. Did you mean that we can use label="Save" (instead of "{button.save}") with your suggestions? benoit wrote: When using war:inplace, all.properties fil are set in src/main/

[appfuse-user] war:inplace and properties

2007-03-07 Thread Benoit Moraillon
When using war:inplace, all.properties fil are set in src/main/webapp/web-inf/classes i suggests to put directly some properties inside src/main/ressources such as displaytag.properties oscache.properties errors.properties Ben.

Re: [appfuse-user] eclipse copy/paste/replace plugin

2007-03-06 Thread Benoit Moraillon
I know that but i imagine a plugin which do the following : 1) CTRL + C in order to copy a file (example : xxxManagerImpl) 2) CTRL + V => Eclipse ask for the new name of the file : wwwManagerImpl The plus : Eclipse replace all xxx string in the file by www in case sensitive mode and my new www

Re: [appfuse-user] jsf updateactionlistener deactivated

2007-03-06 Thread Benoit Moraillon
Ok, so tagHandlers-0.9.jar should be included in appfuse 2.0 in order to allow the use of t:updateActionListener tag. Thanks ! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [appfuse-user] jsf updateactionlistener deactivated

2007-03-06 Thread Benoit Moraillon
Thanks Matt Raible a écrit : This is likely from the very first Facelets integration Thomas did. I don't know if it's been resolved, but I did find the following page about Tomahawk and Facelets. http://wiki.apache.org/myfaces/Use_Facelets_with_Tomahawk Matt On 3/6/07, Benoit

Re: [appfuse-user] jsf updateactionlistener deactivated

2007-03-06 Thread Benoit Moraillon
Yes i made a mistake but it's really deactivated in tomahawk.taglib.xml and i don't know why : Thanks, Ben. Matt Raible a écrit : Are you sure you have "updateActionListner " spelled right? It looks like it needs a 2nd e in Listener. Matt On 3/6/07, benoit <[EMAIL PROTECTED]> wrote: Coul

[appfuse-user] generic converter

2007-03-01 Thread Benoit Moraillon
Hi everybody, 1) i'm using jsf converter in order to create a many-to-one relationship from for a lot of my pojo... Have you got an other solution ? (Generic Converter ?) 2) Is it correct to group my getAvailableXXX in one JSF SelectStore.java wich can be called from will be replaced by :

Re: [appfuse-user] maven jetty refresh xml

2007-02-28 Thread Benoit Moraillon
i forgot to congratulate all contributors for your the work made on appfuse 2.0 ! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [appfuse-user] maven jetty refresh xml

2007-02-28 Thread Benoit Moraillon
Yes it works for web.xml but if you edit menu-config.xml or faces-config.xml. it does not reload. Matt Raible a écrit : Which files? I'd like to try and reproduce. I was using this feature yesterday and it seems to work properly when editing web.xml. Matt On 2/28/07, Benoit Mora

Re: [appfuse-user] maven jetty refresh xml

2007-02-28 Thread Benoit Moraillon
yes, i could not have jetty automatically reload my changes in a web-in/*.xml file (i'm using war:inplace feature) Jetty reload automatically when changing *.java file. So i add src/main/webapp/web-inf in order to force jetty reloading when changing *.xml file Matt Raible a écrit : Does t

[appfuse-user] maven jetty refresh xml

2007-02-28 Thread benoit . moraillon
Hi appfusers ,Im' using appfuse2.0 and i enjoy war:inplace maven task.i suggest you to add a scnatarget this in pom.xml in order to allow jetty:run to checkfor .xml or .properties changes :/contextPath>3scanIntervalSeconds>sr

[appfuse-user] CAS

2006-12-07 Thread benoit . moraillon
Hi appfusers,Have you ever try to integrate cas3.0 with appfuse ?Thanks,Ben. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]