Thank you very much Leonel. It worked!! The only thing is that if I click on a picture it doesn't open as a picture but as raw data. Any idea?
Thank you very much. Kind regards. El jueves, 12 de febrero de 2015, 17:38:31 (UTC+1), Leonel Câmara escribió: > > You could make the links in the loaded component have a cid with the same > id so they will load in the same place. I have never used Expose so this > may not be entirely correct > > {{ > related_html = DIV( > H2(related_media.breadcrumbs(related_media.basename)), > related_media.paragraph or '', > related_media.table_folders(), > related_media.table_files() > ) > > > for a in related_html.elements('a'): > a['cid'] = request.cid > pass > }} > {{=related_html}} > > > > > > I'm going around expose xml method because we need to change the DOM. > -- 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. For more options, visit https://groups.google.com/d/optout.