migration to primefaces 3 + jboss 6

UI Components for JSF
Post Reply
junico
Posts: 15
Joined: 05 Mar 2009, 16:23

24 Jun 2011, 18:55

Hi

today i was trying to migrate from prime 2.2 to prime 3 on jboss 6 with mojarra

I found that the schedule componente works only with mojarra that ships with the prime-showcase-labs which is version 2.1.1

also you have to change the schedule properties to p:ajax behaviors

Code: Select all

				<p:schedule value="#{scheduleController.eventModel}" editable="true" widgetVar="myschedule">

                    <p:ajax event="dateSelect" listener="#{scheduleController.onDateSelect}" update="eventDetails" oncomplete="eventDialog.show()" />
                    <p:ajax event="eventSelect" listener="#{scheduleController.onEventSelect}" update="eventDetails" oncomplete="eventDialog.show()" />
                    <p:ajax event="eventMove" listener="#{scheduleController.onEventMove}" update="messages" />
                    <p:ajax event="eventResize" listener="#{scheduleController.onEventResize}" update="messages" />

				</p:schedule>
just so you all know

thanks
Mojarra 2.1.1
Primefaces 3M2-SNAPSHOT
Jboss 6

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 12 guests