[jira] Created: (OFBIZ-619) Ability to disable single OPTION elements in form widget SELECTS

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (OFBIZ-619) Ability to disable single OPTION elements in form widget SELECTS

Nicolas Malin (Jira)
Ability to disable single OPTION elements in form widget SELECTS
----------------------------------------------------------------

                 Key: OFBIZ-619
                 URL: https://issues.apache.org/jira/browse/OFBIZ-619
             Project: Apache OFBiz (The Open for Business Project)
          Issue Type: Improvement
          Components: framework
    Affects Versions: SVN trunk
            Reporter: Chris Liberty
            Priority: Minor
         Attachments: FormWidget_DisableOption, v1.patch

It's nice to be able to disable an option in a select sometimes, even if browser support isn't pervasive yet.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-619) Ability to disable single OPTION elements in form widget SELECTS

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-619?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Liberty updated OFBIZ-619:
--------------------------------

    Attachment: FormWidget_DisableOption, v1.patch

> Ability to disable single OPTION elements in form widget SELECTS
> ----------------------------------------------------------------
>
>                 Key: OFBIZ-619
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-619
>             Project: Apache OFBiz (The Open for Business Project)
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Chris Liberty
>            Priority: Minor
>         Attachments: FormWidget_DisableOption, v1.patch
>
>
> It's nice to be able to disable an option in a select sometimes, even if browser support isn't pervasive yet.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-619) Ability to disable single OPTION elements in form widget SELECTS

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12464271 ]

Chris Liberty commented on OFBIZ-619:
-------------------------------------

Attached patch extends widget-form.xsd to allow a 'disabled' attribute on 'option' elements, adds handling code to the ModelFormField's OptionValue and SingleOption classes, and rendering code to HtmlFormRenderer.renderDropDownField().

> Ability to disable single OPTION elements in form widget SELECTS
> ----------------------------------------------------------------
>
>                 Key: OFBIZ-619
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-619
>             Project: Apache OFBiz (The Open for Business Project)
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Chris Liberty
>            Priority: Minor
>         Attachments: FormWidget_DisableOption, v1.patch
>
>
> It's nice to be able to disable an option in a select sometimes, even if browser support isn't pervasive yet.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira