You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Pedro Santos (JIRA)" <ji...@apache.org> on 2011/09/16 23:18:09 UTC

[jira] [Assigned] (WICKET-4060) Disabled AjaxLink calls onClick()

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

Pedro Santos reassigned WICKET-4060:
------------------------------------

    Assignee: Pedro Santos

> Disabled AjaxLink calls onClick()
> ---------------------------------
>
>                 Key: WICKET-4060
>                 URL: https://issues.apache.org/jira/browse/WICKET-4060
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.0
>         Environment: all
>            Reporter: Karel Cabel
>            Assignee: Pedro Santos
>            Priority: Minor
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> 1) Render AjaxLink and copy its URL
> 2) Render again with disabled AjaxLink (there will not be any URL on client)
> 3) Enter URL from 1) to browser and go -> it calls onClick() on server
> This is because AjaxLink uses behavior that doesn't check disabled state on binded component (it checks it for rendering only).
> However normal Link works OK and doesn't call onClick().

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira