We call setResponsePage(new CoolPage()) if want to pass some data to CoolPage and we call setResponsePage(CoolPage.class) if we only want to render CoolPage Am I right?
HHB wrote: > > 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 the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
