apache / apache/grails-core

Support of Command beans with @Validateable annotation

Open
#14,243 7 comments 1 reaction 0 assignees View on GitHub
relates-to: grails-fields
Dominant language
Groovy
Stars
2.9k
Forks
975
Avg merge
1d 22h
Merged PRs (30d)
92

Description

I have RegisterCommand used in register action.
This command is marked by '@Validateable' annotation.
When I try to render form with it, I get org.codehaus.groovy.grails.web.taglib.exceptions.GrailsTagException: Tag [all] currently only supports domain types.
As I can understand, it is possible to implement this feature.
Could you implement it?
Thanks

Contributor guide

Open the contributing guide

Research direction

Start with the RegisterCommand marked with @Validateable and reproduce the form rendering failure from the [all] tag. Trace the form-tag path that raises the GrailsTagException and determine the existing domain-type restriction. Done means the form renders successfully for a command bean without that exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
groovy
Domain
backend, web-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.