On Mon, Oct 3, 2011 at 8:02 PM, Marius Dumitru Florea
<mariusdumitru.florea(a)xwiki.com> wrote:
(3) Modify editactions.vm to replace "Save & View" + "Save &
Continue"
with "Create" when "documentReferenceGenerator" or
"documentReferenceDifferentiator" (or both) request parameters are
set.
I don't see how what use case (3) solves. Can
you explain?
You go to the Blog home page and click the Create button which takes you to:
/xwiki/bin/edit/Blog/TemporaryBlogPost253?template=Blog.BlogPostTemplate&parent=Blog.WebHome&documentReferenceGenerator=custom
If we keep "Save & Continue" then it will be possible to create a new
document everytime your click it because the factors that influence
the generated document reference can change (e.g. you modify the
title). We could keep only "Save & View" but I thought "Create"
is
better from UX point of view.
Apart from "Save & Continue" we'll need to handle attachments upload
(for image insertions for example) anyway, no ?
We could save a temp doc (such as TemporaryBlogPost253) and rename it
at the end of the process, but in the case we can't provide "Save &
Continue" for new documents (since a user could use only "Save &
Continue" without doing a final "Save & View" that would trigger the
rename).
JV.