[ 
https://issues.apache.org/jira/browse/WICKET-2380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12915277#action_12915277
 ] 

Martin Grigorov commented on WICKET-2380:
-----------------------------------------

I think Builder pattern can help a lot in this new class.
Javadoc + unit tests will increase the chance to include it.

> Simplify settings API
> ---------------------
>
>                 Key: WICKET-2380
>                 URL: https://issues.apache.org/jira/browse/WICKET-2380
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.4.0
>            Reporter: John Patterson
>         Attachments: WindowSettings.java
>
>
> There are a million and one settings for wicket and I normally don't have the 
> faintest idea in where to look for them.  Content assist does not help much 
> because the Application API is enormous.  I suggest making a single 
> Application getter getSettings() which then has getSessionSettings(), 
> getDebugSettings, getFrameworkSettings(), getResourceSettings() ...
> What would really make it easier for me to use is if there was also a 
> combined option: getAllSettings() that returned a delegate object that 
> implements all of the settings interfaces ISessionSettings etc.
> This uber-settings "view" would make it a lot easier to find a setting which 
> you know the name of but not wether of which type it is.
> Just an idea.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to