May be I should scale down my intention!

How can I provide the initial content of a page?

Instead of cut-and-paste, I would like to be able to
allow user to select a choice from a list at the time
of creating a page.

The current Swiki creates a "Create" button for every
topic without linking to a physical page. I would like
to create a "Pulldown list" of, says "High Level Test
Specification", "Detail Test Specification", "Test
Procedure", "Test Results", "Test Report", Test
Execution Form", and a page will be created with
pre-defined contents.

Any idea how I can do it?

Thanks,
Alex Kang

--- Eric Scharff <[EMAIL PROTECTED]> wrote:
> On Mon, 11 Jun 2001, Mark Guzdial wrote:
> 
> > This is a common request:
> 
> [Headers and stuff deleted...]
> 
> > >EXAMPLE of the page:
> > >--------------------
> > ><h2>OBJECTIVE:</h2> <textarea rows=1 col=60>
> > ><br>
> > ><h2>ENVIRONMENT:</h2>
> > ><textarea rows=3 cols=70>
> > ><h2>TEST TOPOLOGY:</h2> +my-test-topology.jpg+
> > ><h2>ENGINEERS:</h2>
> > ><textarea rows=3 cols=70>
> > ><h2>COMMENTS:</h2>
> > ><textarea rows=10 cols=70>
> 
> We were thinking along these lines too.  The Swiki
> is great for completely
> unstructured comments, but it would be nice to
> provide structured pages
> under some situations.
> 
> After many attempts to get the form support in the
> Swiki working, I
> eventually gave up and wrote my own CGIs for the
> rare circumstances that
> we really wanted structured data (i.e., student
> surveys).
> 
> In other situations, we eventually found that
> students would adopt common
> social conventions and would then use cut and paste
> if structured
> information was appropriate.
> 
> One idea that I never actually tried would be to
> make a custom edit page.
> You wouldn't have multiple text areas, but you would
> encourage users to
> fill in specific pieces of information.  You then
> put your template in the
> edit page text area, and they can make changes where
> appropriate.
> 
> Example:  You could make a template like this:
> 
> <form action="<?tosave?>" method=post>
> <textarea name="text" rows="20" cols="70">
> <h2>Objective:</h2>
> 
> ##### INSERT OBJECTIVE HERE #####
> 
> <h2>Environment:</h2>
> 
> ##### INSERT ENVIRONMENT HERE #####
> </textarea>
> </form>
> 
> Then, when users activate this edit template, the
> text area will have the
> right structure for the resulting pages.  Users then
> select the line the
> prompts them to insert something, remove it, and put
> in the appropriate
> text.  You would activate this page with a special
> edit link (perhaps call
> createCaseStudy.page) which would then create new
> pages.
> 
> Again, I didn't try this, so I'm not sure it will
> work.  But the approach
> might be a good one.  you don't get the formal
> structure of an HTML form,
> but you might be able to create the same effect with
> some appropriate
> template that users can fill in.
> 
> -Eric
> 
> 


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

Reply via email to