users@woodstock.java.net

login component message problems (with screenshot)

From: Kenneth Suter <Kenneth.Suter_at_Sun.COM>
Date: Mon, 03 Mar 2008 13:11:30 -0600

Resent with the mentioned screenshot...

Kenneth Suter wrote:
> Hello,
>
> Is there a way to control the messages that are rendered by the login
> component? There seems to be two different problems. I am using a
> custom JAAS login module and the default controller:
>
> - The inline alert if rendered below the login components and there is
> no space between the buttom button and the alert. The web application
> guidelines specify that the message should appear above the form
> area's field labels and below the product name image.
>
> - I cannot figure out how to specify the text that is part of the
> alert. Whenever there is a problem (not matter what the problem) the
> message text appears as it does in the attached screenshot. It looks
> like there is a bug in JaasLoginController.handleCommunication() that
> overwrites the message if the exception is _not_ null. It seem like
> the default message text should appear if the if the exception _is_ null.
>
> -Kenneth
>





Screenshot-Login_-_Mozilla_Firefox.png
(image/png attachment: Screenshot-Login_-_Mozilla_Firefox.png)