Hey,
thank you.
But, it doesnt run. I am not a Facelets specialist... uhm... actually I did nothing with
Facelets yet, so I need some help for this.
So, I put the stuff from your site to my jsp page:
| <?xml version="1.0"?>
| <html
xmlns:jsp="http://java.sun.com/JSP/Page"
|
xmlns:h="http://java.sun.com/jsf/html"
|
xmlns:f="http://java.sun.com/jsf/core"
|
xmlns:s="http://jboss.com/products/seam/taglib"
|
xmlns:ui="http://java.sun.com/jsf/facelets"
|
xmlns="http://www.w3.org/1999/xhtml">
| <jsp:output doctype-root-element="html"
| doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"
|
doctype-system="http://www.w3c.org/TR/xhtml1/DTD/xhtml1-transitional...
| <jsp:directive.page contentType="text/html"/>
| <head>
| <title>Successfully Registered New User</title>
| </head>
| <body>
| <f:view>
| <h3>Welcome, <h:outputText
value="#{person.name}"/>,</h3>
| you are successfully registered as <h:outputText
value="#{person.username}"/>.
| <h:outputText value="No persons to display"
rendered="#{personList.rowCount==0}"/>
| <h:outputText value="#{person.name}"/>
| <h:dataTable var="person" value="#{personList}"
rendered="#{personList.rowCount>0}">
| <h:column>
| <f:facet name="header">
| <h:outputText value="Real name"/>
| </f:facet>
| <h:commandLink value="#{person.username}"
action="#{registeredManager.select}"/>
| </h:column>
| <h:column>
| <f:facet name="header">
| <h:outputText value="User name"/>
| </f:facet>
| <h:outputText value="#{person.name}">
| </h:outputText>
| </h:column>
| <h:column>
| <h:commandButton value="Delete"
action="#{registeredManager.delete}"/>
| </h:column>
| </h:dataTable>
| Passwort:
| <h:outputText value="#{person.password}"/>
| <ui:debug hotkey="d"/>
| </f:view>
| </body>
| </html>
|
I got rid of the rendered paramater in <ui:debug> cause I dont know what I have to
write in the web.xml file to turn debug on. But it should run so.
When I am now running this page, and I want to debug this.. I press CTRL+SHIFT+d and
nothing happens in my Firefox window?!
Is there a wiki page how turning debug in seam on? I didnt find anything and it would be
an important page I think.
Thank you guys,
Im just a beginner.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976803#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...