Hi,
I have a problem with the editable schedule, i think it's a small bug but I'm not sure.
when adding a new event to the schedule , the date in the pop-up dialog, in which to add the event, is always the previous day of the day i actually clicked on in the calendar.
I already checked if it was a Timezone related problem but it doesn't seem to be the case.
my timezone is GMT+2 btw
the dialog form (<p:dialog>) also puts all the elements inside the dialog form to the right, when i did inspect element in the source code i found out that "overflow: auto;" in the css file was the problem , don't really know why
changing to a different PrimeFaces theme also doesn't solve the problem so i'm wondering if the css file can really be the problem.
code where the startdate is called(<p:dialog> as parent) :
<h:outputLabel for="from" value="#{lbl.eventFrom}" />
<p:inputMask id="from" value="#{scheduleController.event.startDate}" mask="99/99/9999">
<f:convertDateTime pattern="dd/MM/yyyy" />
</p:inputMask>
code from scheduleController class that sets the startDate variable :
public void onDateSelect(DateSelectEvent selectEvent) {
event = new DefaultScheduleEvent("", selectEvent.getDate(), selectEvent.getDate());
}
any help on what the problem could be would be very much appreciated
If I need to provide more info let me know.
Editable schedule bug PrimeFaces 3.0.M3/JSF 2.0.3
-
- Information
-
Who is online
Users browsing this forum: No registered users and 25 guests