There was some discussion a bit back about using JavaScript (from Script
components) on a <frameset> page (rather than a normal HTML page).

Alas, this petered out and nobody added a feature request.  Shame on you!
You're just lucky *I* may need this at work or it could have been dropped.

Basically, to support JavaScript properly, you need a Body component, since
it collects JavaScript various components during the render of the page, and
puts it all in a single HTML <script> block, just before the <body> tag.

What I'm thinking of doing is simply allowing you to specify the HTML
element used by a Body component.  The default will be "body", but you can
change it to "frameset".

Example:

<frameset jwcid="frameset" ...>
  <frame jwcid="frame" .../>
</frameset>

...

<component id="frameset" type="Body">
  <static-binding name="element">frameset</static-binding>
</component>

<component id="frame" type="Frame"> ... </component>


I need to check to see if <frameset> honors the onload JavaScript event; I
suspect it does.

Howard




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer

Reply via email to