PF 2.2.1 - calendar and composite Components

UI Components for JSF
Post Reply
csyperski
Posts: 103
Joined: 16 Apr 2010, 14:36

17 Aug 2011, 22:28

I am having an issue with a composite component when I include the p:calendar component. Is there any reason why I wouldn't be able to do this?

Here is the composite component code I am using:

Code: Select all

    <!-- INTERFACE -->
    <composite:interface>
        <composite:attribute name="dateValue" displayName="dateValue" type="java.util.Date" required="true" />
    </composite:interface>
    
    <!-- IMPLEMENTATION --> 
    <composite:implementation>
            <p:calendar value="#{cc.attrs.dateValue}" />
    </composite:implementation>
This is a stripped down example, but when ever I add it I can no longer submit and I don't get any stack trace or anything in my logs. If I change the component in my composite to anything else it works fine, but when the p:calendar is added it breaks form submission. Any help would be appreciated.

PF 2.2.1
Mojarra 2.1.2
Tomcat 7.0.20

Thanks

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 33 guests