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
- Secure JSON Services with Play Scala and SecureSocial
- My What's New in Spring 3.1 Presentation
- Twitter's Open Source Summit: Bootstrap 2.0 Edition
- Refreshing AppFuse's UI with Twitter Bootstrap
- 2011 - A Year in Review
- Upgrading AppFuse to Spring Security 3.1 and Spring 3.1
- What have I been working on at Taleo?
- Our Engaging Trip to Paris and Antwerp
- My HTML5 with Play Scala, CoffeeScript and Jade Presentation from Devoxx 2011
- Deploying Java and Play Framework Apps to the Cloud with James Ward