Allow f:with tags to be nested within templates
Open
relates-to: grails-fields
- Dominant language
- Groovy
- Stars
- 2.9k
- Forks
- 975
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 92
Description
Currently the `` tag can be nested but only within a single `pageScope`. It would be useful to allow nesting to work within templates.
For example:
**/author/show.gsp**
``` gsp
```
**/_fields/author/books/_displayWidget.gsp**
``` gsp
```
Contributor guide
Research direction
Start with the f:with and f:display usage shown in author/show.gsp and _fields/author/books/_displayWidget.gsp, then trace how nested tags behave across the template boundary. Verify the change using an equivalent nested author/books template scenario, with f:display resolving the book title inside each g:each iteration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- groovy
- Domain
- web-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100