Re: Support for Markup in Head

Eric Dalquist <[email protected]> Fri, 23 Jul 2010 17:11:38 -0700
Newsgroups gmane.comp.jakarta.pluto.user
Organization UW DoIT
Message-ID <[email protected]>
This is a cryptographically signed message in MIME format.

--------------ms050007010203010903090703
Content-Type: multipart/alternative;
 boundary="------------040807070202030506020303"

This is a multi-part message in MIME format.
--------------040807070202030506020303
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable

I believe the container portion of pluto has support but it must be=20
implemented by the portal. The pluto driver is the little example portal =

for pluto and it does not implement the container apis needed for this=20
feature.

-Eric

On 7/23/10 11:07 AM, James Cook wrote:
> Just seems a little strange that the "Reference Implementation"=20
> doesn't support _all_ of the optional features of a spec.
>
> Thanks for the heads up.
>
> -- jim
>
> On Fri, Jul 23, 2010 at 1:15 PM, Woonsan Ko <[email protected]=20
> <mailto:[email protected]>> wrote:
>
>     Hi James,
>
>     Currently, Pluto doesn't support the portlet head element
>     contribution which is an *optional* feature of Portlet 2.0.
>     By the way, Jetspeed-2.2 supports that feature.
>
>     Regards,
>
>     Woonsan
>
>
>         *From:* James Cook <[email protected]
>         <mailto:[email protected]>>
>         *To:* [email protected]
>         <mailto:[email protected]>
>         *Sent:* Fri, July 23, 2010 6:06:14 AM
>         *Subject:* Support for Markup in Head
>
>         I am not sure if I am doing something wrong, or whether Pluto
>         does not support the full JSR-286 specification. I am trying
>         to inject content into the head section of my portal page. I
>         have implemented doHeaders() and confirmed that my code works
>         on Liferay portal.
>
>         When I ask pluto's PortalContext to reply with the value of
>         the MimeResponse.MARKUP_HEAD_ELEMENT property, it reports "null=
".
>
>         Does this mean that Pluto does not support this feature?
>
>
>
>

--------------040807070202030506020303
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content=3D"text/html; charset=3DISO-8859-1"
 http-equiv=3D"Content-Type">
</head>
<body text=3D"#000000" bgcolor=3D"#ffffff">
I believe the container portion of pluto has support but it must be
implemented by the portal. The pluto driver is the little example
portal for pluto and it does not implement the container apis needed
for this feature.<br>
<br>
-Eric<br>
<br>
On 7/23/10 11:07 AM, James Cook wrote:
<blockquote
 cite=3D"mid:[email protected]=
"
 type=3D"cite">Just seems a little strange that the "Reference
Implementation" doesn't support _all_ of the optional features of a
spec.
  <div><br>
  </div>
  <div>Thanks for the heads up.</div>
  <div><br>
  </div>
  <div>-- jim<br>
  <br>
  <div class=3D"gmail_quote">On Fri, Jul 23, 2010 at 1:15 PM, Woonsan Ko =
<span
 dir=3D"ltr">&lt;<a moz-do-not-send=3D"true"
 href=3D"mailto:[email protected]">[email protected]</a>&gt;</span>
wrote:<br>
  <blockquote class=3D"gmail_quote"
 style=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt =
0.8ex; padding-left: 1ex;">
    <div>
    <div
 style=3D"font-family: 'times new roman','new york',times,serif; font-siz=
e: 12pt;">
    <div>Hi James,</div>
    <div><br>
    </div>
    <div>Currently, Pluto doesn't support the portlet head element
contribution which is an *optional* feature of Portlet 2.0.</div>
    <div>By the way, Jetspeed-2.2 supports that feature.</div>
    <div><br>
    </div>
    <div>Regards,</div>
    <div><br>
    </div>
    <div>Woonsan</div>
    <div><br>
    </div>
    <blockquote
 style=3D"border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padd=
ing-left: 5px;">
      <div
 style=3D"font-family: times new roman,new york,times,serif; font-size: 1=
2pt;"><br>
      <div
 style=3D"font-family: times new roman,new york,times,serif; font-size: 1=
2pt;"><font
 face=3D"Tahoma" size=3D"2"><b><span style=3D"font-weight: bold;">From:</=
span></b>
James Cook &lt;<a moz-do-not-send=3D"true"
 href=3D"mailto:[email protected]" target=3D"_blank">jcook@tracermedi=
a.com</a>&gt;<br>
      <b><span style=3D"font-weight: bold;">To:</span></b> <a
 moz-do-not-send=3D"true" href=3D"mailto:[email protected]"
 target=3D"_blank">[email protected]</a><br>
      <b><span style=3D"font-weight: bold;">Sent:</span></b> Fri, July
23, 2010 6:06:14 AM<br>
      <b><span style=3D"font-weight: bold;">Subject:</span></b> Support
for Markup in Head<br>
      </font>
      <div class=3D"im"><br>
I am not sure if I am doing something wrong, or whether Pluto does not
support the full JSR-286 specification. I am trying to inject content
into the head section of my portal page. I have implemented doHeaders()
and confirmed that my code works on Liferay portal.
      <div><br>
      </div>
      <div>When I ask pluto's PortalContext to reply with the value of
the MimeResponse.MARKUP_HEAD_ELEMENT property, it reports "null".</div>
      <div><br>
      </div>
      <div>Does this mean that Pluto does not support this feature?</div>=

      <div><br>
      </div>
      <div><br>
      </div>
      </div>
      </div>
      </div>
    </blockquote>
    </div>
    <br>
    </div>
  </blockquote>
  </div>
  <br>
  </div>
</blockquote>
</body>
</html>

--------------040807070202030506020303--

--------------ms050007010203010903090703
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJcDCC
AvQwggJdoAMCAQICAkRNMA0GCSqGSIb3DQEBBQUAMFMxCzAJBgNVBAYTAlVTMRwwGgYDVQQK
ExNFcXVpZmF4IFNlY3VyZSBJbmMuMSYwJAYDVQQDEx1FcXVpZmF4IFNlY3VyZSBlQnVzaW5l
c3MgQ0EtMTAeFw0wNTA4MjkxNjA3MjBaFw0xNTA4MjkxNjA3MjBaMIGJMQswCQYDVQQGEwJV
UzErMCkGA1UEChMiRGl2aXNpb24gb2YgSW5mb3JtYXRpb24gVGVjaG5vbG9neTEjMCEGA1UE
CxMaRmFjdWx0eSAtIFN0YWZmIC0gU3R1ZGVudHMxKDAmBgNVBAMTH1VuaXZlcnNpdHkgb2Yg
V2lzY29uc2luLU1hZGlzb24wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAOhIUd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