Are you saying some of your Javascript code is generated via web2py 
templates? If so, it's hard to say what the best approach would be without 
seeing some code.

Anthony

On Wednesday, December 23, 2015 at 9:46:41 AM UTC-5, 
luis.vallada...@metamaxzone.com wrote:
>
> Hello!
>
> I've been analyzing how to work around in the best form an "issue", this 
> doesnt affect the functionality of my code but it is against good practices.
>
> My website have a full internationalization and uses some variables passed 
> by the controller inside the javascript to generate a highly dynamical 
> page, this is no problem if i have my javascript inline my HTML templates, 
> but for sake of order and good practices i wish to have my .js and .html in 
> different files, but if i've the js outside my template it doesnt know how 
> to process a web2py helper instruction.
>
> So i've been thinking in some workarounds but i dont find a good solution 
> for now, may be some of you have a suggestion for this.
>
> Thank you very much!
>

-- 
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.

Reply via email to