Re: [appfuse-user] JMaki

2007-03-16 Thread VJ22
sure...I am already getting a slight headache :) mraible wrote: > > I don't see a problem with it - let us know how it turns out! We may > make you write a tutorial if it works. ;-) > > Matt > > On 3/15/07, VJ22 <[EMAIL PROTECTED]> wrote: >> >> Hi everyone, >> >> Do you think it would be a

[appfuse-user] spring form tag problem!!!???

2007-03-16 Thread chris wang
I try to use spring form tag, then i found the problem is I need put all command field into form, otherwise the field will be set null after submit. but when I use spring:bind , there's no problem, just put some field I want, other field still is the value after formBackingObject. do i use wrong

[appfuse-user] authentication success Url

2007-03-16 Thread ros
Hi! How to set authentication success URL (not mainMenu.html) in AppFuse2+Struts2? Thanks! -- View this message in context: http://www.nabble.com/authentication-success-Url-tf3413606s2369.html#a9511738 Sent from the AppFuse - User mailing list archive at Nabble.com. -

Re: [appfuse-user] spring form tag problem!!!???

2007-03-16 Thread Michael Horwitz
This is a well known issue I'm afraid. All fields have to be included as if they are not of interest to the form to make sure the command object is properly populated. Mike. On 3/16/07, chris wang <[EMAIL PROTECTED]> wrote: I try to use spring form tag, then i found the problem is I need put

Re: [appfuse-user] authentication success Url

2007-03-16 Thread ros
Found: security.xml - defaultTargetUrl logout.jsp - change redirect Now ok. ros wrote: > > Hi! > > How to set authentication success URL (not mainMenu.html) in > AppFuse2+Struts2? > > Thanks! > -- View this message in context: http://www.nabble.com/authentication-success-Url-tf3413606s

[appfuse-user] problem with Tutorial JSF : org.appfuse.webapp.action.BasePage cannot be found

2007-03-16 Thread Djohannot
Hello, I wanna use appfuse with JSF. I've begin the tutorial but i've an error when I've to do a PersonList class. import org.appfuse.webapp.action.BasePage; import org.appfuse.service.GenericManager; public class SiteList extends BasePage implements Serializable { ... When i want to

Re: [appfuse-user] database table names

2007-03-16 Thread tibi
ok followed your guid. perfect! its a real plus for appfuse that even changing core classes is documented well! i changed the table name off role to app_role. org.appfuse.model.Role.java @Table(name="app_role") i changed the sample-data.xml in the src/test/resources: from: to and integr

Re: [appfuse-user] UserCache vs SecurityContext

2007-03-16 Thread Jarek Gilewski
Problem solved! mraible wrote: > > I've never done this, so unfortunately I don't have any examples to > provide. I'd suggest searching Acegi's forums and, if you don't find > anything, posting a question there. > I have added alwaysReauthenticate=true for filterInvocationInterceptor.

Re: [appfuse-user] JMaki

2007-03-16 Thread Sanjiv Jivan
My experience with JMaki has been bad. I've also built a fairly large app with Dojo and would not use it again because despite all the optimization build / development techniques suggested, certain files are requested synchronously that causes browser freezes. Also too many gremlins that cause a D

Re: [appfuse-user] spring form tag problem!!!???

2007-03-16 Thread Sanjiv Jivan
You could use setSessionForm(true); On 3/16/07, chris wang <[EMAIL PROTECTED]> wrote: I try to use spring form tag, then i found the problem is I need put all command field into form, otherwise the field will be set null after submit. but when I use spring:bind , there's no problem, just put

[appfuse-user] PersonDaoTest not saving to Person table

2007-03-16 Thread paulie
I am using AppFuse 2.0 and have set up the Hibernate tutorial. Having problems saving the Person to the database. I have commented out the code to remove the person (it was failing here anyways) and I would expect that I would be able to see the saved Person on the table after executing PersonDa

Re: [appfuse-user] PersonDaoTest not saving to Person table

2007-03-16 Thread Matt Raible
The BaseDaoTestCase extends Spring's AbstractTransactionalDataSourceSpringContextTests - which rolls back each transaction after the test method executes. This is the reason you don't see your database change after running your tests. I believe you can use setComplete() in your test method if yo

Re: [appfuse-user] spring form tag problem!!!???

2007-03-16 Thread Matt Raible
Another option is to adjust your formBackingObject() method so it fetches the object from the database regardless of whether it's a get or a post. If you're not using session forms as Sanjiv suggests, this method will be called both times in the lifecycle. Matt On 3/16/07, Sanjiv Jivan <[EMAIL

[appfuse-user] mod_jk and j_security_check

2007-03-16 Thread rfisk
I am having trouble integrating apache and mod_jk with my appfuse app. The goal is to have multiple appfuse apps hosted as virtual hosts with the context hidden from the end user. I am able to get mod_jk and apache configured such that the site will come up properly. In order to do this, I also

Re: [appfuse-user] mod_jk and j_security_check

2007-03-16 Thread Matt Raible
I'd recommend proxying an entire app to Tomcat, rather than trying to handle specific URLs with mod_jk. Matt On 3/16/07, rfisk <[EMAIL PROTECTED]> wrote: I am having trouble integrating apache and mod_jk with my appfuse app. The goal is to have multiple appfuse apps hosted as virtual hosts wi

Re: [appfuse-user] mod_jk and j_security_check

2007-03-16 Thread Rob van Oostrum
I hate mod_jk. I use mod_rewrite in combination with either mod_proxy_ajp (requires Apache 2.2.x) or mod_proxy_http (if I'm stuck with 2.0.x or below). Apache 2.2 has a load balancer module as well if that's what you currently need mod_jk for (as well). Here's the proxy config template I use for

Re: [appfuse-user] problem with Tutorial JSF : org.appfuse.webapp.action.BasePage cannot be found

2007-03-16 Thread Matt Raible
I'm guessing you're getting this error from your IDE? If so, it's probably because it doesn't recognize (and use) the maven-warpath-plugin. Everything should work fine from the command line. Matt On 3/16/07, Djohannot <[EMAIL PROTECTED]> wrote: Hello, I wanna use appfuse with JSF. I've begi

Re: [appfuse-user] database table names

2007-03-16 Thread Nathan Anderson
Glad to hear you got it working as you wanted. After thinking about this thread a bit I have come to the conclusion that Bryan and Matt are probably right. In most cases it is best as is, but there are exceptions [like yours] where the developer can just go in and make the simple change. Na

Re: [appfuse-user] mod_jk and j_security_check

2007-03-16 Thread rfisk
I assume you mean that the JKMount should just be configured like: JkMount /*ajp13 # assuming that the Apache Directory setting is at the root of the context we're serving The problem with this is that you are getting no performance benefit from apache (images,css vs pages). Be that as it ma

Re: [appfuse-user] database table names

2007-03-16 Thread tibi
ok than i will take my loss. tibi Nathan Anderson wrote: Glad to hear you got it working as you wanted. After thinking about this thread a bit I have come to the conclusion that Bryan and Matt are probably right. In most cases it is best as is, but there are exceptions [like yours] where t

[appfuse-user] Appfuse wont run integration-test

2007-03-16 Thread sarat.pediredla
I cannot seem to run integration-test. The command I am using is "mvn integration-test -Ph2" Somehow, it cannot seem to download apache? Here is the error message. [INFO] [cargo:start {execution: start-container}] [INFO] [

Re: [appfuse-user] Appfuse wont run integration-test

2007-03-16 Thread Bryan Noll
rm -rf the cargo stuff in the m2 repo and try it again... it can sometimes get corrupted. sarat.pediredla wrote: I cannot seem to run integration-test. The command I am using is "mvn integration-test -Ph2" Somehow, it cannot seem to download apache? Here is the error message. [INFO] [cargo:s

Re: [appfuse-user] Appfuse wont run integration-test

2007-03-16 Thread Matt Raible
Changing the URL for Tomcat from http://apache.org to http://archive.apache.org should fix the problem. Matt On 3/16/07, Bryan Noll <[EMAIL PROTECTED]> wrote: rm -rf the cargo stuff in the m2 repo and try it again... it can sometimes get corrupted. sarat.pediredla wrote: > I cannot seem to run

Re: [appfuse-user] mod_jk and j_security_check

2007-03-16 Thread Rob van Oostrum
Looks like the application is looking for http://quantum.dbt.com/login.jsp which is different from wherever you're hitting the app on /quantum/j_security_check You should configure the front side of the proxy in tomcat (see proxyName and proxyPort) R. On 3/16/07, rfisk <[EMAIL PROTECTED]> wrote

Re: [appfuse-user] Appfuse wont run integration-test

2007-03-16 Thread sarat.pediredla
Apologies as probably this is a RTFM scenario but how do I change the URL? I know it's somewhere in Cargo but Im new to appfuse/maven mraible wrote: > > Changing the URL for Tomcat from http://apache.org to > http://archive.apache.org should fix the problem. > > Matt > > On 3/16/07, Bryan Nol

[appfuse-user] PersonDaoTest tutorial problem compiling

2007-03-16 Thread jgardner16
Hi I just downloaded appfuse and started a spring modular application. Going through the Person tutorial everything has gone well except when I get to PersonDaoTest class. When I run mvn test-compile I am getting a bunch of errors below. Also if I try to import junit.framework.TestCase netbeans