[appfuse-user] Scaffolding and Validation

2008-07-02 Thread suprie
hi all , i'm generate some form using appfuse:gen ,but when i tried to insert un valid data, it still insert the data. i guess it's not tried to validate it. What should i do so the validation work ? i've attached the XML for validation. thanks http://www.opensymphony.com/xwork/xwork-validator-

[appfuse-user] Best Practices for AppFuse Web Core Classes

2008-07-02 Thread Tuncay A.
Hi, I hope some can answer my question. I'm using the modular version of AppFuse 2.0.2 + Struts 2 + JPA. There is a tutorial about how to export "AppFuse Core Classes" at http://www.appfuse.org/display/APF/AppFuse+Core+Classes, but thats only for model beans. I'm going to change some code in t

Re: [appfuse-user] Struts 2 datepicker not working

2008-07-02 Thread Tuncay A.
I did exactly what you did but without any result. I think I will create an Jira Issue on this. Anyway, thank you very much for the hlp. J. David Mendoza R. wrote: > > Found out why... > > In the StaticFilter there's an include to send the request to the > struts.jar > components, for some

[appfuse-user] AppFuse 1.9.x next release.

2008-07-02 Thread Irshad Buchh
Hi, Do we have any news about the next release of AppFuse 1.9.5 containing the library upgrades? --Irshad. -- View this message in context: http://www.nabble.com/AppFuse-1.9.x-next-release.-tp18242245s2369p18242245.html Sent from the AppFuse - User mailing list archive at Nabble.com.

Re: [appfuse-user] Appfuse code generator 2.0

2008-07-02 Thread alibehzadian
Hi, You can use "mvn appfuse:gen-model". Take a look at this: " http://static.appfuse.org/plugins/appfuse-maven-plugin/gen-model-mojo.html http://static.appfuse.org/plugins/appfuse-maven-plugin/gen-model-mojo.html " Ali Behzadian Nejad. -- View this message in context: http://www.nabble.com/

Re: [appfuse-user] How to get user from session

2008-07-02 Thread alibehzadian
If you want to get current logged in user, use the code snippet below: User currentUser = null; SecurityContext ctx = SecurityContextHolder.getContext(); if (ctx.getAuthentication() != null) { Authentication auth = ctx.getAuthentication(); if (auth.

Re: [appfuse-user] How to get user from session

2008-07-02 Thread Allan Ang
use String username = this.getRequest().getRemoteUser(); in your action class. allan krishgy wrote: > > Hi All, > > I am just beginning the java for a web based application. After some > struggle, I found appfuse and moven. > > I have basic appfuse-struts-spring-hibernate project. > >

[appfuse-user] Modular structure with Eclipse

2008-07-02 Thread Kinski
Hi, I am using Eclipse, and have generated a modular Struts project. My project root folder currently contains all source internally within "core" and "web" folders. These are the steps I followed when creating the project... * From the command line, cd into the new project's "core" dire