Re: [appfuse-user] NullPointerException when trying to populate in test case

2007-04-19 Thread Matt Raible
It's propably case sensitive - I'd try: name=MyValueForNameAttribute Matt On 4/19/07, celeraman+ <[EMAIL PROTECTED]> wrote: Thanks a million, Matt! You are just right! If I put my .properties file into src/test/resources/my/package/name, so the NullPointerException from populate Method goes

Re: [appfuse-user] NullPointerException when trying to populate in test case

2007-04-19 Thread celeraman+
Thanks a million, Matt! You are just right! If I put my .properties file into src/test/resources/my/package/name, so the NullPointerException from populate Method goes away. The bad news is that the NullPointerException goes to dao.save() method. I know that the NullPointerException was execut

[appfuse-user] is AppFuse primed for large scale production deployment?

2007-04-19 Thread dev dev
Sorry for posting such a question but we just want to know if anyone out there are using the latest AppFuse version in production that handles 30 or more millions page views per month? Thanks dev

Re: [appfuse-user] BaseDaoTestCase substitution

2007-04-19 Thread Matt Raible
You're saying its wierd that we have BaseDaoTestCase in the appfuse-hibernate.jar? It is kinda wierd, but the other option was for us to create an entirely new appfuse-test module with all the base classes. If enough folks think this is a better approach, we can try to make it happen after 2.0.

Re: [appfuse-user] Fwd: License changed to BSD and code repository changed to Subversion

2007-04-19 Thread Sanjiv Jivan
Thats great news! Thanks for the update. On 4/19/07, Matt Raible <[EMAIL PROTECTED]> wrote: FYI... -- Forwarded message -- From: Paul <[EMAIL PROTECTED]> Date: Apr 19, 2007 5:53 PM Subject: License changed to BSD and code repository changed to Subversion To: UrlRewrite <[EMAIL

[appfuse-user] Fwd: License changed to BSD and code repository changed to Subversion

2007-04-19 Thread Matt Raible
FYI... -- Forwarded message -- From: Paul <[EMAIL PROTECTED]> Date: Apr 19, 2007 5:53 PM Subject: License changed to BSD and code repository changed to Subversion To: UrlRewrite <[EMAIL PROTECTED]> Hi, Two major changes today: - License changing to BSD (from GPL), this should

Re: [appfuse-user] Custom Manager Problem

2007-04-19 Thread stelios
yes that was the problem I had: private PersonManagerImpl personManager instead of: private PersonManager personManager; sorted, thanks mraible wrote: > > Make sure PersonManagerImpl implements PersonManager and then use a > dependency on the Interface in your action: > > private PersonMan

Re: [appfuse-user] Missing DefaultValidatorFactory In 2.0-m4

2007-04-19 Thread Matt Raible
Are you using a basic or modular archetype. If basic, can you attach your pom.xml (or paste it into an e-mail)? Matt On 4/19/07, ibc <[EMAIL PROTECTED]> wrote: mraible wrote: > > The JAR you're looking for is named > "spring-modules-validation-0.8.jar". You can use "mvn clean" to clean. >

Re: [appfuse-user] Missing DefaultValidatorFactory In 2.0-m4

2007-04-19 Thread ibc
mraible wrote: > > The JAR you're looking for is named > "spring-modules-validation-0.8.jar". You can use "mvn clean" to clean. > Thanks Matt... But I've added both spring-modules-validation-0.8.jar to the directory `target\work\webapp\WEB-INF\lib`, but that can't be right, because "mvn clea

Re: [appfuse-user] Missing DefaultValidatorFactory In 2.0-m4

2007-04-19 Thread Matt Raible
If you're using 2.0-m4 and you have appfuse-spring as a dependency, this shouldn't be happening. Have you added or removed any dependencies from your pom.xml? It sounds like you might've removed the appfuse-spring dependency with a warpath type. Matt On 4/19/07, ibc <[EMAIL PROTECTED]> wrote:

Re: [appfuse-user] Missing DefaultValidatorFactory In 2.0-m4

2007-04-19 Thread ibc
ibc wrote: > > When I run `mvn jetty:run-war` from the command line, the WAR file is > built without errors, but when jetty tries to load it, it fails and shuts > down with a Spring initialization error: > An update. I dropped two missing JAR files: - spring-modules-validation.jar

Re: [appfuse-user] Missing DefaultValidatorFactory In 2.0-m4

2007-04-19 Thread Matt Raible
The JAR you're looking for is named "spring-modules-validation-0.8.jar". You can use "mvn clean" to clean. Matt On 4/19/07, ibc <[EMAIL PROTECTED]> wrote: When I run `mvn jetty:run-war` from the command line, the WAR file is built without errors, but when jetty tries to load it, it fails and s

[appfuse-user] Missing DefaultValidatorFactory In 2.0-m4

2007-04-19 Thread ibc
When I run `mvn jetty:run-war` from the command line, the WAR file is built without errors, but when jetty tries to load it, it fails and shuts down with a Spring initialization error: Embedded error: Cannot find class [org.springmodules.validation.commons.DefaultValidatorFactory] for bean with n

Re: [appfuse-user] datepicker problems in appfuse 2m4

2007-04-19 Thread Aridany Ramirez
The folders seems to be ok, i have that way too. The problem with headers and footers probably will be related with staticFilter configuration, take a look at your web.xml, you need to change param-value to point /script/dojo/*. Something like this: staticFilter org.appfuse.weba

Re: [appfuse-user] Eclipse Appfuse project errors

2007-04-19 Thread Abel Muiño
As far as I know, m2eclipse does not add war/warpath dependencies to the eclipse build path. I implemented that in Candy For AppFuse (0.2.0, on the update site), so I just hope to not having duplicated someone else's work ;). Eclipse's update site: http://candy4appfuse.sf.net/site mraible wro

Re: [appfuse-user] sucessMessages

2007-04-19 Thread Matt Raible
You would get this error if you're no longer loading prototype.js in your page. Matt On 4/19/07, Will Berger <[EMAIL PROTECTED]> wrote: Would anyone know why I keep getting this javascript error message, It does not prevent the page from loading. $ is not defined [Break on this error] if ($('

Re: [appfuse-user] DataTable and sorting

2007-04-19 Thread Matt Raible
I haven't used subviews - so you may be on your own here. The only thing I can think of is you might need to pass parameters into the tag (or something similar). Matt On 4/19/07, kace <[EMAIL PROTECTED]> wrote: some additional information: when i view the dataTable on its own in a seperate p

Re: [appfuse-user] DataTable and sorting

2007-04-19 Thread kace
some additional information: when i view the dataTable on its own in a seperate page the sort works like it should but when i use it like the following the sort ceases to funciton. -- View this message in context: http://www.nabble.com

Re: [appfuse-user] BaseDaoTestCase substitution

2007-04-19 Thread paulie
It just felt weird having something refered to as 'TestCase' promoted to production. I wanted to make sure that this was the right approach. mraible wrote: > > On 4/18/07, paulie <[EMAIL PROTECTED]> wrote: >> >> I have gone through the Hibernate tutorials and built an app extending >> BaseDaoT

[appfuse-user] sucessMessages

2007-04-19 Thread Will Berger
Would anyone know why I keep getting this javascript error message, It does not prevent the page from loading. $ is not defined [Break on this error] if ($('successMessages')) { Will -- View this message in context: http://www.nabble.com/sucessMessages-tf3608777s2369.html#a10083577 Sent from

Re: [appfuse-user] datepicker problems in appfuse 2m4

2007-04-19 Thread Michael Horwitz
You need to make sure that SiteMesh is not decorating the html snippets returned from Dojo. To do this include the path to the Dojo static in the excludes section of decorators.xml. Mike On 4/19/07, Will Berger <[EMAIL PROTECTED]> wrote: Aridany, Thanks for the info. Certainly got me furthe

Re: [appfuse-user] datepicker problems in appfuse 2m4

2007-04-19 Thread Will Berger
Aridany, Thanks for the info. Certainly got me further along. Something odd is happening though. When I click on the date picker it rerenders the headers and footers in addition to the date screen. Not sure where to go with this. Also, based on your instructions, my directory looks a little

Re: [appfuse-user] DataTable and sorting

2007-04-19 Thread kace
The managed bean is listed below. The bean scope was session when the page would reload and the results would just sit there, but if i keep it in request scope clicking a column results in the table becoming empty. i try saveState - it gives me the following error java.io.NotSerializableE

Re: [appfuse-user] Appfuse 2.0 Right Side Tree Menu (How to???)

2007-04-19 Thread Matt Raible
The right-side menu you see on appfuse.org is not from AppFuse - it's a Confluence plugin. http://confluence.atlassian.com/display/CONFEXT/PageTree+Plugin Struts Menu has a similar tree, but it's not Ajax-enabled (meaning it doesn't fetch new menu items on-the-fly): http://demo.raibledesigns.co

Re: [appfuse-user] Appfuse maven plugin

2007-04-19 Thread Matt Raible
The technical problems are mainly that it's not finished. The one in trunk gets you a generated POJO from a database table, but that's about it. The one in the sandbox will generate most of the files needed, but I still have a lot to do to integrate those files into a project. Matt On 4/18/07,

[appfuse-user] Appfuse 2.0 Right Side Tree Menu (How to???)

2007-04-19 Thread martingales
Amazing Project! Can you point me to what I need to implement your Tree Menu? That is a POWERFUL concept. I wish to use JSP. -- View this message in context: http://www.nabble.com/Appfuse-2.0-Right-Side-Tree-Menu-%28How-to---%29-tf3607585s2369.html#a10079350 Sent from the AppFuse - User mailin

Re: [appfuse-user] possible to get source attachments for appfuse-web-common-2.0-m4 and various others?

2007-04-19 Thread Matt Raible
I re-uploaded a version that I created with WinZip - can you try again and see if the latest one works? http://tinyurl.com/22kcqe Thanks, Matt On 4/16/07, David <[EMAIL PROTECTED]> wrote: Matt, Yes, finally i found it is the zip problem. If i use the 7-zip, it is able to unzip all the file c

Re: [appfuse-user] Authenticating with ldap almost there

2007-04-19 Thread Matt Raible
On 4/19/07, ChenRanHow <[EMAIL PROTECTED]> wrote: Dear Matt I tried the ldap.zip file. It seems the role and user model had some modifications Would you mind to paste them ? ex: role.getMembers missed . These are modified based on the project I was working on - but there's really no

Re: [appfuse-user] Jsp to display of the pdf files

2007-04-19 Thread Matt Raible
I've been able to use a DownloadAction in the past (or at least the code from it) to serve up a file from w/in the web application. Depending on your permissions on the box, you should be able to serve up any file from the filesystem using a JSP or Servlet - it's just a matter of figuring out the

Re: [appfuse-user] DataTable and sorting

2007-04-19 Thread Matt Raible
What does your managed bean look like? Matt On 4/19/07, kace <[EMAIL PROTECTED]> wrote: hey fellas, Ive followed the jsf tutorial and I am displaying a dataTable. The table displays and is initially sorted according to the default sort but when I click on any of the columns the page reloads

Re: [appfuse-user] adding jars to project

2007-04-19 Thread Matt Raible
If you created the jar with Maven, it should be as simple as running "mvn install" in the project. If it's a JAR from a 3rd party that's not in Maven's central repo, you can install it using the maven-install-plugin. The good news is if you have the dependency properly defined, Maven should tell

[appfuse-user] adding jars to project

2007-04-19 Thread Alan Hicks
Hello, Apologies for the rookie question! Can some explain to me how to add a jar that I have created to my appfuse 2.0 project. I have tried adding it to the pom.xml but no joys? Many Thanks, Alan. -- View this message in context: http://www.nabble.com/adding-jars-to-project-tf3607370s2369.ht

Re: [appfuse-user] BaseDaoTestCase substitution

2007-04-19 Thread Matt Raible
On 4/18/07, paulie <[EMAIL PROTECTED]> wrote: I have gone through the Hibernate tutorials and built an app extending BaseDaoTestCase. Everything is working great. I wanted to see if I should deploy my code extending BaseDaoTestCase, build my own DAO base class, or extend another DAO base class

Re: [appfuse-user] NullPointerException when trying to populate in test case

2007-04-19 Thread Matt Raible
If you put your DepartamentoDaoTest.properties file in src/test/resources/org/appfuse/tutorial/dao, it should work. Maven expects your .java files to be in src/test/java and all other files to be in src/test/resources. If you'd like to put them alongside the .java files, you'll need to change you

Re: [appfuse-user] datepicker problems in appfuse 2m4

2007-04-19 Thread J. David Mendoza
Aridany, I think it would be great if you could write a HOWTO in AppFuse's website on how to setup dojo... Aridany Ramirez wrote: You need to copy the files inside "org/apache/struts2/static" folder, from struts2-core-2.0.6.jar to /scripts/dojo. Then make an include with dojo.js in the body of

Re: [appfuse-user] building entire appfuse M2 source with maven

2007-04-19 Thread Matt Raible
Try doing two things: 1. Changing all your DAO references from DAO to Dao - we changed the case a while back. 2. Add spring-mock to your list of dependencies. Matt On 4/19/07, nmall <[EMAIL PROTECTED]> wrote: Here is what I pulled into my project and the errors I get when compiling are below

[appfuse-user] DataTable and sorting

2007-04-19 Thread kace
hey fellas, Ive followed the jsf tutorial and I am displaying a dataTable. The table displays and is initially sorted according to the default sort but when I click on any of the columns the page reloads but no sorting occurs. I try the paging (tablefooter), again the page reloads but no movem

Re: [appfuse-user] building entire appfuse M2 source with maven

2007-04-19 Thread nmall
Here is what I pulled into my project and the errors I get when compiling are below that. Thanks for your help! Under src/main/java/org/appfuse here are the directories: service model dao ./service: impl UserExistsException.java LookupManager.java acl

Re: [appfuse-user] Jsp to display of the pdf files

2007-04-19 Thread soussou97
mraible wrote: > > Which web framework are you using? Struts 1.x has a DownloadAction > you may be able to use: > > http://www.google.com/search?q=DownloadAction > > Matt > > On 4/18/07, soussou97 <[EMAIL PROTECTED]> wrote: >> > > Hi Matt; > > I not use any Framework but a simple JSP and

Re: [appfuse-user] datepicker problems in appfuse 2m4

2007-04-19 Thread Aridany Ramirez
You need to copy the files inside "org/apache/struts2/static" folder, from struts2-core-2.0.6.jar to /scripts/dojo. Then make an include with dojo.jsin the body of the jsp where you want to use dojo widgets. This way Prototype and Scriptaculous won´t be a problem with default configuration in appf