You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Greg Huber (Jira)" <ji...@apache.org> on 2022/02/09 14:32:00 UTC
[jira] [Comment Edited] (WW-5168) Add missing submitUnchecked to javatemplates checkbox tag
[ https://issues.apache.org/jira/browse/WW-5168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17489573#comment-17489573 ]
Greg Huber edited comment on WW-5168 at 2/9/22, 2:31 PM:
---------------------------------------------------------
I have not been able to fix/fathom the CheckboxTest by setting tag.setSubmitUnchecked("true");
There seems something wrong for checking on boolean parameters. It's the same for disabled. Looking through the history I am not sure it has ever worked.
The stack variable is a easymock object on interface ValueStack, but then there is no logic inside it for finding stuff so it always returns null.
Its a pain because the default on submitUnchecked is false, so for them to match it really needs adding.
was (Author: gregh99):
I have not been able to fix/fathom the CheckboxTest by setting tag.setSubmitUnchecked("true");
There seems something wrong for checking on boolean parameters. It's the same for disabled. Looking through the history I am not sure it has ever worked.
The stack variable is a easymock object on interface ValueStack, but then there is no logic inside it for finding stuff so it always returns null.
Its a pain because the default on submitUnchecked is true, so for them to match it really needs adding.
> Add missing submitUnchecked to javatemplates checkbox tag
> ---------------------------------------------------------
>
> Key: WW-5168
> URL: https://issues.apache.org/jira/browse/WW-5168
> Project: Struts 2
> Issue Type: Improvement
> Components: Plugin - Java Templates
> Affects Versions: 2.5.29
> Reporter: Greg Huber
> Priority: Minor
> Fix For: 2.6
>
>
> Add missing attribute submitUnchecked to java templates checkbox tag so it matches the main freemarker template.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)