Issue Regarding HTML Rich Text.Desperately need your help.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Issue Regarding HTML Rich Text.Desperately need your help.

Rajesh_1229
Hi,
 
I am new to Orbeon XForms and we are using this product in our application.After a long learning,we somehow managed to complete our XForms module.but we strucked with one issue.In my Xform,there is a need for Use to enter his remarks(Text may be normal text or rich text like MS Word,Excel Data).So we have used two textareas in which first textarea is for displaying older remarks and second one to enter his new remarks.The code we have used for it as follows...
 
<xforms:textarea ref="AddRemarks" mediatype="text/html" class="htmltextarea"></xforms:textarea>
 
but as first one is for display purpose,we need to change it as readonly.but the readonly attribute is not working for the HTMLArea.so i have done it as <xforms:output mediatype="text/html">.
 
When user enter enters his remarks and click "AddRemarks" button,the new remarks will be appended to old remarks.
 
But actual problem is when the page loads,user enters his remarks and saves his work.the page is redirected to same page with updated data.All fields are working and updated fine but First Remarks which we are keeping for displaying remarks,is not updating.and that too it is bevaving asynchronously.Once it will show latest remarks,hencewhile it shows older data deprecating newly added remarks,other time its shows nothing.but at this time,when we refresh the page, the remarks is getting loaded with updated data.
 
We really struck with this issue.And please let me know how to make a RichTextArea readonly or you have any other solution.waiting for ur help.
 
Thanks & Regards,
Rajesh Kumar S



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws