Hello,

I reuse code from Polls (proposal for a voting system) to made a text input:
println(doc.displayEdit(cclass.get(field.getName()), "${doc.getFullName()}_", survey))
After I try to made it read only:
field.setStringValue("readonly","readonly")
But it doesn't work: output html doesn't contain readonly attribute.

Who can help me?

Regards,

Arnaud Bourrée