Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-2278

Richlets should be able to define without specifying their names

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Configuration
    • Labels:
      None

      Description

      For instance, the richlet org.zkoss.zkdemo.TestRichlet should be able to define in WEB-INF/zk.xml with the statement similar to the following:

      WEB-INF/zk.xml
      <richlet>
        <!-- <richlet-name>...</richlet-name> - omitted -->
        <richlet-class&gt;org.zkoss.zkdemo.TestRichlet</richlet-class&gt;
      </richlet>
      
      <richlet-mapping>
        <richlet-name>org.zkoss.zkdemo.TestRichlet</richlet-name> <!-- same as the class-name - mandatory -->
        <url-pattern>/test</url-pattern>
      </richlet-mapping>
      

      The 'richlet-name' element should be optional.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            mariokr mariokr
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated: