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

Struts portlets do not work : no tiles context found

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: No Longer Reproducible
    • Affects Version/s: 6.0.12 EE, 6.1.0 CE RC1
    • Fix Version/s: 6.1.0 CE GA1
    • Component/s: Legacy > Samples
    • Labels:
      None
    • Environment:
      Tomcat 6.0.32 + MySQL 5. 6.0.x Revision 86401.
      Tomcat 6.0.32 + MySQL 5. 6.1.x Revision 86401.
    • Branch Version/s:
      6.0.x

      Description

      When displaying the sample struts portlet from the plugins/trunk/portlets folder on the Liferay trunk portal, an error occurs:

      [...]
      Caused by: javax.servlet.jsp.JspException: Error - tag useAttribute : no tiles context found.
      at org.apache.struts.taglib.tiles.UseAttributeTag.doStartTag(UseAttributeTag.java:176)
      [...]

      See the log file attached for the full stacktrace.

      This error occurs for the struts portlets I've tested, however there is a tile plugin definition in the struts-config.xml:
      <!-- Tiles Plugin -->
      <plug-in className="org.apache.struts.tiles.TilesPlugin" >
      <set-property property="definitions-config" value="/WEB-INF/tiles-defs.xml" />
      <set-property property="moduleAware" value="true" />
      <set-property property="definitions-parser-validate" value="true" />
      </plug-in>

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              support-lep@liferay.com SE Support
              Reporter:
              cbriancon Cédric Briançon (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                8 years, 40 weeks, 4 days ago

                  Packages

                  Version Package
                  6.1.0 CE GA1