You can use inline javascript in your templates, you just need to use the
old trick that used to be used to hide js from the browser
 http://www.javascripter.net/faq/hidingjs.htm

<script> <!--
// tapestry will move this up in the output

// -->
</script>

Josh

On 5/8/07, Alexandru Dragomir <[EMAIL PROTECTED]> wrote:
>
> As you mentioned , the workaround is to put the javascript (or at least
> the
> one  that contains the  < and >) in a separate file.
> This should be fine for majority of cases.
> Alex
>
> On 5/8/07, Mike_R <[EMAIL PROTECTED]> wrote:
> >
> >
> > Hi,
> >
> > I was copying some google maps javascript
> > (http://www.google.com/uds/samples/places.html)  inside of the head of
> my
> > Border component.
> > Since the javascript code uses < and >, it's protected with //<![CDATA[
> >
> > When I try to use the Border component with this CDATA block I get a
> > message
> > stating 'not implemented yet: CDATA'.
> >
> > Is this a known limitation, should I file a bug and how can I solve
> this?
> > When I put the javascript in a separate file the error seemed gone,
> > haven't
> > tested any further though.
> >
> > thanks for the help
> > Mike
> >
> >
> > --
> > View this message in context:
> >
> http://www.nabble.com/T5%3A-CDATA-in-head-gives-a-not-implemented-error-tf3708984.html#a10373906
> > Sent from the Tapestry - User mailing list archive at Nabble.com.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>



-- 
--
TheDailyTube.com. Sign up and get the best new videos on the internet
delivered fresh to your inbox.

Reply via email to