Fixes are available
Closed as program error.
Abstract: Build converts relative HTML links into absolute ones within a web page following a design-template Problem: 1. Create a new Dynamic Web Project 2. Open File ? New, Web ? Web Page Template. Choose name index.jtpl and option Design-time template 3. Open the view Palette and drop a Content Area on the editor for index.jtpl 4. Open menu File ? New, Web ? JSP File. Specify name logout.jsp 5. Add a relative HTML link within index.jtpl to logout.jsp. Make sure it is a relative link and does not include the web application name 6. Disable automatic build via Project ? Build Automatically 7. Open menu File ? New, Web ? Web Page. Specify name mypage.jsp and pick template My Templates ? index.jtpl Expected Result: mypage.jsp contains a relative link to logout.jsp Actual Result: mypage.jsp contains an absolute link to logout.jsp including the project Local fix: There is no known workaround at this time.
Starting with the 8.0 release, two new options were introduced in regard of how to handle links from design-time templates into web pages. Those new preferences are locate in Window > Preferences > Web > Page Template > Links for Page, group "Default Link path when design-time" template is applied: When you apply a design-time template to a Web Page, link contributed by template will be made: ( ) Relative to document root directory ( ) Relative to document directory By default "( ) Relative to document root directory" is behavior is being applied. Either option rework links in web pages from design-time templates having differences between version 6.x and 7.x versus 8.x. For example, from: <li><a href="/will/">Will My Credits to <li><a href="/contextRoot/will/">Will My Credits
This APAR introduces a new option named "The same as template's links (unchanged)" located at Window > Preferences > Web > Page Template > Links for Page, group "Default Link path when design-time" template is applied: When you apply a design-time template to a Web Page, link contributed by template will be made: ( ) Relative to document root directory ( ) Relative to document directory ( ) The same as template's links (unchanged) By selecting "The same as template's links (unchanged)" links from design-time templates are not modified in web pages. The fix for this APAR is included in Rational Application Developer v188.8.131.52.
Reported component name
RATL BUS DEV
Reported component ID
Last modified date
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fixed component name
RATL APP DEV WI
Fixed component ID
Applicable component levels