Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Forrest: User

Want to use javascript <script> in generated html pages

 

 

Forrest user RSS feed   Index | Next | Previous | View Threaded


praveen.bhatia at sumpurn

Jun 13, 2008, 7:24 AM

Post #1 of 6 (199 views)
Permalink
Want to use javascript <script> in generated html pages

Hi,
I want to embed javascript code in the final html pages generated by
forrest ie it should have
<script language="JavaScript"> ..... </script>

when I run it in jetty mode it works fine in the displayed html page.
However, when I try to get a static site in stops because it cannot be
validated and is hence not a valid doc type.
To overcome this problem, I stopped validation of xdocs files, which works.
Is there a better neater solution to include <script language="JavaScript">
..... </script> in the final html page generated?

Praveen


thorsten.scherler.ext at juntadeandalucia

Jun 17, 2008, 3:27 AM

Post #2 of 6 (194 views)
Permalink
Re: Want to use javascript <script> in generated html pages [In reply to]

On Sat, 2008-06-14 at 00:24 +0900, Dr. Bhatia Praveen wrote:
> Hi,
> I want to embed javascript code in the final html pages generated by
> forrest ie it should have
> <script language="JavaScript"> ..... </script>
>
> when I run it in jetty mode it works fine in the displayed html page.
> However, when I try to get a static site in stops because it cannot be
> validated and is hence not a valid doc type.
> To overcome this problem, I stopped validation of xdocs files, which
> works.
> Is there a better neater solution to include <script
> language="JavaScript"> ..... </script> in the final html page
> generated?

http://www.mail-archive.com/user [at] forrest/msg00993.html

HTH

>
> Praveen
--
Thorsten Scherler thorsten.at.apache.org
Open Source Java consulting, training and solutions


praveen.bhatia at sumpurn

Jun 17, 2008, 4:04 AM

Post #3 of 6 (192 views)
Permalink
RE: Want to use javascript <script> in generated html pages [In reply to]

Hi Thorsten,
The link that you have given is not a valid link (the html page is
missing.) Please direct me to the right link.
Praveen

-----Original Message-----
From: Thorsten Scherler [mailto:thorsten.scherler.ext [at] juntadeandalucia]
Sent: Tuesday, June 17, 2008 8:28 PM
To: user [at] forrest
Subject: Re: Want to use javascript <script> in generated html pages

On Sat, 2008-06-14 at 00:24 +0900, Dr. Bhatia Praveen wrote:
> Hi,
> I want to embed javascript code in the final html pages generated by
> forrest ie it should have <script language="JavaScript"> .....
> </script>
>
> when I run it in jetty mode it works fine in the displayed html page.
> However, when I try to get a static site in stops because it cannot be
> validated and is hence not a valid doc type.
> To overcome this problem, I stopped validation of xdocs files, which
> works.
> Is there a better neater solution to include <script
> language="JavaScript"> ..... </script> in the final html page
> generated?

http://www.mail-archive.com/user [at] forrest/msg00993.html

HTH

>
> Praveen
--
Thorsten Scherler thorsten.at.apache.org
Open Source Java consulting, training and solutions


williamstw at gmail

Jun 17, 2008, 4:11 AM

Post #4 of 6 (193 views)
Permalink
Re: Want to use javascript <script> in generated html pages [In reply to]

The link works fine for me - it's to an archived email exchange
addressing your issue. Here's the markmail version:

http://markmail.org/message/x6mgagystmh3rlvq

--tim

On Tue, Jun 17, 2008 at 8:04 AM, Dr. Bhatia Praveen
<praveen.bhatia [at] sumpurn> wrote:
> Hi Thorsten,
> The link that you have given is not a valid link (the html page is
> missing.) Please direct me to the right link.
> Praveen
>
> -----Original Message-----
> From: Thorsten Scherler [mailto:thorsten.scherler.ext [at] juntadeandalucia]
> Sent: Tuesday, June 17, 2008 8:28 PM
> To: user [at] forrest
> Subject: Re: Want to use javascript <script> in generated html pages
>
> On Sat, 2008-06-14 at 00:24 +0900, Dr. Bhatia Praveen wrote:
>> Hi,
>> I want to embed javascript code in the final html pages generated by
>> forrest ie it should have <script language="JavaScript"> .....
>> </script>
>>
>> when I run it in jetty mode it works fine in the displayed html page.
>> However, when I try to get a static site in stops because it cannot be
>> validated and is hence not a valid doc type.
>> To overcome this problem, I stopped validation of xdocs files, which
>> works.
>> Is there a better neater solution to include <script
>> language="JavaScript"> ..... </script> in the final html page
>> generated?
>
> http://www.mail-archive.com/user [at] forrest/msg00993.html
>
> HTH
>
>>
>> Praveen
> --
> Thorsten Scherler thorsten.at.apache.org
> Open Source Java consulting, training and solutions
>
>
>


thorsten.scherler.ext at juntadeandalucia

Jun 17, 2008, 4:28 AM

Post #5 of 6 (194 views)
Permalink
Re: Want to use javascript <script> in generated html pages [In reply to]

On Tue, 2008-06-17 at 08:11 -0400, Tim Williams wrote:
> The link works fine for me - it's to an archived email exchange
> addressing your issue. Here's the markmail version:
>
> http://markmail.org/message/x6mgagystmh3rlvq

Like Tim pointed out there are a lot discussion about this issue in the
archive. Bottom line is that the easiest way would be the dispatcher
however since it is still in the whiteboard we do not recommend the
usage, leaving you with creating your own skin where you add the jscript
functionality.

salu2

>
> --tim
>
> On Tue, Jun 17, 2008 at 8:04 AM, Dr. Bhatia Praveen
> <praveen.bhatia [at] sumpurn> wrote:
> > Hi Thorsten,
> > The link that you have given is not a valid link (the html page is
> > missing.) Please direct me to the right link.
> > Praveen
> >
> > -----Original Message-----
> > From: Thorsten Scherler [mailto:thorsten.scherler.ext [at] juntadeandalucia]
> > Sent: Tuesday, June 17, 2008 8:28 PM
> > To: user [at] forrest
> > Subject: Re: Want to use javascript <script> in generated html pages
> >
> > On Sat, 2008-06-14 at 00:24 +0900, Dr. Bhatia Praveen wrote:
> >> Hi,
> >> I want to embed javascript code in the final html pages generated by
> >> forrest ie it should have <script language="JavaScript"> .....
> >> </script>
> >>
> >> when I run it in jetty mode it works fine in the displayed html page.
> >> However, when I try to get a static site in stops because it cannot be
> >> validated and is hence not a valid doc type.
> >> To overcome this problem, I stopped validation of xdocs files, which
> >> works.
> >> Is there a better neater solution to include <script
> >> language="JavaScript"> ..... </script> in the final html page
> >> generated?
> >
> > http://www.mail-archive.com/user [at] forrest/msg00993.html
> >
> > HTH
> >
> >>
> >> Praveen
> > --
> > Thorsten Scherler thorsten.at.apache.org
> > Open Source Java consulting, training and solutions
> >
> >
> >
--
Thorsten Scherler thorsten.at.apache.org
Open Source Java consulting, training and solutions


praveen.bhatia at sumpurn

Jun 17, 2008, 6:27 AM

Post #6 of 6 (195 views)
Permalink
RE: Want to use javascript <script> in generated html pages [In reply to]

Thanks. This link worked and seems to address the problem.

-----Original Message-----
From: Tim Williams [mailto:williamstw [at] gmail]
Sent: Tuesday, June 17, 2008 9:12 PM
To: user [at] forrest
Subject: Re: Want to use javascript <script> in generated html pages

The link works fine for me - it's to an archived email exchange addressing
your issue. Here's the markmail version:

http://markmail.org/message/x6mgagystmh3rlvq

--tim

On Tue, Jun 17, 2008 at 8:04 AM, Dr. Bhatia Praveen
<praveen.bhatia [at] sumpurn> wrote:
> Hi Thorsten,
> The link that you have given is not a valid link (the html page is
> missing.) Please direct me to the right link.
> Praveen
>
> -----Original Message-----
> From: Thorsten Scherler
> [mailto:thorsten.scherler.ext [at] juntadeandalucia]
> Sent: Tuesday, June 17, 2008 8:28 PM
> To: user [at] forrest
> Subject: Re: Want to use javascript <script> in generated html pages
>
> On Sat, 2008-06-14 at 00:24 +0900, Dr. Bhatia Praveen wrote:
>> Hi,
>> I want to embed javascript code in the final html pages generated
>> by forrest ie it should have <script language="JavaScript"> .....
>> </script>
>>
>> when I run it in jetty mode it works fine in the displayed html page.
>> However, when I try to get a static site in stops because it cannot
>> be validated and is hence not a valid doc type.
>> To overcome this problem, I stopped validation of xdocs files, which
>> works.
>> Is there a better neater solution to include <script
>> language="JavaScript"> ..... </script> in the final html page
>> generated?
>
> http://www.mail-archive.com/user [at] forrest/msg00993.html
>
> HTH
>
>>
>> Praveen
> --
> Thorsten Scherler thorsten.at.apache.org
> Open Source Java consulting, training and solutions
>
>
>

Forrest user RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.