portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark McCullough" <bustedmag...@gmail.com>
Subject Re: JavaScript in JSP page portlet
Date Tue, 15 Aug 2006 13:18:17 GMT
That is probably why, I'm using J2-M3.
-mark-

On 8/15/06, Sie, Yang <yang.sie@fmr.com> wrote:
>
> Thank you Mark. However, I am unable to find the decorator-top.vm in my
> file system. The <head> is within my head.vm. Where do you have that
> file located? I am using JS2.1-Dev. Are we using the same version? Thank
> you.
>
> ---Yang
>
>
> >-----Original Message-----
> >From: Mark McCullough [mailto:bustedmagnet@gmail.com]
> >Sent: Tuesday, August 15, 2006 9:01 AM
> >To: Jetspeed Developers List
> >Subject: Re: JavaScript in JSP page portlet
> >
> >I just looked at the macros file and yes, it looks like that works too,
> but
> >the decorator-top.vm file is basically the top of the entire portal
> page
> >and
> >contains the <head> tag that will be used for the entire aggregation of
> >portlets for that page, so you can include style and javascript in
> there
> >that can be used by any portlet that uses that decorator. Just two ways
> of
> >accomplishing the same thing.
> >-mark-
> >
> >On 8/15/06, Sie, Yang <yang.sie@fmr.com> wrote:
> >>
> >> Are you referring the jetspeed_macros.vm file? Given the
> customization
> >> that we are doing, I have been using that file to hold all my
> >> javascripts under
> >> #macro (includeJavaScriptForHead) and that serves the purpose. How do
> >> you use decorators-top.vm file? Where do you create this file? Thank
> >> you.
> >>
> >> ---Yang
> >>
> >>
> >>
> >> >-----Original Message-----
> >> >From: Mark McCullough [mailto:bustedmagnet@gmail.com]
> >> >Sent: Tuesday, August 15, 2006 8:21 AM
> >> >To: Jetspeed Developers List
> >> >Subject: Re: JavaScript in JSP page portlet
> >> >
> >> >Personally, I've embedded all my JS into the corresponding
> >> >decorators-top.vmfile, but you could probably go to the decorator
> >> >folder and create a
> >> >Javascript folder where the images and CSS folders are and refer to
> it
> >> that
> >> >way.
> >> >-mark-
> >> >
> >> >On 8/15/06, Michael Boss <baron.muenhausen@googlemail.com> wrote:
> >> >>
> >> >> Hi,
> >> >>
> >> >> I have developed a portlet using a JSP. I use a in the JSP a
> >> >> JavaScript for generation of a tree (such as a TreeControl). I
> have
> >> >> put JavaScripts in WEB-INF.
> >> >> But the JavaScript does not work.
> >> >> How to access a JavaScript file for my JSP page portlet?
> >> >>
> >> >> Many thanks
> >> >>
> >> >>
> ---------------------------------------------------------------------
> >> >> To unsubscribe, e-mail:
> jetspeed-dev-unsubscribe@portals.apache.org
> >> >> For additional commands, e-mail:
> jetspeed-dev-help@portals.apache.org
> >> >>
> >> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
> >> For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
> >>
> >>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message