[appfuse-user] DisplayTag external paging and sorting example

2008-05-16 Thread Chris Barham
Hi, I've put together a new Appfuse project which demonstrates how to enhance the List screens. DisplayTag as provided has issues with large datasets, (it retrieves all the records every time), and sorting via column headings does not work for the entire dataset, only those on screen at

Re: [appfuse-user] hibernate (entity) interceptors in appfuse

2008-05-16 Thread Richard Mixon
Not sure if this will help - as I'm using Struts2/Hibernate, appfuse 2.0.1 with full-source, but in my /src/main/resources/ApplicationContext-dao.xml, I have the following to handle an AuditInfo interceptor:

[appfuse-user] hibernate (entity) interceptors in appfuse

2008-05-16 Thread Markus Döring
Hi, I would like to register a Hibernate audit interceptor which is tracking updates/inserts of persistent entities with the hibernate session in AppFuse. The sessionFactory bean definition is probably hidden in the appfuse jars, so I wonder if someone can give me any advice on how to do t

Re: [appfuse-user] Need help for Many to Many association

2008-05-16 Thread John Kwon
On Mon, May 12, 2008 at 6:23 AM, Greenhorn2005 <[EMAIL PROTECTED]> wrote: > > Hello to all appfuse users, > > I have a doubt. > > I have a created two entities called User and Role. A user can have many > roles and a role can have many users. > > > User.java > >code: > > >@Entity >@Tab

Re: [appfuse-user] running tests under IDEA

2008-05-16 Thread kace
thanks Matt, right after posting I remembered having this problem before so I did a quick check and you suggested running mvn clean test and that did the trick. Regards, ..kace -- View this message in context: http://www.nabble.com/running-tests-under-IDEA-tp17272760s2369p17279040.html Sent

Re: [appfuse-user] running tests under IDEA

2008-05-16 Thread Matt Raible
You need to run "mvn resources:testResources" in the module that's giving the error and then exclude src/main/resources from your classpath as this has the file with the placeholders. Matt On Fri, May 16, 2008 at 10:26 AM, kace <[EMAIL PROTECTED]> wrote: > > added > > >org.springfram

Re: [appfuse-user] running tests under IDEA

2008-05-16 Thread kace
added org.springframework spring-aop ${spring.version} in the pom for the data module and the problem has gone but now I am getting the error pasted below. In the module project settings I have included src/test/java and src/test/resources as pa

Re: [appfuse-user] running tests under IDEA

2008-05-16 Thread kace
After further digging I see that there is no other version of Spring in the service module however, in the data-common module which the service module depends on, I see a spring-aop:2.0.8 jar file. The pom for this module has the following dependencies: commons-beanutils

Re: [appfuse-user] AppFuse 2.0.2; Jetty 6.1.9 still accesses org/acegisecurity

2008-05-16 Thread Martin Homik
I managed to merge my project with a fresh Basic/Struts2/AppFuse-2.0.2 checkout. Jetty is up and running. No login problems. I have a few issues with save tests at service layer, but I hope to solve them myself. Martin Martin Homik wrote: > > I still cannot login with "user" nor with "admin

Re: [appfuse-user] AppFuse 2.0.2; Jetty 6.1.9 still accesses org/acegisecurity

2008-05-16 Thread Martin Homik
Hi Matt, 1. security.xml matches with the one in SVN; Note, your comment about changing the password encoder suggests to load a bean, but the correct notation should be ' > If you can't login, it's likely related to security.xml or > sample-data.xml. Did you change sample-data.xml at all

[appfuse-user] Extensionless URLs in AppFuse

2008-05-16 Thread Matt Raible
I believe I might have a good solution to making AppFuse work better with static resources. By static resources, I mean HTML files/templates used by tools like Dojo and FCKEditor. Basically, we tend to have issues with these tools because we use a .html extension for Controllers/Actions. If we move

Re: [appfuse-user] Adding dojo to appfuse-jsf

2008-05-16 Thread Matt Raible
Dojo is not installed by default for JSF. Therefore, it should be as easy as adding it to any web applications. You might have to adjust the StaticFilter in web.xml, but that's about it. Matt On Thu, May 15, 2008 at 10:07 PM, sudheerp <[EMAIL PROTECTED]> wrote: > > Hello Friends, > > What s

Re: [appfuse-user] running tests under IDEA

2008-05-16 Thread Matt Raible
NoSuchMethodError generally happens when you have conflicting versions of some library in your classpath. If you don't see another version of Spring, I don't know what the problem could be. If you're using AppFuse straight-up from SVN and this happens, it's probably because you need to run "mvn res

Re: [appfuse-user] running tests under IDEA

2008-05-16 Thread kace
Thanks Matt, there is only version 2.5.4 of spring under libraries. ..kace -- View this message in context: http://www.nabble.com/running-tests-under-IDEA-tp17272760s2369p17272882.html Sent from the AppFuse - User mailing list archive at Nabble.com. -

Re: [appfuse-user] running tests under IDEA

2008-05-16 Thread Matt Raible
If you expand "Libraries" in your Project pane, are there different versions of Spring listed? Thanks, Matt On Fri, May 16, 2008 at 5:39 AM, kace <[EMAIL PROTECTED]> wrote: > > Hi, > > I checked out the code for appfuse and used it to structure my appfuse > projects in the same way instead of wo

Re: [appfuse-user] AppFuse 2.0.2; Jetty 6.1.9 still accesses org/acegisecurity

2008-05-16 Thread Matt Raible
If you can't login, it's likely related to security.xml or sample-data.xml. Did you change sample-data.xml at all for 2.0.2? What are your usernames and passwords in that file? If you can post them, I can compare and tell you what the plain-text passwords are. If your security.xml matches the one i

[appfuse-user] running tests under IDEA

2008-05-16 Thread kace
Hi, I checked out the code for appfuse and used it to structure my appfuse projects in the same way instead of working off the modular projects I used to before. I use IDEA 7 and if I click test, using the native maven support, all the tests pass for all the modules and I get a build successful

Re: [appfuse-user] plugin 'org.apache.maven.plugins:maven-jetty-plugin does not exist or no valid version could be found

2008-05-16 Thread Alex Wei
Thanks, Cayetano. It works like a charm. On Thu, May 15, 2008 at 10:50 PM, Cayetano <[EMAIL PROTECTED]> wrote: > > I'm trying to start a project using AppFuse. > > I got this error when running 'mvn jetty:run-war': > > org.apache.maven.lifecycle.LifecycleExecutionException: The plugin > > 'org.ap

Re: [appfuse-user] AppFuse 2.0.2; Jetty 6.1.9 still accesses org/acegisecurity

2008-05-16 Thread Martin Homik
I still cannot login with "user" nor with "admin". However, both are in the database. When I try to create a new "user", I get the message that the user is in the database. When I request for sending the user's password, I get the message that the user is not in the database. I fear, there are so