users@glassfish.java.net

Re: seam and glassfish

From: <glassfish_at_javadesktop.org>
Date: Tue, 14 Aug 2007 01:44:59 PDT

Yes, it has. This is my local interface:
@Local
public interface TestLocal
{
    public String Test();
}
I use Netbeans and this interface is in ejb project.
Tell me, what the "TestLocal_.+" part of the class name is (this numbers)?

My xhtml file:
<?xml version='1.0' encoding='UTF-8' ?>
<!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:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html">
    <body>
         <ui:composition template="/template.xhtml">
            <ui:define name="title">
                Facelets
            </ui:define>
            <ui:define name="body">
                Hello, this text comming from template client.
                <h:form>
                    <h:commandButton value="Click me"
action="#{test.test}"/>
                </h:form>
            </ui:define>
        </ui:composition>
    </body>
</html>
[Message sent by forum member 'cisrudlow' (cisrudlow)]

http://forums.java.net/jive/thread.jspa?messageID=230769