On 7/6/05, Jan Bares <[EMAIL PROTECTED]> wrote: > > > cannot change the JVM default encoding (or can I?) > > > > yes you can, though it is operating system specific. > > Unfortunately I can only tell you how to do it the unix / linux way. > > I don't want to change my OS locale :-) And, I am affaid that there is no > locale that will use utf-8 encoding. >
on unix you can. But I prefer your suggesting of providing setMarkupFileDefaultEncoding (or however we name it). > > > Side note: Wicket is bright new and nice package, I am > > surpriced that > > > it doesn't support HTML 4.0 / XHTML Strict mode standards and that > > > nobody complains about it. The samples for Wicket are not valid. > > > > I'm not exactly sure what you mean. Why is it not HTML 4.0 or > > XHTML compliant? in case you're talking about the tags and > > attributes in wicket namespace, you can remove them for > > production (settings.setStripWicketTags). > > I know I can ommit the tags, unfortunately I cannot create valid XHTML > source markup because of the wicket namespace (I cannot use validating XHTML > editor such as XML Mind). This should be cured with XML Schema as Eelco > pointed. > > If you look at samples, the helloworld is not valid HTML. (Maybe it > validates with Transient versions of the standard, I didn't tried). The > <span> cannot be child of <head>, <h3> cannot be inside <a> and <font> > doesn't exist at all (use CSS). > ok, that is the example where the example markup is not HTML compliant. But it does not mean that Wicket is not able to create/handle (X)HTML compliant markup. You are right that wicket does not test for HTML or XHTML compliance. Does any of the other frameworks do it? A 1.1 DTD or schema will eventually solve that problem. Until than, most html editors (e.g. dreamweaver) do allow to ignore "unknown" namespaces like "wicket". Juergen ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user