Schedule and dashboard combination

UI Components for JSF
Post Reply
dpto-tic
Posts: 2
Joined: 23 Aug 2010, 12:02

23 Aug 2010, 13:31

Hello, I'm using one Schedule component inside one dashboard, everything works fine except when I slowly drag the schedule, even leaving to return to its original position. After dragging the schedule component is displayed twice.

I made a simple test case based on the showcases examples of both components and test it with PF 2.1 and 2.2-snapshot, Firefox 3.5 and IE8 and the result
was the same.

We are developing with JSF2, Glassfish 3.0.1 and Netbeans 6.9.1

I searched the forums but I could not find anything related.

Thank you for your help and making our lives easier with this fantastic framework!

dpto-tic
Posts: 2
Joined: 23 Aug 2010, 12:02

25 Aug 2010, 09:02

Hello, something I've observed: it doesn't duplicate the actual calendar view, in fact, it shows (for example while in day view) today view and tomorrow view.

This is the shortest test case I've tried:

<h:form id="form1">

<p:dashboard id="board" model="#{dashboardBean.model}">

<p:panel id="calendar" widgetVar="calendar">

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

</p:panel>
</p:dashboard>
</h:form>

dashboardBean and scheduleController are also very reduced versions of the Primefaces showcase examples.

Thank you for your help.

mouvrard
Posts: 2
Joined: 28 Mar 2012, 10:45

28 Mar 2012, 11:07

We also reproduce this issue when we use the render kit mobile javax.faces.RenderKitId=PRIMEFACES_MOBILE
A schedule inside a panel (the dashboard uses panels, that's why you have the problem) is generated twice.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 54 guests