[Ricardo Rodriguez] Your EPEC Network ICT Team wrote:
> [Ricardo Rodriguez] Your EPEC Network ICT Team wrote:
>> Sergiu Dumitriu wrote:
>>   
>>> A shorter code:
>>>
>>> #if("$!request.skin" != "myskin")
>>> $response.sendRedirect($doc.getURL("view", "skin=myskin")
>>> #end
>>>
>>>   
>>>     
>> Much more elegant :-) Must this go to a code snippet entry? Thanks!
>>
>> Cheers,
>>
>> Ricardo
>>
>>   
> Oops! Sorry, I've misread Guillaume's last message. Adding a snippet 
> code entry...
> 
> Best,
> 

Also, I forgot a closing )

$response.sendRedirect($doc.getURL("view", "skin=myskin"))

-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to