Greetings
I use Jboss Portal 2.7.2 and RichFaces 3.3.0.GA.
Partial Refresh feature is switched on.
Edit mode contain several RichFaces components.
Received javascript error on load page:
"FUNCTION_NAME is not defined"
Where FUNCTION_NAME is rich faces function name (for example ProgressBar, when used rich:progressBar component).
I know workaround: put this component on view mode and set display: none.
But it isn't good solution.
I took some investigation with javascript.
Below javascript function definition isn't working:
<script type='text/javascript'>
function test() {
alert("test");
}
</script>
<input type="button" value="Test" onclick="test()" /> // test() not found;<script type='text/javascript'>
test = function() {
alert("test");
}
</script>
<input type="button" value="Test" onclick="test()" /> // test() is called;