Re: When to pass object instance /class type?

2008-12-17 Thread francisco treacy
ePage(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

Re: When to pass object instance /class type?

2008-12-17 Thread James Perry
> > > HHB wrote: > > > > Hey, > > What is the difference between: > > setResponsePage(CoolPage.class) > > and > > setResponsePage(new CoolPage()) > > ? > > When to use each one? > > Thanks. > > > > > > -- > View thi

Re: When to pass object instance /class type?

2008-12-17 Thread HHB
ePage(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 the Wicket - User m

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