Re: [appfuse-user] adding a user

2007-02-04 Thread Matt Raible
I'm curious - why are you using 1.9.3 when 1.9.4 has been released? http://raibledesigns.com/page/rd?entry=appfuse_1_9_4_released Matt On 2/4/07, hemsky <[EMAIL PROTECTED]> wrote: i have downloaded appfuse 1.9.3-jsf and followed the quickstart quide in order to run the app. i have successfull

[appfuse-user] adding a user

2007-02-04 Thread hemsky
i have downloaded appfuse 1.9.3-jsf and followed the quickstart quide in order to run the app. i have successfully installed and deployed the application but im having a problem when i am adding a new user account. after inserting all the required data, when i click the save button, im getting thi

Re: [appfuse-user] many-to-many associations and composite-id

2007-02-04 Thread Michael Quito
Have you found the solution for this? composite-id and relationships (one to many, many to one, many to many? Saloucious Crumb wrote: > > Just a question about Hibernate Relationships and many-to-many > associations in AppFuse. > > Can we put an attribute is the new created table (eg: a date o

Re: [appfuse-user] Using iBATIS

2007-02-04 Thread Nick Tucker
Hi I was thinking of using just iBATIS for the tutorial, but I reached a point where I thought that was would be required was getting to involved for a Tutorial. I think that the problems with Maven not overriding properties could be bypassed for now. If the appfuse-${dao.framework} dependency

Re: [appfuse-user] multi module project has problem mvn jetty:run-war in web directory

2007-02-04 Thread Michael Horwitz
You need to install your core package to your maven repository before it will be available to the build in the web module. So either mvn install from the top level, or just in the core module, will do the trick. You will need to do this every time you change anything in the core module. Happy AppF

Re: [appfuse-user] Appfuse m2 error finding DwrServlet

2007-02-04 Thread viggo
APF-614 created :) Matt Raible-3 wrote: > > I'll look into this now. I'm putting together some integration tests > for these archetypes so hopefully these issues won't happen in the > future. > > If you wouldn't mind - can you enter an issue in JIRA so we can track > it in the upgrade guide

[appfuse-user] multi module project has problem mvn jetty:run-war in web directory

2007-02-04 Thread schwark
It seems to be looking for the snapshot .pom and complains that it is not able to download it. mvn package on the top-level works well. But the same command in the web directory does not - complains that it needs to download the -core package (instead of building it and using the same). So running

Re: [appfuse-user] Appfuse m2 error finding DwrServlet

2007-02-04 Thread Matt Raible
I'll look into this now. I'm putting together some integration tests for these archetypes so hopefully these issues won't happen in the future. If you wouldn't mind - can you enter an issue in JIRA so we can track it in the upgrade guide? http://issues.appfuse.org/secure/CreateIssue!default.jsp

Re: [appfuse-user] Struts 2 Basic Module

2007-02-04 Thread Michael Horwitz
Hi, On 2/4/07, Fan <[EMAIL PROTECTED]> wrote: I am using struts 2 Basic Module. I have got the Appfuse 2.0 core classes from the svn. 1) They are different folders in the projects e.g. src/main, appfuse, target Here my question are : 1) how do the above mentioned folders relate to each othe

Re: [appfuse-user] Problem with jetty:run (struts 2 basic)

2007-02-04 Thread Matt Raible
You should either run "mvn clean" or delete src/main/webapp/WEB-INF/lib. Doing both is probably a good idea. Then things should work fine. Matt On 2/4/07, vicpk4 <[EMAIL PROTECTED]> wrote: Hello! I created AppFuse 2 project based on struts 2 basic archetype. 'Jetty:run-war' works fine, but w

Re: [appfuse-user] struts2 file upload very unreliable? Fixed with ActionContextCleanUp

2007-02-04 Thread Matt Raible
Here's the order we're using for the filters in AppFuse 2.x: struts-cleanup /* sitemesh /* struts /* It seems to be consistent with what Struts 2 recommends when using SiteMesh: http://cwiki.apache.org/S2PLUGINS/sitemesh-plugin.h

Re: [appfuse-user] Strutstestcase and action roles setting

2007-02-04 Thread Matt Raible
Spring's MockHttpServletRequest allows you to setRemoteUser() and addUserRole(), but I don't believe that's used when you're using StrutsTestCase. You could try logging in with Acegi programmatically. There's some examples of this in UserSecurityAdviceTest.java: http://tinyurl.com/yqca8n HTH,

Re: [appfuse-user] Error in PersonAction

2007-02-04 Thread Matt Raible
What's the package name you're using? Is it the one that's stated below? Matt On 2/4/07, Fan <[EMAIL PROTECTED]> wrote: I am using Appfuse 2.0 with Struts 2 basic module. I hit an error when clicking on the "Add" button on the personList.jsp.

Re: [appfuse-user] Appfuse m2 error finding DwrServlet

2007-02-04 Thread viggo
I get the same error with both modular-spring and modular-struts. Tuncay A. wrote: > > Hi, > > I get following error running mvn integration-test on JSF Moduler (Seems > like can't resolve DwrServlet): > > Embedded error: The following error occurred while executing this line: > E:\Workspace

[appfuse-user] Strutstestcase and action roles setting

2007-02-04 Thread Sanders, Corey
Hi all, I am working on integrating my company's home-grown single-sign on system with a new Appfuse webapp. It started off well. I plugged in a new Acegi AuthenticationProvider with surprisingly few lines of code and I was off and running. But then came a disturbance in the force. After adding

[appfuse-user] Error in PersonAction

2007-02-04 Thread Fan
I am using Appfuse 2.0 with Struts 2 basic module. I hit an error when clicking on the "Add" button on the personList.jsp. ava.lang.IllegalArgumentException: The edit() is not defined in action class org.appfuse.webapp.action.Perso

[appfuse-user] Struts 2 Basic Module

2007-02-04 Thread Fan
I am using struts 2 Basic Module. I have got the Appfuse 2.0 core classes from the svn. 1) They are different folders in the projects e.g. src/main, appfuse, target Here my question are : 1) how do the above mentioned folders relate to each other ? 2) Whichever new class, jsp, or modification

[appfuse-user] Problem with jetty:run (struts 2 basic)

2007-02-04 Thread vicpk4
Hello! I created AppFuse 2 project based on struts 2 basic archetype. 'Jetty:run-war' works fine, but when started with 'jetty:run' (after 'mvn war:inplace') , trying to login gives exception: The package name 'default' at locattion package - file:/G:/AppFuse/appfuse-app/target/classes/struts.xm

[appfuse-user] Appfuse m2 error finding DwrServlet

2007-02-04 Thread Tuncay A.
Hi, I get following error running mvn integration-test on JSF Moduler (Seems like can't resolve DwrServlet): Embedded error: The following error occurred while executing this line: E:\Workspace\Development\modular-jsf\web\src\test\resources\web-tests.xml:23: Canoo Webtest: R_1454. Test failed.