Set headers in a redirect
BrunoBB <[email protected]>
| Newsgroups | gmane.comp.lang.smalltalk.squeak.seaside |
|---|---|
| Message-ID | <[email protected]> |
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 _______________________________________________ seaside mailing list [email protected] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside