You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Pawan Verma (JIRA)" <ji...@apache.org> on 2018/04/25 06:12:00 UTC
[jira] [Commented] (OFBIZ-10367) Add Support for Disable attribute
in CheckBox Form Widget
[ https://issues.apache.org/jira/browse/OFBIZ-10367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16451702#comment-16451702 ]
Pawan Verma commented on OFBIZ-10367:
-------------------------------------
Attaching patch for this improvement. To disable a form-widget checkbox, disable attribute will be used. Example:
{code:java}
// <field><check disabled="true"/></field>
{code}
> Add Support for Disable attribute in CheckBox Form Widget
> ---------------------------------------------------------
>
> Key: OFBIZ-10367
> URL: https://issues.apache.org/jira/browse/OFBIZ-10367
> Project: OFBiz
> Issue Type: Improvement
> Components: framework
> Affects Versions: Trunk
> Reporter: Pawan Verma
> Assignee: Pawan Verma
> Priority: Minor
> Attachments: OFBIZ-10367.patch
>
>
> While working on the Inventory Transfer improvements, I have found that there should be support in CheckBox form-widget to disable a checkbox. There might be several use cases for this, I am listing one below:
> Use Case: A screen list all the requirement out of which only Approved Requirement is allowed to perform some action and other should not be allowed to select.
> To support this type of case there should be a support to disable a form-widget checkbox.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)