I tried the trinidad example on the wiki (registrationtrinidad.zip) and simply changed the
tr:inputText tag to an h:inputText tag (and of course removed the trinidad-specific
attributes). No changes to the web.xml or faces-config at all. So here's the entire
diff of the two trees:
| --- registrationtrinidad/view/register.xhtml 2006-10-20 11:08:28.000000000 -0700
| +++ registrationtrinidad.new/view/register.xhtml 2006-10-30 21:57:53.000000000
-0800
| @@ -2,6 +2,7 @@
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
| <html
xmlns="http://www.w3.org/1999/xhtml"
|
xmlns:s="http://jboss.com/products/seam/taglib"
| +
xmlns:h="http://java.sun.com/jsf/html"
|
xmlns:tr="http://myfaces.apache.org/trinidad"
|
xmlns:trh="http://myfaces.apache.org/trinidad/html">
|
| @@ -16,8 +17,8 @@
| <s:validateAll>
| <tr>
| <td>Username</td>
| - <td><tr:inputText value="#{user.username}"
required="true"
| - requiredMessageDetail="Must enter a user
name"/></td>
| + <td><h:inputText value="#{user.username}"
required="true" />
| + </td>
| </tr>
| <tr>
| <td>Real Name</td>
|
|
I deployed this to JBoss 4.05 on a fresh CVS checkout. The JSF inputText just doesn't
render at all. I just tried deploying on tomcat, and got the same result.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982135#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...