This content has been marked as final.
Show 4 replies
-
1. Re: htmLib in Facelets
rosi75 Nov 7, 2007 6:11 AM (in response to rosi75)I tried to add the taglib of htmLib to my project. It does not work. I also inserted the following param to web-xml:
<param-name>facelets.LIBRARIES</param-name> <param-value> /WEB-INF/tags/htmlib.taglib.xml; </param-value> </context-param> -->
but it seems that facelet cannot render these htmLib Tags. But why? -
2. Re: htmLib in Facelets
bigbaray Sep 29, 2008 5:27 PM (in response to rosi75)Hmmm. Sounds like my problem. Does this stuff work?
-
3. Re: htmLib in Facelets
daniel.soneira Sep 30, 2008 4:56 AM (in response to rosi75)Rosi,
There is no point in using htmLib with Facelets in the first place.
You can use simple and plain HTML tags instead (that's the cool thing about Facelets).
Upon migrating to Facelets I first got rid of htmLib and simply replaced all "htm:" with "" ;)
If you want to use the "rendered" attribute on HTML tags you can wrap them in <ui:fragment> like that:<table> <ui:fragment rendered="${backingBean.myBooleanValue}"> <tr> ... </tr> </ui:fragment> </table>
So my advice is: Get rid of htmLib. -
4. Re: htmLib in Facelets
daniel.soneira Sep 30, 2008 4:58 AM (in response to rosi75)Well, since this thread is kind of REALLY old (how did you dig that one up?).. my advice goes to bigbaray then I guess :D