Hello!

        I also found that writerWrapper is properly populated:
<form id="linkDummyForm" name="linkDummyForm" style="display:inline" method="pos
t" action="/pages/home.jsf">
<input type="hidden" name="jsf_sequence" value="1" />
<input type="hidden" name="autoScroll" />

<input type="hidden" name="linkDummyForm:_link_hidden_" /><script type="text/jav
ascript"><!--
function clear_linkDummyForm() {
  var f = document.forms['linkDummyForm'];
  f.elements['linkDummyForm:_link_hidden_'].value='';
  f.target='';
}
clear_linkDummyForm();
//--></script>
</form>
<script type="text/javascript"><!--
function getScrolling() {
    var x = 0; var y = 0;
    if (self.pageXOffset || self.pageYOffset) {
        x = self.pageXOffset;
        y = self.pageYOffset;
} else if ((document.documentElement && document.documentElement.scrollLeft)
||(document.documentElement && document.documentElement.scrollTop)) {
        x = document.documentElement.scrollLeft;
        y = document.documentElement.scrollTop;
    } else if (document.body) {
        x = document.body.scrollLeft;
        y = document.body.scrollTop;
    }
    return x + "," + y;
}

//--></script>

and it is not present in output html.


Boris Kovalenko wrote:
Hello!

Bruno Aranda wrote:

Mmmh, this thing again :-(
so it is not called, rendering no javascript stuff.
using maven, and put some tracing code in the ExtensionsPhaseListener
class to see if it is getting called?


    Inserted 3 debug lines and found that:

renderCodeBeforeBodyEnd start - the function started
renderCodeBeforeBodyEnd continue - myFacesJavascript is null
renderCodeBeforeBodyEnd dummy - DummyFormUtils.writeDummyForm called

What should I do next?

With respect,
    Boris

Reply via email to