Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-2767

problem with url tag when using portlets

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.11.2
    • 2.1.3
    • Plugin - Portlet
    • None
    • struts 2.0.11.2
      portlets (Apache Pluto 1.1.5).

    Description

      hi all,
      i'm using struts 2.0.11.2 with portlets (Apache Pluto 1.1.5).

      I have problem with struts url tag. I have something like this:
      ---------
      <%@ page contentType="text/html; charset=UTF-8" %>
      <%@ taglib prefix="s" uri="/struts-tags"%>
      [..]
      <s:iterator value="%

      {menu}

      ">
      <a href="<s:url action="%

      {url}"/>">link
      </s:iterator>
      [..]
      ---------
      where '%{url}

      ' is valid property.
      in plain struts application value for action attribute is retrieved from 'url' property, but when run as portlet value is not read. In this case invalid url is created.

      how to do this in portlet?

      thanks for help
      artur,

      Attachments

        Activity

          People

            Unassigned Unassigned
            cvx22 Artur Harasimiuk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: