20020804 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:

Post a Comment:
  • HTML Syntax: Allowed
Click me to subscribe
Matt Raible is a Web Architecture Consultant specializing in open source frameworks.
« May 2012
SunMonTueWedThuFriSat
  
1
2
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
23
24
25
26
27
28
29
30
31
  
       
Today

Recent Entries

Tag Cloud