nato schrieb:
mime type: text/html
doctype: xhtml 1.0 transitional
script and style tags: enclose it within CDATA
With this setup that I've been doing for almost a year, I haven't had any
problems. My applications run even on the very sucking IE.
Dito.
But Wicket
prevents me from having a
nato schrieb:
it's a syntax error for javascript if the ![CDATA[ and ]] are not
commented.
No it isn't, at least not if you declare the document as XHTML.
TImo
---
Using Tomcat but need to do more? Need to support web services, security?
I'm still unsure about that. I'm waiting to see where this thread goes.
Eelco
On 4/19/06, Johan Compagner [EMAIL PROTECTED] wrote:
are you going to commit this? And use the JavaScriptUtils class all over the
place to open an close those javascript tags?
johan
May I suggest that you inlude ![CDATA[ ... ]] inside the script element.For example,script type=text/_javascript_//![CDATA[function isXhtmlFriendly() { alert('Yes, I am XHTML friendly');
alert('quotes , less than , and ampersand used in this _javascript_ code do not yield to XHTML validation
Also, will this give trouble for pages that are not explicitly XHTML complient?
Eelco
On 4/18/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
Without the // I think?
So instead of
//![CDATA[
function isXhtmlFriendly() {
alert('Yes, I am XHTML friendly');
alert('quotes , less than ,
They basically push for people to use application/xhtml+xml, which I
believe all browsers support -- except Internet Explorer ;) So we're
back to using text/html.
They seem to imply that when you migrate your code from text/html to
application/xhtml+xml stuff will break because
I think the current best practice is to send application/xhtml+xml
to browsers that support it and text/html to browsers that don't
(like Internet Explorer). Does it really matter in practice? I
don't know.
Michael Day
On Apr 18, 2006, at 7:43 PM, cowwoc wrote:
* PGP Signed by an
On 4/18/06, cowwoc [EMAIL PROTECTED] wrote:
I personally think this is much ado about nothing. I've used
text/html for a long time and the CDATA thing below and to date I
haven't run into any problems. And if I do in the future, I'll just fix
it ;)
Gili
Unfortunately, we have to find
Like I said, I've never had any problems with text/html with the CDATA
blocks I mentioned.
Gili
Eelco Hillenius wrote:
On 4/18/06, cowwoc [EMAIL PROTECTED] wrote:
I personally think this is much ado about nothing. I've used
text/html for a long time and the CDATA thing below and to
agreed. i think in this instance we should just go with text/html. it might not be the current best practice, but it works for everything out there.-IgorOn 4/18/06,
Eelco Hillenius [EMAIL PROTECTED] wrote:
On 4/18/06, cowwoc [EMAIL PROTECTED] wrote:I personally think this is much ado about
mime type: text/htmldoctype: xhtml 1.0 transitionalscript and style tags: enclose it within CDATAWith this setup that I've been doing for almost a year, I haven't had any problems. My applications run even on the very sucking IE. But Wicket prevents me from having a valid XHTML because of the
I don't think Wicket requires input /. At least not by purpose.
Wicket should work with input ../input as well.
Juergen
On 4/19/06, nato [EMAIL PROTECTED] wrote:
Actually, I'm a bit confious what document type to use for my Wicket html
markups... It's not HTML and not XHTML either. It's not
Without the // I think?
So instead of
//![CDATA[
function isXhtmlFriendly() {
alert('Yes, I am XHTML friendly');
alert('quotes , less than , and ampersand used in this javascript
code do not yield to XHTML validation error');
}
//]]
it's
![CDATA[
function isXhtmlFriendly() {
Wow, so fast! I will try it after rc1 out. Thanks a lot.On 4/17/06, Eelco Hillenius [EMAIL PROTECTED]
wrote:Done. It's setting automaticMultiWindowSupport.Eelco
On 4/16/06, Eelco Hillenius [EMAIL PROTECTED] wrote: That code is for automatically opening new page maps when new windows are opened
I just want to add, please specify the type=text/_javascript_ on the generated script element so that it will be a valid (x)html. My boss wants our html pages to be w3c compliant. Thanks, I hope this would also be a quick-fix. :D
On 4/17/06, Ingram Chen [EMAIL PROTECTED] wrote:
Wow, so fast! I
language=text/_javascript_ I hope thats just a major typo from type=text/_javascript_ ?On 4/17/06, Johan Compagner
[EMAIL PROTECTED] wrote:that can't be done.
Because if i do this:script language=
text/_javascript_var pagemapcookie = getWicketCookie('pagemap-null');if(!pagemapcookie
ha! i completely overlooked that because right above for the include it is type ...On 4/17/06, Mark Derricutt
[EMAIL PROTECTED] wrote:language=text/_javascript_ I hope thats just a major typo from type=text/_javascript_ ?
On 4/17/06, Johan Compagner
[EMAIL PROTECTED] wrote:that can't be
That code is for automatically opening new page maps when new windows
are opened (e.g. when doing ctrl+click or ctrl+n in IE). That code had
some problems though, and we rewrote it using cookies when they are
available, using the history trick as a last fall back. There was a
thread about this
Done. It's setting automaticMultiWindowSupport.
Eelco
On 4/16/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
That code is for automatically opening new page maps when new windows
are opened (e.g. when doing ctrl+click or ctrl+n in IE). That code had
some problems though, and we rewrote it
19 matches
Mail list logo