[appfuse-user] AppGen and CamelCase

2008-03-27 Thread Waldo Rochow
Has anyone been able to use AppGen with a POJO that has a CamelCase name such as "FireTruck"? When I run it and click on "FireTruck List" in the menu, the console shows the following: [tutorial-spring] WARN [btpool0-1] PageNotFound.noHandlerFound(1063) | No mapping for [/fireTrucks.html] in Di

[appfuse-user] adding manager class to UserAction.java

2008-03-27 Thread Robyn Sambo
Hello - I'm working with Appfuse 2.0( Struts 2 Basic) and trying to add an instance of a custom manager class (clientManager) to org.appfuse.webapp.action.UserAction.     public void setClientManager(GenericManager clientManager) {     this.clientManager = clientManager;     } clientMan

[appfuse-user] Displaying list (with DisplayTag) starting at last page

2008-03-27 Thread Derek Broughton
Is there a simple way to start displaying a list from the last page of data? That is, I have a list sorted by date, with 160 rows. I'm displaying 25 rows per page, I'd like the first page to appear as "Page 7 of 7", showing rows 136-160. I figure I could retrieve a list sorted by descending date

RE: [appfuse-user] RoleVoter

2008-03-27 Thread vpacheco
Thanks Ron, This approach should definitely work too. Vanessa Pacheco Programmer Bowman Systems L.L.C 318.213.8780x307 == IMPORTANT WARNING: This message is intended for the use of the person or entity to which it is addressed and may contain inform

RE: [appfuse-user] RoleVoter

2008-03-27 Thread vpacheco
Thanks Mike, That was it. Vanessa Pacheco Programmer Bowman Systems L.L.C 318.213.8780x307 == IMPORTANT WARNING: This message is intended for the use of the person or entity to which it is addressed and may contain information that is privileged and con

Re: [appfuse-user] RoleVoter

2008-03-27 Thread Ron Anderson
I made this change so that I could use both a 1.9 and 2.0 applications to access same database (user and role tables). You need to change the role table to use "ROLE_ADMIN" etc. Then change Constants.java and also the applicationContext-Security.xml to match. I think that was it and it shou

Re: [appfuse-user] RoleVoter

2008-03-27 Thread Michael Horwitz
In 1.9.4 the role voter is set up as follows: i.e. the role prefix is explicitly set to "" (by default it is "ROLE_"). Mike On 27/03/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I was just reading about acegi and using RoleVoter. The docs out there > state that in order to use Ro

[appfuse-user] RoleVoter

2008-03-27 Thread vpacheco
I was just reading about acegi and using RoleVoter. The docs out there state that in order to use RoleVoter, you need to use the "ROLE_" prefix for all roles. Now in appfuse, the Constants.java file has 'ADMIN_ROLE','USER_ROLE'. How do we get it working with appfuse? I ask because I'm

Re: [appfuse-user] Strange problem with german umlauts in testcases

2008-03-27 Thread Kropp, Henning
Kai Moritz schrieb: On Thursday 27 March 2008 14:08:13 Kropp, Henning wrote: I am not sure, but maybe using for descriptions helps. I've tried that. But it does not help :( Looking for differences between the two systems, I remebered, that Ubuntu comes with Java 6.0 and Etch only wi

Re: [appfuse-user] Strange problem with german umlauts in testcases

2008-03-27 Thread Kai Moritz
On Thursday 27 March 2008 14:08:13 Kropp, Henning wrote: > > I am not sure, but maybe using for descriptions helps. > I've tried that. But it does not help :( Looking for differences between the two systems, I remebered, that Ubuntu comes with Java 6.0 and Etch only with 5.0. The development sy

[appfuse-user] Spring MVC+JasperReports Any Ideas?

2008-03-27 Thread Carlos Ortiz
Hey guys I need good tutorials about Spring MVC that renders JasperReports. I also need to know how to create Excel files out of a JasperReport and also how do I pass data to the report. Any ideas?

[appfuse-user] Re: ATB/RE: [appfuse-user] UnsatisfiedDependencyException -Solved-

2008-03-27 Thread Campa
b) insist in the pom.xml on using a former surefire plugin version. Aled, I think this should solve it. Can you confirm? I ran several integration-tests on my project with different databases and it worked. It works also for me Martin. Thanks -- View this message in context: http://www

Re: [appfuse-user] Strange problem with german umlauts in testcases

2008-03-27 Thread Kropp, Henning
Kai Moritz schrieb: On Wednesday 26 March 2008 11:44:50 Kai Moritz wrote: Perhaps I should try to encode the sample-data.xm l as ISO-bla-15 and give it a try. I guess that DBUnit counts the characters in the row, without being aware, that the umlaut has more than 1 byte, whicht then leads to

Re: [appfuse-user] Out of Memory sending a file

2008-03-27 Thread Jonathan Ritchie
Thanks again Matt - switching off the zip filter made the problem go away. This indicates the filter is doing something pretty naive when it comes to memory use. Kai - the problem was not initial settings. The webapp needs to be able to serve a file of indeterminate size so it just cant use "much"

Re: [appfuse-user] Strange problem with german umlauts in testcases

2008-03-27 Thread Kai Moritz
On Wednesday 26 March 2008 11:44:50 Kai Moritz wrote: > Perhaps I should try to encode the sample-data.xm > l as ISO-bla-15 and give it a > try. I guess that DBUnit counts the characters in the row, without being > aware, that the umlaut has more than 1 byte, whicht then leads to the > turncate...

Re: [appfuse-user] Integrating Apache Camel

2008-03-27 Thread watcher
Here you go. It does look like a problem with juel.jar I've tried org.apache.camel camel-juel 1.2.0 juel de.odysseus.juel but is throws a different error java.lang.NoClassDefFoundError: de/odysseus/el/util/Simple

[appfuse-user] middlegen appgen trouble

2008-03-27 Thread 生顺 邱
I have been trying to use the middlegen with appgen for the latest appfuse.When I run the middlegen.all I get prompted for a table, but no matter what I put in it always says 'The database doesn't have any table named .. Please make sure the table exists. Also not that some databases are cas