Ahh. What do you mean by standard page? Do you mean the view page template or the swiki text of a page. The first would work (the second wouldn't). It looks like you are doing the right things, except that the toBuild is not getting evaluated. You need to have it on a page template in order for the page action to be triggered.
Peace and Luck! Je77 On Tue, Jun 10, 2003 at 11:38:03AM -0700, Glenn Swanlund wrote: > > > > Did you put it as a book address or as a page address? It seems like your > > <?toBuild?> action works, but your build address doesn't. Can you share > > the code for the build address. > > > My test code is as follow. > > In my standard page I've put the form: > > <form action="<?toBuild?>" method=post> > <input type="submit" value="Build"> > </form> > > The test Swiki has the following code: > > actions (page) > toBuild > request referenceShelf: shelf book: book page: page address: 'build' > > addresses (page) > build > book formatPageTemplate: 'buildDone' request: request response: response > shelf: shelf page: page > > templates (page) > buildDone > <?doctype?> > <html> > <head> > <title>Build Success</title> > </head> > <body<?colorScheme?>> > <h2>Build Success</h2> > </body> > </html> > > I would appreciate any help in getting this working. I assume the best > place to do some work outside of ComSwiki would be in the addresses (page) > build method, prior to calling 'book formatPageTemplate...'. Is this > correct? > > When the button is pressed, the URL in the browser shows > 'http://localhost/TestSwiki/<?toBuild?>' and the error message 'This address > is not valid' appears. > > Regards, > Glenn _______________________________________________ Pws mailing list [EMAIL PROTECTED] https://mailman.cc.gatech.edu/mailman/listinfo/pws