But where do you get the default from?
From the servlet? As a inner -> outer class reference?
I don't like thise over usage of inner classes
The way that can be used now is much cleaner and simpler to use. Without making yet another inner class for this.


johan


Juergen Donnerstag wrote:

maybe I expressed myself not properly. Something like

class MyPage extends Page {
  public MyPage(final PageParameters parameters) {
      if (parameters.size() == 0) {
         ... // set my default value
      }
  }

That's all. That's at least how I do it. No need for static variable etc..

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