Re: Errorpage for the Sling Resource Editor

2015-07-14 Thread Sandro Boehme
Hello again, sadly it worked only by mistake before. I want to have an error jsp that is shown on all errors of the Sling post servlet and that displays the according error message. I thought, that the Throwable.jsp placed below the node for the resource type is what I wanted but it worked

Re: Errorpage for the Sling Resource Editor

2015-07-08 Thread Sandro Boehme
Yeah! I've found the solution. I've just have to send :sendError=true with the post request. The only documentation I've found is the javadoc [1]. I think I could add the information about that parameter at the Special Parameters paragraph of the manipulating content page [2] like: :sendError

Re: Errorpage for the Sling Resource Editor

2015-07-06 Thread Sandro Boehme
Hallo again, to be more concrete, I've added a Throwable.jsp and a 500.jsp to contrib/explorers/resourceeditor/src/main/resources/SLING-INF/libs/sling/resource-editor/errorhandler and contrib/explorers/resourceeditor/src/main/resources/SLING-INF/libs/sling/resource-editor but still the

Re: Errorpage for the Sling Resource Editor

2015-07-06 Thread Bertrand Delacretaz
Hi Sandro, On Mon, Jul 6, 2015 at 10:07 AM, Sandro Boehme sandro.boe...@gmx.de wrote: to be more concrete, I've added a Throwable.jsp and a 500.jsp to contrib/explorers/resourceeditor/src/main/resources/SLING-INF/libs/sling/resource-editor/errorhandler... AFAIK those will only apply to

Re: Errorpage for the Sling Resource Editor

2015-07-06 Thread Sandro Boehme
Hi Bertrand, Am 06.07.15 um 11:16 schrieb Bertrand Delacretaz: Hi Sandro, On Mon, Jul 6, 2015 at 10:07 AM, Sandro Boehme sandro.boe...@gmx.de wrote: to be more concrete, I've added a Throwable.jsp and a 500.jsp to

Re: Errorpage for the Sling Resource Editor

2015-07-06 Thread Bertrand Delacretaz
Hi Sandro, On Mon, Jul 6, 2015 at 2:00 PM, Sandro Boehme sandro.boe...@gmx.de wrote: Am 06.07.15 um 11:16 schrieb Bertrand Delacretaz: ...debugging the SlingServletResolver.handleError method should help as well The processing flow does not seem to go through this method as the debugger

Re: Errorpage for the Sling Resource Editor

2015-07-06 Thread Sandro Boehme
Hi Bertrand, Am 06.07.15 um 14:25 schrieb Bertrand Delacretaz: Hi Sandro, On Mon, Jul 6, 2015 at 2:00 PM, Sandro Boehme sandro.boe...@gmx.de wrote: Am 06.07.15 um 11:16 schrieb Bertrand Delacretaz: ...debugging the SlingServletResolver.handleError method should help as well The

Re: Errorpage for the Sling Resource Editor

2015-07-06 Thread Sandro Boehme
Am 06.07.15 um 15:20 schrieb Sandro Boehme: Hi Bertrand, Am 06.07.15 um 14:25 schrieb Bertrand Delacretaz: Hi Sandro, On Mon, Jul 6, 2015 at 2:00 PM, Sandro Boehme sandro.boe...@gmx.de wrote: Am 06.07.15 um 11:16 schrieb Bertrand Delacretaz: ...debugging the SlingServletResolver.handleError

Errorpage for the Sling Resource Editor

2015-07-02 Thread Sandro Boehme
Hello, for the Resource Editor's [1] property page I would like to switch the addition and update of the properties from being ajax calls to be regular page requests. But on an error a new an plain error page is rendered while I would like to get my Resource Editor page [4] rendered with the