On Thu, May 27, 2010 at 2:57 PM, Sergiu Dumitriu <[email protected]> wrote:
> On 05/27/2010 02:41 PM, Jean-Vincent Drean wrote:
>> Hi XWikiers,
>>
>> I've been working on the ability to provide document templates on
>> document creation lately.
>> It's documented on dev.xwiki.org:
>> http://dev.xwiki.org/xwiki/bin/view/Drafts/DocumentTemplates
>>
>> Implementation:
>> - New "create" xwiki action
>> - Templates: create.vm, createinline.vm (for inline and ajax uses)
>
> Doesn't this clash with the existing create.vm?

It replaces the existing create.vm.

>
>> - Modification in the xwiki-core-rendering-xwiki core module so that
>> it gets the correct action (create) for broken links
>> - New XClass: XWiki.TemplateProviderClass (with associated sheet and
>> template), this class allow to build the list of template entries to
>> display in the create document form.
>> - New administration section: Templates. Allows to list existing
>> template providers and to create new ones.
>>
>> I'm almost ready to commit (I only need one more day to write
>> functional tests) and I'd really like to do it after the 2.4M1
>> release. WDYT ?
>
> Some quick remarks:
>
> - Shouldn't the template list be in a select box, to be able to display
> many possible templates? Or we assume that a normal wiki should have at
> most 10 templates, and the user can change the display if he needs to?
> Or, should we automatically switch from radio list to drop down select
> when the number of templates goes beyond an acceptable number?

At first I put it in a select box, then changed to radio. Your
proposal about dynamically changing the display sounds good.

>
> - Should the list of accepted spaces be a livetable instead?

Could be required yes.

>
> - Does the modal dialog really need the highlight background? I'd rather
> have it simple, without the extra background.
>

It can be changed and I'm +1.

JV.
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to