on 9/2/2000 5:41 PM, "Travis Low" <[EMAIL PROTECTED]> wrote:
> For example, given the file
> <template_home>/screens/generic/TuesdayMeeting.html:
> - The navigation shaves off the ".html" and inserts spaces before non-initial
> capital letters, yielding the text "Tuesday Meeting".
> - The navigation generates the URL
> "http://foo.com/servlet/Turbine/screen/GenericScreen/name/TuesdayMeeting".
> - The GenericScreen appends the ".html" extension and looks for the template
> <template_home>/screens/generic/TuesdayMeeting.html.
>
> Probably not the best way, but I got it working quickly and I haven't had any
> problems with it yet. The only restriction I gave the client is that these
> files must contain only a single HTML table, i.e. no <html>, <head>, or <body>
> tags.
bingo.
You can also allow your clients control over the top HTML stuff by simply
overriding the GenericScreen.getLayout() to return null.
-jon
--
http://scarab.tigris.org/ | http://noodle.tigris.org/
http://java.apache.org/ | http://java.apache.org/turbine/
http://www.working-dogs.com/ | http://jakarta.apache.org/velocity/
http://www.collab.net/ | http://www.sourcexchange.com/
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]