Hello,
I have web page and some tags inside <c:if.../>
When I go to those page server complies my *.xhtml and gives me components whose inside a <c:if... /> tag.
I have also, javascript Counter who count down from 10,9,8... to 0.
My problem is, when counter count down to zero i want to reload page BUT i want to re-complile *.xhtml again... to show what is inside <c:if.../>
I tryed to use:
document.location.href,
document.location.replace,
document.location.reload();
The problem is page is reloaded, but without re-complile...how can i reload page from javascript and how can I tell serwer to recompile page?
Try rendered attribute instead of c:if
Some explanation:
http://wiki.java.net/bin/view/Projects/FaceletsFAQ#Why_doesn_t_my_c_if_ui_repeat_ui