Re: [appfuse-user] DWR not executing in form

2007-02-15 Thread 23455432
Thanks... I was having path issues in loading the scripts. It is working now. any suggestions on autocomplete? ~rk Matt Raible-3 wrote: > > You should try using Firebug to see if you have any JavaScript issues: > > http://getfirebug.com > > Matt > > On 2/15/07, 23455432 <[EMAIL PROTECTED]

Re: [appfuse-user] DWR not executing in form

2007-02-15 Thread Matt Raible
You should try using Firebug to see if you have any JavaScript issues: http://getfirebug.com Matt On 2/15/07, 23455432 <[EMAIL PROTECTED]> wrote: I have created a userDWRManager and the http://localhost:8080/app/dwr lists the manager. I can click on it and test the functions, and the function

[appfuse-user] DWR not executing in form

2007-02-15 Thread 23455432
I have created a userDWRManager and the http://localhost:8080/app/dwr lists the manager. I can click on it and test the functions, and the function that I am using "getPersons" gives me the correct data as well. I copied the two script lines that the help page (when I click on userDWRManager) li

[appfuse-user] Re: AppFuse Jasper Reports

2007-02-15 Thread Matt Raible
There isn't a Tapestry and JasperReports tutorial that I know of. You might try asking on the Tapestry user mailing list. I've cc'd the AppFuse user list to see if anyone there has heard of anything. Matt On 2/15/07, Srinivasa Gaddamdugu <[EMAIL PROTECTED]> wrote: Hi Matt, I am n

Re: [appfuse-user] Capturing and displaying picture as part of registration process

2007-02-15 Thread APliszka-Public
Another problem that might be manifesting itself here is that EL might not be enabled. Make sure that EL is enabled in your JSP pages. Andrew Pliszka Dale Newfield wrote: Michael Horwitz wrote: The ${} stuff is only ever recognised by JSP tags. So you need: "> This is not necessarily t

Re: [appfuse-user] Capturing and displaying picture as part of registration process

2007-02-15 Thread Dale Newfield
Michael Horwitz wrote: The ${} stuff is only ever recognised by JSP tags. So you need: "> This is not necessarily true. It depends upon which version of the jsp spec your engine is set to use. -Dale - To unsubscribe, e-m

Re: [appfuse-user] Kindly help

2007-02-15 Thread VJ22
Hello Michael, As I said I do not have much expertise in Maven...so I did not want to follow that routeSo I just ran the wars goal on Maven to explode the war files... created 3 tables ('app-user','role','user_role') on Oracle populated the data, modified jdbc.properties and ran the applicati

Re: [appfuse-user] apfuse2+hibernate - GenericDaoHibernate getAll returns duplicate entities (users)

2007-02-15 Thread Bryan Noll
Nevermind. According to this... http://www.hibernate.org/hib_docs/v3/reference/en/html_single/ Section 10.4.1 says: *"Note that queries that make use of eager fetching of collections usually return duplicates of the root objects (but with their collections initialized). You can filter these d

Re: [appfuse-user] apfuse2+hibernate - GenericDaoHibernate getAll returns duplicate entities (users)

2007-02-15 Thread Bryan Noll
OK. Would one of you other appfuse committer folks like to verify this for me? I want to make sure I'm not crazy before I approach somebody in the Hibernate camp about this. It seems like such an obvious bug, I want to be sure I'm not screwing something up. The only thing you have to do to

Re: [appfuse-user] apfuse2+hibernate - GenericDaoHibernate getAll returns duplicate entities (users)

2007-02-15 Thread Bryan Noll
This seems buggy to me. I believe I remember having this exact same issue with an older version of hibernate (3.x beta). The one I remember manifested itself when I used 'JOIN FETCH' syntax to eagerly fetch stuff, which is basically the same thing as mapping it as EAGER as far as the sql that

Re: [appfuse-user] Kindly help

2007-02-15 Thread Michael Horwitz
Hi Vijay, The integration tests make sure the database tables are properly created and that the users are in the correct tables. Have you tried going the maven route using the command line? and have you been able to make it all work i.e. run mvn jetty:run-war and get a working application? Mike.

[appfuse-user] Kindly help

2007-02-15 Thread VJ22
Hello All, I am building an application using the Appfuse skeleton framework. I have downloaded the war files seperately rather than run the maven integration testsI have also created the database tables and loading of the data seperatelyWhen I try to login into the application, it gives

Re: [appfuse-user] getCurentUser - BaseAction.java

2007-02-15 Thread ros
http://issues.appfuse.org/browse/APF-650 -- View this message in context: http://www.nabble.com/getCurentUser---BaseAction.java-tf3233412s2369.html#a8984816 Sent from the AppFuse - User mailing list archive at Nabble.com. - To

Re: [appfuse-user] Appfuse 2 tutorial for DaoTest

2007-02-15 Thread Tuncay A.
Using jsf-modular and having applicationContext.xml inside core/src/main/resources/ - it doesn't work. BasePageTestCase doesn't know about the applicationContext.xml. I made modification to PersonListTest to include applicationContext.xml from classpath like other *.xml files the BasePageTestCas

Re: [appfuse-user] txProxyTemplate bean not found

2007-02-15 Thread Matt Raible
It sounds like that tutorial is out of date. 1.9.4 uses Spring 2.0, which allows us to use AspectJ pointcut expressions. This means that your bean shouldn't need to refer to a txProxyTemplate as its parent. As long as its in a "service" package and ends with Manager, it should be transactional.

Re: [appfuse-user] getCurentUser - BaseAction.java

2007-02-15 Thread Matt Raible
You should also be able to grab the user from a thread local like UserCounterListener does. SecurityContext securityContext = SecurityContextHolder.getContext(); User user = (User) securityContext.getAuthentication().getPrincipal(); The javadoc comment looks invalid - unless we add a getCurrentU

Re: [appfuse-user] apfuse2+hibernate - GenericDaoHibernate getAll returns duplicate entities (users)

2007-02-15 Thread Matt Raible
You should be able to debug your test directly from the IDE. If you're relying on pre-existing data, you may have to run "mvn dbunit:operation" first. Matt On 2/15/07, ros <[EMAIL PROTECTED]> wrote: That's rigth Bryan, i've got the same effect - sql generated in hibernate returns duplicate ro

Re: [appfuse-user] Appfuse 2 tutorial for DaoTest

2007-02-15 Thread Matt Raible
Do you have a personManager bean definition in src/main/webapp/WEB-INF/applicationContext.xml? If you're using a modular archetype, this should be in core/src/main/resources/applicationContext.xml. Matt On 2/15/07, Tuncay A. <[EMAIL PROTECTED]> wrote: Hi, Using M4-snapshot and fixing problem

[appfuse-user] getCurentUser - BaseAction.java

2007-02-15 Thread ros
Appfuse2+struts in BaseAction.java comments is "...For example, getting the current user and...", what method returns current user? -- View this message in context: http://www.nabble.com/getCurentUser---BaseAction.java-tf3233412s2369.html#a8984328 Sent from the AppFuse - User mailing list arch

Re: [appfuse-user] Appfuse2.0M3 locale 'zh' unsupported

2007-02-15 Thread Matt Raible
What happens if you create a new project from an archetype instead of trying to build AppFuse? Matt On 2/15/07, wnqq <[EMAIL PROTECTED]> wrote: I encountered exactly the same error. My environment: * appfuse 2.0M3 * locale = zh_TW My temporary workaround is deleting all *_zh*.properties files

Re: [appfuse-user] Appfuse 2 tutorial for DaoTest

2007-02-15 Thread Tuncay A.
Hi, Using M4-snapshot and fixing problems with dao and manager. Now, I get following error running PersonListTest for generic dao and manager. org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'personManager' is defined at org.springframework.beans.factory.su

Re: [appfuse-user] Appfuse2.0M3 locale 'zh' unsupported

2007-02-15 Thread wnqq
I encountered exactly the same error. My environment: * appfuse 2.0M3 * locale = zh_TW My temporary workaround is deleting all *_zh*.properties files. Namely, use the English locale. Figo Yan wrote: > > > Signup: > [INFO] > -

Re: [appfuse-user] apfuse2+hibernate - GenericDaoHibernate getAll returns duplicate entities (users)

2007-02-15 Thread ros
That's rigth Bryan, i've got the same effect - sql generated in hibernate returns duplicate rows with identical ids. Do you know how to run in debug mode appfuse 2 from intellij? Bryan Noll wrote: > > OK... so I accidentally stopped short of actually addressing your > issue. So, I added anot