[jboss-user] [JBoss Seam] - Question: how to test seam app using hibernate

2007-06-27 Thread charlesnaude
I am new to seam and testing :P how do I test a seam app if it uses hibernate any examples would be appreciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4058558#4058558 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=re

[jboss-user] [JBoss Seam] - Error when running TestNG tests for booking example

2007-06-27 Thread charlesnaude
I get the following error when trying to run the logintest for the booking example: javax.el.PropertyNotFoundException: ELResolver cannot handle a null base Object with identifier 'user' View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4058124#4058124 Reply t

[jboss-user] [JBoss Seam] - Re: Question: Why would a seam component be injected in some

2007-06-25 Thread charlesnaude
Hi thanks for replying I think (hope) I solved the problem. here is some of my code.. | @Name("hocasService") | public class HocasService { | | @In | private Session agriCardDatabase; | | public Element submitRequest(AnyElement request,Session agriCardDatab

[jboss-user] [JBoss Seam] - Question: Why would a seam component be injected in some cla

2007-06-25 Thread charlesnaude
Question: Why would a seam component be injected in some classes and not others. Is there something that I'm missing? what should I look for that might be the problem please help!!! any help would be greatly appreciated. View the original post : http://www.jboss.com/index.html?module

[jboss-user] [JBoss Seam] - Nullpointer when injecting hibernate session

2007-06-25 Thread charlesnaude
Hi I'm getting a nullpointer when I try to inject a hibernate managed session into one of my classes. I am able to inject the session into all of my action classes but nowhere else. Am I missing something..? here is some of my code: @Name("hocasService") public class HocasService {