Re: [appfuse-user] Programmatically reload Spring managed bean

2008-04-30 Thread Matt Raible
You could manually create the class instead of letting Spring do it. Matt On Wed, Apr 9, 2008 at 9:33 AM, sarat.pediredla <[EMAIL PROTECTED]> wrote: > > I have a use case in which one of my spring managed beans, "mailSender", > needs to be reloaded as I am allowing my users to change their mai

Re: [appfuse-user] AppFuse 1.9.4 with Flex.

2008-04-30 Thread Matt Raible
On Mon, Apr 7, 2008 at 4:37 AM, Irshad Buchh <[EMAIL PROTECTED]> wrote: > > Just to add one more question: > > Is it possible to have some .mxml files created in an existing JSF AppFuse > 1.9.4 application thus protecting the existing infrastructure? Does the JSF > navigation work with .mxml fi

Re: [appfuse-user] 2 column content in forms

2008-04-30 Thread Matt Raible
On Thu, Apr 3, 2008 at 10:01 AM, oscar perez <[EMAIL PROTECTED]> wrote: > Thank you for the quick response. First off, say that I was not complaining > about the default 1 column layout. I actually like it more than the 2 column > layout. My concern is merely to find an easy > integration in the sa

Re: [appfuse-user] Re: [SPAM? 12.8] [appfuse-user] jpa is not functional in appfuse-modular-spring

2008-04-30 Thread Matt Raible
>From a comment I left on this issue: In web/pom.xml, change the following from: org.appfuse appfuse-${web.framework} ${appfuse.version} warpath To: org.appfuse appfuse-${web.framework}

Re: [appfuse-user] what is the best way to import appfuse to eclipse ?

2008-04-30 Thread Matt Raible
You might try changing your maven-eclipse-plugin to version 2.5.1 and see if that helps. Matt On Thu, May 1, 2008 at 12:30 AM, oliver.appfuse <[EMAIL PROTECTED]> wrote: > > > hi, > after checkout the appfuse project from svn,i try to study it with eclipse, > > i try to generate .project for each

[appfuse-user] what is the best way to import appfuse to eclipse ?

2008-04-30 Thread oliver.appfuse
hi, after checkout the appfuse project from svn,i try to study it with eclipse, i try to generate .project for each module and import.but this cause a flat structure, which i cant see the pom of parent project. Then,i generate a .project file only in the parent's root directory,but in this situ

Re: [appfuse-user] cssHorizontalMenu

2008-04-30 Thread Matt Raible
Can you please provide the steps to reproduce this issue in 2.0.1? A project that shows the problem would be even better. Matt On Wed, Apr 2, 2008 at 7:59 AM, oscar perez <[EMAIL PROTECTED]> wrote: > Hi all, > One quick question. > Is the bug #APF-599 really solved? > I downloaded the last cssHo

Re: [appfuse-user] Problem with Struts2 (devmode) debug=console & debug=xml

2008-04-30 Thread Matt Raible
If you comment out the for the staticFilter, does it solve this issue? Matt On Wed, Apr 2, 2008 at 3:59 AM, Thomas Ramapuram <[EMAIL PROTECTED]> wrote: > Hi, > I tried accessing a url with the query string ?debug=console and the > popup window throws a stack trace in appfuse. > I am not

Re: [appfuse-user] Dynamically changing Logging levels.

2008-04-30 Thread Matt Raible
If nothing else, it'd be great to have this as a tutorial on the wiki. Even if we decided to add it, it'd be great to have it documented somewhere. Matt On Tue, Apr 1, 2008 at 10:56 PM, Thomas Ramapuram <[EMAIL PROTECTED]> wrote: > Hi, > Yesterday I wrote an action to dynamically change loggi

Re: [appfuse-user] Easy DAO with parancoe framework

2008-04-30 Thread Matt Raible
It would be great to get this written up as a tutorial on the wiki. Matt On Wed, Apr 2, 2008 at 8:42 PM, Le Anh Tuan <[EMAIL PROTECTED]> wrote: > > Hi Dustin, > I haven benmarkerd yet, I think you should contact parancoe's author > directly for more information. As far as I know, Parancoe uses

Re: [appfuse-user] velocity logging

2008-04-30 Thread Matt Raible
This should be fixed in 2.0.2: http://issues.appfuse.org/browse/APF-597 On Mon, Mar 31, 2008 at 1:28 AM, Kai Moritz <[EMAIL PROTECTED]> wrote: > Hi Folks, > > I had troubles running my packed Appfuse-Application on my Tomcat-Server. > As it turned out, velocity was not able to create its logfil

Re: [appfuse-user] Invoke via command line

2008-04-30 Thread Dustin Pearce
Why do you need to use ant to run your task? Is there configuration that Ant generates right before runtime? I think you can achieve what you want with a main() method and a shell script. You could even schedule it as a cron job. *batch file & task scheduler if your windows At work we

[appfuse-user] Issues for 2.0.2

2008-04-30 Thread Matt Raible
All, I hope to work on the 56 issues scheduled for AppFuse 2.0.2 over the next few days and try to get a release out sometime this weekend. If there's any issues you'd like to see included in 2.0.2, please let me know by commenting on the issue. http://issues.appfuse.org/secure/IssueNavigator.jsp

Re: [appfuse-user] JSF Regular Expression validator clears the model when validation fails

2008-04-30 Thread Cens
Problem solved! It was only a matter of knowing the right sintax. Commons Validators do include the Regular Expression validator. Here is an example for validating strings composed by lowercase letters, uppercase letters, digits and spaces: Vincenzo Caselli -- View this message in context: h

[appfuse-user] AppFuse Tutorial "cannot access org.springframework.test.AbstractTransactionalDataSourceSpringContextTests"

2008-04-30 Thread javaunixsolaris
Following the Tutorial (R1) to the 'T' I still get this: $ mvn -e test-compile ... PersonDaoTest.java:[14,7] cannot access org.springframework.test.AbstractTransactionalDataSourceSpringContextTests class file for org.springframework.test.AbstractTransactionalDataSourceSpringContextTests not found

[appfuse-user] Invoke via command line

2008-04-30 Thread Dug-I-Am
I have an Appfuse Spring/Hibernate app where part of it is a process that pulls data from various web sources and populates our local database. I currently invoke this from a JUnit test with Maven and commit the transaction rather than rolling it back. I'd rather create a main() method in a non-t

Re: [appfuse-user] BeanCreationException

2008-04-30 Thread kace
maybe its useful, heres the dependecies from my parent pom then core pom ..kace ** parent pom ${jdbc.groupId} ${jdbc.artifactId} ${jdbc.version} commons-lang commons-lang

[appfuse-user] BeanCreationException

2008-04-30 Thread kace
Hi guys, Im using modular jsf project and I get the following error when running my core tests using the command line - it fails for 21 of them with the same error as below. has anyone had this problem before. Regards, ..kace Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0

Re: [appfuse-user] validation validwhen doesnot work

2008-04-30 Thread Leo Barrientos C.
Yes , "validwhen" doesnot work with appfuse 2 and springmvc (for me at least) - i made a workaround with intRange. :-) Matt Raible escribió: I don't believe validwhen works if you're using it with Spring MVC. You might check the documentation on springmodules.dev.java.net to make sure. Matt

Re: [appfuse-user] validation validwhen doesnot work

2008-04-30 Thread Matt Raible
I don't believe validwhen works if you're using it with Spring MVC. You might check the documentation on springmodules.dev.java.net to make sure. Matt On Wed, Apr 30, 2008 at 9:59 AM, Leo Barrientos C. <[EMAIL PROTECTED]> wrote: > Hello, validwhen works form anybody in appfuse/spring/hibernate? >

[appfuse-user] validation validwhen doesnot work

2008-04-30 Thread Leo Barrientos C.
Hello, validwhen works form anybody in appfuse/spring/hibernate? I set the msg="errors.required"/> in validator-rules.xml And set the validator.xml test (*this* != "0")

Re: [appfuse-user] JSF semi-randomly returns incorrectly encoded output. Fixed by hitting refresh.

2008-04-30 Thread Matt Raible
On Wed, Apr 30, 2008 at 8:07 AM, LonB <[EMAIL PROTECTED]> wrote: > > I tried turning of JavaScript just now, but then I can't submit the form. I > think the JSF (or perhaps tomahawk) is relying on the JS to submit. I tried > entering an input field and hitting "enter" but that didn't submit th

Re: [appfuse-user] JSF semi-randomly returns incorrectly encoded output. Fixed by hitting refresh.

2008-04-30 Thread LonB
I tried turning of JavaScript just now, but then I can't submit the form. I think the JSF (or perhaps tomahawk) is relying on the JS to submit. I tried entering an input field and hitting "enter" but that didn't submit the form. Another thing that I thought of was that sitemesh might be interfe

Re: [appfuse-user] Validations

2008-04-30 Thread Leo Barrientos C.
I just need to validate a related object in a form, before save and using validation.xml Matt Raible escribió: Can you provide more details, like a snippet from your validation.xml and the stack trace you're seeing? You might also look at the following: http://struts.apache.org/2.x/docs/type

[appfuse-user] validator.xml

2008-04-30 Thread Leo Barrientos C.
|This is not working in validator.xml, please help. test (*this* > 0) | - To unsubscribe, e-mail: [E

Re: [appfuse-user] Re: Re[appfuse-user] g: Two different databases in a single application

2008-04-30 Thread Matt Raible
I would start by hard-coding the values for your database in your bean's configuration. Once you get all that working (with your dataSource2 and sessionFactory2 beans), then you can worry about getting the values substituted by the build process. Matt On Wed, Apr 30, 2008 at 7:38 AM, njoy <[EMAIL

Re: [appfuse-user] JSF semi-randomly returns incorrectly encoded output. Fixed by hitting refresh.

2008-04-30 Thread Matt Raible
On Wed, Apr 30, 2008 at 7:39 AM, LonB <[EMAIL PROTECTED]> wrote: > > Matt, thanks for the incredibly fast response! I added the two dispatcher > params to the filter mapping for the encodingFilter, but no change. > > I have a feeling this has something to do with the bean method being invoked

Re: [appfuse-user] JSF semi-randomly returns incorrectly encoded output. Fixed by hitting refresh.

2008-04-30 Thread LonB
Matt, thanks for the incredibly fast response! I added the two dispatcher params to the filter mapping for the encodingFilter, but no change. I have a feeling this has something to do with the bean method being invoked twice? - Lon mraible wrote: > > By "might help", I mean you might chan

[appfuse-user] Re: Re[appfuse-user] g: Two different databases in a single application

2008-04-30 Thread njoy
Hi, i want to use mysql and oracle database in a single application.. for that i need to specify in build.properties or properties.xml or in any other file? -- View this message in context: http://www.nabble.com/Reg%3A-Two-different-databases-in-a-single-application-tp16981818s2369p1698271

Re: [appfuse-user] JSF semi-randomly returns incorrectly encoded output. Fixed by hitting refresh.

2008-04-30 Thread Matt Raible
By "might help", I mean you might change its s on the to be REQUEST and FORWARD. Matt On Wed, Apr 30, 2008 at 7:19 AM, Matt Raible <[EMAIL PROTECTED]> wrote: > There's a CharacterEncodingFilter in web.xml that might helps. > > Matt > > > > On Wed, Apr 30, 2008 at 7:15 AM, LonB <[EMAIL PROTECTE

Re: [appfuse-user] JSF semi-randomly returns incorrectly encoded output. Fixed by hitting refresh.

2008-04-30 Thread Matt Raible
There's a CharacterEncodingFilter in web.xml that might helps. Matt On Wed, Apr 30, 2008 at 7:15 AM, LonB <[EMAIL PROTECTED]> wrote: > In a JSF page, I have a form in a view, that submits via an action > commandlink... something like: > > ... > value="#{text['button.runReport']}"> > >

[appfuse-user] JSF semi-randomly returns incorrectly encoded output. Fixed by hitting refresh.

2008-04-30 Thread LonB
In a JSF page, I have a form in a view, that submits via an action commandlink... something like: ...

Re: [appfuse-user] Re[appfuse-user] g: Two different databases in a single application

2008-04-30 Thread Matt Raible
Create a new dataSource bean and wire it up appropriately for your DAOs and such. http://www.google.com/search?q=spring+two+datasources Matt On Wed, Apr 30, 2008 at 6:55 AM, njoy <[EMAIL PROTECTED]> wrote: > > Hi, > > I have to use two different databases in a appfuse application. i want to >

[appfuse-user] Re[appfuse-user] g: Two different databases in a single application

2008-04-30 Thread njoy
Hi, I have to use two different databases in a appfuse application. i want to know abt the configuration? whether i need to change in build.properties, properties.xml.? can u pls send me the configuration. -- View this message in context: http://www.nabble.com/Reg%3A-Two-different-datab

Re: [appfuse-user] Validations

2008-04-30 Thread Matt Raible
Can you provide more details, like a snippet from your validation.xml and the stack trace you're seeing? You might also look at the following: http://struts.apache.org/2.x/docs/type-conversion.html Thanks, Matt On Wed, Apr 30, 2008 at 3:02 AM, Leo Barrientos C. <[EMAIL PROTECTED]> wrote: > Hel

Re: [appfuse-user] How to access collection fields in Struts2?

2008-04-30 Thread Matt Raible
On Wed, Apr 30, 2008 at 4:59 AM, Martin Homik <[EMAIL PROTECTED]> wrote: > > That does the job, too. But in general, I recommend to do the following as > you might not know what else has changed, hence, you don't know what else to > delete. > > 1. mvn war:inplace > 2. rm -rf src/main/webapp/WE

Re: [appfuse-user] How to access collection fields in Struts2?

2008-04-30 Thread Martin Homik
That does the job, too. But in general, I recommend to do the following as you might not know what else has changed, hence, you don't know what else to delete. 1. mvn war:inplace 2. rm -rf src/main/webapp/WEB-INF/lib 3. rm src/main/webapp/WEB-INF/classes/struts.xml I think this is stated somewhe

[appfuse-user] Validations

2008-04-30 Thread Leo Barrientos C.
Hello, i need help in appfuse spring + hibernate My Model form has a relation: Model - Brand On create/Edit a Model the form show the selectbox with brands, my question is: How can i do validate a brand.id different than 0. On validation.xml if i put field property="brand" an "No editor or