Primefaces schedule with seam

UI Components for JSF
Post Reply
jinesh
Posts: 3
Joined: 12 Feb 2010, 22:13

12 Mar 2010, 20:21

I am using Primefaces schedule component with Seam as follows.

Code: Select all

<p:schedule value="#{scheduler.eventModel}" />
.

The schedule is getting displayed.But its not able to access the bean and eventModel. I am not getting any error even if i change the name of the bean which does not exists.
I have added the resource servlet in web.xml

Code: Select all

<servlet>
   <servlet-name>Resource Servlet</servlet-name>
   <servlet-class>org.primefaces.resource.ResourceServlet</servlet-class>
   <load-on-startup>1</load-on-startup>
</servlet>

<servlet-mapping>
   <servlet-name>Resource Servlet</servlet-name>
   <url-pattern>/primefaces_resource/*</url-pattern>
</servlet-mapping>
What could be wrong ?

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

12 Mar 2010, 22:26

Can you post your bean code of scheduler? You populate your event model right?

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 42 guests