Hello, The problem was that a "&" was missing at the end of the build URL
-----Message d'origine----- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de PERINAUD Christophe Envoyé : vendredi 12 juin 2009 15:44 À : XWiki Users Objet : [xwiki-users] How to use the ajaxSuggest Hello all I would like to use the ajaxSuggest feature to help users inputting data in an input field of a form. I checked in the tagedit.vm how it works but i can't have a result. I create that : --- #set($script=$xwiki.getURL("Main.TestXML")+"?xpage=plain") <input type="text" name="project" value="" class="panelinput" style="margin:auto;" onfocus="new ajaxSuggest(this, {script:'${script}', varname: 'input', seps:'', offsety: 13} );"/><br> --- The page Main.TestXML is like that : --- $response.setContentType("text/xml") <?xml version="1.0" encoding="UTF-8"?> <results type="1"> <rs id="1" info="info1">valeur1</rs> <rs id="2" info="info2">valeur2</rs> <rs id="3" info="info3">valeur3</rs> </results> --- So when the user inputs something like "al", i would like to see the popup with the three values. I just got a javascript error saying "Object required" on the line with the input field Christophe Périnaud Windows Server 2003 SP2 in a VMWare instance Oracle 10g Java 1.6.0_12 Xwiki 1.8 from the pack Jetty/HSQL -------------------------------------------------------------------------------- This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -------------------------------------------------------------------------------- This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users