I'm taking my first crack at using some of the built-in Ajax stuff in Wicket - pretty cool by the way!
I'm using the AutoCompleteTextField to filter some data and it works except that I'm getting a javascript error. It doesn't seem to be inhibiting any of the functionality but it looks bad, nonetheless. Nothing shows up in the WICKET AJAX DEBUG dialog other than what I would have expected: INFO: received ajax autocomplete response. 60201 characters. INFO: elementId=filterForm_itemCodes-autocomplete INFO: <ul><li textvalue="69907">69907</li><li textvalue="69908">69908</li><li textvalue="69909">69909</li><li textvalue="69910">69910</li><li........ The error is "'cc' is undefined". I'll post the code for the page if it's needed but really all I did was copy the code from the wicket-examples and change it to pull data instead of a static list like the example uses. The *only* place where I strayed was I took the <wicket:extend> tag out that was wrapping the <form> tag because, not only am I not familiar w/ it, I got as far as I did w/o it...and it throws an error w/ it in there. It mentions something about markup inheritence but I'm unfamiliar w/ that part of wicket still...so forgive my ignorance there. Hopefully this jumps out at someone? Thanks! -- View this message in context: http://www.nabble.com/AutoCompleteTextField-giving-js-error-tf2165873.html#a5987358 Sent from the Wicket - User forum at Nabble.com. ------------------------------------------------------------------------- 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-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user