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

2007-02-22 Thread Doubleday, Dennis
Right-click, Select Source-->Generate hashCode() and equals(). Pretty easy :-) It should be pretty apparent how to fix it, just take out the offending reference. It lets you pick which fields you want to consider in the equality comparison. If using Hibernate, you should use fields that form a

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

2007-02-22 Thread Dean Jackson
How do you get Eclipse 3.2+ to generate them? Also, what's the easy correction for equals()? Dennis Doubleday wrote: > > Eclipse 3.2 generates them without a plugin. It also assumes the > superclass has a non-abstract equals, but it is easy to correct. > -- View this message in context: ht

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

2007-02-22 Thread Doubleday, Dennis
Eclipse 3.2 generates them without a plugin. It also assumes the superclass has a non-abstract equals, but it is easy to correct. -Original Message- From: Jason Brice [mailto:[EMAIL PROTECTED] Sent: Thursday, February 22, 2007 10:49 PM To: users@appfuse.dev

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

2007-02-22 Thread Jason Brice
Anyone know if there's a better choice that Commonclipse? I like Commons4E (h/t Gary White). Jason On 2/22/07, Dean Jackson <[EMAIL PROTECTED]> wrote: Also along the same lines, the tutorial recommends Commonclipse (Eclipse plugin to create functions for equals, hashCode, toString). Howev

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

2007-02-22 Thread Dean Jackson
Also along the same lines, the tutorial recommends Commonclipse (Eclipse plugin to create functions for equals, hashCode, toString). However, Commonclipse generates code for equals and hashCode that tries to instantiate the super class BaseObject, which is abstract. Anyone know if there's a bett

Re: [appfuse-user] Javascript gives error in all appfuse-demos projects in the google-code trunk

2007-02-22 Thread Matt Raible
It's probably best to enter a bug in JIRA and try to give a detailed description of your environment (OS, browser, Java version, locale, etc). That way it may be easier to reproduce on our end. http://issues.appfuse.org/secure/CreateIssue!default.jspa Matt On 2/22/07, Struts2 Fan <[EMAIL PROTE

Re: [appfuse-user] Junit testing in Appfuse 1.9.3

2007-02-22 Thread Jason Brice
Lately I've been using TestNG to run tests instead of the Ant ones that came "out of the box" (on a appfuse-1.9 for Struts app). What I like about TestNG's Eclipse plugin: you can select class-level / suite-level / group-level tests to run, you get nice GUI results, and can view the individual st

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

2007-02-22 Thread Dean Jackson
I'm trying to run the Controller tests from the tutorial. I used 'Food' instead of 'Person', in all cases. When the tests run, I'm getting: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'foodFormController' defined in ServletContext resource [/WEB-INF/di

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

2007-02-22 Thread masterg007
Matt: Does Hibernate still require that these three methods below are still added to your domain classes: public boolean equals(Object o) public int hashCode() public String toString() The reason I am asking is that I noticed that they were not used in your KickStart sample app code. -

Re: [appfuse-user] Javascript gives error in all appfuse-demos projects in the google-code trunk

2007-02-22 Thread Struts2 Fan
Yes it was me :) I just wanted to remind the mistake. I was testing it on two machines and they both fail. Next week I will install linux I hope it works. Maybe I should let you use my computer by a third party program to see the mistake because I really don't know where to look. -- View this me

[appfuse-user] quick Spring question

2007-02-22 Thread Bryan Noll
Appfuse folks... I know what this guy does, and I like it... AbstractDependencyInjectionSpringContextTests Is there a similar class meant for extension, but instead of the intention being that tests extend it, the intention is that classes implementing a main(String[] args) method extend it

Re: [appfuse-user] AppFuse+QuickStart page - suggested updates for version 2.0

2007-02-22 Thread Matt Raible
Excellent suggestions Jon - I'll try to make these changes this weekend. Matt On 2/22/07, Jon Loken <[EMAIL PROTECTED]> wrote: Hi, Just some suggestions in facilitating the first wobbly steps of a prospective user of AppFuse v2. I suggest amending page http://appfuse.org/display/APF/AppFuse+Q

Re: [appfuse-user] Javascript gives error in all appfuse-demos projects in the google-code trunk

2007-02-22 Thread Matt Raible
Another user reported a similar issue - with the same error. Was it you? These tests work fine for me on OS X and Windows XP - I wonder why it fails for some, but not for others? Matt On 2/22/07, Struts2 Fan <[EMAIL PROTECTED]> wrote: it gives the error when calling mvn integration-test My

[appfuse-user] AppFuse+QuickStart page - suggested updates for version 2.0

2007-02-22 Thread Jon Loken
Hi, Just some suggestions in facilitating the first wobbly steps of a prospective user of AppFuse v2. I suggest amending page http://appfuse.org/display/APF/AppFuse+QuickStart for AppFuse 2 such that section 'Run your application' includes: 0. cd to application directory or the equivalent, o

[appfuse-user] Including static content in an appfuse project

2007-02-22 Thread Brett Knights
Hello, I have a bunch of files I want to serve from a sub-directory in an appfuse project. I want them secured by acegi and wrapped by the project's sitemesh wrapper. I am using Spring MVC. The files will generally not be .jsp's I assume I'll have to map the directory to a controller and view

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

2007-02-22 Thread Fan
I was looking at the userForm.jsp with the following code of showing drop down list: * but I dont understand how does it work, where does the option list come from ? Please elaborate -- View this message in context: http://www.nabble.com/How-to-create-a-drop-dow

Re: [appfuse-user] SEAM presentation

2007-02-22 Thread Patria H.Lukman
Matt Raible wrote: On 2/22/07, Patria H.Lukman <[EMAIL PROTECTED]> wrote: Good morning Appfuse community just wanted to let you know that I attended an interesting conference given by David Geary about Seam/Facelets/Hibernate 3.0/EJB 3.0 and it is impressive the things you can accomplish with

Re: [appfuse-user] Calendar component and Date field for Appfuse 2.0

2007-02-22 Thread Fan
I found datetimepicker under the struts2.components library. I am using the following line but the field does not show on the browser screen. here is the html source from the browser : Date Open dojo.require("dojo.widget.DatePicker"); Anyone has

Re: [appfuse-user] SEAM presentation

2007-02-22 Thread Matt Raible
On 2/22/07, Patria H.Lukman <[EMAIL PROTECTED]> wrote: Good morning Appfuse community just wanted to let you know that I attended an interesting conference given by David Geary about Seam/Facelets/Hibernate 3.0/EJB 3.0 and it is impressive the things you can accomplish with such a stack. In any

Re: [appfuse-user] Calendar component and Date field for Appfuse 2.0

2007-02-22 Thread Fan
I am using the following datePicker: But , I encounter the following error: HTTP ERROR: 500 /WEB-INF/pages/storeForm.jsp(13,4) PWC6142: No tag "datepicker" defined in tag library imported with prefix "s" RequestURI=/WEB-INF/pages/storeForm.jsp Powered by Jetty:// How do I import the libra

[appfuse-user] SEAM presentation

2007-02-22 Thread Patria H.Lukman
Good morning Appfuse community just wanted to let you know that I attended an interesting conference given by David Geary about Seam/Facelets/Hibernate 3.0/EJB 3.0 and it is impressive the things you can accomplish with such a stack. In any case, since there are already so many Spring based app

Re: [appfuse-user] how to create custom jsp tag in appfuse 2

2007-02-22 Thread Michael Horwitz
By default AppFuse 2.0 does not use XDoclet. If you want to enable XDoclet in the maven build you will need to add the XDoclet plugin to your build process and configure it accordingly: http://mojo.codehaus.org/xdoclet-maven-plugin/ Mike On 2/22/07, ros <[EMAIL PROTECTED]> wrote: Hi! I've cr

Re: [appfuse-user] how to create custom jsp tag in appfuse 2

2007-02-22 Thread Matt Raible
AppFuse no longer generates this file - you should be able to directly add your tag to src/main/webapp/WEB-INF/appfuse.tld. Matt On 2/22/07, ros <[EMAIL PROTECTED]> wrote: Hi! I've created class for tag .. * @jsp.tag name="test" bodycontent="empty" */ public class TestTag extends TagSuppor

[appfuse-user] how to create custom jsp tag in appfuse 2

2007-02-22 Thread ros
Hi! I've created class for tag .. * @jsp.tag name="test" bodycontent="empty" */ public class TestTag extends TagSupport { ... and placed in jsp but result html made without executing TestTag.doStartTag(): What else should be done to create custom tag in appfuse 2 ? I assume tld fi

Re: [appfuse-user] Extending AppFuse User

2007-02-22 Thread Matt Raible
On 2/22/07, viggo <[EMAIL PROTECTED]> wrote: I haven't had time to do any more work on this for a while, but I guess you have to create a new Manager, PersonManager which extends UserManager to do CRUD operations on the new Person class. Do you agree Matt? Yes, either that or simply modify the

Re: [appfuse-user] Extending AppFuse User

2007-02-22 Thread viggo
I haven't had time to do any more work on this for a while, but I guess you have to create a new Manager, PersonManager which extends UserManager to do CRUD operations on the new Person class. Do you agree Matt? sionsmith wrote: > > Firstly matt i'm using version 2 release M3! Yes i changed the

RE: [appfuse-user] displaytag with horizontal scrollbar

2007-02-22 Thread Travers Snyman
Thanks for the pointer , I had to put the following in displaytag.css div.TableContainer { height: 350px; width:650px; overflow-x:auto; overflow-y:auto; overflow:scroll; } And then in JSP Travers -Original Messa

[appfuse-user] Junit testing in Appfuse 1.9.3

2007-02-22 Thread Jolly
Dear Friends My application working in Appfuse 1.9.3 but now i want to run junit testing. In my application, I used many view tables while running appgen have to add that view tables? Then, when i run ant test-reports database(MySql) becomes corrupt for few tables. I used blob dat

Re: [appfuse-user] Extending AppFuse User

2007-02-22 Thread sionsmith
Firstly matt i'm using version 2 release M3! Yes i changed the mappings in the hibernate.cfg.xml but that is my point, the tableis not being created as there is no way of adding a dependency to my inukUser class. I'm going to try viggo's solution and i'll let you know how i get on. One thing that

[appfuse-user] Javascript gives error in all appfuse-demos projects in the google-code trunk

2007-02-22 Thread Struts2 Fan
it gives the error when calling mvn integration-test My language is tr Signup: [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error executing ant tasks Emb