Java – do you have to use no pure HTML in RichFaces? Why?

Someone can point to me or explain whether this is true. Can't you use ordinary HTML tags in JSF or JSF libraries (such as RichFaces)?

We use JSF 1.2 and RichFaces 3.3 on the JBoss server 3 and facelets

I was told that we must only use < rich: > or < F: > or < A4J: > and the components they provide The reason is that the JSF component tree will break, and you may have unwanted behavior Or lose the JSF tree structure and related functions at some time

I tried to use the normal < H1 > tag and was told not to use it and to use < A4J: outputpanel > instead (it appears as < div >) and set it to look like a title

It's hard for me to believe that

Solution

You are right not to believe it There is absolutely no problem with using pure HTML tags

Facelets even creates UI components (i.e. non JSF) for static tags It should be effective

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>