[ http://issues.apache.org/jira/browse/BEEHIVE-199?page=history ]
Carlin Rogers resolved BEEHIVE-199:
-----------------------------------
Assign To: Nathan Jantz (was: Carlin Rogers)
Resolution: Fixed
Fix Version: V1
Addressed with revision 157848. An absolute path from the
webapp root is required for the location of the tiles
definitions config files.
> Cannot reference Tiles Definition files outside the current page flow using
> relative paths.
> -------------------------------------------------------------------------------------------
>
> Key: BEEHIVE-199
> URL: http://issues.apache.org/jira/browse/BEEHIVE-199
> Project: Beehive
> Type: Bug
> Components: NetUI
> Versions: V1Beta
> Environment: Running the usual components required by Beehive V1Beta on a
> Win32 box. Local test environment.
> Reporter: Nathan Jantz
> Assignee: Nathan Jantz
> Fix For: V1
>
> 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>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira