https://issues.apache.org/bugzilla/show_bug.cgi?id=56488

dstojkov <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |---

--- Comment #4 from dstojkov <[email protected]> ---
You are right

I used this example and adapted it to a jsf page
I used request.login() instead of the form that of the example

here the index.xhtml

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml";
      xmlns:h="http://xmlns.jcp.org/jsf/html";
      xmlns:ui="http://xmlns.jcp.org/jsf/facelets";>
    <h:head>
        <title>login</title>
    </h:head>
    <h:body>
        <ui:debug hotkey="Y"/>
        #{directoryService.init()}
        <h:form id="login">
            <h:outputLabel for="usernameInput" value="username : "/>
            <h:inputText id="usernameInput" value="#{userFa.name}"/>
            <h:outputLabel for="passwordInput" value="password : "/>
            <h:inputSecret id="passwordInput" value="#{userFa.password}"/>
            <h:commandButton value="login" action="#{userFa.login()}"/>
        </h:form>
    </h:body>
</html>

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to