Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.0-m2, 2.2
    • Component/s: Development
    • Security Level: Public (Public: Anyone can view)
    • Labels:
      None
    • Rice Module:
      KRAD
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required

      Description

      We can remove the component properties (defined in ComponentBase): dataRoleAttribute, dataTypeAttribute, and dataMetaAttribute. These are needed anymore because everything can be done using the generic dataAttributes map.

      When removing, check there are no references in XML files or the freemarker template (*.ftl).

        Attachments

          Issue Links

            Activity

            Hide
            matthew.wuertz Matthew Wuertz (Inactive) added a comment -

            There is still a documentation XML file that mentions these fields (along with others that I don't think exist on their own anymore). That may still be a valid document (since you can set these through the Attributes), so I left them as-is.

            Show
            matthew.wuertz Matthew Wuertz (Inactive) added a comment - There is still a documentation XML file that mentions these fields (along with others that I don't think exist on their own anymore). That may still be a valid document (since you can set these through the Attributes), so I left them as-is.
            Hide
            jkneal Jerry Neal (Inactive) added a comment -

            Hey Matt,

            Can you throw the documentation you found up on the Jira so I can take a look? If it is mentioning setting these properties, we should probably remove it.

            Jerry

            Show
            jkneal Jerry Neal (Inactive) added a comment - Hey Matt, Can you throw the documentation you found up on the Jira so I can take a look? If it is mentioning setting these properties, we should probably remove it. Jerry
            Hide
            matthew.wuertz Matthew Wuertz (Inactive) added a comment -

            The documentation is within client_side_features.xml:

            <para>A sample configuration is shown below.</para>
            <programlisting>
            1. <bean id="textAreaInputField_attrs" parent="Uif-InputField" >
            2. ...
            3 <bean parent="Uif-TextAreaControl" >
            4. ...
            5. <property name="dataAttributes">
            6. <map>
            7. <entry key="iconTemplateName" value="cool-icon-%s.png"/>
            8. <entry key="transitions" value="3"/>
            9. <entry key="capitals" value="

            {kenya:'nairobi', uganda:'kampala', tanzania:'dar'}

            "/>
            10. <entry key="intervals" value="

            {short:2, medium:5, long:13}

            "/>
            11. </map>
            12. </property>
            13. <property name="dataRoleAttribute" value="role"/>
            14. <property name="dataMetaAttribute" value="meta"/>
            15. <property name="dataTypeAttribute" value="type"/>
            16. </bean>
            17. </property>
            18. </bean>

            Show
            matthew.wuertz Matthew Wuertz (Inactive) added a comment - The documentation is within client_side_features.xml: <para>A sample configuration is shown below.</para> <programlisting> 1. <bean id="textAreaInputField_attrs" parent="Uif-InputField" > 2. ... 3 <bean parent="Uif-TextAreaControl" > 4. ... 5. <property name="dataAttributes"> 6. <map> 7. <entry key="iconTemplateName" value="cool-icon-%s.png"/> 8. <entry key="transitions" value="3"/> 9. <entry key="capitals" value=" {kenya:'nairobi', uganda:'kampala', tanzania:'dar'} "/> 10. <entry key="intervals" value=" {short:2, medium:5, long:13} "/> 11. </map> 12. </property> 13. <property name="dataRoleAttribute" value="role"/> 14. <property name="dataMetaAttribute" value="meta"/> 15. <property name="dataTypeAttribute" value="type"/> 16. </bean> 17. </property> 18. </bean>

              People

              • Assignee:
                matthew.wuertz Matthew Wuertz (Inactive)
                Reporter:
                jkneal Jerry Neal (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: