[Seaside] Set headers in a redirect

BrunoBB smalltalk at adinet.com.uy
Wed Apr 4 21:58:18 UTC 2018


Hi,

I want to set (add) some headers in a redirect (WAAnchorTag).

In others occasion i set as:
self requestContext response headerAt: 'myHeader' put: 'something'.

But not working with anchors (using developers toos of Firefox i do not see
my headers).
...
html anchor callback: [self linkToOrbeonFormFor: aBpmArtifactInstance]; 
.....

linkToOrbeonFormFor: aBpmArtifactInstance
"this method create the callback for the anchor"
self requestContext response
		headerAt: 'my-user' put: 'admin';
		headerAt: 'my-group' put: 'admin';
		headerAt: 'my-roles' put: 'admin'.
^self requestContext redirectTo:
'http://192.168.29.129:8080/orbeon/fr/orbeon/builder/new'

Any idea what i'm doing wrong ?

regards,
bruno





--
Sent from: http://forum.world.st/Seaside-General-f86180.html


More information about the seaside mailing list