I have a field in my Xpage that I want to be readOnly and submitted to the database upon Save. This field gets a value from a Ajax call
Setting the property ReadOnly to true creates a <span>
instead of a readonly field.
Setting the property "Show disabled control for readonly" creates a input text field with the property readonly=readonly.
<input type="text" class="xspInputFieldEditBox" readonly="readonly" name="view:_id1:_id2:_id3:_id28:callbackFieldControlSet:InstrumentShort" id="view:_id1:_id2:_id3:_id28:callbackFieldControlSet:InstrumentShort">
It will not be saved to the database.
According to my knowledge readonly fields are submitted but not disabled.
What I'm I doing wrong here?
/M