Hi there,
I am attempting to have the page title bar included in the page dynamically from a static source.
For MII, the SERVLET tag seems perfect. So I did the code shown below.
When I include a QueryTemplate on the SERVLET it works fine. When I don't include the query
I get the ERROR RUNNING SERVLET message.
So the question is how do I include static html without running a query?
And a related question: In the welcomeMsg paragraph the doesn't get resolved to the value of the session param. It shows the string "".
(OK, so semi-static xsl. LOL)
Is there a way to have the actual displayname show up?
Thanks all,
--Amy Smith
--Haworth
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <ht ml> <he ad> <me ta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> </he ad> <bo dy> <SERVLET NAME="Illuminator"> <PARAM NAME="QueryTemplate" VALUE="APEX/Queries/EX/plantSelectionQuery"/> <PARAM NAME="StyleSheet" VALUE="http://localhost:50000/XMII/CM/APEX/xsl/test.xsl"/> <PARAM NAME="Content-Type" VALUE="text/xml"/> </SERVLET> </ht ml>
<?xm l ver sion="1.0" encoding="UTF-8"?>
<xs l:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xs l:output method="html" media-type="text/html"/>
<x sl:template match="/">
<x sl:text disable-output-escaping="yes">
<![CD ATA[
<di v id="titleBar">
<di v id="branding"></div>
<p id="welcomeMsg">Hello {displayname}</p>
<!-- Div hack to show the background color because other divs are floated -->
<div id="spacer"></div>
</div>
]]>