Hello:

_javascript_ files get  included in the resultng html page. However I get the error "'Ajax' is undefined". Apparently the object that _javascript_ is trying to create is not being found in the included files. I think it is not able to execute "new Ajax.MyFacesAutocompleter" correctly. Can you provide some insight into this.

For example one generated path is:

/Test/faces/myFacesExtensionResource/inputsuggestajax.InputSuggestAjaxRenderer/11302665/controls.js

If I look under <TOMCAT_HOME>/webapps/Test/faces/myFacesExtensionResource/inputsuggestajax.InputSuggestAjaxRenderer/11302665/controls.js

So perhaps it is natural that I am having a problem with an undefined object. What should be the correct path and how do I communicate to the JSF/AJAX system so that it generates the correct path.

-Umesh

 

 

The generated code for inclusing java files looks as below:

<script src="" type="text/_javascript_"><!--

//--></script>
<script src="" type="text/_javascript_"><!--

//--></script>
<script src="" type="text/_javascript_"><!--

//--></script>
<script src="" type="text/_javascript_"><!--

//--></script>
<script src="" type="text/_javascript_"><!--

//--></script>
<link rel="stylesheet" href="" type="text/css" /></head>

-Umesh

Reply via email to