Bug #3552
openCan't get the input of a WTextArea when the user copy and paste a very long text into it
Description
Look at the sample project I attached.
There is a textarea , a submit button and a echo-back label. The user enters some text into the text area , push the submit button and my application shows the text entered into the label.
If the entered text is short , everything is ok . But , if the user copied and pasted a very long text (for example , the content of one of the "LongText*.txt" files in the source directory ) , then , my application wouldn't get the text in the textarea as expected. In my system , when the text is longer than 85.6KiB , we wouldn't get the content in the textarea.
Files
Updated by Koen Deforche over 10 years ago
Hey,
There is a default setting () which limits the size of a POST to about 128KB. This is probably what is causing the issue.
See also:
http://www.webtoolkit.eu/wt/doc/reference/html/overview.html#configuration_sec
Regards,
koen
Updated by 太极美术工程狮 狮长 over 10 years ago
I'm the original reporter.
I don't think it is related to the max-request-size setting. Please take a look at the wt_config.xml file in my sample project , the and are both 1280 , which I think is enough for 85.6KiB .
Updated by Wim Dumon over 10 years ago
Hey,
did you verify in your startup messages that you're actually using your modified copy of wt_config.xml?
BR,
Wim.
Updated by Koen Deforche about 10 years ago
- Status changed from Resolved to Feedback
- Assignee set to Wim Dumon
- Target version set to 3.3.4