Sunday August 04, 2002
Roller Login Enhancement I added an enhancement to roller today. Basically, it's a trick I learned with form-based authentication. Rather than having 2 different pages (one for the login, and one for the login failure), you use one page and specify a paramter, such as /login.jsp?error=true for the <form-error-page> value. This makes it easy to add a error message at the top with something like this:
<div class="error">
<logic:present parameter="error">
<bean:message key="error.password.mismatch"/>
</logic:present>
</div>
Posted in Roller
at Aug 04 2002, 06:16:46 AM MDT
Add a Comment
Comments:
Search This Site
Recent Entries
- Wine Tasting in Napa Valley
- How to build a Shot-Ski
- Bus Project Update
- Farewell to the 2011-2012 Ski Season
- Cruising around the Western Caribbean
- Spring Break!
- A Spectacular Trip to Stockholm and Madrid
- Comparing Web Frameworks and HTML5 with Play Scala at Jfokus 2012
- Play Framework 2.0 with Peter Hilton at Jfokus
- Secure JSON Services with Play Scala and SecureSocial