jsf - rich:calendar custom footer not being recognized -
i've having problems trying customize footer on calendar using f:facet tag
. content in tag being ignored, being default footer shown instead. can customise footer using rich:calendar
attributes showapplybutton
, think not possible remove selected date appears on left of clean button ('netejar' in image) without adding apply button, customer doesn't want.
we using richfaces 4.3.5.final.
code:
<rich:calendar value="#{yourbeanhere.yourdatehere}" locale="es_es"> <f:facet name="footer"> <h:panelgrid columns="3" width="100%" columnclasses="fake, width100 talign"> <h:outputtext value="{selecteddatecontrol}" style="font-weight:bold;" /> <h:outputtext value="{timecontrol}" style="font-weight:bold;" /> <h:outputtext value="{todaycontrol}" style="font-weight:bold;" /> </h:panelgrid> </f:facet> </rich:calendar>
calendar sample shown code above:
thanks in advance help.
the calendar footer not customizable (not every component set use facets). have put grid under table , hide footer (.rf-cal-ftr
) if need to.
Comments
Post a Comment