oxy_textArea Unexpected Behavior/Not Working in Oxygen XML Web Author
Posted: Mon Apr 24, 2017 5:25 pm
Hello,
I'm using both oxy_textfield and oxy_textArea to edit attributes. Both functions work properly in the Oxygen XML Editor environment. However, when I deploy to Oxygen XML Web Author, oxy_textfield works as expected and oxy_textArea does not.
The attributes can be modified successfully through the attributes window. However, when they are modified in the oxy_textArea, Oxygen XML Web Author:


The code is:
Can you please let me know if I am doing something wrong? If I am not, can you please let me know if there is a work-around for this?
Thanks so much!
I'm using both oxy_textfield and oxy_textArea to edit attributes. Both functions work properly in the Oxygen XML Editor environment. However, when I deploy to Oxygen XML Web Author, oxy_textfield works as expected and oxy_textArea does not.
The attributes can be modified successfully through the attributes window. However, when they are modified in the oxy_textArea, Oxygen XML Web Author:
- Creates a new span immediately following the element with the attribute to be modified
- Dumps the content of the oxy_textArea into the new span
- Reverts the content of the oxy_textArea to whatever it was before creating the span


The code is:
Code: Select all
oxy_label(text, "Contract Number: ", styles, "width: 1.7in;color:white")
oxy_textfield(edit, '@contractNumber', columns, 15)
oxy_label(text, "Equipment Covered: ", styles, "width: 1.7in; text-align: right;color:white")
oxy_textArea(
edit, '@equipmentCovered',
contentType, 'text/plain',
rows, 3,
columns, 25
)
Thanks so much!