« Return to Thread: ui:debug always display "No Debug Output Available"

ui:debug always display "No Debug Output Available"

by jp74 :: Rate this Message:

Reply to Author | View in Thread

The windows open by th <ui:debug/>  only display this message : "No Debug Output Available".

simple source code one.jspx :
<!DOCTYPE html PUBLIC "-//W3C//DTD jspx 1.0 Transitional//EN" "http://www.w3.org/TR/jspx1/DTD/jspx1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/jspx" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core"
  xmlns:h="http://java.sun.com/jsf/html">
<body>
<f:view>
  <h:form>
    <h:outputText value="Hello World" />
    <ui:debug hotkey="y" />
  </h:form>
</f:view>
</body>
</html>

The code source html generated :
<!DOCTYPE html PUBLIC "-//W3C//DTD jspx 1.0 Transitional//EN" "http://www.w3.org/TR/jspx1/DTD/jspx1-transitional.dtd" >
<html xmlns="http://www.w3.org/1999/jspx">
<body><form id="_id2" method="post" action="/hw/faces/pages/facelets/one.jspx" enctype="application/x-www-form-urlencoded">
Hello World<script language="javascript" type="text/javascript">
//<![CDATA[
function faceletsDebug(URL) { day = new Date(); id = day.getTime(); eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=800,height=600,left = 240,top = 212');"); };var faceletsOrigKeyup = document.onkeyup; document.onkeyup = function(e) { if (window.event) e = window.event; if (String.fromCharCode(e.keyCode) == 'Y' & e.shiftKey & e.ctrlKey) faceletsDebug('/hw/faces/pages/facelets/one.jspx?facelets.ui.DebugOutput=1239885500659'); else if (faceletsOrigKeyup) faceletsOrigKeyup(e); };
//]]>
</script>
<input type="hidden" name="_id2" value="_id2" /></form>
<!-- MYFACES JAVASCRIPT -->

</body>
</html>


I test with IE 6 and Firefox 3.0.8. I use Websphere 6.1 with jsf1.1 with jsf-ibm extension and tomahawk.
I missed something?

 « Return to Thread: ui:debug always display "No Debug Output Available"