[appfuse-user] Junit testing

2007-02-23 Thread Jolly
Dear Friends How to work JUnit testing in appfuse 1.9.3? I want the exact procedure. Please help me ASAP. Regards, Jolly. -- View this message in context: http://www.nabble.com/Junit-testing-tf3282812s2369.html#a9131446 Sent from the AppFuse - User mailing list archive at Nabble

[appfuse-user] Unit Test SpringMVC Controller

2007-02-23 Thread porvak
I'm using AppFuse 2.0 M3 with SpringMVC and was trying to write a unit test for my controller. When I run my test I get the following error: java.lang.IllegalStateException: ApplicationObjectSupport instance [EMAIL PROTECTED] does not run in an ApplicationContext at org.springframework.c

Re: [appfuse-user] JfreeChart - Struts2 - Appfuse detailed problem report

2007-02-23 Thread VJ22
Thanks Matt/David, I presume that by a servlet class you mean you flush the PNG file onto the output stream which is then rendered by the JSPWe are aware of that solution What we intend to use is the pull-MVC mechanism of Struts2...which helps us use the getChart() method to render the c

Re: [appfuse-user] using delicious-java api

2007-02-23 Thread Dorothy Turner
I finally discovered my mistake. In DeliciousManagerImpl I was trying to use BookmarkManager to communicate w/ BookmarkDAO. This was working when I tested it...however, it did not work when I called it from a quartz job. This lead me to believe that there was an issue w/ quartz and hibernate...

Re: [appfuse-user] AppFuse 2.0 + JavaZone 2007 = ?

2007-02-23 Thread viggo
http://www.eu.apachecon.com/program/talk/75 ...sounds like a separate talk on JavaZone 2007, and let AppFuse get full attention in another session at JavaZone! ;) Matt Raible-3 wrote: > > I like it - what's a good title? > > On 2/10/07, viggo <[EMAIL PROTECTED]> wrote: >> >> >> An agenda cou

Re: [appfuse-user] How to create a drop down list in Appfuse 2.0

2007-02-23 Thread ros
put in jsp and request or session put a list with key "myList" Fan wrote: > > I was looking at the userForm.jsp with the following code of showing drop > down list: > > > >default="${country}"/> >key="user.address.country"/> >* > > > > but I dont understan

[appfuse-user] How to read request parameter in windows-1257 encoding in appfuse 2+struts2?

2007-02-23 Thread ros
Hi! I have one form post in windows-1257 and I can not read locale specific characters in request parameters. http://localhost:8080/myStruts2Action.html"; method="post"> the request field AAA should be L-Ļ. but it is L-? In AppFuse 1.9.3 I was able to read parameter at least wi

Re: [appfuse-user] JfreeChart - Struts2 - Appfuse detailed problem report

2007-02-23 Thread J. David Mendoza
Hello Vijay... I'm using appfuse 1.9.4, spring and jfreechart, and what I did is, I made a servlet that uses jfreechart's tools to generate the chart as a PNG image and just present it within the JSP... This should work with any web framework... David M. VJ22 wrote: Hello All, The proble

Re: [appfuse-user] DB2 Driver Class cannot be loaded error in AppFuse

2007-02-23 Thread Matt Raible
Does the DB2 Tutorial on the wiki have this information or does it need to be changed? http://raibledesigns.com/wiki/Wiki.jsp?page=AppFuseOnDB2 On a related note, if anyone out there finds a DB2 Driver that's a single JAR, I'd love to hear about it. The current 2.x infrastructure expects a singl

Re: [appfuse-user] JfreeChart - Struts2 - Appfuse detailed problem report

2007-02-23 Thread Matt Raible
You might try asking this question on the Struts User mailing list. I haven't worked with Struts 2 and JFreeChart. After a little googling, it looks like Matt Stine has done integration with JSF using AppFuse 1.x. http://www.jroller.com/page/mstine/Weblog?catname=%2FJava You might also try sea

[appfuse-user] JfreeChart - Struts2 - Appfuse detailed problem report

2007-02-23 Thread VJ22
Hello All, The problem that I face while integrating AppFuse with JFreeChart So I have a link which points to viewChart.html configured from the menu..When I click on this link I got an action class which populates the chart (Unit-tests prove that the png file is generated fine)...re-directs i

Re: [appfuse-user] Extending AppFuse User

2007-02-23 Thread nycsailor
Thanks, that worked. I'm not a subversion expert. I was able to checkout code without any authentication, but I guess you could try with guest, and blank password? I tried the command svn export --force https://appfuse.dev.java.net/svn/appfuse/tags/APPFUSE_2.0_M3/data/common/src and I get a

Re: [appfuse-user] Extending AppFuse User

2007-02-23 Thread Michael Horwitz
Sorry - typing too fast! ;-) The command should read: svn export --force https://appfuse.dev.java.net/svn/appfuse/tags/APPFUSE_2.0_M3/data/common/src --username guest Mike On 2/23/07, Michael Horwitz <[EMAIL PROTECTED]> wrote: Use guest as the password: svn export --force https://appfuse.d

Re: [appfuse-user] Extending AppFuse User

2007-02-23 Thread Michael Horwitz
Use guest as the password: svn export --force https://appfuse.dev.java.net/svn/appfuse/tags/APPFUSE_2.0_M3/data/common/src --guest Mike On 2/23/07, viggo <[EMAIL PROTECTED]> wrote: I was able to checkout code without any authentication, but I guess you could try with guest, and blank passwo

Re: [appfuse-user] Extending AppFuse User

2007-02-23 Thread viggo
I was able to checkout code without any authentication, but I guess you could try with guest, and blank password? nycsailor wrote: > > I tried the command > svn export --force > https://appfuse.dev.java.net/svn/appfuse/tags/APPFUSE_2.0_M3/data/common/src > > and I get a challenge. How do I a

Re: [appfuse-user] Extending AppFuse User

2007-02-23 Thread nycsailor
I tried the command svn export --force https://appfuse.dev.java.net/svn/appfuse/tags/APPFUSE_2.0_M3/data/common/src and I get a challenge. How do I authenticate? mraible wrote: > > On 2/22/07, viggo <[EMAIL PROTECTED]> wrote: >> >> I haven't had time to do any more work on this for a while,

[appfuse-user] Appfuse - Jfreechart - Struts 2 Integration

2007-02-23 Thread VJ22
Hello, We are progressing quite ahead with our application based on Appfuse..though we keep on hitting roadblocks quite often... We plan to use the Jfreechart plugin available within Struts 2 for our chartsWe are able to generate the chart evident from our unit test cases However, we ar

Re: [appfuse-user] DB2 Driver Class cannot be loaded error in AppFuse

2007-02-23 Thread nanuganga
matt thanks for your solution... matt even i was facing similar issue. while integrating appfuse with DB2 V9.0... I made this changes to make it work for me. in lib.properties file added this property.. copy db2jcc.jar and db2.license.jar in to /lid/db2.{version}/ setp 1: # # DB2 - http

AW: [appfuse-user] RE: Does Hibernate still require equals() and hashCode()?

2007-02-23 Thread Peter Schneider-Manzell
One thing to mention: Be carefull with the generated equals() / hashCode() or toString() methods. If you have bidirectional mappings (e.g. user->roles and role->users) you can run into a stackoverflow caused by infinit calls of e.g. the hashCode() methods. (user.hashCode() calls role.hashCode()

AW: [appfuse-user] value of type [$Proxy24]?

2007-02-23 Thread Peter Schneider-Manzell
Hi Dean! Normally this exception occurs if you don't wrap your manager with an appropriate interface. The $Proxy object is the Proxy generated by Spring and wrapped around your manager to execute AOP related stuff like transaction management etc. It's normally hidden behind the interface... Bye