Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8688469
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T23:22:28+00:00 2026-06-12T23:22:28+00:00

Some (not all) of the html documents generated by Seaside have these elements in

  • 0

Some (not all) of the html documents generated by Seaside have these elements in it:

<body onload="onLoad()">

<script type="text/javascript">/*<![CDATA[*/function onLoad(){};/*]]>*/</script>

I do not use any Javascript in these documents and i wonder, where this comes from, and if/how i can prevent these parts from being added.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T23:22:29+00:00Added an answer on June 12, 2026 at 11:22 pm

    Seaside generates this markup in the class WADefaultScriptGenerator. Unfortunately the markup needs to be generated even if you don’t use Javascript, as this is not know when Seaside opens the <body> tag.

    You can customize (or avoid the Javascript markup generation) by subclassing WAScriptGenerator and setting your custom class in the application configuration. Either through the configuration interface or programmatically:

    application := WAAdmin register: MyRootComponent asApplicationAt: 'myapp'.
    application preferenceAt: #scriptGeneratorClass put: MyScriptGenerator.
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have a J2EE app built on Struts2+spring+iBatis; not all DAO's use iBatis...some code
I'm making some game, and I have made it pretty much all, but not
Currently I have some xml documents which are converted via xsl into html. The
I have some PDF files generated based on some XSL-FO documents and I now
In some projects, but not all, when I open a designer for the first
I'm not familiar with Capistrano at all, I've just read some basic posts about
All, I'm looking for some information on connecting a Flash (not Flex) application to
I have some not understanding actions from gnu clisp Suppose, I have some code
I'm using some not optimal code written by me... :-| I have following code:
I have an Android application that generates some HTML which is rendered locally, in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.