Originally posted by dave sag:
We have designed our site to be xhtml strict and are using CSS rather than tables to manage positional layouts, and so forth but would like to generate DIV and SPAN tags as appropriate for overal page positioning rather than tables. wer could add our own tag, component, renderers etc, for a layoutPanel for example, as distinct from a gridPanel but that seems like overkill. I am honoured to have the opportunity to pose this question to you. your input is appreciated.
dave
The
JSF specification defines only the bare minimum for layout, e.g., the Grid renderer for the UIPanel component and the layout attribute for the Checkbox and Radio renderers for the UISelectMany/One components.
Much more powerful layout components can be developed as custom renderers for the UIPanel component, possibly combined with facets. You may want to look at the JSF open source projects first to see if someone has already developed what you need (search on Google or go to
http://www.jamesholmes.com/JavaServerFaces/ or
http://java.sun.com/j2ee/javaserverfaces/; two great references for JSF stuff).