Hi Martin, I think forcedIDs will not help because a normal html-site created with myfaces is more or less completly unusable and invalid due to mime type application/xhtml+xml: the java-script-codes themself are not valid anymore, they are placed at invalid positions and the nesting of the html-tags is also not 100% correct (tfoot and so on)... 26-50 error-messages from the W3C-validator on each of my jsf-sites (okay, maybe some of them are my own mistakes). Setting this mime-type on the jsf-sites also kills all jsf-command-links and some other functionallity (whatever javascript or non-javascript is set in web.xml)!!!!! This is simply a nightmare - it is definitely not possible to use JSF and modern XHTML with its extensions like MathML or SVG... so you really have to use HTML4.1 from 1999....
Thank you for your hint about contancting the JSF reference implementation people and asking them what the hell they had thought to themselfs when they defined this flawed specification - I will do this and tell you what they said... BTW: I have found a time-consuming workaround: I have to migrate from your x:panelLayout to normal html-frames. Then I need to set the application/xhtml+xml-mime-type just for the jsf-sites which contain SVG- and MathML-Elements, all the other sites will get the normal text/html mime-type... maybe I will have to improvise a little bit... but I think this could rescue the whole project for the research center... For some more informations about the mime-type-problem see: http://www.xml.com/pub/a/2003/03/19/dive-into-xml.html regards and thanks again to the whole myfaces team for your work (but the spec itself is a disappointing joke), Hendrik Martin Marinschek <[EMAIL PROTECTED]> schrieb am 20.05.2005 15:05:10: > Hi Hendrik > > I am very sorry for that - but it is unfortunately as it is, at least > according to my knowledge. Maybe I am telling you rubbish, you should > also contact the JSF reference implementation people on their mailing > list and please tell back what you hear there if they know of any > remedy. > > One way of going around that I would have - what about using the > "forceId" attribute that all the MyFaces extended standard components > provide (and the custom components should provide)? > > If you keep yourself to unique ids, this would be a viable solution. > > regards, > > Martin > > On 5/20/05, Hendrik Neumann <[EMAIL PROTECTED]> wrote: > > Martin, > > > > please tell me, that you're kidding! I simply can not believe that Sun > > Microsystems passes a spec which bashes offical web-standards! What is about > > MathML, SVG and so on: they need a valid XML-file to work, which JSF > > apparently is not creating. This simply means that all new and modern > > HTML-extensions which should be established with XHTML are not possible with > > JSF, because the spec defines invalid XML-documents which forces me as a > > developer to use HTML4 from 1999. And this means that the JSF-spec is only > > practical for dinky "Hello World"-web-apps without any forward-looking > > techniques... > > > > I simply can not believe this... JSF forces me to use outdated standards and > > techniques... this is simply harrowing! > > > > Isn't it possible to develop my own ID-Generators or such a thing? Or is it > > possible to tell the web-browsers that they shouldn't take care about wrong > > ids? Or a Java-Script which replaces the invalid IDs? I had already tried to > > set manually id-names which solves the problems for a few moments but after a > > few clicks on the pages, my own ids are extended in the invalid way with the > > ":" and "_"-characters and the web-browser refuses to show my pages. This > > small id-disfigurement makes JSF in fact unusable to me if there really isn't > > a workaround... > > > > Regards, > > Hendrik > > > > P.S: Of course this email IS NOT aimed against you MyFaces-guys - you have > > done a great work, thank you very much for this (nevervethless it seems that > > jsf was the wrong spec for my project)! > > Am Freitag, 20. Mai 2005 15:04 schrieb Martin Marinschek: > Hi Hendrik > > I am very sorry for that - but it is unfortunately as it is, at least > according to my knowledge. Maybe I am telling you rubbish, you should > also contact the JSF reference implementation people on their mailing > list and please tell back what you hear there if they know of any > remedy. > > One way of going around that I would have - what about using the > "forceId" attribute that all the MyFaces extended standard components > provide (and the custom components should provide)? > > If you keep yourself to unique ids, this would be a viable solution. > > regards, > > Martin > > On 5/20/05, Hendrik Neumann <[EMAIL PROTECTED]> wrote: > > Martin, > > > > please tell me, that you're kidding! I simply can not believe that Sun > > Microsystems passes a spec which bashes offical web-standards! What is > > about MathML, SVG and so on: they need a valid XML-file to work, which > > JSF apparently is not creating. This simply means that all new and modern > > HTML-extensions which should be established with XHTML are not possible > > with JSF, because the spec defines invalid XML-documents which forces me > > as a developer to use HTML4 from 1999. And this means that the JSF-spec > > is only practical for dinky "Hello World"-web-apps without any > > forward-looking techniques... > > > > I simply can not believe this... JSF forces me to use outdated standards > > and techniques... this is simply harrowing! > > > > Isn't it possible to develop my own ID-Generators or such a thing? Or is > > it possible to tell the web-browsers that they shouldn't take care about > > wrong ids? Or a Java-Script which replaces the invalid IDs? I had already > > tried to set manually id-names which solves the problems for a few > > moments but after a few clicks on the pages, my own ids are extended in > > the invalid way with the ":" and "_"-characters and the web-browser > > refuses to show my pages. This small id-disfigurement makes JSF in fact > > unusable to me if there really isn't a workaround... > > > > Regards, > > Hendrik > > > > P.S: Of course this email IS NOT aimed against you MyFaces-guys - you > > have done a great work, thank you very much for this (nevervethless it > > seems that jsf was the wrong spec for my project)!