Have you tried wrapping the XML function around it?

session.flash = XML(CENT.....)

On Friday, July 23, 2021 at 9:35:26 AM UTC-5 jitun...@gmail.com wrote:

> Hi,
>
> This piece of code worked in older version of web2py...
>
> session.flash = CENTER(DIV(H4('sFTP Error: ' + ftp_error_parse(e)),
>                              HR(), 'FTP Address|Username|Login|Password 
> may be not correct.',
>                              BR(), 'Check if the DropBox still exists.',
>                              BR(), 'If all of them are good, is this  
> Secure FTP ?'))
>
> Working... with layout.html containing...
>     <link rel="stylesheet" 
> href="{{=URL('static','css/bootstrap.min.css')}}"/>
>     <link rel="stylesheet" 
> href="{{=URL('static','css/bootstrap-theme.min.css')}}"/>
>     <link rel="stylesheet" 
> href="{{=URL('static','css/web2py-bootstrap3.css')}}"/>
>     <script src="{{=URL('static','js/bootstrap.min.js')}}"></script>
>     <script src="{{=URL('static','js/web2py-bootstrap3.js')}}"></script>
>     <script src="{{=URL('static','js/jquery.js')}}"></script>
>
> [image: working.jpg]
>
> Not Working...Now it just dumps the html version.
>     <link rel="stylesheet" 
> href="{{=URL('static','css/bootstrap.min.css')}}"/>
>     <link rel="stylesheet" 
> href="{{=URL('static','css/web2py-bootstrap4.css')}}"/>
>     <script src="{{=URL('static','js/bootstrap.min.js')}}"></script>
>     <script src="{{=URL('static','js/web2py-bootstrap4.js')}}"></script>
>
> [image: not_working.jpg]
>

-- 
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 web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/bcdd0790-cb83-4913-af2c-311362f958b8n%40googlegroups.com.

Reply via email to