Please, look also at my code in https://issues.apache.org/jira/browse/CLK-609

MyPage1 x = getContext().createPage(MyPage1.class);//no explicit cast - we
have all type information
looks much better than
MyPage1 x = (MyPage1) getContext().createPage(MyPage1.class);//explicit cast
(current version)

-- 
View this message in context: 
http://click.1134972.n2.nabble.com/jira-Created-CLK-633-Upgrade-Click-API-to-use-type-safe-collections-tp4637138p4992556.html
Sent from the click-development mailing list archive at Nabble.com.

Reply via email to