Re: When to pass object instance /class type?

2008-12-17 Thread francisco treacy
(new CoolPage()) ? When to use each one? Thanks. -- View this message in context: http://www.nabble.com/When-to-pass-object-instance--class-type--tp20998410p20998410.html Sent from the Wicket - User mailing list archive at Nabble.com

Re: When to pass object instance /class type?

2008-12-17 Thread James Perry
: Hey, What is the difference between: setResponsePage(CoolPage.class) and setResponsePage(new CoolPage()) ? When to use each one? Thanks. -- View this message in context: http://www.nabble.com/When-to-pass-object-instance--class-type--tp20998410p21050898.html Sent from

When to pass object instance /class type?

2008-12-14 Thread HHB
Hey, What is the difference between: setResponsePage(CoolPage.class) and setResponsePage(new CoolPage()) ? When to use each one? Thanks. -- View this message in context: http://www.nabble.com/When-to-pass-object-instance--class-type--tp20998410p20998410.html Sent from the Wicket - User mailing