Or are you using the RI?
the names are references to the state the application saves on the client. MyFaces names them differently to the RI, this is why the problem occurs. What you can do is switch to server side state saving - or use MyFaces as implementation.
regards,
Martin
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_64').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.
--
http://www.irian.at
Your JSF powerhouse -
JSF Trainings in English and German

