[web2py] Re: dynamic link and image as represent in db Field

2011-06-15 Thread frasse
oh sorry
url is just img url like that url = URL('static/images','join.jpeg')

On Jun 15, 1:02 am, pbreit pbreitenb...@gmail.com wrote:
 I think that should be possible. Where is url coming from?

 I would definitely advise against doing this, tho. Just put that in your
 view.


[web2py] Re: dynamic link and image as represent in db Field

2011-06-15 Thread villas
Just a general comment - I don't think using a field name of join is a 
good idea.  It must be a reserved word and therefore might lead to problems.


[web2py] Re: dynamic link and image as represent in db Field

2011-06-15 Thread frasse
Thanx Villas . but it is not my real code . I just put a example to
explain my problem

On Jun 15, 6:45 pm, villas villa...@gmail.com wrote:
 Just a general comment - I don't think using a field name of join is a
 good idea.  It must be a reserved word and therefore might lead to problems.


[web2py] Re: dynamic link and image as represent in db Field

2011-06-15 Thread pbreit
frasse, what are you trying to do? Your code is very different from how you 
would usually do something in Web2py. Are you making a web site?

[web2py] Re: dynamic link and image as represent in db Field

2011-06-14 Thread pbreit
I think that should be possible. Where is url coming from?

I would definitely advise against doing this, tho. Just put that in your 
view.