7.16 KB, application/xhtml+xml
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:184.108.40.206) Gecko/20070226 Ubuntu/dapper-security Firefox/220.127.116.11 Build Identifier: xforms 0.7 First. Great job everyone. Second. the sample web url provided makes things very clear. Just two clicks and you'll get the picture. I have developed an xforms maker application that requires a textarea to accept several hundred lines of initial value from the instance. It's a normal xforms form hosted in an xhtml document(served as application/xhtml+xml). Everything works fine but the displayed initial instance data in the textarea is truncated, somewhere around line 100 to 120. However, !!the form submits the complete instance value!! --so no data is really lost--the problem is in the texarea display. If I manually type the same number of lines, the textarea scrolls and displays as normal, it's only when the instance value exceeds over 100 lines. Almost forgot, this is an external instance.xml file. (decided to double check--no matter whether it's internal or external instance!) I just realized the number of lines depends on the size of the textarea so its nor relevant but I am using about 7ems total of margin/border space and a text box of height 25em width 100%. Reproducible: Always Steps to Reproduce: 1.create an xforms such as sample.xhtml (served as application/xhtml+xml) with a textarea box size height:25em width:100% ; html border-top(and bottom): 2em, border-left(right):4em; body margin-top(bottom):1em margin left(right):2em 2.create an external xml file to be used for the instance. Supply an instance with an initial value for the textarea exceeding 200 lines or so (or just a lot of data). 3.open the form, scroll down to see if the data is complete. 4. submit (recieve and check the data from the server) Actual Results: Opened the xhtml/xforms file (served as application/xhtml+xml) Looked at the textarea box, data after 112 lines was truncated--everytime. However, the data submitted contained 100% of the initial texarea value of the instance from the xml file. actually several tests revealed the number of lines is variable between 100 and 130 with variable initial value instance sizes (200 lines, 250, 230 etc) Expected Results: expected to see the complete instance value displayed in the textarea box displayed the complete instance value in the textarea box
Created attachment 257230 [details] Testcase for partial display of instance data in a textarea The textarea displays only a limited size of data. With the attachment, only up to lines 62 are fully shown. However if each line of instance data is reduced in length, more lines are shown. This is independent of the textarea's styled size
This is fixed in the trunk as I see 100 lines in the textarea. I assume by the patch for 357652. So this won't be an issue in 0.8.
looking forward to 0.8 Keep up the good work! clarke