hey guys i recently checked in some multivariant return type support for Web(requestcycle,session,page)

it is nice and all and eliminates ugly casts and equally ugly getWeb(request,response,requestcycle) wrappers.

the problem is it breaks down when we buffer the response and do tests because StringResponse, NullResponse and friends do not extend webresponse and so they cause a classcast. for now i made them extend webresponse instead of response to eliminate errors.

so what say you, revert the nice multivariant methods to their original ugly ones or keep stringrepsonse, nullresponse and friends extending webresponse, and if wicket is used outside of web context someone will have to implement their own variants of those though its prob easy.

-Igor

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-develop mailing list
Wicket-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to