Thank you Simon for your openion !!

On 12/19/08, Simon Kitching <[email protected]> wrote:
>
> Yep, you should definitely ditch htmLib. It's only a workaround for the
> problems JSF1.1+JSP had mixing static and dynamic content. With
> JSF1.2+JSP, this is solved. Or even better, move to Facelets.
>
> That still doesn't solve the original question though: is it better to
> lay out pages using raw html tags or h:panelGrid.
>
> Personally, I would suggest using plain html + CSS is better. The
> h:panelGrid generates html table components for html layout, which is
> generally regarded as being ugly; instead a page's html should represent
> the "meaningful" structure of the data, then CSS style rules should be
> used to control the actual layout on the page. Of course this approach
> does mean
> (a) your team may need to improve their knowledge of CSS, and
> (b) backwards support for old browsers is not so easy (in particular,
> CSS positioning is dodgy in IE6 and completely broken in earlier IE
> versions).
>
> Regards,
> Simon
>
> Ali Ok schrieb:
> > Hi Ayub,
> >
> > Main purpose of that library is providing HTML tag flexibility before
> > JSF 1.2. Before JSF 1.2, nonJSF HTML tags should be enclosed in
> > f:verbatim. So, htmLib is helping you writing HTML tags without
> > f:verbatim, because it has most HTML tags as JSF tags.
> >
> > If you are suggested to avoid htmLib, you can use JSF 1.2 compliant
> > MyFaces version and just write HTML tags.
> > Of course there is some limitations. For example, you can't just write
> > a <h:commandButton> inside a <form> instead of <h:form>.
> >
> > Also, you can use Facelets for rendering.
> >
> > Regards,
> > Ali
> >
> > 2008/12/18 Ayub Khan <[email protected] <mailto:[email protected]>>
> >
> >     Hi,
> >
> >     We are using htmLib tag library listed at
> >     http://www.jsftutorials.net/htmLib/ website.
> >
> >     We are using this tag as it will give us flexibility to design the
> >     complex forms in jsf. We have not found any issues with this tag.
> >     However my architect is suggesting not to use this tag, his
> >     argument is that its not a standard jsf tag and instead use
> >     <h:panelGrid> tag.
> >
> >     I am not able to use <h:panelGrid> as it does not give me enough
> >     felxibility on the layout of components.
> >
> >     Could any one let me know their openions here ?
> >
> >     Regards
> >     Ayub
> >
> >     --
> >     -- "Two roads diverged in a wood
> >     And I took the one less traveled by
> >     And that has made all the difference.
> >
> >     Robert Frost....."
> >
> >
>
>


-- 
-- "Two roads diverged in a wood
And I took the one less traveled by
And that has made all the difference.

Robert Frost....."

Reply via email to