Bugs item #1491673, was opened at 2006-05-19 17:34
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1491673&group_id=119783

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: core
Group: 1.2
Status: Open
Resolution: None
Priority: 5
Submitted By: AndreasG (agro126)
Assigned to: Nobody/Anonymous (nobody)
Summary: wicket-ajax.js - wicketSerialize(e) - missing 'return ""'

Initial Comment:
wicket-1.2-rc4.jar / wicket-ajax.js
wicket-ajax.js/wicketSerialize(e) should 
have 'return "";' as last statement.
Otherwise form elements that are not of 
type "select", "input" or "textarea" are serialized 
as "undefined", which causes arbitrary "undefined" 
chunks in the request-parameter encoding that will 
lead to broken component paths for input components in 
wicket when parsing the ajax post request.
This behaviour occurs if html fieldset components are 
contained in a form. Fieldsets are included in 
form.elements which will be iterated over in 
wicketSerializeForm(form) (observed with IE 6.0 SP2 
and FF 1.5.0.3 alike).

A hint for the javadoc for AjaxSubmitLink: it would 
help to mention that the form to which a 
AjaxSubmitLink will be associated should get 
setOutputMarkupId (true) (perhaps this could be done 
in the AjaxSubmitLink constructor).

Final remark: Wicket ajax support really rocks! It 
couldn't be easier to ajaxify an existing (wicket) 
application!

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1491673&group_id=119783


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-develop mailing list
Wicket-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to