| Philippe,
You could call context().request().headerForKey("User-Agent") from your WOComponent.
Yours,
Mankit On May 11, 2006, at 1:44 PM, Philippe Lafoucrière wrote: Hello,
I'm trying to display the browser user-agent (which should be in the headers) and make some custom actions depending on it . What is the best place to implement this code ? Directly in the WOComponent java file ? Do I have to create a new action for that ?
thank you for your help Philippe --
Philippe Lafoucrière C.T.O Mobile : +33 (0)6.89.54.49.62
KAMAYO Interactive Solutions 66, Ave de Landshut Centre de Transert BP 50149 60201 Compiègne Cedex - France Tel : +33 (0)3.44.36.70.48 Fax : +33 (0)3.44.30.21.03 www.kamayo.com
*** _______________________________________________ Do not post admin requests to the list. They will be ignored. Help/Unsubscribe/Update your Subscription:
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]