On 7/18/06, David Sean Taylor <[EMAIL PROTECTED]> wrote:
>
> One question I have though is how we prevent multiple portlets from
> including the same resources multiple times? (Eg. if 5 portlets in
> the page all need dojo.js, then how do we prevent it from being
> needlessly included 5 times).
The AbstractDojoVelocityPortlet uses the HeaderResource component to
ensure that any header resources added via addHeaderInfo or
addJavaScript or addStyleSheet are unique.
Ah, sweet. I'll look at what's done in AbstractDojoVelocityPortlet
and I'm sure I can figure out something for my specific case in the
mean time...
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]