Richlets should be able to define without specifying their names

XMLWordPrintable

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

      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.

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

              Created:
              Updated: