I'm trying to build a specific module in the Admin. In my model, I added a Boolean attribute.
Code: Select all
@Column(name = "NEWSLETTER_STATUS")
@AdminPresentation(
friendlyName="Newsletter_Status",
readOnly=true)
protected Boolean status;
And the result on the client-side depends on the value of "readOnly" in @AdminPresentation...
link:http://i.imgur.com/wIhUTkf.png

I'm using the 2.2.1-SNAPSHOT version of the Admin.
Do you have a suggestion ? I want to see a checkbox in the client-side even if "readOnly" is set to "true"...
Thank you !
Pierre-Baptiste.