users@glassfish.java.net

Re: Form based authentication on glassfish with visual jsf

From: <glassfish_at_javadesktop.org>
Date: Thu, 13 Nov 2008 19:24:37 PST

modify:

<f:verbatim>
                        <form action="j_security_check" method="POST">
                            <h:outputLabel style="position: absolute; left: 156px; top: 48px; width: 192px; height: 24px" value="Username"/>
                            <h:inputText id="j_username" style="position: absolute; left: 216px; top: 48px; width: 192px; height: 24px"/>
                            <br/>
                            <h:outputLabel style="position: absolute; left: 156px; top: 96px; width: 192px; height: 24px" value="Password"/>
                            <h:inputSecret id="j_password" style="position: absolute; left: 216px; top: 96px; width: 192px; height: 24px"/>
                            <br/>
                            <h:commandButton value="Logon" style="position: absolute; left: 240px; top: 144px; width: 72px; height: 24px"/>
                        </form>
                    </f:verbatim>

Good luck
[Message sent by forum member 'moonlightdang' (moonlightdang)]

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