Want to use javascript <script> in generated html pages

View: New views
6 Messages — Rating Filter:   Alert me  

Want to use javascript <script> in generated html pages

by Dr. Bhatia Praveen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

Re: Want to use javascript <script> in generated html pages

by Thorsten Scherler-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@.../msg00993.html

HTH

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


RE: Want to use javascript <script> in generated html pages

by Dr. Bhatia Praveen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...]
Sent: Tuesday, June 17, 2008 8:28 PM
To: user@...
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@.../msg00993.html

HTH

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



Re: Want to use javascript <script> in generated html pages

by Tim Williams :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...> 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@...]
> Sent: Tuesday, June 17, 2008 8:28 PM
> To: user@...
> 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@.../msg00993.html
>
> HTH
>
>>
>> Praveen
> --
> Thorsten Scherler                                 thorsten.at.apache.org
> Open Source Java                      consulting, training and solutions
>
>
>

Re: Want to use javascript <script> in generated html pages

by Thorsten Scherler-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...> 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@...]
> > Sent: Tuesday, June 17, 2008 8:28 PM
> > To: user@...
> > 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@.../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


RE: Want to use javascript <script> in generated html pages

by Dr. Bhatia Praveen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

-----Original Message-----
From: Tim Williams [mailto:williamstw@...]
Sent: Tuesday, June 17, 2008 9:12 PM
To: user@...
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@...> 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@...]
> Sent: Tuesday, June 17, 2008 8:28 PM
> To: user@...
> 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@.../msg00993.html
>
> HTH
>
>>
>> Praveen
> --
> Thorsten Scherler                                 thorsten.at.apache.org
> Open Source Java                      consulting, training and solutions
>
>
>

LightInTheBox - Buy quality products at wholesale price