LoginPortlet's view.jsp
| ....
| <portlet:defineObjects/>
| <c:choose> <!-- NOTE MISSING $ !!! - BB BLOWS UP IF I PUT IT HERE -->
| <c:when test="[DOLLAR SIGN HERE]{empty renderRequest.remoteUser}">
| <form method="POST" action="j_security_check" onsubmit="checkLogin(this);">
| <b>Login</b><br/><br/>
| <table width="100%" cellpadding="0" cellspacing="0">
| <tr>
| <td align="right" width="100">
| Username:
| </td>
| <td align="left">
| <input type="text" name="j_username" value=""/>
| </td>
| </tr>
| <tr>
| <td align="right" width="100">
| Password:
| </td>
| <td align="left">
| <input type="password" name="j_password" value=""/>
| </td>
| </tr>
| <tr>
| <td colspan="2" align="center">
| <input type="submit" name="login" value=" Login "/>
| </td>
| </tr>
| </table>
| </form>
| </td>
| </tr>
| </c:when>
| <c:otherwise>
| <tr>
| <td align="left"><span class="portlet-form-field-label">Logged in as:
</span><span>[DOLLAR SIGN HERE]{renderRequest.remoteUser}</span></td>
| <td align="right"><a href="/portal/logout.jsp">Logout</a></td>
| </tr>
| </c:otherwise>
| </c:choose>
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3897944#3897944
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3897944
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user