Re: [appfuse-user] Could not get ConfigurationTask ? sping mvc - jsf

2007-10-24 Thread emmettwalsh
here it is... D:\Emmett\sandbox\hbe>mvn -e + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] AppFuse Modular Application [INFO] AppFuse Modular Application - Core [INFO] AppFuse Modular Application - Web (Spring MVC) [INFO] ---

Re: [appfuse-user] Could not get ConfigurationTask ? sping mvc - jsf

2007-10-24 Thread Matt Raible
Make sure you don't have any spaces or other typos in the hibernate3-maven-plugin - where you specify "jpaconfiguration". Matt On 10/24/07, emmettwalsh <[EMAIL PROTECTED]> wrote: > > here it is... > > D:\Emmett\sandbox\hbe>mvn -e > + Error stacktraces are turned on. > [INFO] Scanning for projects

Re: [appfuse-user] accessing a folder in modular setup

2007-10-24 Thread Michael Horwitz
I take it that by "module" you mean web application (i.e. deployed in a separate .war file)? If so you can use the getServletContext(path).getRealPath() methods to get what you want. Mike. On 10/23/07, kace <[EMAIL PROTECTED]> wrote: > > > I have the below code which gives me what I want prov

[appfuse-user] Neep help in acegi

2007-10-24 Thread rbtechno
Hi, I am using appfuse application.When i login to the application,it authenticates the username and password with app_user table using Acegi.But the database login is common for all the users.I need to create separate login account for database with different permissions.so when i login to the

[appfuse-user] can DBUNIT maven plugin load data from multiple files?

2007-10-24 Thread ros
Hi! I want to load data from sample-data.xml and sample-data-slice1.xml, sample-data-slice2.xml, sample-data-slice3.xml. Each files contains data for all tables. Reason: files too big. Condition: load data from all files always. How I can tell dbunit to load data from multiple files? Thank

Re: [appfuse-user] can DBUNIT maven plugin load data from multiple files?

2007-10-24 Thread Matt Raible
I don't know if the dbunit plugin supports this. You can checkout their documentation at: http://mojo.codehaus.org/dbunit-maven-plugin/ If this feature doesn't exist, I'm sure it could be added. You should be able to enter an issue in their JIRA for adding this feature. Matt On 10/24/07, ros <[

[appfuse-user] Accessing Resource Bundle from Service Layer

2007-10-24 Thread Zakir
I am having difficulty accessing the resource bundle from the service layer. Basically, I have a web service (using xfire) that takes in a message key and a language key. I need to get the message from the resource bundle with that key, populate some values, and return it. I've seen in BaseForm

[appfuse-user] TypeConverter problems

2007-10-24 Thread Rob Hills
Hi All, I'm trying to implement a model.attribute-level TypeConverter but I can't get it to work. I want to convert between "time" on a form (hh:mm) and a Date class in my model. I'm using AppFuse 2.0 + Hibernate + Struts2 I have an "au.com.myapp.model.Shift" class that contains two Date attr

Re: [appfuse-user] can DBUNIT maven plugin load data from multiple files?

2007-10-24 Thread Rob Hills
Hi, IIRC, XML supports includes - I believe via the tag - I don't know if the parser dbunit uses will support that, but it should be quick and easy to try it. On 24 Oct 2007 at 7:51, Matt Raible wrote: > I don't know if the dbunit plugin supports this. You can checkout > their documentation a

Re: [appfuse-user] Accessing Resource Bundle from Service Layer

2007-10-24 Thread Solomon Duskis
The ApplicationContext is a MessageResource. You can get access to the ApplicationContext via implementing ApplicationContextAware I assume that you have access to the request, so that you can do: RequestContextUtils.getLocale(request). You can then call: applicationContext.getMessage(..., local

Re: [appfuse-user] can DBUNIT maven plugin load data from multiple files?

2007-10-24 Thread ros
Hi Matt, Multiple executions could be: [...] test-compile operation CLEAN_INSERT src/test/data/insert.xml [...] But

Re: [appfuse-user] can DBUNIT maven plugin load data from multiple files?

2007-10-24 Thread Michael Horwitz
If you look under Project Information -> Issue Tracking the URL for new feature requests is: http://jira.codehaus.org/browse/MOJO Mike On 10/24/07, ros <[EMAIL PROTECTED]> wrote: > > > Hi Matt, > > Multiple executions could be: > > > [...] > >test-compile

Re: [appfuse-user] can DBUNIT maven plugin load data from multiple files?

2007-10-24 Thread Dale Newfield
DBUnit has the ability to "stream" the execution of certain tasks so that ginormous collections of data should be able to execute w/o running out of memory... ...is that what you're looking for? Why do you need to split up the files--because they're too big for your file system or because dbun

[appfuse-user] Secured Webservice

2007-10-24 Thread George.Francis
Please help me get secure webservices running in my app! I have added /services/**=ROLE_ADMIN,ROLE_USER to security.xml as instructed in the tutorial (http://appfuse.org/display/APF/Web+Services). What I need to know is, has ANYONE got this successfully working? If so could you PLEASE post the r

Re: [appfuse-user] Secured Webservice

2007-10-24 Thread Matt Raible
Do you have webservices only - or are you serving up an HTML interface as well. I'd suggest modifying your filterChainProxy to have /services/**=filterChainWithBasicAuthenticationFilter. Then adding basic authentication bean definitions to your security.xml. Matt On 10/24/07, George.Francis <[EM

Re: [appfuse-user] can DBUNIT maven plugin load data from multiple files?

2007-10-24 Thread Rob Hills
Hi All, On 24 Oct 2007 at 13:22, Dale Newfield wrote: > DBUnit has the ability to "stream" the execution of certain tasks so > that ginormous collections of data should be able to execute w/o running > out of memory... > ...is that what you're looking for? > > Why do you need to split up the f

Re: [appfuse-user] TypeConverter problems - resolved

2007-10-24 Thread Rob Hills
Hi All, Well, after much trial and error, I've worked out how to do POJO-level TypeConverters. the Struts Type Converter page (see http://struts.apache.org/2.x/docs/type-conversion.html) unfortunately leaves out some key details that make it quite difficult. 1. create the Type Converter

Re: [appfuse-user] Secured Webservice

2007-10-24 Thread Marcello Teodori
If it can be useful, this is a snippet from what I've changed in my security.xml file to have basic-authentication working correctly: CONVERT_URL_TO_LOWERCASE_BEFORE_COMPARISON PATTERN_TYPE_APACHE_ANT/images/**=#NONE#

Re: [appfuse-user] Accessing Resource Bundle from Service Layer

2007-10-24 Thread Zakir
Thanks for pointing me in the right direction, this solution will suffice. After doing more reasearch, it seems better to implement the MessageSourceAware interface instead of ApplicationContextAware interface. This way you're tied down to only using messageSource methods. Solomon Duskis wrote

Re: [appfuse-user] Secured Webservice

2007-10-24 Thread George.Francis
It's got both HTML and WebServices. I'm going to try to configure basic authentication using the config posted by Marcello. mraible wrote: > > Do you have webservices only - or are you serving up an HTML interface > as well. I'd suggest modifying your filterChainProxy to have > /services/**=fil

Re: [appfuse-user] Secured Webservice

2007-10-24 Thread George.Francis
This works - thank's very much. I'd wholeheartedly recommend that this be added as a note in the Webservice tutorial where it mentions securing the webservice! Marcello Teodori wrote: > > If it can be useful, this is a snippet from what I've changed in my > security.xml file to have basic-auth

Re: [appfuse-user] Secured Webservice

2007-10-24 Thread Matt Raible
Feel free to modify the wiki page! Matt On 10/24/07, George.Francis <[EMAIL PROTECTED]> wrote: > > This works - thank's very much. I'd wholeheartedly recommend that this be > added as a note in the Webservice tutorial where it mentions securing the > webservice! > > > Marcello Teodori wrote: >

Re: [appfuse-user] Which goal uses default-data.xml

2007-10-24 Thread Marcello Teodori
it's a nice addition, but unfortunately the file ends up in the output JAR, maybe it should be added to the JAR plugin exclude list to avoid this. Is it ok to add a JIRA for this? Marcello thomas_ramapuram wrote: > > Thanks Matt, > I should have looked more carefully. > > -

[appfuse-user] How to connect to multiple databases

2007-10-24 Thread BruceLee
Team, We want to add 3rd party Jars to our webapp. It uses torque as ORM layer and another database name in MySQL. There is no problem at local test, but we have issues when putting it to remote hosting site. Our env Appfuse 1.9.4 with WW2 I noticed myapp.xml is in D:\Programs\Apache Software F