This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes JSF and the fly likes JSF 2.0 and strict XHTML? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » JSF
Reply Bookmark "JSF 2.0 and strict XHTML?" Watch "JSF 2.0 and strict XHTML?" New topic
Author

JSF 2.0 and strict XHTML?

Marco Ehrentreich
best scout
Bartender

Joined: Mar 07, 2007
Posts: 1221

Hi folks,

does anyone know why JSF 2.0 at the moment seemingly doesn't support strict XHTML? Accordingly to the specification it's only required to render XHTML 1.0 transitional to conform to the spec. Is there any way to make the generated output "strict"? Or are there plans to support XHTML strict in furture releases?

Thanks in advance!

Marco
Syed Saifuddin
Ranch Hand

Joined: Sep 01, 2003
Posts: 129
Hi

JSF 2.0 is just released. We cannot predict about the next plan.
But with web development if I am the voting member I vote for loose xhtml.
else the development become more difficult.


Thank You & Best Regards,

Syed Saifuddin,
Senior Software Engineer

SAP Oracle AIX & Java Training
http://www.socialinet.com
Marco Ehrentreich
best scout
Bartender

Joined: Mar 07, 2007
Posts: 1221

Could you please explain in more detail why you think loose XHTML is the way to go?

Of course it's easier in the first place if you allow anyone to produce any kind of HTML as they like. And I'm well aware of the fact that web development sometimes may require some dirty hacks just to get things done because even the most popular browsers don't work 100% correctly. But I can't see why loose XHTML should help to solve these problems in the long run.

To say that it makes development more difficult when you use strict XHTML sounds like you would prefer to produce loose (or better say invalid?) XHTML so that no one has to think about the correctness of XHTML files.

Marco
Syed Saifuddin
Ranch Hand

Joined: Sep 01, 2003
Posts: 129
Hi Marco,

Perfection is always the best option. But time limitation and priorities are set in the project goal.
The highest priority is given to business logic and model and the lowest is given to view.

JSF pages is also develop by programmer or software engineer. if the markup is becoming problem for him then it took lots of time and not worth too much.

This is only my opinion. Not Standard

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSF 2.0 and strict XHTML?
 
Similar Threads
How can I dynamically add/remove CSS includes in head when using facelets?
Getting Cannot find FacesContext and sometime showing html codes in the page
JSF equivalent for include directive
What is required to understand(Read-Solve-Dev) easily JSF 2.0
JSF and mobile clients (WML, XHTML mp)