You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Jason Long <ja...@supernovasoftware.com> on 2006/06/07 17:54:56 UTC
Tomahawk Schedule WORKWEEK Problem
I am using MyFaces 1.1.4 Snapshot and Tomahawk 1.1.4 Snapshot.
I am experimenting with the schedule component. When I set mode to
SimpleScheduleModel.WORKWEEK the calendar does not display. All other modes
seem to work. Is there some additional setup required for this mode?
Thank you for your time,
Jason Long
CEO and Chief Software Engineer
BS Physics, MS Chemical Engineering
http://www.supernovasoftware.com
HJBUG Founder and President
http://www.hjbug.com
Re: Tomahawk Schedule WORKWEEK Problem
Posted by Jurgen Lust <ju...@gmail.com>.
You should do a model.refresh() after you call model.setMode().
Jurgen
2006/7/4, ldr <ch...@niro-it.dk>:
>
>
> I have the same problem, when I switch between modes the number of dates
> shown gets fucked up. Ex. when I start in MONTH mode and change to
> WORKWEEK
> about 30 dates are shown. I would guess one has to change the range of
> dates
> shown, but I havent figured it out yet.
>
> Here is how I do now...
>
> switch ((Integer)evt.getNewValue())
> {
> case ScheduleModel.DAY :
> model.setMode(ScheduleModel.DAY);
> break;
> case ScheduleModel.WORKWEEK :
> model.setMode(ScheduleModel.WORKWEEK);
> break;
> case ScheduleModel.WEEK :
> model.setMode(ScheduleModel.WEEK);
> break;
> case ScheduleModel.MONTH :
> model.setMode(ScheduleModel.MONTH);
> break;
> default :
> model.setMode(ScheduleModel.MONTH);
> break;
>
> if any should have a solution to this problem it would help a lot, ldr
> --
> View this message in context:
> http://www.nabble.com/Tomahawk-Schedule-WORKWEEK-Problem-tf1748754.html#a5172758
> Sent from the MyFaces - Users forum at Nabble.com.
>
>
RE: Tomahawk Schedule WORKWEEK Problem
Posted by ldr <ch...@niro-it.dk>.
I have the same problem, when I switch between modes the number of dates
shown gets fucked up. Ex. when I start in MONTH mode and change to WORKWEEK
about 30 dates are shown. I would guess one has to change the range of dates
shown, but I havent figured it out yet.
Here is how I do now...
switch ((Integer)evt.getNewValue())
{
case ScheduleModel.DAY :
model.setMode(ScheduleModel.DAY);
break;
case ScheduleModel.WORKWEEK :
model.setMode(ScheduleModel.WORKWEEK);
break;
case ScheduleModel.WEEK :
model.setMode(ScheduleModel.WEEK);
break;
case ScheduleModel.MONTH :
model.setMode(ScheduleModel.MONTH);
break;
default :
model.setMode(ScheduleModel.MONTH);
break;
if any should have a solution to this problem it would help a lot, ldr
--
View this message in context: http://www.nabble.com/Tomahawk-Schedule-WORKWEEK-Problem-tf1748754.html#a5172758
Sent from the MyFaces - Users forum at Nabble.com.
Re: Tomahawk Schedule WORKWEEK Problem
Posted by Sean Schofield <se...@gmail.com>.
If you think this is a bug, please submit an issue in JIRA. See our
website for details on bug reporting.
Sean
On 6/9/06, Jason Long <ja...@supernovasoftware.com> wrote:
>
>
>
>
> Anyone else having this problem?
>
>
>
>
>
> Thank you for your time,
>
>
>
> Jason Long
>
> CEO and Chief Software Engineer
>
> BS Physics, MS Chemical Engineering
>
> http://www.supernovasoftware.com
>
> HJBUG Founder and President
>
> http://www.hjbug.com
>
> ________________________________
>
>
> From: Jason Long [mailto:jason@supernovasoftware.com]
> Sent: Wednesday, June 07, 2006 10:55 AM
> To: 'MyFaces Discussion'
> Subject: Tomahawk Schedule WORKWEEK Problem
>
>
>
>
> I am using MyFaces 1.1.4 Snapshot and Tomahawk 1.1.4 Snapshot.
>
>
>
> I am experimenting with the schedule component. When I set mode to
> SimpleScheduleModel.WORKWEEK the calendar does not display. All other modes
> seem to work. Is there some additional setup required for this mode?
>
>
>
> Thank you for your time,
>
>
>
> Jason Long
>
> CEO and Chief Software Engineer
>
> BS Physics, MS Chemical Engineering
>
> http://www.supernovasoftware.com
>
> HJBUG Founder and President
>
> http://www.hjbug.com
>
>
>
RE: Tomahawk Schedule WORKWEEK Problem
Posted by Jason Long <ja...@supernovasoftware.com>.
Anyone else having this problem?
Thank you for your time,
Jason Long
CEO and Chief Software Engineer
BS Physics, MS Chemical Engineering
http://www.supernovasoftware.com
HJBUG Founder and President
http://www.hjbug.com
_____
From: Jason Long [mailto:jason@supernovasoftware.com]
Sent: Wednesday, June 07, 2006 10:55 AM
To: 'MyFaces Discussion'
Subject: Tomahawk Schedule WORKWEEK Problem
I am using MyFaces 1.1.4 Snapshot and Tomahawk 1.1.4 Snapshot.
I am experimenting with the schedule component. When I set mode to
SimpleScheduleModel.WORKWEEK the calendar does not display. All other modes
seem to work. Is there some additional setup required for this mode?
Thank you for your time,
Jason Long
CEO and Chief Software Engineer
BS Physics, MS Chemical Engineering
http://www.supernovasoftware.com
HJBUG Founder and President
http://www.hjbug.com