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

Richlets should be able to define without specifying their names

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • Configuration
    • 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.

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

              Created:
              Updated: