You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Oscar Picasso <os...@yahoo.com> on 2004/03/05 00:00:46 UTC

[betwixt] Re: First impresion BetwixtTransformer (Patch submitted)

I have submitted a patch to Bugzilla. Very simple. If you want to take a look.

Attachment 10669 to bug 27456.

Oscar

__________________________________
Do you Yahoo!?
Yahoo! Search - Find what you�re looking for faster
http://search.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: [betwixt] Re: First impresion BetwixtTransformer (Patch submitted)

Posted by Christoph Gaffga <cg...@triplemind.com>.
Shit, I missed that setCallDocumentEvents function. Great you fixed it!

Regards
Christoph

----- Original Message ----- 
From: "Oscar Picasso" <os...@yahoo.com>
Newsgroups: gmane.text.xml.cocoon.user
Sent: Friday, March 05, 2004 12:00 AM
Subject: [betwixt] Re: First impresion BetwixtTransformer (Patch submitted)


> I have submitted a patch to Bugzilla. Very simple. If you want to take a
look.
>
> Attachment 10669 to bug 27456.
>
> Oscar
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Search - Find what you’re looking for faster
> http://search.yahoo.com


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Woody Calendar Dropdown position

Posted by Ugo Cei <u....@cbim.it>.
Joerg Heinicke wrote:
> On 05.03.2004 00:15, Tony Edwards wrote:
> 
>> This morning I was reading the mailing list and I noticed that Brent 
>> Johnson had noticed a change in the doctype output by 2.1.4.
>> Inspired, I commented out the
>>        <doctype-public>-//W3C//DTD HTML 4.01 
>> Transitional//EN</doctype-public>
>>          
>> <doctype-system>http://www.w3.org/TR/html4/loose.dtd</doctype-system>
>> lines for the html serializer and everything worked as normal!!!
>>
>> My question is, what are the implcations of doing this? Is it going to 
>> adversely affect my HTML output?
> 
> 
> We are aware of this bug: 
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24900. But until now 
> nobody tried to find out the real reason for it. Is it a problem with 
> the JS lib in use or a problem of Mozilla ...

The problem is that, without a proper DOCTYPE, most browsers fall into 
the so-called "quirks" mode, which is needed for supporting web pages 
that were written when de de-facto standard was whatever was provided by 
either NS 4 or pre-5.5 IE. Since most of those pages don't have a 
DOCTYPE declaration, this seemed like a good compromise.

If you include a DOCTYPE declaration instead, both Mozilla and IE will 
be standard-compliant (or at least they will try harder).

Now, some of the DHTML and CSS code used by Cocoon Forms (formerly known 
as "Woody") undoubtedly tries to adapt itself to the "quirks" mode in 
order to be compatible with some older browser (and this is a mistake, 
IMHO) and, as a consequence, it doesn't behave correctly when the 
browser is in "standards-compliant" mode.

Surely there are alternative implementations, but some of the best of 
them are license-incompatible with the ASL. For instance, I'm using a 
DHTML calendar widget that is better than the one we have, but 
unfortunately it's LGPL.

I'm afraid our only options are to either find some compatible 
replacements, fix what we have or rewrite it from scratch. I'm not 
volunteering to write any DHTML code, since I'm very ignorant about it all.

As far as my applications are concerned, I disabled the DOCTYPE just 
like you did, and I'm living with it, not exactly happily however.

Also be careful not to use the xhtml namespace in your output, otherwise 
Mozilla will still try to be standards-compliant.

	Ugo


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Woody Calendar Dropdown position

Posted by Joerg Heinicke <jo...@gmx.de>.
On 05.03.2004 00:15, Tony Edwards wrote:

> This morning I was reading the mailing list and I noticed that Brent 
> Johnson had noticed a change in the doctype output by 2.1.4.
> Inspired, I commented out the
>        <doctype-public>-//W3C//DTD HTML 4.01 
> Transitional//EN</doctype-public>
>          
> <doctype-system>http://www.w3.org/TR/html4/loose.dtd</doctype-system>
> lines for the html serializer and everything worked as normal!!!
> 
> My question is, what are the implcations of doing this? Is it going to 
> adversely affect my HTML output?

We are aware of this bug: 
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24900. But until now 
nobody tried to find out the real reason for it. Is it a problem with 
the JS lib in use or a problem of Mozilla ...

Joerg

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Woody Calendar Dropdown position

Posted by Tony Edwards <te...@civica.com.au>.
Morning all,
I was fiddling with an application that I had ported form 2.1.3 to 2.1.4 
and noticed a curious thing: the woody dropdown calendar widget was now 
being displayed in the top left corner of the screen and not underneath 
the text input as usual. This characteristic is only evident in Mozilla. 
In IE the widget appears in the right location but is positioned 
underneath the date text input so that the top line is obscured.

Moving the application back to 2.1.3 had the calendar performing as 
usual so I copied all the woody styling xsl and css files into my 2.1.4 
application. Still no joy.
I then recompiled the 2.1.4 cocoon and redeployed. No change, so I went 
to bed somewhat confused.

This morning I was reading the mailing list and I noticed that Brent 
Johnson had noticed a change in the doctype output by 2.1.4.
 Inspired, I commented out the
        <doctype-public>-//W3C//DTD HTML 4.01 
Transitional//EN</doctype-public>
          
<doctype-system>http://www.w3.org/TR/html4/loose.dtd</doctype-system>
lines for the html serializer and everything worked as normal!!!

My question is, what are the implcations of doing this? Is it going to 
adversely affect my HTML output?

Any comments would be appreciated!

Thanks,
Tony

>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org