Thanks for the detailed info, I'll take a look at both the resource aggregator (which should support this) and the rendering pipeline to figure out why the comments are being stripped.

-Eric

On 07/26/2011 04:59 PM, Jeffrey Cross wrote:
Hello,
There are a couple of issues with uPortal that would benefit from having Internet Explorer version-specific stylesheets. In particular, https://issues.jasig.org/browse/UP-2621 and https://issues.jasig.org/browse/UP-3083

Ideally, this would be accomplished by placing these IE-recognized types of comments in the head of the HTML document:
<!--[if IE 6]>
Special instructions for IE 6 here
<![endif]-->
However, when I try to accomplish this by creating the following <xsl:comment> tag, the comment is not rendered when the page is rendered:
<xsl:comment><![CDATA[[if IE]>
<style type="text/css">
div#portalPageBodyColumns .fl-container-flex50 { width:49.99% } div#portalPageBodyColumns .fl-container-flex25 { width:24.99% }
</style>
<![endif]]]></xsl:comment>

If I do this with a client-side XSL template and xml, the comment is rendered properly. However, the uPortal Rendering Pipeline is stripping the comment out. Does anyone know the cause, or more importantly, a solution to this issue?

Thanks! - Jeff

--
Jeff Cross
[email protected] <mailto:[email protected]>
Desk: 480-558-2424

--

You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/uportal-dev

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to