title: User Agent in Liferay Velocity -template
body: <p>As can know the user-agent in to velocity template? I use the plug-in &quot;Mobile device recognition wurfl) in liferay.</p>
  <p>Liferay detect the user-agent, it shows me the mobile page but into template
  is always:</p>
  <p>mozilla/5.0 (windows nt 6.1; wow64) applewebkit/537.22 (khtml, like gecko) chrome/25.0.1364.172 safari/537.22</p>
  <p>I use:</p>
  <p>Mozille firefox plug-in User agent switcher tools that sending: Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_0 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7A341 Safari/528.16</p>
  <p>Into templaye i use:</p>
  <h1>set($agent = $request.get('attributes').get('User-Agent'))</h1>
  <p>$agent</p>
  <p>Thank you.</p>