xotcl.wu-wien.ac.at
Begin main content
Search · Index
No registered users in community s5-xowiki-tutorial
in last 10 minutes

Example: Pretty Printed Program Listings

Basic Idea:

  • Use HTML textarea for input
  • Use OpenACS pretty-printer (from api-browser) for output 
  • Define a new form field type "code_listing"
  • Define a form using @listing@ in the content area
  • Form constraints: listing:code_listing,required