Today's post suggested by Amber:
1. Grab the nearest book.
2. Open the book to page 123.
3. Find the fifth sentence.
4. Post the text of the next 3 sentences on your blog, along with these instructions.
5. Dont you dare dig for that cool or intellectual book in your closet! I know you were thinking about it! Just pick up whatever is closest.
In this example, I'm using the get function on the request object. If the incoming request to the page has the message variable, then the first value will be used, which of course is change. If the message variable isn't present, then the second value, default, will be used.
--The Definitive Guide to Plone by Andy McKay
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment