Re: [appfuse-user] how to implement tag

2008-03-10 Thread Matt Raible
I would suggest doing this with JSP 2.0 Tag Files. They're pretty slick. http://www.onjava.com/pub/a/onjava/excerpt/jserverpages3_ch11/index.html Matt On 3/9/08, Sanath <[EMAIL PROTECTED]> wrote: > > Hi All, > I am trying to implement a be used in all applications such as > .etc >

Re: [appfuse-user] ClassCastException: $Proxy25

2008-03-10 Thread Matt Raible
If you've run "appfuse:full-source" then all the packages should've changed from org.appfuse to yourGroupId. You should search for org.appfuse and change it where you find it. Or try running full-source again. Matt On 3/8/08, gederer <[EMAIL PROTECTED]> wrote: > > Hi, > > I just created a new A

Re: [appfuse-user] Subclassing BaseFormController

2008-03-10 Thread Matt Raible
Did you run full-source on your project? If so, the package names should match your groupId. Matt On 3/8/08, Kai Moritz <[EMAIL PROTECTED]> wrote: > On Saturday 08 March 2008 16:40:23 Matt Raible wrote: > > Can you describe your problem in code - by showing what you're trying > > to do and the

Re: [appfuse-user] panelgrid border in appfuse 2

2008-03-10 Thread Matt Raible
You should be able to use CSS to change the border - just view-source and find out the id/classes that the panel grid uses. Matt On 3/4/08, emmettwalsh <[EMAIL PROTECTED]> wrote: > > Has anyone managed to change the width of the borders in appfuse. I trying to > organize my layout and it would

Re: [appfuse-user] Appfuse 2 JSF - A4J undefined question

2008-03-10 Thread Matt Raible
Do you get this on a demo that's hosted on demo.appfuse.org? Thanks, Matt On 3/4/08, ycharron <[EMAIL PROTECTED]> wrote: > > Hi, >I just started getting issues with the ajax demo. I doesn't run anymore > and I'm getting the following ie message ERROR 'A4J' is undefined. I try > to sear

Re: [appfuse-user] hi

2008-03-10 Thread Matt Raible
If you manually step through the test steps in your browser - do you see an error? Matt On 2/28/08, khalid el hayani <[EMAIL PROTECTED]> wrote: > i try to execute mvn in a JSF Basic Archetype to download JARs, Tomcat > and run the integration tests > and i get this error > > [INFO] >

Re: [appfuse-user] Junit Test Cases failing within eclipse.

2008-03-10 Thread Matt Raible
If you're seeing this error, it's because 1) Eclipse is reading your jdbc.properties from src/main/resources or 2) it's reading it from target and the values haven't been replaced. "mvn clean test" should work. If it doesn't, you probably have a environment configuration issue. Matt On 2/25/08,

Re: [appfuse-user] Struts 2 Modular appfuse:full-source display tag is disable because old commons-beanutils-1.6.1.jar not found methed

2008-03-10 Thread Matt Raible
Can you please open an issue in JIRA and attach your pom.xml? Thanks, Matt On 2/18/08, WangJavaFans <[EMAIL PROTECTED]> wrote: > > mvn jetty:run > What about in "web/pom.xml " file add commons:beanutils:1.7.1 version jar > file to WBE-INF/lib/ > > > > -- > View this message in context:

Re: [appfuse-user] ACEGI request.getRemoteUser() returns null

2008-03-10 Thread Matt Raible
What's the URL you're using to access this Action - the one that AppFuse provides? Matt On 3/10/08, orangetreats20171 <[EMAIL PROTECTED]> wrote: > > Call to request.getRemoteUser() is made in UserAction class in the edit() > function call. > I am using Struts2 as MVC framework... > > Call is

Re: [appfuse-user] ACEGI request.getRemoteUser() returns null

2008-03-10 Thread orangetreats20171
Call to request.getRemoteUser() is made in UserAction class in the edit() function call. I am using Struts2 as MVC framework... Call is made as follows... user = userManager.getUserByUsername(request.getRemoteUser()); Please help ??? mraible wrote: > > Where are you trying to use request.get

Re: [appfuse-user] Full Source Error

2008-03-10 Thread Doug Pham
Thanks Mike, I search previous posts and changed my repository to c:\repository in windows and everything is working great. Cheers, Doug Michael Horwitz <[EMAIL PROTECTED]> wrote: This is a known problem with ant on windows (AppFuse full source plugin uses Ant under the covers). The issue is

Re: [appfuse-user] improving appfuse - Annotation-Based Autowiring in Spring 2.5

2008-03-10 Thread Matt Raible
I agree. On 3/10/08, Flavio Froes <[EMAIL PROTECTED]> wrote: > Hey Matt, > > I have read this article about Annotation-Based Autowiring in Spring 2.5 and > I thought that implementing this strategy on the next release of appfuse > would be a great improvement for the project. > > http://wheelersof

[appfuse-user] improving appfuse - Annotation-Based Autowiring in Spring 2.5

2008-03-10 Thread Flavio Froes
Hey Matt, I have read this article about Annotation-Based Autowiring in Spring 2.5 and I thought that implementing this strategy on the next release of appfuse would be a great improvement for the project. http://wheelersoftware.com/articles/spring-autowiring-annotations.html HTH, Flávio Oliva

Re: [appfuse-user] appfuse:gen - generated list form works fine, edit form is all blank

2008-03-10 Thread Richard M
Rob, thanks - but its simpler than that. I just found a reference. I had to search for "empty" pages instead of "blank" pages. http://www.nabble.com/Some-mvn-appfuse%3Agen-resulting-in-empty-pages-tt13462198s2369.html#a13462198 http://www.nabble.com/Some-mvn-appfuse%3Agen-resulting-in-empty-pages-

Re: [appfuse-user] How to configure separater log4j.xml for testing and for application?

2008-03-10 Thread Dale Newfield
tnsilver wrote: How is it possible to use two separate log4j.xml files (for testing)? Start the JVM with -Dlog4j.configuration= (for me I use log4j.properties.dev and log4j.properties.prod) Hrm. These aren't log4j.xml files, but rather log4j.properties files (appfuse 1.9.x vs 2.0)... ...prob

Re: [appfuse-user] Speed up Development Cycles....

2008-03-10 Thread Cayetano
2008/3/10, Youssef Mohammed <[EMAIL PROTECTED]>: > I don't really get the idea of doing ant ... why not just to mvn > eclipse:eclipse and use WTP in eclipse ... it works find with though I > haven't tried it with appfuse. > Because we are talking about Appfuse 1.9.x, not Appfuse2 (which is maven b

Re: [appfuse-user] Speed up Development Cycles....

2008-03-10 Thread Youssef Mohammed
I don't really get the idea of doing ant ... why not just to mvn eclipse:eclipse and use WTP in eclipse ... it works find with though I haven't tried it with appfuse. On Mon, Mar 10, 2008 at 5:31 PM, Cayetano <[EMAIL PROTECTED]> wrote: > Hi Anthony, > > > > > We're using appfuse 1.9 with Spring

Re: [appfuse-user] Speed up Development Cycles....

2008-03-10 Thread Cayetano
Hi Anthony, > > We're using appfuse 1.9 with Spring MVC, Hibernate, and Postgresql ... > deploying with JDK 1.6 (Sun), and Tomcat 5 (and 6, depending on the > developer). > We have similar environments based on appfuse 1.9.4, except jdk 1.5 instead of 1.6 > > Any other ideas? What are you guy

Re: [appfuse-user] ACEGI request.getRemoteUser() returns null

2008-03-10 Thread Matt Raible
Where are you trying to use request.getRemoteUser()? This will only work in Filters and actions/controllers that are filtered by Acegi. In other words, the URL path has to match. Matt On 3/10/08, orangetreats20171 <[EMAIL PROTECTED]> wrote: > > Hello, > > Using ACEGI for basic form authenticati

[appfuse-user] ACEGI request.getRemoteUser() returns null

2008-03-10 Thread orangetreats20171
Hello, Using ACEGI for basic form authentication. User is authenticated successfully after logging. After successfull validation, request.getSession().getAttribute("ACEGI_SECURITY_ CONTEXT") returns a valid authentication object to get hold of user principal and credentials. However, request

Re: [appfuse-user] Writing custom tag libraries in appfuse 2

2008-03-10 Thread Kanchana
Nope .I wanted to get rid of the struts framework and find a easy common validation using a tag library.So I'm Not suing struts framework.I want to write a custom tag library and centralize it to reuse it for all the flied validation of JSP.I use spring web base for the moment but I'm planning to

Re: [appfuse-user] run with tomcat

2008-03-10 Thread Matt Raible
Cargo uses Tomcat when running the integration tests. A shorter way to use it is "mvn -Dcargo.wait=true". Matt On 3/10/08, Preetkanwal_Singh <[EMAIL PROTECTED]> wrote: > > > > All u need is: > > 1) Install TOMCAT > > 2) After creating the project when you run "mvn jetty:run-war" this will run > t

[appfuse-user] How to configure separater log4j.xml for testing and for application?

2008-03-10 Thread tnsilver
I'm running appfuse2.0-m5 (full source) - ever since full source my test/resources/log4j.xml seems to have no effect and it seems only from main/resources/log4j.xml is picked up. How is it possible to use two separate log4j.xml files (for testing)? What configuration in the pom is responsible for

RE: [appfuse-user] run with tomcat

2008-03-10 Thread Preetkanwal_Singh
All u need is: 1) Install TOMCAT 2) After creating the project when you run "mvn jetty:run-war" this will run the Project on Jetty. All u need to do is>> copy the WAR file from >yourproject>target folder something like "DEMO-1.0-SNAPSHOT.war". 3) copy this war file in your TOMCAT>webapps directo

[appfuse-user] run with tomcat

2008-03-10 Thread banbonero
hi, i am new in appfuse and i want to know things to do to run my application with tomcat instead of jetty. thinks for replays -- View this message in context: http://www.nabble.com/run-with-tomcat-tp15950705s2369p15950705.html Sent from the AppFuse - User mailing list archive at Nabble.com. -

[appfuse-user] mvn Appfuse:gen Command Query

2008-03-10 Thread Preetkanwal_Singh
Hi all, I have made a pojo model class ie Person.java in model folder of my package. After this I do "mvn appfuse:gen and give the POJO name and finally install the same using the command "mvn appfuse:install -Dentity=Person". Now we run the "mvn jetty:run-war" automatically table are generated

RE: [appfuse-user] Speed up Development Cycles....

2008-03-10 Thread Jon Loken
Hi, Using Jetty has dramatically increased out performance in terms of debugging using AppFuse 1.9.3 MVC. We use the ant task below. Basically it puts together a full web application under %project_home%/${webapp.name}. Changes in class files are automatically picked up by Jetty. Note, how

Re: [appfuse-user] appfuse:gen - generated list form works fine, edit form is all blank

2008-03-10 Thread Yuri Weseman
Hi Richard, You've already gotten some good advice from Rob. To be more specific, I've noticed that when I generate stuff from a model that has a one-to-many assocation, I get this behavior. In the JSP a call is made to get[fill-in-assocation-name-here], but that method isn't generated. You'll hav