When nesting the richfaces calendar tag in a paragraph tag (
) it doesn’t work anymore. For example this code:
#{bundle.availabilityDate} <rich:calendar id="validUntilDate"
required="true"
value="#{glossaryVersionController.glossaryVersion.availabilityDate}" />
resulted in the popup not showing and this javascript error on rendering the xhtml page:
Fout: obj is null
Bronbestand: http://server:port/application/a4j/g/3_3_1.GAorg/richfaces/renderkit/html/scripts/calendar.js.xhtml
Regel: 97
When this richfaces calendar tag is used outside a paragraph tag all works well.
Thank you. I was facing the same problem when using a rich:calendar component inside a h:label.