Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-270

Use the same XML syntax for declaring UIItem and Right in plugin.xml

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • 2.LATER
    • 2.0.0 M3
    • None
    • None

      Since RUNTIME-269, <LabelKey> has been transformed into <label i18n="true"> for configuration parameter.
      In order to use the same syntax, the following definitions must be modified:

      • org.ametys.runtime.ui.item.UIItemManager extension:
        <extension  point="org.ametys.runtime.ui.item.UIItemManager"  ...>
          ...
          <LabelKey>PLUGINS_CORE_ADMINISTRATOR_PASSWORD_LABEL</LabelKey>
          <DescriptionKey>PLUGINS_CORE_ADMINISTRATOR_PASSWORD_DESCRIPTION</DescriptionKey>
        
      • org.ametys.runtime.plugins.core.right.RightsExtensionPoin extension:
        <extension point="org.ametys.runtime.plugins.core.right.RightsExtensionPoint" ...>
          <right id="Runtime_Rights_User_Handle">
          <label>PLUGINS_CORE_USERS_RIGHTS_HANDLE_LABEL</label>
          <description>PLUGINS_CORE_USERS_RIGHTS_HANDLE_DESCRIPTION</description>
          <category>PLUGINS_CORE_USERANDRIGHTS_CATEGORY</category>
           ...
        

      Moreover, this kind of definition can have their own schema, thanks to RUNTIME-268.

            Unassigned Unassigned
            yabon Sébastien Launay (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: