Where does that getHomePageDefaults come from?
IApplication doesn't have this method.
So it is an implementation of youre own? That you have to Cast to?
That is not what i want. The Page can be used by Any application i want
Then there shouldn't be any dependencies on an implementation if IApplication!


johan


Juergen Donnerstag wrote:

As I've already written. Clean simple, no uncessary changes to the core.

class MyPage extends Page {
   public MyPage() {

        param = ((MyApplication)getApplication()).getHomePageDefaults();
   }

Juergen


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop








-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to