On Thu, Mar 9, 2017 at 2:18 PM, D R wrote:
> Hi,
>
> After being sick and busy with other things I checked again and found out
> that the xredirect does not work so the NameManager is not executed.
>
> Even the following in the application sheet does not do any redirect when
> pressing Save and V
Hi,
After being sick and busy with other things I checked again and found out
that the xredirect does not work so the NameManager is not executed.
Even the following in the application sheet does not do any redirect when
pressing Save and View button of an application document:
```
```
Co
Hi Marius,
thanks, I'm one step further now, at least the NameManager now does
renaming in general (it renamed itself until I added an #if clause to not
do so).
I wanted to implement it step by step so I didn't add the redirect yet.
But the sheet is not executed when editing application entries.
On Tue, Feb 28, 2017 at 3:03 PM, D R wrote:
> Hi Marius,
>
> the refactoring approach sounds great but there seems to be something I do
> wrong because the renaming doesn't work. Maybe I misunderstood the term
> "current document" but I'm not sure.
>
> I created "Test App.Code.Test App NameManage
Hi Marius,
the refactoring approach sounds great but there seems to be something I do
wrong because the renaming doesn't work. Maybe I misunderstood the term
"current document" but I'm not sure.
I created "Test App.Code.Test App NameManager" with the following content:
```
{{velocity}}
#set ($re
Hi Dennis,
A relatively simple solution is the following:
(1) modify the application sheet to include the following HTML at the end:
The result is that whenever you create a new application entry or when you
edit an existing application entry, after you click "Save and view" you
will be ta
Hi,
In an XWiki Application I created I want to make sure documents created
within it get named in a specific pattern from the fields filled inside
them.
Currently I use a custom button to redirect the user to a new document with
a dummy name so he doesn't need to fill the name (that should get
o