I have realized that when a schedule is placed inside a tab, it is not rendered properly if the tab is not the first one to be shown
Code: Select all
<p:tabView >
<p:tab title="tab 1">
...
</p:tab>
<p:tab title="tab 2">
<p:schedule value="#{myBean.myModel}" rendered="true" />
</p:tab>
</p:tabView >
I managed to overcome this problem by either having the tabview set to "dynamic" or by faking a resize on the window DOM object
Code: Select all
jQuery(window).resize()
more info here : http://arshaw.com/fullcalendar/docs/display/render/
would it be possible to include this parameter in the primefaces schedule component ?
Using :
Primefaces 2.2RC2
Mojarra 2.0.3
Glassfish 3.1