• Post Reply Bookmark Topic Watch Topic
  • New Topic

JSF Table - Weekly Schedule

 
Manuel DeAngelo
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello!

I want to make a weekly scheduler, so I can input some entries (i.e. Tue 12:30-14:00 programming, ...)

I am not sure how to implement the display of one week with all entries in it.

I have an Object WeeklyScheduleEntry, which holds one entry. I implemented a method which gets me a List<WeeklyScheduleEntry> but I do not know how map this list into a JSF table component.

My table component would have to have a fixed size "weekdays x hours per day", and in that table I want to show the (optional) entries.

I have tried some different approaches but none of them really satisfy me.
(I did not try a custom component yet cause of lack of knowledge ;) )

I am using myfaces and facelets for this project.

Any help is very appreciated,
Manuel
 
Frederic Filiatrault
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Manuel,

Take a look at the MyFaces examples (download it and put it in your web container). It has all the necessary codes and it is very straigth-forward to follow in order to use it.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!