Re: T5 Using DAO within a DAO causes NPE.

2011-06-09 Thread Taha Hafeez
neat though. Also contructor injection is another solution. Thanks :) -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-Using-DAO-within-a-DAO-causes-NPE-tp4467009p4471238.html Sent from the Tapestry - User mailing list archive at Nabble.com

Re: T5 Using DAO within a DAO causes NPE.

2011-06-09 Thread kristian marinkovic
.1045711.n5.nabble.com/T5-Using-DAO-within-a-DAO-causes-NPE-tp4467009p4471238.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org

T5 Using DAO within a DAO causes NPE.

2011-06-08 Thread ael
: http://tapestry.1045711.n5.nabble.com/T5-Using-DAO-within-a-DAO-causes-NPE-tp4467009p4467009.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org

Re: T5 Using DAO within a DAO causes NPE.

2011-06-08 Thread ael
.nabble.com/T5-Using-DAO-within-a-DAO-causes-NPE-tp4467009p4467047.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail

Re: T5 Using DAO within a DAO causes NPE.

2011-06-08 Thread kristian marinkovic
Hi, Which inject annotation are you using? Chances are that you use the javax annotation that will be supported in 5.3 G, Kris Am 2011 6 8 08:06 schrieb ael alan-lua...@dash.com.ph:

Re: T5 Using DAO within a DAO causes NPE.

2011-06-08 Thread ael
No, i did not use javax. Its import org.apache.tapestry5.ioc.annotations.Inject; -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-Using-DAO-within-a-DAO-causes-NPE-tp4467009p4467432.html Sent from the Tapestry - User mailing list archive at Nabble.com

Re: T5 Using DAO within a DAO causes NPE.

2011-06-08 Thread kristian marinkovic
: http://tapestry.1045711.n5.nabble.com/T5-Using-DAO-within-a-DAO-causes-NPE-tp4467009p4467432.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org

Re: T5 Using DAO within a DAO causes NPE.

2011-06-08 Thread ael
TbGuestDAOHibernate(); dao.setSessionManager(sessionManager); return dao; } } -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-Using-DAO-within-a-DAO-causes-NPE-tp4467009p4468053.html Sent from the Tapestry - User mailing list archive at Nabble.com

Re: T5 Using DAO within a DAO causes NPE.

2011-06-08 Thread Taha Hafeez
-within-a-DAO-causes-NPE-tp4467009p4468053.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h

Re: T5 Using DAO within a DAO causes NPE.

2011-06-08 Thread Thiago H. de Paula Figueiredo
On Wed, 08 Jun 2011 04:20:02 -0300, ael alan-lua...@dash.com.ph wrote: public static AuthenticationDAO buildAuthenticationDAO( @InjectService(HibernateSessionManager) HibernateSessionManager sessionManager) { AuthenticationDAOHibernate dao = new

Re: T5 Using DAO within a DAO causes NPE.

2011-06-08 Thread ael
I always make life complicated. Well just inject the DAO within pages. problem solved. But still i want to make my page class neat though. Also contructor injection is another solution. Thanks :) -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-Using-DAO-within-a-DAO

Re: T5 Using DAO within a DAO causes NPE.

2011-06-08 Thread kristian marinkovic
. Also contructor injection is another solution. Thanks :) -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-Using-DAO-within-a-DAO-causes-NPE-tp4467009p4471238.html Sent from the Tapestry - User mailing list archive at Nabble.com