Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#30900 draft for first changes on force unlock #30906

Open
wants to merge 14 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
#30900 adding changes to support the checkbox fine
  • Loading branch information
jdotcms committed Jan 6, 2025
commit a05510a59effe363275c55bf5a4644543439a15b
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public List<WorkflowActionletParameter> getParameters() {

final List<WorkflowActionletParameter> workflowActionletParameters = new ArrayList<>();

workflowActionletParameters.add(new CheckboxWorkflowActionletParameter(FORCE_UNLOCK_ALLOWED, "Force Unlock", "force-unlock", false));
workflowActionletParameters.add(new CheckboxWorkflowActionletParameter(FORCE_UNLOCK_ALLOWED, "Force Unlock", "false", false));

return workflowActionletParameters;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,9 @@
<tr>
<td nowrap="true" valign="top" style="text-align: right;"><%if(workflowActionletParameter.isRequired()){ %><span class="required"></span><%} %><%=workflowActionletParameter.getDisplayName() %>:</td>
<td>
<%=workflowActionletParameter.getDefaultValue()%> | <%=value%>
<input id="acp-<%=workflowActionletParameter.getKey() %>" name="acp-<%=workflowActionletParameter.getKey() %>" value="<%=workflowActionletParameter.getDefaultValue()%>"
<input id="acp-<%=workflowActionletParameter.getKey() %>" name="acp-<%=workflowActionletParameter.getKey() %>" value="true"
type="checkbox"
<%=workflowActionletParameter.getDefaultValue().equals(value)? "checked":""%> dojoType="dijit.form.CheckBox" />
<%=!workflowActionletParameter.getDefaultValue().equals(value)? "checked":""%> dojoType="dijit.form.CheckBox" />
</td>
</tr>
<% } else { %>
Expand Down
Loading