Hallo Henri,
thank you for your answer.
I'm doing AJAX in the TActionController successor and as the answer
is some generated HTML code, which varies depending on browser. It is
the reason why TActionController not View. Now is the Reguest even
available in the View, what is great.
I just didn't see how easy I could get the "user-agent" from Request.
This just a note how. Maybe it helps somebody.
Request.S['env.user-agent']
Best regards,
Michal Harakal
On 28 Apr., 09:41, Henri Gourvest <
hgourv...@gmail.com> wrote:
> Hi,
>
> No it is not the right place to do it.
> The request object is available from the controller.
> This object was not available from the view, so I just added it.
>
> regards
>
> 2011/4/28 Michal Harakal <
michal.hara...@googlemail.com>