You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Sven Ludwig (JIRA)" <ji...@apache.org> on 2010/09/27 12:55:33 UTC
[jira] Updated: (WICKET-2380) Simplify settings API
[ https://issues.apache.org/jira/browse/WICKET-2380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sven Ludwig updated WICKET-2380:
--------------------------------
Attachment: WindowSettings.java
Suggestion for clear and really-easy-to-use WindowSettings.
> 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.