[
https://issues.apache.org/jira/browse/WICKET-1192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Juergen Donnerstag resolved WICKET-1192.
----------------------------------------
Resolution: Fixed
Fix Version/s: (was: 1.5-M1)
1.4-RC2
Assignee: Juergen Donnerstag
fixed
> move static factory methods off of HeaderContributer and onto related classes
> -----------------------------------------------------------------------------
>
> Key: WICKET-1192
> URL: https://issues.apache.org/jira/browse/WICKET-1192
> Project: Wicket
> Issue Type: Improvement
> Components: wicket
> Reporter: Ryan Sonnek
> Assignee: Juergen Donnerstag
> Priority: Minor
> Fix For: 1.4-RC2
>
>
> The "static utility" pattern of the HeaderContributor class should be
> improved by moving the methods off of HeaderContributor and onto the relevant
> classes.
> this is very important for long term "plugability" of the framework.
> Currently, it is not possible for an external project like wicketstuff to add
> a new HeaderContribution in this "standard/supported" wicket API. The wicket
> FeedResource API is an example of this.
> http://www.jroller.com/wireframe/entry/wicket_feedresource
> for example, the method HeaderContributor.forJavascript() should move to
> JavascxriptResource.headerContribution(). This API is much easier for
> developers to discover by looking up the relevant class (JavascriptResource)
> instead of digging through tutorials to find the "magical" HeaderContributor.
> mailing list conversation:
> http://www.nabble.com/-RFE--HeaderContributor.forFavicon%28Reference%29-tf4896178.html#a14035092
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.