good to see back. I hope at home is everything fine?

five weeks is a long time and yes, I guess you should get a fresh
copy. changes.xml should provide you a comprehensive view on what has
been changed since than. In case you code still doesn't work, please
let us (again) now.

Juergen

On Apr 7, 2005 8:21 PM, Jonathan Carlson <[EMAIL PROTECTED]> wrote:
> Hi all,  I've been busy with other things for a few weeks (we have new
> baby at home), but I'm excited to "get back in the saddle" and see
> what's been going on in preparation for the release of Wicket 1.0.
> 
> I'm using WebSession#getHttpSession() in the constructor of MySession
> to bootstrap a Cayenne ORM(http://www.objectstyle.org/cayenne)
> DataContext.  (This is only done once per session)  Unfortunately, the
> HttpSession object returned is null.  Am I doing something obviously
> wrong or do I just need to update to the latest Wicket code?  (I'm using
> it from CVS as of about 5 weeks ago or so)
> 
> public class MySession extends WebSession
> {
>   private DataContext dataContext;
> 
>   public MySession(Application app)
>   {
>     super(app);
>     System.out.println("HttpSession: " + getHttpSession()); /* prints
> null */
>     this.dataContext = /* this obviously fails as a result */
>         BasicServletConfiguration.getDefaultContext(getHttpSession());
>   }
> <snip />
> }
> 
> Thanks!
> 
> Jonathan (Carlson)
> 
> P.S.  Who's writing the Wicket book?  Anyone yet?  :-)
> 
> **********************************************************************
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager.
> 
> www.katun.com
> **********************************************************************
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to