Re: [Wicket-user] Using POJO as Model - is this right?

2005-12-27 Thread Joshua Lim
thanks ... should have thought of that! :) On 12/23/05, Maurice Marrink [EMAIL PROTECTED] wrote: You could always use a different model (containing just the fileuploadobject) for the fileupload and the compoundmodel for the rest of theform. then in the onsubmit you could get both models set the

Re: [Wicket-user] beginner: need clarification on use of anonymous inner classes

2005-12-27 Thread Martijn Dashorst
What you do here is quite harmless... The page is already in the session (page map and all), so the extra reference to it doesn't hurt. The problem comes when you attach a business object to your page: /** Dont do this */ class MyPage extends WebPage { private MyVeryLargeObject subject; //

Re: [Wicket-user] Wiki update on 1.2 features?

2005-12-27 Thread Juergen Donnerstag
See http://www.wicket-wiki.org.uk/wiki/index.php/Migrate-1.2 and yes, with the release of 1.2 we will provide a summary (bullet points) of the changes. Change log (always up to date): http://cvs.sourceforge.net/viewcvs.py/wicket/wicket/xdocs/changes.xml?view=markup Juergen On 12/27/05, Gili

Re: [Wicket-user] beginner: need clarification on use of anonymous inner classes

2005-12-27 Thread Alexandre Bairos
Added to the wiki at http://www.wicket-wiki.org.uk/wiki/index.php/Best_Practices_and_Gotchas#Wicket_Servlet_Mapping regards On 12/27/05, Martijn Dashorst [EMAIL PROTECTED] wrote: What you do here is quite harmless... The page is already in the session (page map and all), so the extra reference to

Re: [Wicket-user] Component-Level AJAX Response

2005-12-27 Thread R.J. Lorimer
shh, of course. The response shouldn't just be the panel - it should be an entire Page! That makes sense. Thanks for your help, I'll keep my progress posted here. Emergence Dinterstage wrote: On 12/28/05, R.J. Lorimer [EMAIL PROTECTED] wrote: ComponentRequestTarget re-renders components

Re: [Wicket-user] Error with ReuseIfModelsEqualStrategy and last version of wicket/wicket-extensions

2005-12-27 Thread Igor Vaynberg
this was due to a new check we introduced. basically it would throw an error if you try to add a component that already had a parent set. this would help users catch errors in certain situtations, but obviously caused problems in others. i changed it so now the component is removed from its

Re: [Wicket-user] Error with ReuseIfModelsEqualStrategy and last version of wicket/wicket-extensions

2005-12-27 Thread Laurent PETIT
Thanks for the quick answer. I've digged a little bit in the code, because now that I know what you've done to suppress the bug, I think the initial idea was interesting (throwing the exception). I saw that the bug occurs because OrderedRepeatingView calls super.removeAll() (i.e.