apache / apache/grails-core

[enhancement request] ability to show id and dateCreated in <f:display bean="xx"/>

Open
#14,222 0 comments 0 reactions 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

You can show the id and dateCreated in `` by hard coding the list of fields including the ID field, e.g. ``

This is useful, but it is really critical to be able to show these fields when showing the record via the show method.

Unfortunately, the same thing doesn't work for the display method. This request is to allow this to work: `` or, even better:

` `

If possible, please add the ability to show id, dateCreated and dateUpdated when "showing" a bean.

Contributor guide

Open the contributing guide

Research direction

Start at the entry point and compare its behavior with the example. Done means the display method can show id, dateCreated, and dateUpdated through properties or the requested exclude behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
groovy
Domain
backend, web-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.