Tks, but what is supose to put in SomeClass ? Sorry for dumb question! but i
am new to this!
Tks for all help.
Michał 'Gandalf' Stawicki wrote:
>
> - fetch data from DB
> - create ScheduleEntry
> - add it to Schedule.
>
> eg:
> List<SomeClass> result = session.createQuery("from
> Schedule").list();
>
> for(SomeClass sc : result)
> {
> ScheduleEntry e = new DefaultScheduleEntry();
>
> e.setStartTime(sc.getStartTime());
> e.setEndTime(.......);
> ....
>
> scheduleModel.addEntry(e);
> }
>
> scheduleModel.setSelectedDate(new Date(System.currentTimeInMillis()));
> scheduleModel.refresh();
>
>
>
> --
> Michał Stawicki
>
> [EMAIL PROTECTED]
> http://stawicki.jasliska.pl
>
>
--
View this message in context:
http://www.nabble.com/Schedule-tomahawk-tf4192737.html#a11968059
Sent from the MyFaces - Users mailing list archive at Nabble.com.