The issues I am having is with the prime faces calendar input field. At you moment I have it working fine using the popup button. So you click the button and the calendar appears so you can select a date. The required affect for the page I'm working on however is that the calendar will appear when the input field has focus.
On the Primesfaces Calendar Showcase the functionality I'm looking for is shown in the example labeled "Popup".
From the examples on the site I assumed, possibly naively, that all i had to do to change from button to focus activated calendar was to remove the showOn="button" attribute.
Before:
<p:calendar id="fldDateOfBirth"
value="#{pc_CreatePatient.patient.dateOfBirth}"
binding="#{pc_CreatePatient.dobComp}" navigator="true"
display="inline" pattern="dd/mm/yyyy" yearRange="-100"
title="#{msg.user_date_format_default_tip}" showOn="button" />
After:
<p:calendar id="fldDateOfBirth"
value="#{pc_CreatePatient.patient.dateOfBirth}"
binding="#{pc_CreatePatient.dobComp}" navigator="true"
display="inline" pattern="dd/mm/yyyy" yearRange="-100"
title="#{msg.user_date_format_default_tip}"/>
After making the change the portlet doesn't render at all and the logs hold the error information below:
[11/19/12 18:47:30:942 GMT] 00000043 RpmMaintainUs E RpmExceptionHandler handle Throwable=>class java.lang.IllegalArgumentException<==>component identifier must not be a zero-length Stringnent identifier must not be a zero-length Stringcomponent identifier must not be a zero-length String
Thank you in advance for any help with this.