AW: $custom at error.vm

Sobotka Martin martin.sobotka at
Wed May 24 04:32:46 EDT 2017

> * Sobotka Martin <martin.sobotka at> [2017-05-17 08:58]:
> > In every view (e.g. login.vm, logout.vm, etc.) I'm able to access the 
> > bean via $custom['branding'].someMethod(), except in error.vm. In 
> > error.vm $custom is empty.

> Have a look at the recent thread with the subject:
> "Velocity code not rendering in error.vm"
> from end of March / mid-April.

Hi Peter,

thank you for this info.
If I use $springContext.getBean('brandingBean').someMethod() instead of $custom['branding'].someMethod() it's working.

Best Regards,

More information about the users mailing list