Hi, I'm trying to run the inputSuggestAjax example from the myfaces sandbox.jar.I'm using the 10/30/2005 nightly build. It looks like it does not work anymore ... at one time I was getting suggestions back when typing in the input field.
Does anybody know if that should still be working out of the box? Thanks, Lou ----- Original Message ----- From: "Volker Weber" <[EMAIL PROTECTED]> To: "MyFaces Discussion" <[email protected]> Sent: Wednesday, November 02, 2005 3:54 AM Subject: Re: Ajax inputSuggestAjax tag works?? > Hi, > > the 'jsf_tree_64' refers to the clientside state saving of the myfaces > implementation, not to the input element. > > if you are not using the myfaces implementation try switching to server > side state saving. > > regards > Volker > > TRIFILETTI, Mel wrote: > > Hi, > > > > I'm trying to use the inputSuggestAjax tag in Websphere 6. Unfortunately > > I can't get the myfaces 1.1.1 examples to run under Websphere 6. > > > > Not put off by that, I thought I'll try to just use the tag in my > > project. I am at the point now that I get a javascript error. Closer > > inspection reveals this bit of code > > > > callback: function(element,entry) {return > > entry+'&jsf_tree_64='+encodeURIComponent(document.getElementById('jsf_tree_6 4').value) > > > > Which is looking for a id to 'jsf_tree_64'? This does not exist on the > > page. Looking at the html source I think it should be linking to _id0:_id3 > > > > <input id="_id0:_id3" name="_id0:_id3" type="text" value="xx" > > autocomplete="off" class=" myFacesInputSuggestAjax" /> > > > > Now adding multiple inputSuggestAjax results in the exact same > > javascript with a another reference to 'jsf_tree_64'. > > > > This leads to me the suspicion that the inputSuggestAjax component is > > broken? Or maybe I have done something wrong? > > > > Lastly I couldn't work out how the links to the js files are > > automatically outputted by the tag, so I manually added a reference to > > the javascript in the html code for the following files: prototype.js, > > control.js, dragdrop.js effects,js and myFaces.js > > > > Mel > > > > > > > > "DISCLAIMER: This email, including any attachments, is intended only for > > use by the addressee(s) and may contain confidential and/or personal > > information and may also be the subject of legal privilege. If you are > > not the intended recipient, you must not disclose or use the information > > contained in it. In this case, please let me know by return email, > > delete the message permanently from your system and destroy any copies. > > > > Before you take any action based upon advice and/or information > > contained in this email you should carefully consider the advice and > > information and consider obtaining relevant independent advice. > > > > -- > Don't answer to From: address! > Mail to this account are droped if not recieved via mailinglist. > To contact me direct create the mail address by > concatenating my forename to my senders domain. >

