wicket-jquery-ui
wicket-jquery-ui copied to clipboard
Allow usage of IndicatingAjaxButton with <input type="button">
A user reported an issue at [email protected] that IndicatingAjaxButton could not be used with <input type="button">
:
WARN - 28 Jun 2023 07:35:56,704 - IndicatingAjaxButton - IndicatingAjaxButton should be applied on a 'button’ tag
citation:
Looking at the wicket source, I see:
public abstract class IndicatingAjaxButton extends AjaxButton
@Override
protected void onComponentTag(ComponentTag tag)
{
super.onComponentTag(tag);
if (!"button".equalsIgnoreCase(tag.getName()))
{
LOG.warn("IndicatingAjaxButton should be applied on a 'button' tag”);
}
}
It appeared that he is using com.googlecode.wicket.jquery.ui.form.button.IndicatingAjaxButton
.
Full discussion at https://lists.apache.org/thread/n934jywv4pbmpkbnkqsl9m24wqcgyzhk
Hi Martin,
Yes, I have seen the discussion but I didn't understood it was about wicket-jquery-ui. In the case of the IndicatingAjaxButton, it doesn't work if it's in input, the spinner will not be displayed, AFAIR...
On Thu, Jun 29, 2023, 20:26 Martin Grigorov @.***> wrote:
A user reported an issue at @.*** that IndicatingAjaxButton could not be used with :
WARN - 28 Jun 2023 07:35:56,704 - IndicatingAjaxButton - IndicatingAjaxButton should be applied on a 'button’ tag
citation:
Looking at the wicket source, I see:
public abstract class IndicatingAjaxButton extends AjaxButton
@Override protected void onComponentTag(ComponentTag tag) { super.onComponentTag(tag); if (!"button".equalsIgnoreCase(tag.getName())) { LOG.warn("IndicatingAjaxButton should be applied on a 'button' tag”); } }
It appeared that he is using com.googlecode.wicket.jquery.ui.form.button.IndicatingAjaxButton.
Full discussion at https://lists.apache.org/thread/n934jywv4pbmpkbnkqsl9m24wqcgyzhk
— Reply to this email directly, view it on GitHub https://github.com/sebfz1/wicket-jquery-ui/issues/359, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANDHGBSW7R5MECAWLUTS7DXNVYA3ANCNFSM6AAAAAAZYOCKCA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
If it does not support <input type="button">
then please close this issue.
I just wanted to make sure you are aware of the discussion.