Hi Anthony , 

We have defined that variable in python controller.py as exmple below.
Its broadcasted to index file using locals();

*def adhar():*
* response.view = "angular/adhar/index.html"*
* return locals()*

On Thursday, March 15, 2018 at 9:17:17 PM UTC+5:30, Anthony wrote:
>
> On Thursday, March 15, 2018 at 11:05:56 AM UTC-4, [email protected] 
> <javascript:> wrote:
>>
>> I tried integrating angular5+ framework in my already existing  web2py 
>> framework and Its running fine, Changed delimiter and interpolation in 
>> angular .   I am not able to fetch variables defined in web2py from script 
>> tag in index.html, is the only issue 
>>
>> For exp : 
>>
>> <script type='text/javascript'>  
>>     var baseUrl = "{{=BASE_PATH_APPFORM}}";    //  Not able to render 
>> web2py variable here in index.html 
>> </script>
>>
>
> What happens instead? Do you get an error? Where is that variable defined?
>
> 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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to