[
https://issues.apache.org/jira/browse/WICKET-6578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16711175#comment-16711175
]
Michael Gerhards commented on WICKET-6578:
------------------------------------------
My feature request ist still open.
If you think that adding this component is unnecessary, please close the
feature request
Personally, I don't think that this component would disturbe or clutter. It is
inline with the other stateless components. But of course the decision is up to
you.
I just urge to a decision for yes or no to not letting requests open for no
reason.
> StatelessResourceLink
> ---------------------
>
> Key: WICKET-6578
> URL: https://issues.apache.org/jira/browse/WICKET-6578
> Project: Wicket
> Issue Type: New Feature
> Components: wicket
> Affects Versions: 8.0.0
> Reporter: Michael Gerhards
> Priority: Trivial
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> Wicket provides many Stateless Versions of classes such as StatelessLink. It
> would be nice to also have a StatelessResourceLink:
> Complete code for StatelessResourceLink analogous to StatelessLink:
> public class StatelessResourceLink<T> extends ResourceLink<T> {
> public StatelessResourceLink(String wicketId, ResourceReference
> resourceReference) {
> super(wicketId, resourceReference);
> }
> public StatelessResourceLink(String wicketId, ResourceReference
> resourceReference, PageParameters resourceParameters) {
> super(wicketId, resourceReference, resourceParameters);
> }
> public StatelessResourceLink(String wicketId, IResource resource) {
> super(wicketId, resource);
> }
> @Override
> protected boolean getStatelessHint() {
> return true;
> }
>
> }
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)