RE: [appfuse-user] Dependency Injecting into a POJO bean fails?

2007-10-12 Thread WayneFH
ntext(ServletContext sc) to get an > ApplicationContext. > > -Original Message- > From: WayneFH [mailto:[EMAIL PROTECTED] > Sent: Friday, October 12, 2007 3:03 PM > To: users@appfuse.dev.java.net > Subject: [appfuse-user] Dependency Injecting into a POJO bean fails? > >

[appfuse-user] Dependency Injecting into a POJO bean fails?

2007-10-12 Thread WayneFH
I'm new to Spring and searched everywhere. My department refuses to use JSF, Spring MVC, etc. Just regular JSP pages. So, I have a JSP and backing bean (POJO) that will have an instance per session. How can I make it access my Manager classes? I already have working JUnit tests that call the Ma

Re: [appfuse-user] Help with JSF xhtml List

2007-10-05 Thread WayneFH
#x27;s a bug in 2.0. > > Matt > > On 10/5/07, WayneFH <[EMAIL PROTECTED]> wrote: >> >> You're a GENIUS!! >> That fixed it. For some reason I had other versions of hibernate.cfg.xml >> in >> deployment directories. >> >> Why doesn'

Re: [appfuse-user] Help with JSF xhtml List

2007-10-05 Thread WayneFH
clean". Wayne mraible wrote: > > On 10/5/07, WayneFH <[EMAIL PROTECTED]> wrote: >> >> Matt, >> >> Please help. I turned on DEBUG logging for Hibernate and added a logging >> message to backingBean.getCaseItems() right before calling >> caseItem

Re: [appfuse-user] Help with JSF xhtml List

2007-10-05 Thread WayneFH
your datatable. Something like ${backingBean.caseItems}. If that > doesn't print out anything, there's probably something wrong with your > backing bean. > > Matt > > On 10/4/07, WayneFH <[EMAIL PROTECTED]> wrote: >> >> >> Please help, I created case

Re: [appfuse-user] Help with JSF xhtml List

2007-10-05 Thread WayneFH
atatable. Something like ${backingBean.caseItems}. If that > doesn't print out anything, there's probably something wrong with your > backing bean. > > Matt > > On 10/4/07, WayneFH <[EMAIL PROTECTED]> wrote: >> >> >> Please help, I created caseitem.xh

Re: [appfuse-user] Help with JSF xhtml List

2007-10-04 Thread WayneFH
Okay, I ran it under a debugger. But since it's down in the GenericManager that it's not returning data, I can't follow that code through the debugger. I think logging is the best option. Wayne WayneFH wrote: > > How can I run jetty:run with a debugger? What is s.o.p? &g

Re: [appfuse-user] Help with JSF xhtml List

2007-10-04 Thread WayneFH
in+inside+Eclipse > > On 10/4/07, Matt Raible <[EMAIL PROTECTED]> wrote: >> Did you add S.o.p to your getter method to make sure it's getting called? >> >> Matt >> >> On 10/4/07, WayneFH <[EMAIL PROTECTED]> wrote: >> > >> > Could

Re: [appfuse-user] Help with JSF xhtml List

2007-10-04 Thread WayneFH
make sure. Wayne WayneFH wrote: > > Yes, definately. I have mysql-front looking at the mysql database. > The items are there. Is there any logging for hibernate or spring to check > if it's doing anything or getting any errors? No errors come to the > console > where

Re: [appfuse-user] Help with JSF xhtml List

2007-10-04 Thread WayneFH
re you sure there's data in your database? You might want to query it > while your app is running and make sure data is in there. > > Matt > > On 10/4/07, WayneFH <[EMAIL PROTECTED]> wrote: >> >> I also printed out ${backingBean.caseItemManager} to make sur

Re: [appfuse-user] Help with JSF xhtml List

2007-10-04 Thread WayneFH
GenericManager getCaseItemManager() { return caseItemManager; } public CaseItemList() { setSortColumn("caseId"); // sets the default sort column } public List getCaseItems() { return sort(caseItemManager.getAll()); } } WayneFH wrote: > > T

Re: [appfuse-user] Help with JSF xhtml List

2007-10-04 Thread WayneFH
umped. Wayne mraible wrote: > > I would try printing our your results using a simple expression before > your datatable. Something like ${backingBean.caseItems}. If that > doesn't print out anything, there's probably something wrong with your > backing bean. > > M

[appfuse-user] Help with JSF xhtml List

2007-10-04 Thread WayneFH
Please help, I created caseitem.xhtml just like persons.xhtml in AppFuse but it doesn't display any rows. I already created the POJO CaseItem, already setup Hibernate, already configured Spring and already wrote successful junit CaseItemListTest that passes the test and creates the rows. Also,

Re: [appfuse-user] Get rid of deprecated JDBC warnings from Maven?

2007-10-04 Thread WayneFH
> doesn't solve anything for me locally. > > Matt > > On 10/4/07, WayneFH <[EMAIL PROTECTED]> wrote: >> >> Guys, when running junit tests with maven I get lots of these deprecation >> warnings. It has made it hard to find actual errors from hibernate

[appfuse-user] Get rid of deprecated JDBC warnings from Maven?

2007-10-04 Thread WayneFH
Guys, when running junit tests with maven I get lots of these deprecation warnings. It has made it hard to find actual errors from hibernate when creating the schema. Anyway to get rid of them? I'm using Basic JSF WARN [main] JDBCExceptionReporter.logWarnings(49) | 'TYPE=storage_ engine' is dep

Re: [appfuse-user] Eclipse issue with header.jsp EL syntax

2007-10-04 Thread WayneFH
For a work around, I turned this file in the a JSP fragment by changing the file name to header.jspf That causes MyEclipse (or Eclipse) to just issue warnings instead of the ugly red X's. Hope this helps! Wayne natophonic wrote: > > > WayneFH wrote: >> >> >>

[appfuse-user] Eclipse issue with header.jsp EL syntax

2007-10-02 Thread WayneFH
Folks, AppFuse 2.0 with Basic JSF is now working (almost) cleanly under Eclipse (without WTP) except for a few warnings on XML files. But I have one error in Eclipse. It complains about this line in header.jsp. (I ran a mvn inplace to get AppFuse Source.) It says "Invalid Character Constant".

Re: [appfuse-user] WAIT! It works now.

2007-10-02 Thread WayneFH
t; when you run a build. jetty:run-war and tomcat:run-war both invoke a Maven > build in the background, I think jetty:run does not. If you want it all to > work you need to replace the property placeholders in jdbc.properties with > the values in the pom.xml file. > > Mike

Re: [appfuse-user] Circular dataSource reference when running jetty:run ...

2007-10-02 Thread WayneFH
roperty placeholders in jdbc.properties with > the values in the pom.xml file. > > Mike > > On 10/2/07, WayneFH <[EMAIL PROTECTED]> wrote: >> >> >> Folks, >> >> mvn jetty:run fails but mvn tomcat:run-war and mvn jetty:run-war work >> correctly. >> &

[appfuse-user] Circular dataSource reference when running jetty:run ...

2007-10-02 Thread WayneFH
Folks, mvn jetty:run fails but mvn tomcat:run-war and mvn jetty:run-war work correctly. mvn jetty:run gives an error during startup about a circular jdbc.driverClassName reference in applicationContext-resources.xml. The exact error follows. Please, I love the hot deploy of jetty:run and want t

Re: [appfuse-user] canoo web test failed with "Cannot find function findFirstElement"

2007-10-01 Thread WayneFH
I got the same error. Is there a way to fix the "cannot find function findFirstElement" error without disabling javascript? Disabling javascript causes the to fail because the link uses the javascript onClick event to go to the edit page. The prototype.js calls the function findFirstElement on l