tags:

views:

23

answers:

1

I am doing a project using JSF 2.0 and Facelets.

I have read documentations that the <ui:debug/> tag gives valuable troubleshooting information upon pressing CTRL-SHIFT-D. But this never works for me. Please anyone tell me what am I missing.

(I tried with various hotkeys, still no success. eg: <ui:debug hotkey="a"/>)

+1  A: 

Ensure that you pick a key which isn't reserved by the webbrowser itself. In case of Firefox, a good choice is K.


Unrelated to the problem, I recommend to add a rendered attribute to ensure that it won't pop in a production environment. E.g.

<ui:debug hotkey="K" rendered="#{initParam['facelets.DEVELOPMENT']}" />

in combination with this in web.xml

<context-param>
    <param-name>facelets.DEVELOPMENT</param-name>
    <param-value>true</param-value>
</context-param>
BalusC
Nothing is happening in Firefox if I use the tag as: <ui:debug hotkey="k"/> and then press CRTL+SHIFT+k when page is displayed. I am sure I am terribly missing something, but don't know what!
MISS_DUKE
Maybe you have a too restrictive popup blocker.
BalusC