[appfuse-user] Appfuse 2.0 secondaryTable usage

2010-01-21 Thread sudhakargupta_somu
Hi Matt, In Appfuse 2.0 struts i'm working with @SecondaryTable. it creates a table perfectly as per my requirement. but i'm unable to show the list it gives DataAccess Failure screen and in server the log shows the Warning WARN [btpool0-1] LoadContexts.cleanup(108) | fail-safe cleanup (collec

Re: [appfuse-user] appfuse 2.0 QUICK START Running issues

2009-11-13 Thread Matt Raible
There's not enough information in this stack trace to diagnose the problem. Can you copy/paste the whole stack trace, starting with when you run "mvn jetty:run-war"? Thanks, Matt On Fri, Nov 13, 2009 at 6:12 AM, lqhart wrote: > > Hi matt, > > Received with thanks , I tried with 2.0.2 version,

Re: [appfuse-user] appfuse 2.0 QUICK START Running issues

2009-11-13 Thread lqhart
Hi matt, Received with thanks , I tried with 2.0.2 version, I encountered same issues again. Thanks, Art. -- Using AppFuse version 2.0.2 (instead of 2.0.1) should solve this problem for you. Matt -- View this message in context: http://n4.nabble.com/a

Re: [appfuse-user] appfuse 2.0 QUICK START Running issues

2009-11-12 Thread Matt Raible
Using AppFuse version 2.0.2 (instead of 2.0.1) should solve this problem for you. Matt On Thu, Nov 12, 2009 at 7:27 AM, lqhart wrote: > > Hi, > > Received with thanks,I tried with JDK1.5 again,it is dispalay the same > message. > I still not find where the rub is. I want to find > ContextLoader

Re: [appfuse-user] appfuse 2.0 QUICK START Running issues

2009-11-12 Thread lqhart
Hi, Received with thanks,I tried with JDK1.5 again,it is dispalay the same message. I still not find where the rub is. I want to find ContextLoaderListener.java in source code, it doesnt find on the file,Do you have good advice for solving this problem? Thanks, Art. --

Re: [appfuse-user] appfuse 2.0 QUICK START Running issues

2009-11-11 Thread Sudhir N
Try with JDK 1.5, I too encountered some issues with 1.6 Personally I'm always ready to learn, although I do not always like being taught From: lqhart To: users@appfuse.dev.java.net Sent: Thu, 12 November, 2009 11:52:01 AM Subject: [appfuse

[appfuse-user] appfuse 2.0 QUICK START Running issues

2009-11-11 Thread lqhart
These are my current configuration. jdk 1.6.0_04 ,tomcat 6.0, mysql5.0 For appfuse 2.0 , I have downed apache-maven-2.0.9-bin.zip and appfuse-dependencies-2.0.1.zip unzip in d:\ rogram file ,Then setting maven environment variable,run mvn -v ,it is succesful. Then run mvn archetype:create

Re: [appfuse-user] AppFuse 2.0 code complete

2009-10-11 Thread almari
Yes, thanks. The issue was due the path of my mvn repository. It had spaces, once I removed them all started to work. Thanks for your support :-) mraible wrote: > > Sorry for the delay - did you ever get this solved? > > On Thu, Sep 24, 2009 at 2:52 PM, almari wrote: >> >> >> Hi, >> >> My na

Re: [appfuse-user] AppFuse 2.0 code complete

2009-10-10 Thread Matt Raible
Sorry for the delay - did you ever get this solved? On Thu, Sep 24, 2009 at 2:52 PM, almari wrote: > > > Hi, > > My name is Alma. I'm having the similar issue. I have followed all the steps > in the tutorial. > I thought once I had executed the mvn:jetty:run-war the tables would be > created but

Re: [appfuse-user] AppFuse 2.0 code complete

2009-09-24 Thread almari
Hi, My name is Alma. I'm having the similar issue. I have followed all the steps in the tutorial. I thought once I had executed the mvn:jetty:run-war the tables would be created but they didn't and I still go on getting the messages below: It says it is not finding the org.appfuse.model.User cl

Re: [appfuse-user] AppFuse 2.0 + Struts - Menu in session scope rather than Application?

2008-02-15 Thread Rob Hills
Hi again Matt et al, On 15 Feb 2008 at 20:41, Rob Hills wrote: > On 14 Feb 2008 at 9:29, Matt Raible wrote: > > On Feb 14, 2008, at 9:24 AM, Rob Hills wrote: > > >> BTW, is it possible to have the main part of the menu in the > > >> Application (as it is currently) and then a submenu in the >

Re: [appfuse-user] AppFuse 2.0 + Struts - Menu in session scope rather than Application?

2008-02-15 Thread Rob Hills
Hi Matt, On 14 Feb 2008 at 9:29, Matt Raible wrote: > > On Feb 14, 2008, at 9:24 AM, Rob Hills wrote: > > > Rob Hills wrote: > >> BTW, is it possible to have the main part of the menu in the > >> Application (as it is currently) and then a submenu in the > >> Session? Does the tag just hu

Re: [appfuse-user] AppFuse 2.0 + Struts - Menu in session scope rather than Application?

2008-02-14 Thread Matt Raible
On Feb 14, 2008, at 9:24 AM, Rob Hills wrote: Hi Again Matt, Rob Hills wrote: BTW, is it possible to have the main part of the menu in the Application (as it is currently) and then a submenu in the Session? Does the tag just hunt through the first repository it finds, or can it be poin

Re: [appfuse-user] AppFuse 2.0 + Struts - Menu in session scope rather than Application?

2008-02-14 Thread Rob Hills
Hi Again Matt, Rob Hills wrote: BTW, is it possible to have the main part of the menu in the Application (as it is currently) and then a submenu in the Session? Does the tag just hunt through the first repository it finds, or can it be pointed at a different repository? Just to clarify this

Re: [appfuse-user] AppFuse 2.0 + Struts - Menu in session scope rather than Application?

2008-02-14 Thread Rob Hills
Hi Matt, Matt Raible wrote: If you put the repository in the user's session, that should be used instead. The following code starts with page scope, then looks in request, session and applications scopes: // get the menu repository MenuRepository rep = (MenuRepos

Re: [appfuse-user] AppFuse 2.0 + Struts - Menu in session scope rather than Application?

2008-02-14 Thread Matt Raible
If you put the repository in the user's session, that should be used instead. The following code starts with page scope, then looks in request, session and applications scopes: // get the menu repository MenuRepository rep = (MenuRepository) pageContext.findAttri

[appfuse-user] AppFuse 2.0 + Struts - Menu in session scope rather than Application?

2008-02-14 Thread Rob Hills
Hi All, My app is based on AppFuse 2.0 + Struts etc and I'm using the default struts-menu to build my app menu. In this app, each user belongs to a company and a company has an associated set of reports. The spec calls for the reports to be selectable from a dropdown menu and for each company

Re: [appfuse-user] Appfuse 2.0 -> Oracle App server problem

2008-01-09 Thread Matt Raible
It sounds like a problem with how you have Oracle configured. Since you've likely paid a hefty fee for an Oracle support contract, I'd suggest contacting Oracle. Matt On Jan 9, 2008, at 6:03 AM, VJ22 wrote: I tried the workaround suggested by you. placing the struts.properties file in W

Re: [appfuse-user] Appfuse 2.0 -> Oracle App server problem

2008-01-09 Thread VJ22
I tried the workaround suggested by you. placing the struts.properties file in WEB-INF/classes of the generated war file and deployed the same. But still facing the same issue. Any other suggestion will be of great help. mraible wrote: > > You might try creating a struts.properties file in src/

Re: [appfuse-user] Appfuse 2.0 -> Oracle App server problem

2008-01-08 Thread Matt Raible
You might try creating a struts.properties file in src/main/resources and adding the following property: ### workaround for some app servers that don't handle HttpServletRequest.getParameterMap() ### often used for WebLogic, Orion, and OC4J struts.dispatcher.parametersWorkaround = true From: http

[appfuse-user] Appfuse 2.0 -> Oracle App server problem

2008-01-08 Thread VJ22
Hi, Our application which has got APPFUSE 2.0 (Struts 2.0.5) as the base has to be deployed on a Oracle Application server platform (specific version 10g R3)..So we got an HTTP server which routes requests to the OC4J server which processes them I am facing a peculiar problem with this...Whenev

Re: [appfuse-user] AppFuse 2.0 + Struts 2 - Replaceable Variables in struts.xml

2008-01-02 Thread Matt Raible
In the latest release (2.0.1), we exclude struts.xml from having its variables replaced: src/main/resources ApplicationResources_de.properties ApplicationResources_fr.properties Appli

[appfuse-user] AppFuse 2.0 + Struts 2 - Replaceable Variables in struts.xml

2007-12-31 Thread Rob Hills
Hi All, I am using a replaceable variable in my struts.xml file to pass data via my action during a redirect, like this: editRoute.html?id=${route.id} However, I'm finding that the maven build process is replacing this variable if it is $(id) or ${xxx.id} where "xxx" can be any str

Re: [appfuse-user] Appfuse 2.0 + Struts + Hibernate - customising Hibernate error messages

2007-12-17 Thread Rob Hills
Hi Matt, Matt Raible wrote: In struts.xml, you can map global exceptions: exception="org.springframework.dao.DataAccessException" result="dataAccessFailure"/> http://struts.apache.org/2.x/docs/exception-configuration.html That looks just like what I need. I not

Re: [appfuse-user] Appfuse 2.0 + Struts + Hibernate - customising Hibernate error messages

2007-12-17 Thread Matt Raible
In struts.xml, you can map global exceptions: exception="org.springframework.dao.DataAccessException" result="dataAccessFailure"/> http://struts.apache.org/2.x/docs/exception-configuration.html Hope this helps, Matt On Dec 17, 2007, at 9:34 PM, Rob Hills wrote

[appfuse-user] Appfuse 2.0 + Struts + Hibernate - customising Hibernate error messages

2007-12-17 Thread Rob Hills
Hi All, I'm currently grappling with a weird Hibernate concurrency problem and it occurred to me that in the event that a user of my app runs into a "real" concurrency problem (where two users are actually editing the same record at the same time), s/he will be presented with a rather unfrien

Re: [appfuse-user] Appfuse 2.0 + Struts2 Dropdown menus problem

2007-12-17 Thread Rob Hills
Hi Matt, Matt Raible wrote: The easiest way to solve this problem (with Struts Menu) is to add onmouseover events to menu-config.xml that hide the offending elements. Thanks for the reply. I've seen that method mentioned around the traps. I may have to do it, but unfortunately there are a lot

Re: [appfuse-user] Appfuse 2.0 + Struts2 Dropdown menus problem

2007-12-17 Thread Matt Raible
The easiest way to solve this problem (with Struts Menu) is to add onmouseover events to menu-config.xml that hide the offending elements. Matt On Dec 17, 2007, at 9:27 AM, Rob Hills wrote: Hi All, I'm using Appfuse 2.0 + Struts 2. In my project, I'm using the "standard" horizontal nav m

[appfuse-user] Appfuse 2.0 + Struts2 Dropdown menus problem

2007-12-17 Thread Rob Hills
Hi All, I'm using Appfuse 2.0 + Struts 2. In my project, I'm using the "standard" horizontal nav menu used by the default AppFuse 2 theme. I'm having a problem with elements "bleeding through" the dropdown menus and not only is it unsightly, but it causes functional problems because you can't

Re: [appfuse-user] AppFuse 2.0 + Hibernate - logging SQL Parameters

2007-12-11 Thread Matt Raible
Unfortunately, I don't think it's possible to see the full query from Hibernate - I believe you have to log at the database or driver level. You might try P6Spy: http://www.p6spy.com/ Matt On 12/11/07, Rob Hills <[EMAIL PROTECTED]> wrote: > Hi All, > > Rob Hills wrote: > > Dale Newfield wrote:

Re: [appfuse-user] AppFuse 2.0 + Hibernate - logging SQL Parameters

2007-12-11 Thread Rob Hills
Hi All, Rob Hills wrote: Dale Newfield wrote: Matt Raible wrote: log4j.properties is AppFuse 1.9.x specific. In 2.0, it's src/main/resources/log4j.xml. So while it couldn't hurt, apparently it won't help, either. Not sure why your changes to log4j.xml are not working. Are your changes maki

Re: [appfuse-user] AppFuse 2.0 + Hibernate - logging SQL Parameters

2007-12-11 Thread Rob Hills
Hi Dale, Dale Newfield wrote: Matt Raible wrote: log4j.properties is AppFuse 1.9.x specific. In 2.0, it's src/main/resources/log4j.xml. So while it couldn't hurt, apparently it won't help, either. Not sure why your changes to log4j.xml are not working. Are your changes making into your dep

Re: [appfuse-user] AppFuse 2.0 + Hibernate - logging SQL Parameters

2007-12-11 Thread Dale Newfield
Matt Raible wrote: log4j.properties is AppFuse 1.9.x specific. In 2.0, it's src/main/resources/log4j.xml. So while it couldn't hurt, apparently it won't help, either. Not sure why your changes to log4j.xml are not working. Are your changes making into your deployed app in the right place?

Re: [appfuse-user] AppFuse 2.0 + Hibernate - logging SQL Parameters

2007-12-11 Thread Matt Raible
log4j.properties is AppFuse 1.9.x specific. In 2.0, it's src/main/ resources/log4j.xml. Matt On Dec 11, 2007, at 11:38 AM, Dale Newfield wrote: Rob Hills wrote: I actually don't have a log4j.properties file in my WEB-INF/ classes directory, should I have? In the end, no. Right now for deb

Re: [appfuse-user] AppFuse 2.0 + Hibernate - logging SQL Parameters

2007-12-11 Thread Dale Newfield
Rob Hills wrote: I actually don't have a log4j.properties file in my WEB-INF/classes directory, should I have? In the end, no. Right now for debugging, it couldn't hurt. -Dale - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [appfuse-user] AppFuse 2.0 + Hibernate - logging SQL Parameters

2007-12-11 Thread Rob Hills
Hi Dale, Thanks for the reply. Dale Newfield wrote: Rob Hills wrote: I've googled around and come across a couple of suggestions for settings in the log4j.xml file, but neither of those is working for me. Are these the ones you were updating? They're in log4j.properties (in WEB-INF/classes

Re: [appfuse-user] AppFuse 2.0 + Hibernate - logging SQL Parameters

2007-12-11 Thread Dale Newfield
Rob Hills wrote: I've googled around and come across a couple of suggestions for settings in the log4j.xml file, but neither of those is working for me. Are these the ones you were updating? They're in log4j.properties (in WEB-INF/classes), not log4j.xml. # All hibernate log output of "info

[appfuse-user] AppFuse 2.0 + Hibernate - logging SQL Parameters

2007-12-11 Thread Rob Hills
Hi All, I'm using AppFuse 2.0 and Hibernate and I've currently got SQL logging happening OK using the hibernate.show_sql property in my profiles.xml I'm sure I remember also seeing SQL parameters being logged some time back in my project, but I don't now recall if I did something to enable this

Re: [appfuse-user] Appfuse 2.0 app that integrates with with crystal reports

2007-12-07 Thread cfoy
Matt Sorry for the delay in coming back to you ... Crystal reports was integrated as follows: * The CR jars were installed manually. The pom.xml was updated to pick up the new dependencies. We are trying to use a local repository and intend make them available in that eventually. * CFConfig.

Re: [appfuse-user] AppFuse 2.0 Installation

2007-12-06 Thread László Hornyák
Hi! Just trying appfuse (v 2.0.1) modular projects with eclipse. I had some multi-module project with eclipse and m2 eclipse plugin automatically discovered the dependencies between the modules of the project, so I never had to run mvn install before mvn eclipse. Does anyone know why this happens?

Re: [appfuse-user] AppFuse 2.0 Installation

2007-12-06 Thread Michael Horwitz
On 12/6/07, venkat.sadasivam <[EMAIL PROTECTED]> wrote: > > I am trying to create an eclipse project for AppFuse Struts 2 Modular > version. I don't find easy steps to do this. > > > > About a year ago I tried with AppFuse 1.0, I could understand the whole > installation and project creation proce

[appfuse-user] AppFuse 2.0 Installation

2007-12-06 Thread venkat.sadasivam
I am trying to create an eclipse project for AppFuse Struts 2 Modular version. I don't find easy steps to do this. About a year ago I tried with AppFuse 1.0, I could understand the whole installation and project creation process within 5 minutes. Please refer a page that gives complete step

Re: [appfuse-user] Appfuse 2.0 compile error on new Manager class

2007-11-28 Thread Fred Forester
Duh! Thanx Matt. Matt Raible wrote: You need to override the constructor - here's an example: http://tinyurl.com/yq4ppk Matt On 11/28/07, Fred Forester <[EMAIL PROTECTED]> wrote: Hi All, I recently switched over to appfuse 2.0 from 1.9. I noticed 2.0 no longer creates certain things wi

Re: [appfuse-user] Appfuse 2.0 compile error on new Manager class

2007-11-28 Thread Matt Raible
You need to override the constructor - here's an example: http://tinyurl.com/yq4ppk Matt On 11/28/07, Fred Forester <[EMAIL PROTECTED]> wrote: > > Hi All, > > I recently switched over to appfuse 2.0 from 1.9. > > I noticed 2.0 no longer creates certain things with the app gen tool. > I was creat

[appfuse-user] Appfuse 2.0 compile error on new Manager class

2007-11-28 Thread Fred Forester
Hi All, I recently switched over to appfuse 2.0 from 1.9. I noticed 2.0 no longer creates certain things with the app gen tool. I was creating a manager class using the new tutorial as a guideline. I am using appfuse2.0 with full source and the ant build. the manager interface compiles fine.

Re: [appfuse-user] Appfuse 2.0 "fullversion" Issue

2007-11-23 Thread Michael Horwitz
On 11/23/07, Muthu Velappan <[EMAIL PROTECTED]> wrote: > > > Hi, > > Thanks for your response... My intention was to work around with Appfuse > and > built a base framework for our internal projects and thats y i went on to > change the package names using fullversion command... > > However, Now I

Re: [appfuse-user] Appfuse 2.0 "fullversion" Issue

2007-11-23 Thread Muthu Velappan
Hi, Thanks for your response... My intention was to work around with Appfuse and built a base framework for our internal projects and thats y i went on to change the package names using fullversion command... However, Now I deleted my previous project and started a new one from scratch.. The onl

Re: [appfuse-user] Appfuse 2.0 "fullversion" Issue

2007-11-22 Thread Matt Raible
Make sure you run "mvn clean". If the problem persists, check your package names in src/main/java - do they match with the ones in web.xml? Matt On Nov 22, 2007, at 6:49 AM, Alejandro Castro wrote: Hello, I read here http://appfuse.org/display/APF/AppFuse+Core+Classes that you should not

Re: [appfuse-user] Appfuse 2.0 "fullversion" Issue

2007-11-22 Thread Alejandro Castro
Hello, I read here http://appfuse.org/display/APF/AppFuse+Core+Classes that you should not change the package names of appfuse classes. That link applies specificly to core classes, but I assume that might me the same case of other classes in org.appfuse. Anyway, I think that can be done but it s

[appfuse-user] Appfuse 2.0 "fullversion" Issue

2007-11-22 Thread Muthu Velappan
Hi All, I downloaded the Appfuse fullsource version and changed the package names to com.mycompany.app instead org.appfuse. Now, whenever I try run the application using mvn jetty:run, It throws the following exception java.lang.NoClassDefFoundError: com/mycompany/app/webapp/listener/StartupLi

Re: [appfuse-user] AppFuse 2.0 + hibernate mapping

2007-11-22 Thread Michael Horwitz
On 11/21/07, Henrik Lohse <[EMAIL PROTECTED]> wrote: > > Hello list, > > I am trying to set up my first appfuse project. I am using appfuse 2 > with hibernate and tapestry. > > Basically, I did the tutorial and now want to modify it: > > I have a table "project" (=the Person in the tutorial) and ne

[appfuse-user] AppFuse 2.0 + hibernate mapping

2007-11-21 Thread Henrik Lohse
Hello list, I am trying to set up my first appfuse project. I am using appfuse 2 with hibernate and tapestry. Basically, I did the tutorial and now want to modify it: I have a table "project" (=the Person in the tutorial) and need it to have a key to the app_user table. Hence a logged in use

Re: [appfuse-user] AppFuse 2.0 + Struts - major problem with primitive constant

2007-11-20 Thread Matt Raible
It's probably a bug. Patches welcome! ;) Matt On 11/20/07, Rob Hills <[EMAIL PROTECTED]> wrote: > Hi All, > > I've just finally recovered from an innocent change I made that trashed > my application! > > I have a Constants class for my app that extends org.appfuse.Constants > to add some of my ow

[appfuse-user] AppFuse 2.0 + Struts - major problem with primitive constant

2007-11-20 Thread Rob Hills
Hi All, I've just finally recovered from an innocent change I made that trashed my application! I have a Constants class for my app that extends org.appfuse.Constants to add some of my own values. I then use my own Constants class in the tag in taglibs.jsp . Today I added a new constant

Re: [appfuse-user] Appfuse 2.0 & Hibernate Tools Console Configuration issue

2007-11-19 Thread WernerL
Hi For those having the same issues, I got this solved: - Replaced the log4j-1.2.11.jar with log4j-1.2.12.jar. Also edited the MANIFEST.MF to reflect this & restarted eclipse with the -clean option (I'm not sure I did that before...) - Created a new Hibernate Console Configuration with follow

Re: [appfuse-user] Appfuse 2.0 & Hibernate Tools Console Configuration issue

2007-11-18 Thread wernerlauwers
Hi Roy this is done by default by the Hibernate Console Configuration wizard. I've checked it again and yes my project's classpath is there (including Mysql/Hibernate/Acegi jars', see http://www.nabble.com/Using-Hibernate-Tools-w--appfuse-tf3985589s2369.html#a11316390 http://www.nabble.com/Usin

Re: [appfuse-user] Appfuse 2.0 & Hibernate Tools Console Configuration issue

2007-11-18 Thread RoyPorter
Have you added your project onto the classpath for the hibernate console configuration? Roy. wernerlauwers wrote: > > Hi > > I have an issue in getting a valid Hibernate Tools console configuration > with my appfuse 2.0 based project. Maybe this should go to the hibernate > tools forum, but

[appfuse-user] Appfuse 2.0 & Hibernate Tools Console Configuration issue

2007-11-18 Thread wernerlauwers
Hi I have an issue in getting a valid Hibernate Tools console configuration with my appfuse 2.0 based project. Maybe this should go to the hibernate tools forum, but I couldn't really figure out wether it's an appfuse issue or an hibernate tools issue. Version information: Eclipse 3.3 / Hiberna

[appfuse-user] Appfuse-2.0 ( JPA ) + Compass-1.2

2007-11-03 Thread franz see
Good day, I've been trying to integrate appfuse-2.0 ( jpa ) with compass-1.2 but I ran into a problem ( see [1] ). Anybody got any ideas? ...furthermore, has anybody been able to integrate appfuse-2.0 ( jpa ) and compass-1.2? Thanks, Franz [1] http://forums.opensymphony.com/thread.jspa?messa

Re: [appfuse-user] Appfuse 2.0 app that integrates with with crystal reports

2007-10-29 Thread Matt Raible
I don't know of any integration work that's been done to support Crystal Reports with Spring MVC. However, if you can integrate it with Servlets, you should be able to do that in an AppFuse project. Is there any documentation for Crystal Reports that shows how to integrate with something like Stru

[appfuse-user] Appfuse 2.0 app that integrates with with crystal reports

2007-10-28 Thread cfoy
Hi All, I am currently using appfuse 2.0, spring MVC and hibernate project and need to integrate Crystal Reports for Reports. I would appreciate any pointers on how best to do this integration. Spring MVC has a jasper report view however I haven't found an equivalent for crystal. Thanks in adva

Re: [appfuse-user] AppFuse 2.0 + Hibernate + Struts 2 - Error looking up property "id" - SOLVED

2007-10-22 Thread Rob Hills
Hi Michael, On 22 Oct 2007 at 9:19, Michael Horwitz wrote: > On 10/21/07, Rob Hills <[EMAIL PROTECTED]> wrote: <..> > > > > I believe this should be scope="request"/> > > In your version you are setting the string litral 'products' into the > variable products, hence the error message.

Re: [appfuse-user] AppFuse 2.0 + Hibernate + Struts 2 - Error looking up property "id"

2007-10-22 Thread Michael Horwitz
On 10/21/07, Rob Hills <[EMAIL PROTECTED]> wrote: > > Hi All, > > I have a weird error on a Listing JSP that's had me stumped for several > hours. > > I have a POJO named "Product" and have built associated ProductDao, > ProductDaoHibernate, ProductManager, ProductManagerImpl > and ProductAction cl

Re: [appfuse-user] AppFuse 2.0 + Hibernate + Struts 2 - Error looking up property "id"

2007-10-21 Thread Rob Hills
Hi Dusty, Thanks for the reply On 21 Oct 2007 at 16:20, dusty wrote: > The secret to this problem is in the exception message "Error looking up > property in object type "java.lang.String" > > Since you are using struts use the tag to set the products List > OGNL variable to a JSTL variab

Re: [appfuse-user] AppFuse 2.0 + Hibernate + Struts 2 - Error looking up property "id"

2007-10-21 Thread dusty
The secret to this problem is in the exception message "Error looking up property in object type "java.lang.String" Since you are using struts use the tag to set the products List OGNL variable to a JSTL variable. Also it the class of the objects in your list is String and not the Product

Re: [appfuse-user] AppFuse 2.0 + Hibernate + Struts 2 - Error looking up property "id"

2007-10-21 Thread Rob Hills
Hi again Matt, On 21 Oct 2007 at 11:43, Matt Raible wrote: > Does your Product class have a getId() method? I had another look at another POJO in the same project, "Company". It also inherites from BaseEntity which provides its Id field. the CompanyList.jsp works fine. Now Company uses the

Re: [appfuse-user] AppFuse 2.0 + Hibernate + Struts 2 - Error looking up property "id"

2007-10-21 Thread Rob Hills
Hi again Matt, On 21 Oct 2007 at 11:43, Matt Raible wrote: > Does your Product class have a getId() method? Investigating this further, I removed the references to the ID column from my jsp - I now get exactly the same error for the next column "name" :-( (ie 'Error looking up property "name"

Re: [appfuse-user] AppFuse 2.0 + Hibernate + Struts 2 - Error looking up property "id"

2007-10-21 Thread Rob Hills
Hi Matt, On 21 Oct 2007 at 11:43, Matt Raible wrote: > Does your Product class have a getId() method? It inherits one - Product extends my BaseEntity class which has the following: @MappedSuperclass public abstract class BaseEntity extends BaseObject implements Serializable { private

Re: [appfuse-user] AppFuse 2.0 + Hibernate + Struts 2 - Error looking up property "id"

2007-10-21 Thread Matt Raible
Does your Product class have a getId() method? On 10/21/07, Rob Hills <[EMAIL PROTECTED]> wrote: > Hi All, > > I have a weird error on a Listing JSP that's had me stumped for several hours. > > I have a POJO named "Product" and have built associated ProductDao, > ProductDaoHibernate, ProductManag

[appfuse-user] AppFuse 2.0 + Hibernate + Struts 2 - Error looking up property "id"

2007-10-21 Thread Rob Hills
Hi All, I have a weird error on a Listing JSP that's had me stumped for several hours. I have a POJO named "Product" and have built associated ProductDao, ProductDaoHibernate, ProductManager, ProductManagerImpl and ProductAction classes, as well as tests for Dao, Manager and Action. I have a Pr

Re: [appfuse-user] AppFuse 2.0 - "flat" buttons - what's the best way?

2007-10-15 Thread Matt Raible
The reason we changed from to is mostly because of Safari. Safari gives the aqua/glass look to buttons (unless you use border/background like you mention) while gets more of the default button look you see in Firefox. Matt On 10/15/07, Rob Hills <[EMAIL PROTECTED]> wrote: > Hi again, > > On 1

Re: [appfuse-user] AppFuse 2.0 - "flat" buttons - what's the best way?

2007-10-15 Thread Rob Hills
Hi again, On 15 Oct 2007 at 9:55, Rob Hills wrote: > I'm migrating an AppFuse 1.8 app to AppFuse 2.0 (+ Struts) and learning all > the underlying frameworks in the process. > > My old app uses need > to retain the original L&F and I'm investigating the best way to do this. OK, since my origi

[appfuse-user] AppFuse 2.0 - "flat" buttons - what's the best way?

2007-10-14 Thread Rob Hills
Hi All, I'm migrating an AppFuse 1.8 app to AppFuse 2.0 (+ Struts) and learning all the underlying frameworks in the process. My old app uses level. 3. My CSS skills are much better than they were, but are still pretty rudimentary. Last I knew, you couldn't make an

Re: [appfuse-user] appfuse 2.0 applicationContext-service.xml ?

2007-10-11 Thread Michael Horwitz
It is not included by default - if you want to change it (note that you can now add new services, daos, etc in applicationContext.xml under WEB-INF) run mvn appfuse:full-source. Mike On 10/11/07, SamImari <[EMAIL PROTECTED]> wrote: > > > Hi, > > Where is applicationContext-service.xml? > > With a

Re: [appfuse-user] appfuse 2.0 applicationContext-service.xml ?

2007-10-11 Thread Matt Raible
It's never been in src/main/resources - unless you ran full-source on your project. It's in appfuse-service-2.0.jar. Matt On 10/11/07, SamImari <[EMAIL PROTECTED]> wrote: > > Hi, > > Where is applicationContext-service.xml? > > With appfuse-2.0M5 the xml-file was in project/src/main/resources > b

[appfuse-user] appfuse 2.0 applicationContext-service.xml ?

2007-10-11 Thread SamImari
Hi, Where is applicationContext-service.xml? With appfuse-2.0M5 the xml-file was in project/src/main/resources but with appfuse-2.0 I cannot find the file anymore. Regards, SAM -- View this message in context: http://www.nabble.com/appfuse-2.0-applicationContext-service.xml---tf4608165s2369.

Re: [appfuse-user] Appfuse 2.0: Tapestry 4.1, Dojo, DatePicker DropdownDatePicker

2007-09-27 Thread cpnguyen
>From what I've been reading: "Shell will automatically insert its own DOCTYPE and head elements, in addition to already existing ones." (http://www.devshed.com/c/a/Apache/The-DatePicker-and-Shell-Components-of-Apache-Tapestry/1/) I interpreted it as it will override the appfuse header elements t

Re: [appfuse-user] Appfuse 2.0: Tapestry 4.1, Dojo, DatePicker DropdownDatePicker

2007-09-26 Thread Matt Raible
Do you have something like the following at the top of your page? @Shell is needed for Tapestry to include the references to dojo. If you look at demo.appfuse.org/appfuse-tapestry and login, the mainMenu seems to have all the required JavaScript files. Matt On 9/26/07, cpnguyen <[EMAIL PROTECT

Re: [appfuse-user] Appfuse 2.0: Tapestry 4.1, Dojo, DatePicker DropdownDatePicker

2007-09-26 Thread cpnguyen
Firebug reports "dojo is not defined" at "dojo.addOnLoad( function (e)" when attempting to load the form. Clicking on the calendar icon throws a "calendar_name has no properties" error. In Firebug, under the script tab, dojo.js does not appear. Here is a list of the loaded scripts: from projec

Re: [appfuse-user] Appfuse 2.0: Tapestry 4.1, Dojo, DatePicker DropdownDatePicker

2007-09-26 Thread Matt Raible
Have you tried using Firebug to verify that you're getting a 404 for dojo.js? On 9/26/07, cpnguyen <[EMAIL PROTECTED]> wrote: > > I am using a brand-new 2.0 project. I pulled the latest appfuse version via > maven and started recopying all of my personal files over and performing > diffs on commo

Re: [appfuse-user] Appfuse 2.0: Tapestry 4.1, Dojo, DatePicker DropdownDatePicker

2007-09-26 Thread cpnguyen
I am using a brand-new 2.0 project. I pulled the latest appfuse version via maven and started recopying all of my personal files over and performing diffs on common files. Not the best method, but I have been able to get things to work. What is broken now is the DatePicker. mraible wrote: >

Re: [appfuse-user] Appfuse 2.0: Tapestry 4.1, Dojo, DatePicker DropdownDatePicker

2007-09-26 Thread Matt Raible
The dojo.js is served up by Tapestry, not by AppFuse. Are you using a brand-new 2.0 project or are you upgrading? Matt On 9/26/07, cpnguyen <[EMAIL PROTECTED]> wrote: > > Thanks for the response Matt. > > I've added that line into tapestry.application but it doesn't appear to help > (with the Dat

Re: [appfuse-user] Appfuse 2.0: Tapestry 4.1, Dojo, DatePicker DropdownDatePicker

2007-09-26 Thread cpnguyen
Thanks for the response Matt. I've added that line into tapestry.application but it doesn't appear to help (with the DatePicker issue - I have not tried using tacos components yet). I think the issue is dojo.js (or the script file where dojo variable is defined) is missing. The target/project/s

Re: [appfuse-user] Appfuse 2.0: Tapestry 4.1, Dojo, DatePicker DropdownDatePicker

2007-09-25 Thread Matt Raible
Looking at the user guide (http://tacos.sourceforge.net/userguide/Setup.html), it looks like we might've forgot one essentials step - adding Tacos to tapestry.application: Can you try that and see if it helps? Thanks, Matt On 9/25/07, cpnguyen <[EMAIL PROTECTED]> wrote: > > Also, is there any

Re: [appfuse-user] Appfuse 2.0: Tapestry 4.1, Dojo, DatePicker DropdownDatePicker

2007-09-25 Thread Matt Raible
It's very difficult to read this message - can you please resend it with better formatting to [EMAIL PROTECTED] Maybe you selected the "contains HTML" option on Nabble? I don't believe you need to do this. Matt On 9/25/07, cpnguyen <[EMAIL PROTECTED]> wrote: > Hello all, I am in the process of u

Re: [appfuse-user] Appfuse 2.0: Tapestry 4.1, Dojo, DatePicker DropdownDatePicker

2007-09-25 Thread cpnguyen
Also, is there any documentation on how to use Tacos in Appfuse 2.0 (since it is now integrated)? -- View this message in context: http://www.nabble.com/Appfuse-2.0%3A-Tapestry-4.1%2C-Dojo%2C-DatePicker-DropdownDatePicker-tf4518754s2369.html#a12891241 Sent from the AppFuse - User mailing list ar

[appfuse-user] Appfuse 2.0: Tapestry 4.1, Dojo, DatePicker DropdownDatePicker

2007-09-25 Thread cpnguyen
Hello all, I am in the process of upgrading my webapp from Appfuse 2.0 M5 to 2.0 and I have been following the migration guides. Things are starting to return to normal, but I am experiencing an issue with DatePicker that I have no idea how to fix. The issue appears with both FF2 and IE7. With

Re: [appfuse-user] AppFuse-2.0-Dependencies.zip

2007-09-20 Thread Matt Raible
Yep - it's already available: https://appfuse.dev.java.net/servlets/ProjectDocumentList?folderID=8047 Or a direct link: https://appfuse.dev.java.net/files/documents/1397/68819/appfuse-dependencies-2.0.zip Matt On 9/20/07, Irshad Buchh <[EMAIL PROTECTED]> wrote: > > Hi Matt, > > Is there any ch

[appfuse-user] AppFuse-2.0-Dependencies.zip

2007-09-20 Thread Irshad Buchh
Hi Matt, Is there any chance of putting the AppFuse-2.0-Dependencies.zip file like you did for rc1. This would help us as we are behind a proxy and we get a lot of problems as a result. --Irshad. -- View this message in context: http://www.nabble.com/AppFuse-2.0-Dependencies.zip-tf4487780s2369

Re: [appfuse-user] AppFuse 2.0-rc1 + struts - AMP / appfuse:gen - can't handle pojos with custom ID classes?

2007-09-17 Thread Peter Bondurant
I think I found a solution to my problem (don't know if yours is the same actually). My DelibCP class was referenced by another class (a many-to-one relation). I removed this class from hibernate.cfg.xml, which allowed me to generate CRUD for DelibCP. Hope this helps! Peter.

Re: [appfuse-user] AppFuse 2.0-rc1 + struts - AMP / appfuse:gen - can't handle pojos with custom ID classes?

2007-09-17 Thread Peter Bondurant
> Hmmm, unless I missed something, your model classes don't have > concatenated keys, so either your error is different, or there's > something else that our code has in common that's triggering this error. I agree with that. Just can't figure out where it comes from :-( > When you say "if you

Re: [appfuse-user] AppFuse 2.0 code complete

2007-09-16 Thread nessus
Matt, I encountered the problem http://www.nabble.com/Is-AppFuse-well-versioned--tf4463967s2369.html I will try the second question after you solve the versioning problem. But Still I need you either convince me of my desired solution or suggest me a brighter one. Good luck and thank you very

Re: [appfuse-user] AppFuse 2.0 code complete

2007-09-16 Thread Rob Hills
Hi Matt, On 16 Sep 2007 at 12:27, Matt Raible wrote: > >From what I can tell, AppFuse 2.0 seems to be finished. In order to > verify this, we need your help. > > If you have time, please test the latest code by 1) creating an > archetype using 2.0-SNAPSHOT as the version or 2) try upgrading your

Re: [appfuse-user] AppFuse 2.0 code complete

2007-09-16 Thread Matt Raible
I was unable to reproduce your error, but I did discover the following bug. http://issues.appfuse.org/browse/APF-886 Can you rm -r ~/.m2/repository/org/appfuse and try again? Thanks, Matt On 9/16/07, Struts2 Fan <[EMAIL PROTECTED]> wrote: > > mvn archetype:create -DarchetypeGroupId=org.appfuse

Re: [appfuse-user] AppFuse 2.0 code complete

2007-09-16 Thread Struts2 Fan
mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes -DarchetypeArtifactId=appfuse-basic-struts -DremoteRepositories=http://static.appfuse.org/repository -DarchetypeVersion=2.0-SNAPSHOT -DgroupId=com.mycompany.app -DartifactId=myproject mvn jetty:run-war or mvn jetty:run-exploded both

Re: [appfuse-user] AppFuse 2.0 code complete

2007-09-16 Thread Matt Raible
You're doing "mvn jetty:run-war"? On 9/16/07, Struts2 Fan <[EMAIL PROTECTED]> wrote: > > It passed after 3. try. Another one. I am using struts-basic. > > [INFO] Starting jetty 6.1.5 ... > 2007-09-16 23:18:13.067::INFO: jetty-6.1.5 > 2007-09-16 23:18:13.661::INFO: No Transaction manager found -

Re: [appfuse-user] AppFuse 2.0 code complete

2007-09-16 Thread Struts2 Fan
It passed after 3. try. Another one. I am using struts-basic. [INFO] Starting jetty 6.1.5 ... 2007-09-16 23:18:13.067::INFO: jetty-6.1.5 2007-09-16 23:18:13.661::INFO: No Transaction manager found - if your webapp re quires one, please configure one. 2007-09-16 23:18:14.676:/:INFO: Initializi

Re: [appfuse-user] AppFuse 2.0 code complete

2007-09-16 Thread Matt Raible
Can you post your pom.xml? Thanks, Matt On 9/16/07, Struts2 Fan <[EMAIL PROTECTED]> wrote: > > I didn't run "appfuse:full-source" > > Just created a new 2.0-SNAPSHOT and run mvn jetty:run > > [ERROR] FATAL ERROR > [INFO] >

Re: [appfuse-user] AppFuse 2.0 code complete

2007-09-16 Thread Struts2 Fan
I didn't run "appfuse:full-source" Just created a new 2.0-SNAPSHOT and run mvn jetty:run [ERROR] FATAL ERROR [INFO] [INFO] Unable to load class declared as in the configuration: [INFO] -

Re: [appfuse-user] AppFuse 2.0 code complete

2007-09-16 Thread Struts2 Fan
It is ok now. I am moving forward. I'll inform you. mraible wrote: > > Can you try it again? > > On 9/16/07, Struts2 Fan <[EMAIL PROTECTED]> wrote: >> >> Another problem >> I created a new project. >> >> Downloading: >> http://static.appfuse.org/repository/org/appfuse/appfuse-hibernate/ >> 2.0

  1   2   3   4   >