This is not a new issue. It has been reported previously and I thought
I fixed it. I have to check with the url refactoring in 1.2 in
validate it has not been changed.
Juergen
On 12/12/05, Marco van de Haar <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> We were testing our components for a bug concerning Wicket 1.2, and we
> ran into another strange 'feature'. It seems that the callback URL has
> some kind of endline character in it, so the line gets broken. Has
> anyone had this problem before, and how do we fix it?
>
> This is how it should work (for integerProperty):
>
> <input value="100" type="text" wicket:id="integerProperty" size="40"
> name="integerProperty"
> onblur="javascript:integerProperty_validate('/wicket-examples/forminput?x=zzG9ja%2BuQQDwJn7QcaRsK9tYSJMDOJtIm7icNgVfkBJRSU%2FNKvJ32td846e6KcdErTa%2FFBWXnfg%3D&behaviourId=1',
> 'integerProperty', this);" id="integerProperty"/>
>
> And this is how it's currently done for integerInRangeProperty (and this
> fails):
> <input value="50" type="text" wicket:id="integerInRangeProperty" size="40"
> name="integerInRangeProperty"
> onblur="javascript:integerInRangeProperty_validate('/wicket-examples/forminput?x=zzG9ja%2BuQQDwJn7QcaRsK68%2BEuLTb750DSqLwoSz8jud397Wra%2FIxP4Au%2Fw9yLZCp4g%2FHcGznT7s
> dS0jvOkz1Q%3D%3D&behaviourId=1', 'integerInRangeProperty', this);"
> id="integerInRangeProperty"/>
>
> As you can see the URL continues on the next line and instead of generating
> an Ajax call, it returns a Javascript error.
> You can try this yourself by adding FXFeedbackhandlers to the
> forminputexample in HEAD.
>
>
>
> Greetings,
> Marco and Ruud
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems? Stop! Download the new AJAX search engine that makes
> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user