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?
>
>
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
#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'
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
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
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
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
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
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 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
GenericManager getCaseItemManager() {
return caseItemManager;
}
public CaseItemList() {
setSortColumn("caseId"); // sets the default sort column
}
public List getCaseItems() {
return sort(caseItemManager.getAll());
}
}
WayneFH wrote:
>
> T
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
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,
> 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
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
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:
>>
>>
>>
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".
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
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.
>>
&
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
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
21 matches
Mail list logo