[Seaside] Re: Seaside 3.1 vs Seaside 3.0.10 - no seaside walkback anymore?

Stephan Eggermont stephan at stack.nl
Mon Mar 2 09:19:26 UTC 2015


On 28/02/15 12:53, Johannes Brauer wrote:

> Especially I do miss the debug link. Is it possible the get in in
> Seaside 3.1?

Sure. Just set the error handler to the WADebugErrorHandler,
either form the config, or do something similar to:

QCApplication class>>registerForDevelopmentAt: anApplicationName
	| application |
	WAAdmin enableDevelopmentTools.
	application := self registerAt: anApplicationName.
	application filter configuration at: #exceptionHandler put: 
WADebugErrorHandler.
	(self overridesDefaults includes: WAAdmin defaultDispatcher defaultName)
		ifTrue: [ WAAdmin defaultDispatcher defaultName: anApplicationName ].
	^application

QCApplication class>>registerAt: anApplicationName
	^(WAAdmin register: self asApplicationAt: anApplicationName)
		preferenceAt: #sessionClass put: self sessionClass;
		addLibrary: JQDeploymentLibrary;
		addLibrary: JQUiDeploymentLibrary;
		yourself

Stephan



More information about the seaside mailing list