[ 
https://issues.apache.org/jira/browse/WICKET-2747?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin Grigorov resolved WICKET-2747.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 6.0.0
         Assignee: Martin Grigorov

Changed the return type to AbstractLink.
Now you can return AjaxSubmitLink or any other AbtractLink type with 
AjaxFormSubmitBehavior attached.
                
> AjaxPagingNavigator Link factories should return AbstractLink
> -------------------------------------------------------------
>
>                 Key: WICKET-2747
>                 URL: https://issues.apache.org/jira/browse/WICKET-2747
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.4.5
>         Environment: CentOS 5.0, Sun Glassfish v2.1, Wicket 1.4.x.
>            Reporter: Paul Giblock
>            Assignee: Martin Grigorov
>              Labels: api, cleanup, easy, inconsistency
>             Fix For: 6.0.0
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> AjaxPagingNavigator doesn't submit forms.  The mailinglists instruct the user 
> to override the Link factory classes in order to return SubmitLinks.  
> However, both SubmitLink and AjaxSubmitLink do not inherit from Link.  It is 
> my opinion that AjaxPagingNavigator.new*Link() functions should return 
> AbstractLink.
> I am currently forced to fork the majority of AjaxPagingNavigator inorder to 
> create a "Sub"class.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to