cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

Setting a context specific attribute to read-only ?

tracey.orso
1-Newbie

Setting a context specific attribute to read-only ?

Hello everyone,

Just wondering if anyone know how to set an attribute to read-only -
in a specific context.

In the .dcf I can set>
<attributeoption attribute="attname" dialoghidden="no" readonly="yes"/">

But I need to set it at a specific level. The same @attname at the
root level needs to be editable.


thanks,
Tracey
1 REPLY 1

Offhand, I'd say your best bet is to intercept the opening of the
Modify Attributes dialog using a "create" window callback. This will
give you the opportunity to examine the current element and make the
relevant attribute(s) read-only by disabling the corresponding XUI
controls.

-Brandon 🙂


Top Tags