[ http://issues.apache.org/jira/browse/BEEHIVE-199?page=comments#action_60578 ] Carlin Rogers commented on BEEHIVE-199: ---------------------------------------
The patch and resolution for JIRA Beehive issue 217 will require that the paths to tiles definition files be absolute from the webapp root. That will make this bug a non-issue. I will change this bug to "resolved" once we get the patch provided for 217 into svn. > 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: Carlin Rogers > > 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
