Re: [appfuse-user] Integrating jalopy with Appfuse and Maven 2

2006-12-11 Thread Matt Raible
Google seems to have some info: http://www.google.com/search?q=maven+2+jalopy ;-) On 12/11/06, Garvey, Paul M (GE Comm Fin) <[EMAIL PROTECTED]> wrote: Hi all: Has anyone integrated Jalopy plugin for Maven 2 for formatting code in Appfuse? Somehow I am not able to find the maven plu

[appfuse-user] Integrating jalopy with Appfuse and Maven 2

2006-12-11 Thread Garvey, Paul M \(GE Comm Fin\)
Hi all: Has anyone integrated Jalopy plugin for Maven 2 for formatting code in Appfuse? Somehow I am not able to find the maven plugin for Jalopy. Weird! - Paul

Re: [appfuse-user] Generic Dao - One More Question

2006-12-11 Thread Rafael Nami
your.persistent.class.package.PersistentClass Best Regards Rafael Nami 2006/12/11, André Faria <[EMAIL PROTECTED]>: public DaoHibernate(Class persistentClass) { this.persistentClass = persistentClass

[appfuse-user] Testing new Filters via AppFuse

2006-12-11 Thread Daniel.Rodriguez
I wrote a new Filter, However I don't have any idea on how to integrate a Junit test with Appfuse. I supose that the test-web target should be used for this. When I try the following command : ant test-web -Dtestcase=VerificarInstalacionFilter I get the following output error (see attached f

Re: [appfuse-user] redirection and parameters

2006-12-11 Thread Sanjiv Jivan
I'm sorry, I completely missed your original question. I'm not aware of a "cleaner" way to do what you're trying. You might have to manually add them like you're presently doing. The RedirectView class doesn't seem to have any special logic to handle , say , one key to a List of params. Sanjiv O

Re: [appfuse-user] redirection and parameters

2006-12-11 Thread Luiz Fernando Rodrigues
ok, but what if I want to set several values to a single parameter? If I do like this: for(int i=0; i wrote: Just put the params in your model map. Spring will convert them into redirect request params. Ofcourse you need to make sure you only put string param values in your model. Map model = n

Re: [appfuse-user] redirection and parameters

2006-12-11 Thread Sanjiv Jivan
Just put the params in your model map. Spring will convert them into redirect request params. Ofcourse you need to make sure you only put string param values in your model. Map model = new HashMap(); model.put("busca, "true"); model.put("editLojaPV", "true"); ... return new ModelAndView("redirec

[appfuse-user] redirection and parameters

2006-12-11 Thread Luiz Fernando Rodrigues
Hi, I'm trying to redirect my view using the redirect prefix in ModelAndView passing some parameters. My problem is that I want to pass in a single parameter several values (like check boxes). I'm currently solving this problem creating a String where all the url and parameters are defined: Str

[appfuse-user] Generic Dao - One More Question

2006-12-11 Thread André Faria
public DaoHibernate(Class persistentClass) {         this.persistentClass = persistentClass; } How Can I declare this bean in Spring Framework? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: [appfuse-user] Login based and non-login based section in appfuse, calling action onLoad

2006-12-11 Thread Michael Horwitz
Hi Yogya, Hmm. It all depends on any other configuration you have done within your application. By default AppFuse is not configured to serve up .jsp files directly. If you try and access mainMenu.jsp you will be directed to the "Page Not Found" error page? Any access to any other page should red

Re: [appfuse-user] Login based and non-login based section in appfuse, calling action onLoad

2006-12-11 Thread Yogya Sharma
Thanks Mike for looking into this. If thats the case I get a slight confusion as to why am I being able to access a jsp pages under a newly created "display" folder, however when trying to access the mainMenu.jsp directly it directs to the login page. This makes me think that the security is ma

Re: [appfuse-user] Login based and non-login based section in appfuse, calling action onLoad

2006-12-11 Thread Michael Horwitz
Hi Yogya, ACEGI decides which parts are secured and which are not. If you take a look in security.xml (under WEB-INF) you will see a definition for a bean called "filterInvocationInterceptor": PATTERN_TYPE_APACHE_ANT /clickstreams.jsp*=admin /flushCache.*=admin /pa

[appfuse-user] Login based and non-login based section in appfuse, calling action onLoad

2006-12-11 Thread Yogya Sharma
Can someone help me with understanding the approach as how to manage my application which consists of mange (login-required) part, and display (login-no required) part. What would I need to do if I want all the jsp pages in a particular directory to be able to be accessed without login. Would th

[appfuse-user] subquery in Appfuse best practice ?

2006-12-11 Thread Travers Snyman
I am battling putting a subquery together with Appfuse. I am looking at using either 2 Pojos and mapping them (probably the best way if I can get some guideline as to the mapping) or alternatively use the xdoclet @hibernate.property formula=" (select ...etc.. ) on one pojo to generate the subquery.

Re: [appfuse-user] Re: how to handle data not found at dao?

2006-12-11 Thread Sanjiv Jivan
"so, at MVC , I assume u will still check if Item=null, show error at view , etc. , right?" That's what I do. I don't throw an exception if no record is found. I simply pass it all the way to the controller where its handled. On 12/11/06, Man-Chi Leung <[EMAIL PROTECTED]> wrote: thanks for