Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8652113
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T14:13:59+00:00 2026-06-12T14:13:59+00:00

I use the Spring Security UI Plugin. I dont want to use the view

  • 0

I use the Spring Security UI Plugin. I dont want to use the view generated by Spring Security UI, but my own one. Therefore I want to show an error messages in my register/index view. How can I show the error messages in a list?

I would like to have this in my view:

<g:if test="${flash.message}">
    <bootstrap:alert class="alert-info">${flash.message}</bootstrap:alert>
</g:if>

When i put this lines there, no error messages are shown. But in the generated register view errors are shown.

When i put down the following code instead:

<g:eachError>
    <li>${it}</li>
</g:eachError>

Then I get alot of error messages, but cannot show them in a good way. I even cannot overwrite the messages in internatiolization API:

Field error in object 'xxx.RegisterCommand' on field 'username': rejected value []; codes [x.RegisterCommand.username.blank.error.x.RegisterCommand.username,xxx.RegisterCommand.username.blank.error.username,x.RegisterCommand.username.blank.error.java.lang.String,xxx.RegisterCommand.username.blank.error,registerCommand.username.blank.error.xxx.RegisterCommand.username,registerCommand.username.blank.error.username,registerCommand.username.blank.error.java.lang.String,registerCommand.username.blank.error,xxx.RegisterCommand.username.blank.xxx.RegisterCommand.username,xxx.RegisterCommand.username.blank.username,xxxx.RegisterCommand.username.blank.java.lang.String,xxx.RegisterCommand.username.blank,registerCommand.username.blank.xxx.RegisterCommand.username,registerCommand.username.blank.username,registerCommand.username.blank.java.lang.String,registerCommand.username.blank,blank.xxx.RegisterCommand.username,blank.username,blank.java.lang.String,blank]; arguments [username,class xxx.RegisterCommand]; default message [Die Eigenschaft [{0}] des Typs [{1}] darf nicht leer sein]

I just want to show the errors in a list.

Greetings

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T14:14:00+00:00Added an answer on June 12, 2026 at 2:14 pm

    Render errors as follow:

    <g:eachError>
        <li><g:message error="${it}"/></li>
    </g:eachError>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to use @PreAuthorize annotation on service methods with Spring Security. One of
I'm trying to use the latest spring security plugin for grails, but I've hit
I want to use Spring Security to manage user, group and permissions. I want
i want to use The Spring Security Facelets tag library to secure my UI
My problem: I would love to use the Spring Security plugin's access control/authorization mechanism
I use the spring-security-core plugin in my application. My user class extends SecUser and
I want to use Spring Security, and it says to map the filter to
I am trying to use the commentable plugin with Spring Security. I can't manage
I use spring-security to secure my web, when I'm learning it by spring-roo generated
I use Spring Security 3 and JSF2 Primefaces. Then, I create a index.xhtml for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.