You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "martin kovacik (JIRA)" <ji...@apache.org> on 2009/04/30 15:21:30 UTC

[jira] Commented: (WICKET-1912) StatelessForm problems with query string

    [ https://issues.apache.org/jira/browse/WICKET-1912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12704629#action_12704629 ] 

martin kovacik commented on WICKET-1912:
----------------------------------------

I have the same problem. When I submit statelessform query string is growing exponentially. This issue is probably somehow related to the fact that all the form components are duplicated on each submit (they become hidden inputs after submit).

It would be great if this issue is fixed, as several other users were complaining about it too:

http://www.nabble.com/StatelessForm-in-Bookmarkable-Page-problem-td19430608.html#a19430608
and
http://www.nabble.com/StatelessForm---problem-with-parameters-after-validation-fails-td22438953.html#a22438953

Martin

> StatelessForm problems with query string
> ----------------------------------------
>
>                 Key: WICKET-1912
>                 URL: https://issues.apache.org/jira/browse/WICKET-1912
>             Project: Wicket
>          Issue Type: Bug
>    Affects Versions: 1.4-M3
>            Reporter: Adrian Sandor
>            Assignee: Johan Compagner
>         Attachments: wickettest-1912.zip
>
>
> I made a small application to reproduce the problem, please see the attachment.
> Dependencies: jetty 6, wicket 1.4-m3, slf4j, log4j
> First problem:
> Steps to reproduce:
> 1. Run the test.Start class
> 2. Open http://localhost:8080 in a browser
> 3. Type something in the text field, then click submit several times
> Result:
> The query string is growing every time
> Second problem:
> Steps to reproduce:
> 1,2: Same as above
> 3. Don't type anything in the text field, then click submit several times
> Result:
> Besides the query string growing every time, semicolons appear in the input field and grow exponentially (2*n+1 each time)
> Third problem:
> Steps to reproduce:
> 1,2: Same as above
> 3. Don't type anything in the text field, then click submit once
> 4. Type something in the text field, then click submit several times
> Result:
> A semicolon is prepended to the text, then the text is doubled every time, with a semicolon added in the middle

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.