Ugo Cei wrote:

I did some tests and this is what I came up with:

The main problem seems to be that the browser is confused by empty <script /> tags. This is easily fixed by something like:

<script src="...">
  <xsl:comment> filler </xsl:comment>
</script>

in the CForms sample stylesheets.

Then you have to have HTML elements in the XHTML namespace (http://www.w3.org/1999/xhtml), or you'll see a blank page. This also means that the stylesheets must be modified to react on namespace-qualified "head" and "body" elements.

Once you've done this, the form can be seen and works ... mostly.

What does not work now are popup calendars and the HtmlArea widget :(

Assuming I can fix them, this will be for Firefox only, since I don't have a windows machine for testing with IE.

Frankly, I'm thinking about switching back to HTML.


Why? Because it's too much work?

My impression is that once we have an xhtml-compliant CForms, it will be easier to have it run on HTML browsers.

Sylvain

--
Sylvain Wallez                        Anyware Technologies
http://apache.org/~sylvain            http://anyware-tech.com
Apache Software Foundation Member     Research & Technology Director



Reply via email to