[ http://issues.apache.org/jira/browse/BEEHIVE-199?page=all ] Nathan Jantz closed BEEHIVE-199: --------------------------------
Related to BEEHIVE-217. Updating qaWeb Tiles support test suite accordingly. Closing issue. > 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 - For more information on JIRA, see: http://www.atlassian.com/software/jira