You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Ryan Sonnek (JIRA)" <ji...@apache.org> on 2007/05/02 02:59:15 UTC

[jira] Created: (WICKET-521) Using Wicket Link on HTML

Using Wicket Link on HTML <button> tag does not disable correctly
-----------------------------------------------------------------

                 Key: WICKET-521
                 URL: https://issues.apache.org/jira/browse/WICKET-521
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.3
            Reporter: Ryan Sonnek


The concensus on the mailing list is that people should use a wicket Link object when working with <button> markup tags.  

This is confusing, but the core issue is that it doesn't support disabled buttons.

the Link object removes the <a> tag when a Link is disabled.
<a href="">test</a>   becomes    test

when used on a <button> tag, it should add:
disabled="disabled" to the markup.

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


[jira] Resolved: (WICKET-521) Using Wicket Link on HTML

Posted by "Jean-Baptiste Quenot (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-521?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Quenot resolved WICKET-521.
-----------------------------------------

       Resolution: Duplicate
    Fix Version/s: 1.3
         Assignee: Jean-Baptiste Quenot

WICKET-481

> Using Wicket Link on HTML <button> tag does not disable correctly
> -----------------------------------------------------------------
>
>                 Key: WICKET-521
>                 URL: https://issues.apache.org/jira/browse/WICKET-521
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3
>            Reporter: Ryan Sonnek
>         Assigned To: Jean-Baptiste Quenot
>             Fix For: 1.3
>
>
> The concensus on the mailing list is that people should use a wicket Link object when working with <button> markup tags.  
> This is confusing, but the core issue is that it doesn't support disabled buttons.
> the Link object removes the <a> tag when a Link is disabled.
> <a href="">test</a>   becomes    test
> when used on a <button> tag, it should add:
> disabled="disabled" to the markup.

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