You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Cédric Durmont <cd...@gmail.com> on 2010/07/05 15:57:21 UTC

Re: Combining tags with standard HTML elements such as
and for example

Mixing jsf tags and regular html has not always been possible (jsf 1.1
maybe ?). Nowadays you can happily mix jsf and xhtml tags.

Regards,
Cedric Durmont

2010/7/5 Dmitry Barsukov <db...@gmail.com>
>
> Hi All,
>
> Here is the question for Trinidad experts.
> We are extensively using <div> and <span> tags in our Trinidad based
> application (*.xhtml pages) combining them with the rest of Trinidad
> features.
> The question I have is... there is a feeling that this is not quite the way
> Trinidad expects to have the content fed into the Trinidad renderer.
>
> My concern is based on the fact that the examples provided with Trinidad do
> not include any standard HTML tags...
>
> It seems that by feeding Trinidad with something it does not expect we are
> sort of a "breaking it".
>
> However JSF spec does not stop developers from using standard HTML tags in
> JSF pages.
>
> So, the feeling is kinda mixed... so far I have not found any single black
> and white "NO, do not use HTML tags".
> At the same time the question "why the use case with standard HTML tags is
> not provided in Trinidad examples" still remains.
>
> Could anyone help me to clarify the picture?
>
> ---
> Sincerely yours
> Dmitry Barsukov

Re: Combining tags with standard HTML elements such as
and for example

Posted by Dmitry Barsukov <db...@gmail.com>.
Cedric,

That wasn't the question.
As I said, JSF 1.2 spec does not stop anyone to mix up JSF & XHTML. That is
clear.

However, Trinidad layouts seem to have overlapping feature set with
"<div>+CSS".

Therefore it does not seem to be right for me to combine them. But, the
thing is... it does not state anywhere in the Trinidad doc that it is
neither recommended nor allowed.

Trinidad provides <trh:...> tags which are very similar  (99%?) to XHTML,
what's the point if I can just take XHTML tags?
What's the use case for <trh:...> tags if XHTML is allowed?

Regards,
Dmitry


On 5 July 2010 14:57, Cédric Durmont <cd...@gmail.com> wrote:

> Mixing jsf tags and regular html has not always been possible (jsf 1.1
> maybe ?). Nowadays you can happily mix jsf and xhtml tags.
>
> Regards,
> Cedric Durmont
>
> 2010/7/5 Dmitry Barsukov <db...@gmail.com>
> >
> > Hi All,
> >
> > Here is the question for Trinidad experts.
> > We are extensively using <div> and <span> tags in our Trinidad based
> > application (*.xhtml pages) combining them with the rest of Trinidad
> > features.
> > The question I have is... there is a feeling that this is not quite the
> way
> > Trinidad expects to have the content fed into the Trinidad renderer.
> >
> > My concern is based on the fact that the examples provided with Trinidad
> do
> > not include any standard HTML tags...
> >
> > It seems that by feeding Trinidad with something it does not expect we
> are
> > sort of a "breaking it".
> >
> > However JSF spec does not stop developers from using standard HTML tags
> in
> > JSF pages.
> >
> > So, the feeling is kinda mixed... so far I have not found any single
> black
> > and white "NO, do not use HTML tags".
> > At the same time the question "why the use case with standard HTML tags
> is
> > not provided in Trinidad examples" still remains.
> >
> > Could anyone help me to clarify the picture?
> >
> > ---
> > Sincerely yours
> > Dmitry Barsukov
>



-- 
---
Sincerely yours
Dmitry Barsukov