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
I've attached screen shots below for your reference:
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")
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!