Re: [xwiki-users] New page name from app fields

2017-03-10 Thread Marius Dumitru Florea
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 >

Re: [xwiki-users] New page name from app fields

2017-03-09 Thread D R
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: ``` ```

Re: [xwiki-users] New page name from app fields

2017-03-01 Thread D R
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

Re: [xwiki-users] New page name from app fields

2017-03-01 Thread Marius Dumitru Florea
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

Re: [xwiki-users] New page name from app fields

2017-02-28 Thread D R
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: [xwiki-users] New page name from app fields

2017-02-28 Thread Marius Dumitru Florea
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