This content has been marked as final.
Show 1 reply
-
1. Re: RichFaces and WebDesign(Dreamweaver)
mp911de Jun 11, 2011 10:09 AM (in response to vargar2)Hi Robert,
it'S possibile and even propagated!
Take a look on following code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html">
<body>
<form jsfc="h:form">
<span jsfc="h:outputText" value="Welcome, #{loggedInUser.name}" disabled="#{empty loggedInUser}" />
<input type="text" jsfc="h:inputText" value="#{bean.property}" />
<input type="submit" jsfc="h:commandButton" value="OK" action="#{bean.doSomething}" />
</form>
</body>
</html>
You'd use the jsfc-Attribute after Design to specify the JSF Component, but it only works with Facelets/XHTML.
Best regards,
Mark