[
https://issues.apache.org/jira/browse/ISIS-552?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dan Haywood updated ISIS-552:
-----------------------------
Description:
In Wicket 6.10.0 (per https://issues.apache.org/jira/browse/WICKET-5289), sets
the HTML5 "required" attribute. This causes HTML5 browsers such as Chrome to
display a client-side pop-up.
When the OK button is clicked, the Wicket viewer always displays the veil (see
jquery.isis.viewer.wicket.js), and relies upon a page refresh to clear the veil.
However, because the page is never submitted, the veil does not disappear. The
only workaround is to resubmit the page, thus losing any text that might have
been entered.
In Wicket 6.11.0, a new HTML5Attributes feature (WICKET-5331) makes this
behaviour pluggable.
This ticket was previously to disable the setRequired flag for Wicket 6.10.0.
With the advent of Wicket 6.11.0, it is instead to upgrade to Wicket 6.11.0 and
to use this new feature.
was:
In Wicket 6.10.0 (per https://issues.apache.org/jira/browse/WICKET-5289), sets
the HTML5 "required" attribute. This causes HTML5 browsers such as Chrome to
display a client-side pop-up.
When the OK button is clicked, the Wicket viewer always displays the veil (see
jquery.isis.viewer.wicket.js), and relies upon a page refresh to clear the veil.
However, because the page is never submitted, the veil does not disappear. The
only workaround is to resubmit the page, thus losing any text that might have
been entered.
In Wicket 6.11.0, a new feature
~~~
An alternative solutino - that would preserve the pop-up - would be to change
the way that the veil is rendered, by associating the Javascript callback with
form.submit() rather than button.click().
> Upgrade to Wicket 6.11.0 and disable HTML5 functionality that caused
> interference between required text fields and the Wicket viewer's veil.
> --------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: ISIS-552
> URL: https://issues.apache.org/jira/browse/ISIS-552
> Project: Isis
> Issue Type: Bug
> Components: Viewer: Wicket
> Reporter: Dan Haywood
> Assignee: Dan Haywood
> Priority: Minor
> Fix For: viewer-wicket-1.3.0
>
>
> In Wicket 6.10.0 (per https://issues.apache.org/jira/browse/WICKET-5289),
> sets the HTML5 "required" attribute. This causes HTML5 browsers such as
> Chrome to display a client-side pop-up.
> When the OK button is clicked, the Wicket viewer always displays the veil
> (see jquery.isis.viewer.wicket.js), and relies upon a page refresh to clear
> the veil.
> However, because the page is never submitted, the veil does not disappear.
> The only workaround is to resubmit the page, thus losing any text that might
> have been entered.
> In Wicket 6.11.0, a new HTML5Attributes feature (WICKET-5331) makes this
> behaviour pluggable.
> This ticket was previously to disable the setRequired flag for Wicket 6.10.0.
> With the advent of Wicket 6.11.0, it is instead to upgrade to Wicket 6.11.0
> and to use this new feature.
--
This message was sent by Atlassian JIRA
(v6.1#6144)