I'm checking this in before I get a review - because it seems to be biting several people...
Max Carlson wrote: > Change 20090901-maxcarlson-I by maxcarl...@bank on 2009-09-01 16:06:18 > PDT > in /Users/maxcarlson/openlaszlo/trunk-clean > for http://svn.openlaszlo.org/openlaszlo/trunk > > Summary: Fix XSLT transforms to process includes relative to the > correct path > > Bugs Fixed: LPP-8440 - LPS failing to load xslt templates from the > correct path > > Technical Reviewer: ptw > QA Reviewer: hminsky > > Details: After barking up the wrong tree for a while, I realized we > needed to (of course!) implement a URIResolver to add the correct base > path for XSLT includes... > > TransformUtils - Add TemplateResolver which implements URIResolver to > add the correct base path for <xsl:include> tags. > > LZServlet - Always use the webapp root as the LPS base path. > > *.xslt - Simplify include paths to be relative to WEB-INF/lps/templates. > > Tests: See LPP-8440 > > Files: > M WEB-INF/lps/server/src/org/openlaszlo/utils/TransformUtils.java > M WEB-INF/lps/server/src/org/openlaszlo/servlets/LZServlet.java > M WEB-INF/lps/templates/html-response_jp.xslt > M WEB-INF/lps/templates/html-response.xslt > M WEB-INF/lps/templates/app-console_jp.xslt > M WEB-INF/lps/templates/app-console.xslt > > Changeset: > http://svn.openlaszlo.org/openlaszlo/patches/20090901-maxcarlson-I.tar > _______________________________________________ > Laszlo-reviews mailing list > [email protected] > http://www.openlaszlo.org/mailman/listinfo/laszlo-reviews -- Regards, Max Carlson OpenLaszlo.org _______________________________________________ Laszlo-reviews mailing list [email protected] http://www.openlaszlo.org/mailman/listinfo/laszlo-reviews
