Patches item #1569255, was opened at 2006-10-02 12:37
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=684977&aid=1569255&group_id=119783

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: gcdha (gcdha)
Assigned to: Nobody/Anonymous (nobody)
Summary: ListItemModel.onDetach incorrect

Initial Comment:
Hello,

the method onDetach() of the ListItemModel seems to be 
incorrect. We are forwarding the model to another page.
But the detach is incorrect, because the model of the 
ListView is not detached. Due to this we get an 
LazyInitializationException from Hibernate.

As patch we propose to implement the method onDetach() 
following:

        protected void onDetach()
        {
                this.object = null;
                this.listView.detachModels();
        }

Greetings
Daniel

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=684977&aid=1569255&group_id=119783

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-develop mailing list
Wicket-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to