You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Igor Vaynberg (JIRA)" <ji...@apache.org> on 2007/09/07 17:16:30 UTC

[jira] Resolved: (WICKET-940) AjaxFallbackLink.onClick be helpful if not final

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

Igor Vaynberg resolved WICKET-940.
----------------------------------

    Resolution: Won't Fix
      Assignee: Igor Vaynberg

actually i just made ajaxfallbackbutton.onsubmit final, thanks for catching it :)

our idea with this is that you override onsubmit(ajaxrequesttarget t) and then your code looks like this:

onsubmit(ajaxrequesttarget t) {
 do something here
 if (t!=null) {
   // we are in an ajax request, setup partial update
   t.addcomponent(a);
   t.addcomponent(b);
}



> AjaxFallbackLink.onClick be helpful if not final
> ------------------------------------------------
>
>                 Key: WICKET-940
>                 URL: https://issues.apache.org/jira/browse/WICKET-940
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.3.0-beta3
>            Reporter: Sam Hough
>            Assignee: Igor Vaynberg
>            Priority: Minor
>
> I'd like to override AjaxFallbackLink.onClick and have application code live there rather than in the Ajax specific method. Obviously I could have onMyClick but this seems rather ugly and wouldn't look/feel the same as just using a Link object.
> AjaxFallbackButton.onSubmit is not final so it also seems inconsistent.
> Thanks
> Sam 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.