why not use Class.getName() instead?

Martijn

On Mon, Dec 28, 2009 at 9:41 PM, Anthony DePalma <[email protected]> wrote:
> I am making a modal window link component that will fallback to a
> standard redirect if javascript is disabled. Traditionally I have been
> overriding a method called onFallback() and forcing users to manually
> setRedirect(true), setResponsePage(blah), but I would prefer it if I
> could just pass the class reference in the constructor and handle that
> logic myself in the onclick.
>
> That means serializing the class reference across to the onclick. Are
> there performance implications at all? My gut reaction is no because I
> see a lot of transient objects in the Class object, but I wanted to
> confirm.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>



-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com
Apache Wicket 1.4 increases type safety for web applications
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.4.4

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to