Sorry, that wasn't clear. But why can't you just do:

var ajax_error_500 = '{{=MARKMIN(T('An error occurred, please [[reload %s]]the 
page') 
%
                                 URL(args=request.args, 
vars=request.get_vars))}}'

Anthony

On Wednesday, September 25, 2013 5:47:31 PM UTC-4, dbdeveloper wrote:
>
>  T.M() uses MARKMIN (see docs in attachment). Using MARKMIN you can create 
> message with link, img, tables, bold, italic, colors and so on.
>
> Vlad
>
> У ср, 2013-09-25 у 07:20 -0700, Anthony пише: 
>
>      var ajax_error_500 = '{{=T.M('An error occur*r*ed, please [[reload 
> %s]] the page') % URL(args=request.args, vars=request.get_vars) }}' 
>
>  
>
>  The original included an HTML <a> element. In your example above, does 
> the [[... %s]] notation indicate that an <a> element should be created? If 
> so, what if you want to include some attributes? What if you need a 
> different HTML element? 
>
>  
>
>  Anthony 
>
>  -- 
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> --- 
> You received this message because you are subscribed to the Google Groups 
> "web2py-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] <javascript:>.
> For more options, visit https://groups.google.com/groups/opt_out. 
>
> 

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to