You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Shawn McKinney (Jira)" <ji...@apache.org> on 2023/06/28 15:25:00 UTC

[jira] [Updated] (FC-322) [FORTRESS-WEB]IndicatingAjaxButton should be applied on a 'button' tag

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

Shawn McKinney updated FC-322:
------------------------------
    Description: 
Longstanding irritation. Using the wrong tag in markup for buttons.  Instead of:

```html
# Wrong!
<input type="button"
  class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only"
  wicket:id="wspage2.button1" value="wspage2.button1" name="wspage2.button1"/>
```

```html
# Correct:
<button type="button"
  class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only"
  wicket:id="wspage2.button1" name="wspage2.button1">wspage2.button1</button>
```

The result of having incorrect tag is a warning in the logs:

```
WARN  - 28 Jun 2023 10:01:50,606 - IndicatingAjaxButton       - IndicatingAjaxButton should be applied on a 'button' tag
```

button otherwise seems to work correctly.  Nevertheless, this needs to be fixed.

  was:
Longstanding irritation. Using the wrong tag in markup for buttons.  Instead of:

```html
# Wrong!
<input type="button"
  class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only"
  wicket:id="wspage2.button1" value="wspage2.button1" name="wspage2.button1"/>
```

```html
# Correct:
<button type="button"
  class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only"
  wicket:id="wspage2.button1" name="wspage2.button1">wspage2.button1</button>
```


> [FORTRESS-WEB]IndicatingAjaxButton should be applied on a 'button' tag
> ----------------------------------------------------------------------
>
>                 Key: FC-322
>                 URL: https://issues.apache.org/jira/browse/FC-322
>             Project: FORTRESS
>          Issue Type: Bug
>    Affects Versions: 2.0.8
>            Reporter: Shawn McKinney
>            Assignee: Shawn McKinney
>            Priority: Minor
>             Fix For: 3.0.0
>
>
> Longstanding irritation. Using the wrong tag in markup for buttons.  Instead of:
> ```html
> # Wrong!
> <input type="button"
>   class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only"
>   wicket:id="wspage2.button1" value="wspage2.button1" name="wspage2.button1"/>
> ```
> ```html
> # Correct:
> <button type="button"
>   class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only"
>   wicket:id="wspage2.button1" name="wspage2.button1">wspage2.button1</button>
> ```
> The result of having incorrect tag is a warning in the logs:
> ```
> WARN  - 28 Jun 2023 10:01:50,606 - IndicatingAjaxButton       - IndicatingAjaxButton should be applied on a 'button' tag
> ```
> button otherwise seems to work correctly.  Nevertheless, this needs to be fixed.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
For additional commands, e-mail: dev-help@directory.apache.org