Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-51233

Taglib Generator should propagate tag descriptions and the tag library's description to the TLD file

    Details

      Description

      To reproduce:

      1. Edit liferay-portal/util-taglib/src/com/liferay/taglib/auil.xml and add a description element within the taglibs element and add a description element within a component element. Put arbitrary text in each description element.
      2. cd liferay-portal/util-taglib/
      3. ant build-taglibs

      ... the description elements are not generated in the aui.tld file.

      Expected results:
      In the tld file, the description element will be generated within the taglib element and the other description element will be generated within the tag element that corresponds to the component.

      <?xml version="1.0"?>

      <taglib xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.0" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd">
      <description><![CDATA[This is a tag library.]]></description>
      <tlib-version>1.0</tlib-version>
      <short-name>aui</short-name>
      <uri>http://alloy.liferay.com/tld/aui</uri>
      <tag>
      <description><![CDATA[This is a super component.]]></description>
      <name>button-item</name>
      ...

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              joyce.wang Joyce Wang
              Reporter:
              james.hinkey James Hinkey (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                7 years, 27 weeks, 2 days ago

                  Packages

                  Version Package
                  6.2.3 CE GA4
                  6.2.X EE
                  7.0.0 M3