Thursday 15 December 2011

PrimeFaces: showing p:dialog problem

Problem description:
If you name the p:dialog 'status' the dialog will not be showed.


Code example(doesn't work):
Show the dialog... <p:dialog widgetvar="status"> ... </p:dialog>

 Solution: do not give the widgetVar the name 'status' (is it reserved by javascript??)

Code example(works):
<p:dialog widgetvar="sth_not_status"> ... </p:dialog>

No comments:

Post a Comment