Changed bridge request paths to use icefaces.jsf extension. This way no additional servlet mapping is needed for ICEfaces to run.
In case a component or the application is using dynamic resources then /icefaces/ servlet mapping needs to be added. By using a prefix based mapping the relative paths that a resource might use to reference other resources will work properly.
For example FCKEditor (in RichInputText component) has a master JS file that references other files – fckeditor.js. The generated path for this file will look like this: icefaces/resource/MTE1NTg0NjEyMg==/ . One of the files referenced by fckeditor.js is ./fckeditor.html. The generated path for the references path is: icefaces/resource/MTE1NTg0NjEyMg==/fckeditor.html. This way the relative path will work properly.
If the suffix based servlet mapping would be used (.icefaces.jsf) the generated paths would be
resource/MTE1NTg0NjEyMg==/.icefaces.jsf and resource/MTE1NTg0NjEyMg==/fckeditor.html.icefaces.jsf but the master file will use relative path to reference ./fckeditor.html file which will result into a failed request to resource/MTE1NTg0NjEyMg==/.icefaces.jsf./fckeditor.html.
Changed bridge request paths to use icefaces.jsf extension. This way no additional servlet mapping is needed for ICEfaces to run.
In case a component or the application is using dynamic resources then /icefaces/ servlet mapping needs to be added. By using a prefix based mapping the relative paths that a resource might use to reference other resources will work properly.
For example FCKEditor (in RichInputText component) has a master JS file that references other files – fckeditor.js. The generated path for this file will look like this: icefaces/resource/MTE1NTg0NjEyMg==/ . One of the files referenced by fckeditor.js is ./fckeditor.html. The generated path for the references path is: icefaces/resource/MTE1NTg0NjEyMg==/fckeditor.html. This way the relative path will work properly.
If the suffix based servlet mapping would be used (.icefaces.jsf) the generated paths would be
resource/MTE1NTg0NjEyMg==/.icefaces.jsf and resource/MTE1NTg0NjEyMg==/fckeditor.html.icefaces.jsf but the master file will use relative path to reference ./fckeditor.html file which will result into a failed request to resource/MTE1NTg0NjEyMg==/.icefaces.jsf./fckeditor.html.