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

Martin Grigorov commented on WICKET-3364:
-----------------------------------------

StatelessLink provides only :

public StatelessLink(String id)
{
        super(id);
}

A model can be available only if you call link.setModel(myModel).
What's is the usecase to do that ?

> StatelessLink should not force the model type to Void
> -----------------------------------------------------
>
>                 Key: WICKET-3364
>                 URL: https://issues.apache.org/jira/browse/WICKET-3364
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.5-M3
>            Reporter: Willis Blackburn
>            Priority: Minor
>
> StatelessLink is just a shortcut for a Link with the stateless hint set to 
> true.  I don't think that it should force the model type to Void.  Sure, the 
> model that existed at the time the link was created may be gone, but that 
> doesn't mean that there is not another model available.

-- 
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