Uploaded image for project: 'Beehive'
  1. Beehive
  2. BEEHIVE-199

Cannot reference Tiles Definition files outside the current page flow using relative paths.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • V1Beta
    • v1m1
    • NetUI
    • None
    • Running the usual components required by Beehive V1Beta on a Win32 box. Local test environment.

    Description

      Cannot reference Tiles Definition files outside the current page flow when using relative paths.

      Example use-case 1 (nested page flow):
      ---------------------------------------
      Reference a tiles definition file from within a nested page flow where the tiles definition file lives in the parent page flow directory (one directory above) like so:

      @Jpf.Controller(
      tilesDefinitionsConfigs =

      { "../tiles-defs.xml" }

      ,
      simpleActions=

      { @Jpf.SimpleAction(name="begin", tilesDefinition="default.page") }

      )

      Which does not work because the generated output would look like this:

      <plug-in className="org.apache.struts.tiles.TilesPlugin">
      <set-property property="definitions-config" value="\nested/../tilesdefs.xml"/>
      <set-property property="moduleAware" value="true"/>
      </plug-in>

      Attachments

        Activity

          People

            njantz Nathan Jantz
            njantz Nathan Jantz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: