AM 7.0 - any attribute of amUser.xml

Wanted to make the email address non-editable for end user on the /idm/EndUser function of am 7.0. I changed the mail attributeSchema in the <User> section of amUser.xml as follows

<AttributeSchema name="mail"

type="single"

syntax="email"

any="userReadOnly"

i18nKey="u106">

</AttributeSchema>

I mainly changed the any attribute from "display" to "userReadOnly". Then I run the amadmin to remove and add the service back. However, instead of displaying the email address as a label disallowing user editing, the attribute simply disappear completely.Is the userReadOnly work in am 7? If so, what is the syntax? Any help is appreciated.

Thanks

[714 byte] By [612158a] at [2007-11-27 6:02:29]
# 1
Faced the save problem.........i put the field as display only and then wrote javascript to make it readOnly for end user based on the no of field on display. ........look like a bug in 7.0 so had to do it manually
anujeveretta at 2007-7-12 16:43:59 > top of Java-index,Web & Directory Servers,Directory Servers...