[web2py] Re: Connect to mysql via ssl

2018-03-03 Thread Scorpa
MySQL

воскресенье, 25 февраля 2018 г., 5:31:10 UTC+3 пользователь Massimo Di 
Pierro написал:
>
> Wedo not support that at this time. What database?
>
> On Sunday, 18 February 2018 02:40:57 UTC-6, Scorpa wrote:
>>
>> Hello, experts!
>>
>>
>> How to connect to mysql server via client certificate ? 
>>
>

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


[web2py] Connect to mysql via ssl

2018-02-18 Thread Scorpa
Hello, experts!


How to connect to mysql server via client certificate ? 

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


[web2py] Re: parametric routes

2018-02-17 Thread Scorpa
Thats reall frustrating because there is no details about parametric and so 
i need to use patterns :(

суббота, 17 февраля 2018 г., 22:05:06 UTC+3 пользователь Anthony написал:
>
> On Saturday, February 17, 2018 at 1:09:28 PM UTC-5, Scorpa wrote:
>>
>> Unfortunately this gives nothing.
>>
>
> You have already been directed to check out the pattern-based system for 
> your needs.
>  
>
>> Again case is very simple redirect from view named "abc" to controler 
>> "blabla".
>> It's not even something unusual.
>>
>
> Please read the documentation: 
> http://web2py.com/books/default/chapter/29/04/the-core#Pattern-based-system. 
> The very first example there does exactly what you are asking.
>
> 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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: parametric routes

2018-02-17 Thread Scorpa
Unfortunately this gives nothing.

Again case is very simple redirect from view named "abc" to controler 
"blabla".
It's not even something unusual.

пятница, 16 февраля 2018 г., 19:05:14 UTC+3 пользователь Anthony написал:
>
> On Friday, February 16, 2018 at 7:03:18 AM UTC-5, Scorpa wrote:
>>
>> Documentation about parametric system is VERY bad and doesnt describe its 
>> abilities in.
>>
>
> There is more detail in the example file: 
> https://github.com/web2py/web2py/blob/master/examples/routes.parametric.example.py
>  
>
>> But because it's stated that parametric systems should be suffcient for 
>> all i assume somewhere i can find how to implement my solution.
>>
>
> I don't think it is stated anywhere that the parameter-based system is 
> sufficient for *all *use cases. The parameter-based system was created 
> after the pattern-based system and designed to accommodate the most common 
> use cases in a simpler manner. The pattern-based system is for handling 
> more complex cases.
>
> 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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: parametric routes

2018-02-16 Thread Scorpa
Documentation about parametric system is VERY bad and doesnt describe its 
abilities in. But because it's stated that parametric systems should be 
suffcient for all i assume somewhere i can find how to implement my 
solution.

For example is it able to do redirect from "/smth" which is view smth.html 
to controller "another.py" ?
I could not find any example of such case.

четверг, 15 февраля 2018 г., 18:14:48 UTC+3 пользователь Anthony написал:
>
> If the type of routing you want to do cannot be accommodated by the 
> parameter-based system, you will have to use the pattern-based system (see 
> the book section for details on how it works).
>
> Anthony
>
> On Thursday, February 15, 2018 at 9:05:16 AM UTC-5, Scorpa wrote:
>>
>> Then how actually re-route inside the app ?
>>
>> четверг, 15 февраля 2018 г., 16:56:13 UTC+3 пользователь Anthony написал:
>>>
>>> The domains must be in the form of host:port -- it does not support any 
>>> path after the port.
>>>
>>> Anthony
>>>
>>> On Thursday, February 15, 2018 at 8:24:59 AM UTC-5, Scorpa wrote:
>>>>
>>>> Hello guys!
>>>>
>>>>
>>>> How to route some path to specific controller ?
>>>>
>>>> For example, i have this in routes.py:
>>>>
>>>> routers = dict(
>>>>
>>>> # base router
>>>> BASE=dict(
>>>> domains={
>>>> 'et.mooo.com:8000': 'sd/sea',
>>>> '127.0.0.1:8000/.we': 'sd/seb',
>>>> '127.0.0.1:8000/we': 'sd/sec',
>>>> },
>>>> default_application='menu_db',
>>>>
>>>> ),
>>>> )
>>>>
>>>> routes_onerror = [
>>>> (r'init/400', r'/err/err')
>>>> , (r'init/*', r'/err/err')
>>>> , (r'*/404', r'/err/err')
>>>> , (r'*/*', r'/err/err')
>>>> ]
>>>>
>>>>
>>>>
>>>> Evryhing works fine with erros and default app but web2py complety ignores 
>>>> "domains" part.
>>>>
>>>>
>>>> How to fix this issue ?
>>>>
>>>>

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


[web2py] Re: parametric routes

2018-02-15 Thread Scorpa
Then how actually re-route inside the app ?

четверг, 15 февраля 2018 г., 16:56:13 UTC+3 пользователь Anthony написал:
>
> The domains must be in the form of host:port -- it does not support any 
> path after the port.
>
> Anthony
>
> On Thursday, February 15, 2018 at 8:24:59 AM UTC-5, Scorpa wrote:
>>
>> Hello guys!
>>
>>
>> How to route some path to specific controller ?
>>
>> For example, i have this in routes.py:
>>
>> routers = dict(
>>
>> # base router
>> BASE=dict(
>> domains={
>> 'et.mooo.com:8000': 'sd/sea',
>> '127.0.0.1:8000/.we': 'sd/seb',
>> '127.0.0.1:8000/we': 'sd/sec',
>> },
>> default_application='menu_db',
>>
>> ),
>> )
>>
>> routes_onerror = [
>> (r'init/400', r'/err/err')
>> , (r'init/*', r'/err/err')
>> , (r'*/404', r'/err/err')
>> , (r'*/*', r'/err/err')
>> ]
>>
>>
>>
>> Evryhing works fine with erros and default app but web2py complety ignores 
>> "domains" part.
>>
>>
>> How to fix this issue ?
>>
>>

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


[web2py] parametric routes

2018-02-15 Thread Scorpa
Hello guys!


How to route some path to specific controller ?

For example, i have this in routes.py:

routers = dict(

# base router
BASE=dict(
domains={
'et.mooo.com:8000': 'sd/sea',
'127.0.0.1:8000/.we': 'sd/seb',
'127.0.0.1:8000/we': 'sd/sec',
},
default_application='menu_db',

),
)

routes_onerror = [
(r'init/400', r'/err/err')
, (r'init/*', r'/err/err')
, (r'*/404', r'/err/err')
, (r'*/*', r'/err/err')
]



Evryhing works fine with erros and default app but web2py complety ignores 
"domains" part.


How to fix this issue ?

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


[web2py] Re: routes.py and how to activate them

2017-06-07 Thread Scorpa
Ok, 

Created new project from scratch, renamed this file, copied it everywhere - 
app folder, web2py library etc etc.
used breakpoints, but none of them works.

how can i debug routes ?
I couldn't find a root cause of this :(

понедельник, 5 июня 2017 г., 22:10:17 UTC+3 пользователь Anthony написал:
>
> For example, how actually routes.py works ? I renamed routes.example.py 
>>>  to routes.py according to internal notes. 
>>> Reloaded routes|reloaded web2py and... no effect.
>>>
>>
>> As the docs state, you don't just rename those files -- the routes.py 
>> file must be put in the /web2py root folder. If it is in the right place 
>> and still not working as expected, there is probably something wrong with 
>> the code.
>>
>
> Oh, I see you are referring to the example app-specific routes.py file, 
> which can remain where it is, in its own app's folder. However, you need to 
> make sure you also have a base routes.py file in the /web2py root folder, 
> and as noted in the routes.example.py file, you must change the 
> dictionary key "app" to be the name of your actual application.
>
> 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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] routes.py and how to activate them

2017-06-04 Thread Scorpa
Hello folks ! 


Many times when i'm searching for an answer in the official docs about how 
to do this or that i'm ending in the stack overflow questions area or in 
this group.
and thats really frustrating that even simplest tasks can't be done easy.

For example, how actually routes.py works ? I renamed routes.exampe.py to 
routes.py according to internal notes. 
Reloaded routes|reloaded web2py and... no effect.

How to actually use this tool ?


By the way, why pyCharm can find packages  in this file ?



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


[web2py] Re: Saving to database random type data

2017-05-07 Thread Scorpa
Any suggestions, anyone ?


How to extract data from BLOB ?

среда, 3 мая 2017 г., 22:02:12 UTC+3 пользователь Scorpa написал:
>
> Hello folks ! 
>
> I have database that's have BLOB type to store any kind of data (it's 
> should be binary ?):
>
> Field('f_blob', type='blob',
>   label=T('blob object')),
>
>
> I'm inserting new records with:
>
> db.t_cache.insert(f_name='processed_' + request.vars.filename, f_blob= data)
>
>
> Where data is pandas object which is covnerted to CSV:
>
> data = StringIO.StringIO()
> source.to_csv(_tmp_data)
> data.seek(0)
>
>
> In database DATA record appears. but i can't fnd any information about 
> retrieving this object from db.
>
>
> I tried RETRIEVE method (where the hell documenation about this ? no comments 
> in source)
>
> Such as:
>
> db.t_cache.f_blob.retrieve(db.t_cache[ID].f_blob).f_blob  gives = 
> {TypeError}Can't retrieve  file 
> properties
>
>
> db.t_cache.f_blob.retrieve(db.t_cache[ID]) = {TypeError}expected string or 
> buffer
>
>
> So how to get back BLOB object from databse and use it later ? 
>
>

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


[web2py] Saving to database random type data

2017-05-03 Thread Scorpa
Hello folks ! 

I have database that's have BLOB type to store any kind of data (it's 
should be binary ?):

Field('f_blob', type='blob',
  label=T('blob object')),


I'm inserting new records with:

db.t_cache.insert(f_name='processed_' + request.vars.filename, f_blob= data)


Where data is pandas object which is covnerted to CSV:

data = StringIO.StringIO()
source.to_csv(_tmp_data)
data.seek(0)


In database DATA record appears. but i can't fnd any information about 
retrieving this object from db.


I tried RETRIEVE method (where the hell documenation about this ? no comments 
in source)

Such as:

db.t_cache.f_blob.retrieve(db.t_cache[ID].f_blob).f_blob  gives = 
{TypeError}Can't retrieve  file 
properties


db.t_cache.f_blob.retrieve(db.t_cache[ID]) = {TypeError}expected string or 
buffer


So how to get back BLOB object from databse and use it later ? 

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


[web2py] Re: Web2py multiple request variables to filter database output

2017-04-10 Thread Scorpa
it just a bunch of ids that's taken from URI.
So it's list of id like [1L,2L,3L] and so on.

It's working when i'm searching throught table, for example 
db(db.t_filter.id.belongs(ids)).select()
But wont work with list:reference.

can i fix it somehow ?
понедельник, 10 апреля 2017 г., 21:11:49 UTC+3 пользователь Dave S написал:
>
>
>
> On Monday, April 10, 2017 at 4:49:01 AM UTC-7, Scorpa wrote:
>>
>> Yes, that's what i'm trying to achive.
>>
>> For now i have three tables: ingredients, tags and data.
>> Data table defined with - Field('ingredients', 'list:reference tag_ingr'
>> ),
>>
>>
>> tags - db.define_table('tag_ingr',
>>
>> Field('name', type='string'),
>> format='%(name)s')
>>
>>
>> And ingredient table have link to tag - Field('tag_id', db.tag_ingr,
>>
>> label=T('tag id'))
>>
>>
>> So i have table t_filter which havee list of references which is tags and 
>> now i'm trying to search throught it.
>> When i'm searchig throught the tags, i'm trying to use 'belongs' but it 
>> gives zero results:
>>
>> db(db.t_filter.ingredients.belongs(ids).select()
>>
>>
>> What is correct way to search throught list:reference ?
>>
>>
> How are you setting "ids" in your belongs?
>
>
> /dps
>
>

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


[web2py] Re: Web2py multiple request variables to filter database output

2017-04-10 Thread Scorpa
// This moderation is really useless

For the sake of this question, i implemented this thing in that way:
User select image via IMG tag:




Then JavaScript comes in hand:


$('.fruits-main').click(function() {
if ($(this).hasClass("selected")) {
$(this).removeClass('selected').addClass('unselected');
removeParam("ingr", this.id);
ajax('{{=URL('default', 'filter_s')}}'+ '?' + 
window.location.href.split("?")[1],[], 'content');
} else {
$(this).removeClass('unselected').addClass('selected');
addQSParam("ingr", this.id);
ajax('{{=URL('default', 'filter_s')}}'+ '?' + 
window.location.href.split("?")[1],[], 'content');
}
});



Which is simply click function that is waiting for click and change class of 
IMG from selected to unselected and vice versa.

When this change occurs, URL parameters updated via web-browser api.


function removeParam(name, value) {
var newUrl = window.location.href.split("?")[0],
sourceURL = window.location.href,
param,
params_arr = [],
queryString = (sourceURL.indexOf("?") !== -1) ? sourceURL.split("?")[1] 
: "";
if (queryString !== "") {
params_arr = queryString.split("&");
for (var i = params_arr.length - 1; i >= 0; i -= 1) {
param = params_arr[i].split("&")[0];
if (param.indexOf(name) !== -1) {
if (params_arr[i].indexOf("%s") !== -1) {
params_arr[i] = param.replace("%s" + value , "");
}
else {
params_arr[i] = param.replace(name + "=" + value, "");
}
if (params_arr[i].indexOf(value) !== -1 ){
params_arr[i] = param.replace(value + "%s", "");
}
}
}
if (params_arr[0] !== "") {
newUrl = newUrl + "?" + params_arr.join("&");
}

}
window.history.pushState(null,"", newUrl);
}

function addQSParam(name, value) {
var url=window.location.href,
separator = (url.indexOf("?")===-1)?"?":"%s";
if (!(url.indexOf(name) ==-1)) {
   newParam=separator + value;
   newUrl=url.replace(newParam,"");
   newUrl+=newParam;
}
else {
newParam=separator + name + '=' + value;
newUrl=url.replace(newParam,"");
newUrl+=newParam;
}
window.history.pushState(null,"", newUrl);
}


It's seems slow but it's working. No idea how to improve this solution :)

понедельник, 27 марта 2017 г., 16:11:53 UTC+3 пользователь Marlysson Silva 
написал:
>
> You want select many images , highlight them and search at database by 
> ids's images highlighted ?
>
> Real-time?
>
> Em segunda-feira, 20 de março de 2017 10:40:13 UTC-3, Scorpa escreveu:
>>
>> Hello folks!
>>
>> I'm struggling with one idea:
>> I want to make visual filter such as - you can click on any image from 
>> predefined set (select from db) then this image will be highlited and now 
>> interesting part:
>> i want to make select from database based on the id of this image like 
>> for example: db(db.t_thing.id == request.vars.thing_id).select()
>> Then user can select another image and this id should be added to list.
>> I implemented tagging for this and took search function from this manual 
>> https://www.packtpub.com/mapt/book/web-development/9781849515467/3/ch03lvl1sec43/efficiently-searching-by-tag
>>
>>
>> i made ajax 
>> ajax('{{=URL('default', 'filter_thing', vars=dict(thing_id=thing.id))}}'
>> ,[], 'things');
>>
>>
>> but obviously this will overwrite variable.
>>
>>
>> So the question is - how to append variables to list ?
>>
>> Thank you ! 
>>
>>

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


[web2py] Re: Web2py multiple request variables to filter database output

2017-04-10 Thread Scorpa
Yes, that's what i'm trying to achive.

For now i have three tables: ingredients, tags and data.
Data table defined with - Field('ingredients', 'list:reference tag_ingr'),


tags - db.define_table('tag_ingr',

Field('name', type='string'),
format='%(name)s')


And ingredient table have link to tag - Field('tag_id', db.tag_ingr,

label=T('tag id'))


So i have table t_filter which havee list of references which is tags and 
now i'm trying to search throught it.
When i'm searchig throught the tags, i'm trying to use 'belongs' but it 
gives zero results:

db(db.t_filter.ingredients.belongs(ids).select()


What is correct way to search throught list:reference ?

понедельник, 27 марта 2017 г., 16:11:53 UTC+3 пользователь Marlysson Silva 
написал:
>
> You want select many images , highlight them and search at database by 
> ids's images highlighted ?
>
> Real-time?
>
> Em segunda-feira, 20 de março de 2017 10:40:13 UTC-3, Scorpa escreveu:
>>
>> Hello folks!
>>
>> I'm struggling with one idea:
>> I want to make visual filter such as - you can click on any image from 
>> predefined set (select from db) then this image will be highlited and now 
>> interesting part:
>> i want to make select from database based on the id of this image like 
>> for example: db(db.t_thing.id == request.vars.thing_id).select()
>> Then user can select another image and this id should be added to list.
>> I implemented tagging for this and took search function from this manual 
>> https://www.packtpub.com/mapt/book/web-development/9781849515467/3/ch03lvl1sec43/efficiently-searching-by-tag
>>
>>
>> i made ajax 
>> ajax('{{=URL('default', 'filter_thing', vars=dict(thing_id=thing.id))}}'
>> ,[], 'things');
>>
>>
>> but obviously this will overwrite variable.
>>
>>
>> So the question is - how to append variables to list ?
>>
>> Thank you ! 
>>
>>

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


[web2py] Web2py multiple request variables to filter database output

2017-03-20 Thread Scorpa
Hello folks!

I'm struggling with one idea:
I want to make visual filter such as - you can click on any image from 
predefined set (select from db) then this image will be highlited and now 
interesting part:
i want to make select from database based on the id of this image like for 
example: db(db.t_thing.id == request.vars.thing_id).select()
Then user can select another image and this id should be added to list.
I implemented tagging for this and took search function from this 
manual 
https://www.packtpub.com/mapt/book/web-development/9781849515467/3/ch03lvl1sec43/efficiently-searching-by-tag


i made ajax 
ajax('{{=URL('default', 'filter_thing', vars=dict(thing_id=thing.id))}}',[], 
'things');


but obviously this will overwrite variable.


So the question is - how to append variables to list ?

Thank you ! 

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


[web2py] Filter data based on clicked images

2017-03-20 Thread Scorpa

Hello folks!

I'm struggling with this idea -
page have several images, user can click on it, then controller must be 
called with selected id of the image as param.
in controller i'm doing db.select based on this id. 
User can click another one adding its id to variables list.

So the question is - how to pass list of variables to controller ? and how 
to add new variable to URL without page refreshing ?

Thanks!



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