richfaces calendar tag fails when nested in paragraph tag

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.

1 Comment on “richfaces calendar tag fails when nested in paragraph tag

Leave a Reply

Your email address will not be published. Required fields are marked *

Please reload

Please Wait