Mm, my story was not 100% correct: usecase1: 1) Go to your template page (eg. DefaultInvoice) 2) Enter the name of your new page (eg. Invoice0001) in the quick navigation box 3) Click clone >>>Edit will open of page Invoice0001 with the content of DefaultInvoice copied.
Usecase2: 1) Go to your template page (eg. DefaultInvoice) 2) Click clone 3) Dialog box appears with proposed new name: DefaultInvoice-New 4) Overwrite the new name: Invoice0001 5) Click OK >>>Edit will open of page Invoice0001 with the content of DefaultInvoice copied. dirk On Mon, Feb 22, 2010 at 7:18 PM, Rolf Schumacher <[email protected]>wrote: > Thank you Dirk, > > I think I understand, what you mean. > > I can reproduce your way up to step 3). > > However - may be I'm too blind - 4) will not work. > > In 3) I got "http://localhost:8080/jw/Edit.jsp?page=Template&clone=Newpage > " > > where "Template" is the the name I entered in the "Quick Navigation", > while looking on "Newpage". > > What do you mean bei "overwrite"? In the browser URL field? > > Everything I tried ended up in showing me the Template and leaving the > Newpage unchanged. > > Rolf > > > Dirk Frederickx wrote: > > Rolf, > > > > Curently, this is not supported by JSWiki, but if shouldn't be to hard to > > build it yourself -- all pieces you need are available. > > > > What is supported is the 'clone' feature -- but often not used or not > known. > > > > Here is how it works: > > > > 1) go to the Quick Navigation input box (left top) > > 2) enter the name of the 'template page' > > 3) click the clone button in the dropdown > > 4) overwrite the name of the page to be created > > > > You will get an editing section for the new page, with the contents of > the > > 'template page' copied for you. > > > > Hope this helps, > > dirk > > > > > > Note: > > Look at the url in your browser. When pressing the clone button, all it > > does is add an &clone=<template page> to the editing url. > > > > > > > > > > On Thu, Feb 18, 2010 at 11:28 PM, Rolf Schumacher <[email protected]> > wrote: > > > > > >> Hi, JSPWiki Professionals, (now with the correct subject) > >> > >> I wonder if it would be possible to right click (or ctrl-click or so) on > >> an unsatisfied link (a page not yet generated), choosing from a set of > >> template pages. After that the page shall open for editing prefilled > >> with that template text, e.g. > >> > >> [{SET attendees=''}] > >> [{SET location=''}] > >> [{SET project=''}] > >> [{SET subject=''}] > >> [{SET dateTime=''}] > >> [{SET duration=''}] > >> [{SET recorder=''}] > >> %%tabbedSection > >> %%tab-Content > >> [{TableOfContents}] > >> !!![{$subject}] > >> > >> !!!Actions > >> ||Number||Headline ||Performer ||Due Date > >> |1 | | | > >> |2 | | | > >> |3 | | | > >> |4 | | | > >> |5 | | | > >> > >> %% > >> %%tab-Info > >> * attendees = [{$attendees}] > >> * location = [{$location}] > >> * project = [{$project}] > >> * subject = [{$subject}] > >> * dateTime = [{$dateTime}] > >> * duration = [{$duration}] > >> %%tab-Categories > >> [{Category_Meeting}] > >> > >> %% > >> %% > >> > >> Hope you get what I mean. > >> > >> Does this make sense? > >> Is there a simple way? > >> Where to start in order to get it? > >> > >> Rolf > >> > >> > >> > > > > >
