You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Eelco Hillenius (JIRA)" <ji...@apache.org> on 2006/10/16 22:56:37 UTC
[jira] Commented: (WICKET-6) Configuration of app mode isn't
customisable
[ http://issues.apache.org/jira/browse/WICKET-6?page=comments#action_12442698 ]
Eelco Hillenius commented on WICKET-6:
--------------------------------------
No objections, but I just added getConfigurationType to application last week. That one could be made overridable. If you prefer getConfigurationMode to type, that'd be fine with me; the change hasn't been part of a release yet, and thus wouldn't break compat.
> Configuration of app mode isn't customisable
> --------------------------------------------
>
> Key: WICKET-6
> URL: http://issues.apache.org/jira/browse/WICKET-6
> Project: Wicket
> Issue Type: Improvement
> Components: wicket
> Affects Versions: 1.2.2, 1.2.3, 1.3, 2.0
> Reporter: Alastair Maw
> Priority: Minor
>
> Everything else in wicket is programatically configurable apart from DEPLOYMENT or DEVELOPMENT app modes. I can't set System properties due to security constraints, and I don't want to have to set things up in web.xml because it's tedious and I already have which deployment ID I'm using configured somewhere else, using Spring.
> I talked to ivaynberg about this on ##wicket, and we reckon Application should have an abstract getConfigurationMode():String function, which is overridden in WebApplication and PortletApplication appropriately, to replicate current functionality. The default implementations should /not/ be final, so you can override them to pull the config from wherever you like.
> If anyone has any objections to changing things to work like this, please shout now, otherwise I will supply a patch for 1.x and trunk shortly.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira