Hello World Exercises
Information
These are the HelloWorld exercises for the Sakai cafe workshop.
Creating HelloWorlds
- Install the Sakai App Builder plugin for Eclipse if it is not installed already
- Use the plugin to create a hello world project in your sakai source directory for each presentation technology (or whichever one or ones you would like)
- RSF
- JSF (optional)
- JSP (optional)
- Use maven to build the new projects
- Start up tomcat (and Sakai)
- Login and create a site with the hello world tools in it
- Try each one
- They should look like this:
- They should look like this:
Modifying HelloWorlds templates
- Change each hello world to show the date in bold
- Note: You should only need to change the templates for this exercise, use CSS if you want but <b> tags are fine
- They should look like this:
Modifying the HelloWorlds date output
- Change each hello world so that the date is listed separately from the time
- Note: You will probably need to change more than just the templates for this exercise
- Note: You can use the java.text.DateFormat class to break up a date string (Medium is what I used)
- They should look like this: