cancel
Showing results for 
Search instead for 
Did you mean: 

The read only attribute of editor area not working for Models?

former_member674349
Participant
0 Kudos

Hi,

I am trying to disable the qualifier, so that no user can update the value, but my airlineIATA is not a string but its model. So if user double clicks, it will open and allowed to edit the values.

readonly works fine for Strings but not for other objects so how to handle this situation.

Ex editorArea:attribute qualifier="airlineIATA" label="flight.product.iatacode" readonly="true"

Regards, .

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

use the param "disableDisplayingDetails" as below for your property "airlineIATA" in your config.xml.

 <editorArea:attribute qualifier="airlineIATA">
           <editorArea:editor-parameter>
             <editorArea:name>disableDisplayingDetails</editorArea:name>
             <editorArea:value>true</editorArea:value>
      </editorArea:editor-parameter>
 </editorArea:attribute>

Answers (0)