Joined: Mar 28, 2006
definitely programming in jsf is very powerful in so many ways than php, but i like having total control on the rendered html so that i can apply dinamic css depending on things going on in the application.
so lets say that i enclose the <X:messsages> inside a div. it would be cool if i could, inside a bean, put a border and background color on the containing div if there's a message displayed. also, depending on the message severity, the border could be of different colors, etc.
i like that with myFaces im able to use normal html tags with jsf tags without using <f:verbatim> so i can use external css's with no problem to control the layout of the page 100% . i just want not to do scripting in javscript.
OK, I am like a complete JSF newbie, but I am reading Pro JSF and Ajax, and it makes custom components, and it doesn't look too difficult, and there are attributes that you can make dynamic and assign programatically, so you could say create a subclass of a UIInput that takes in attributes that can be determined at runtime, and then it would render itself differently based on those attributes.