Signal : send a parameter to a receiver function

2010-04-14 Thread alecs
How can I send a parameter to a receiver function ? This is wrong : signals.post_save.connect(receiver=refresh_index_page(fragment_name="categories_index", sender=Post) I have avoided this problem by wrapping my function in another function, but a bit inconvenient :) def refresh_index_page(sender

Sports app?

2010-04-14 Thread Benjamin Buch
Hi, I was wondering if there is a django app to manage sports teams and scores out there... Found some posts on the list concerning questions about writing your own, but the only project I found is http://code.google.com/p/sports-org/ , which has no updates since 1 1/2 years. Best, Benjam

Re: Sports app?

2010-04-14 Thread Kenneth Gonsalves
On Wednesday 14 Apr 2010 1:37:46 pm Benjamin Buch wrote: > I was wondering if there is a django app to manage sports teams and > scores out there... > there is one for golf, but that is not a sport - it is a vocation ;-) -- regards Kenneth Gonsalves Senior Associate NRC-FOSS http://certificate

Re: Sports app?

2010-04-14 Thread Benjamin Buch
there is one for golf, but that is not a sport - it is a vocation ;-) Do you mean Django Golf Handicap Tracker by David Grant? http://www.davidgrant.ca/django_golf_handicap_tracker That's the only one i came up with after a quick search... -- You received this message because you are subsc

Re: Giving up PHP. ...Can't decide between Django & Rails

2010-04-14 Thread David Hollander
I went with Django because of Python. It is a multi-purpose language that is used in the sciences, social sciences, and scripting for software\videogames. Ruby on the other hand is primarily known just for Rails. I also figured Python would be faster and only get faster due to Google's Unladen Swal

Re: Signal : send a parameter to a receiver function

2010-04-14 Thread bruno desthuilliers
On 14 avr, 09:32, alecs wrote: > How can I send a parameter to a receiver function ? This is wrong : > signals.post_save.connect(receiver=refresh_index_page(fragment_name="categories_index", > sender=Post) > > I have avoided this problem by wrapping my function in another > function, but a bit inc

Re: Django SMTP and SPA

2010-04-14 Thread Alex
No. I've just googled a bit for SPA, SPA+python. But I did not find anything helpfull. On 13 апр, 18:44, Massimiliano della Rovere wrote: > i think the python modules > - smtplib > - email > will help. Have you already tried these ones? > > On Tue, Apr 13, 2010 at 14:58, Alex wrote: > > Hi. > >

Re: Signal : send a parameter to a receiver function

2010-04-14 Thread alecs
Thanks :) -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this

Running django on IIS

2010-04-14 Thread Paweł Roman
I'm trying to run django on IIS and SQL Server 2005. I've found this nice page with all instructions: http://code.djangoproject.com/wiki/DjangoOnWindowsWithIISAndSQLServer I followed all the instructions, installed PyISAPIe, created virtual directory, mapped the .py extension to the PyISAPIe.dll.

Re: Giving up PHP. ...Can't decide between Django & Rails

2010-04-14 Thread bruno desthuilliers
On 9 avr, 18:06, UnclaimedBaggage wrote: > > WHAT I LIKE ABOUT DJANGO > * I LOVE django-admin . For the sort of work I do, which is a lot of > customised cart/cms stuff, this would save a lot of time. > * Code reusability seems superior. Opinions? Not enough experience with Rails to comment on th

Re: Sports app?

2010-04-14 Thread Kenneth Gonsalves
On Wednesday 14 Apr 2010 1:57:24 pm Benjamin Buch wrote: > > there is one for golf, but that is not a sport - it is a vocation ;-) > > Do you mean Django Golf Handicap Tracker by David Grant? > http://www.davidgrant.ca/django_golf_handicap_tracker > > That's the only one i came up with after a qu

Re: Running django on IIS

2010-04-14 Thread Sam Lai
I suspect it is trying to import Http but can't. Fire up python (Start -> Python Interactive Shell, or Start -> Run -> cmd -> type python), and type: import Http If that doesn't work, you haven't installed it properly. See the following quote from the Django wiki: "•Go to c:\pyisapie\source\PyI

Re: admin page will not display

2010-04-14 Thread Nicola Noonan
ok thanks a lot karen, greatly appreciated On Tue, Apr 13, 2010 at 11:22 PM, Karen Tracey wrote: > On Tue, Apr 13, 2010 at 5:50 PM, NicMAN wrote: > >> Hi all, i recently tried to open my admin page and it won't let me >> open it keeps saying >> >> Caught an exception while rendering: Tried crea

Re: Running django on IIS

2010-04-14 Thread Paweł Roman
> I suspect it is trying to import Http but can't. > > Fire up python (Start -> Python Interactive Shell, or Start -> Run -> > cmd -> type python), and type: > > import Http > If that doesn't work, you haven't installed it properly. See the > following quote from the Django wiki: > > "•Go to c:\pyi

Template translation

2010-04-14 Thread Rob Charlwood
Hello all, I'm a little stuck working with some template filters in django in a multi-lingual site. Basically some of our content in an Arabic version is not being translated and so we need some of template filters to just output in English. However they continue to output in Arabic. The main tem

Re: Giving up PHP. ...Can't decide between Django & Rails

2010-04-14 Thread nitin shrimali
Hiii I personally love working in Djngo as compare to Ruby. First of all Django is having great Admin part with customization and all. and working with it is really a great fun. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this gro

coffin error

2010-04-14 Thread Marconi
I'm trying to use Jinja2 as my template in Django 1.1 and I found out about http://github.com/dcramer/coffin . But when I try importing: from coffin.shortcuts import render_to_response I get the following error: http://python.pastebin.com/hwCWGRFF Any idea whats happening? -- You received this

need help, from where I have to start ?

2010-04-14 Thread deikna
Hallo , I want to know where I can get simple application examples written with Django, I just start reading django view weeks ago and I need your help.thank you bye. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send

How to make Django work with a MySQL driver other than MySQLdb

2010-04-14 Thread Continuation
I want to experiment with running Django on gevent. It comes with its own MySQL driver, gevent-mysql. What do I need to do to make Django run wth gevent-mysql? It is a DBAPI 2.0 compatible driver. Does that make it relatively easy to port it to Django? Or is it going to be a major undertaking? I

Re: coffin error

2010-04-14 Thread Karen Tracey
On Wed, Apr 14, 2010 at 7:38 AM, Marconi wrote: > I'm trying to use Jinja2 as my template in Django 1.1 and I found out > about http://github.com/dcramer/coffin . > But when I try importing: from coffin.shortcuts import > render_to_response > > I get the following error: http://python.pastebin.co

Re: WSGIScriptAlias

2010-04-14 Thread Alfredo Alessandrini
ok, now work: WSGIScriptAlias /test /home/alfreale/. WSGIScriptAlias / /home/alfreale/. 2010/4/13 Tim Shaffer : > Try reversing the order. The first alias is probably picking up the / > test URL. If you specify the test alias first, it should work. > > -- > You receiv

Re: Django SMTP and SPA

2010-04-14 Thread Massimiliano della Rovere
http://docs.python.org/library/smtplib.html http://docs.python.org/library/email.html and probably something like (python 3 code): # msg, sender and receiver are unicode objects! import smtplib from email.mime.text import MIMEText MIME = MIMEText(msg.encode(CODEC))

Re: Django SMTP and SPA

2010-04-14 Thread Tom Evans
On Wed, Apr 14, 2010 at 1:42 PM, Massimiliano della Rovere wrote: > http://docs.python.org/library/smtplib.html > http://docs.python.org/library/email.html > > and probably something like (python 3 code): > # msg, sender and receiver are unicode objects! >        import smtplib >        from email

Re: need help, from where I have to start ?

2010-04-14 Thread bax...@gretschpages.com
Start with the docs and walk through building the example poll app. >From there, move on to looking at some of the simple pluggable apps, and/or grab the "practical django projects" book. On Apr 14, 6:40 am, deikna wrote: > Hallo , I want to know where I can get simple application examples > writ

Re: many to many based upon common field

2010-04-14 Thread Francis Gulotta
I think that might be a better way, but the data should never change so I'm ok with the denormalization. How would I access the po_num in that example? Order.edi.po_num? or Order.PoNum.po_num? I think though I was asking the wrong question. I updated this on Stack Overflow. What I really need to

a 4 years old bug is still there?

2010-04-14 Thread Alan
Hi there, Today, for my surprise, I saw this very issue happening to me: http://code.djangoproject.com/ticket/1375 And the solution in the last post really worked. I am using django-py26-1.1.1-1 from Fink, on Mac OSX 10.6.3. Is the solution OK? If so, why not committed yet? Thanks, Alan --

formset save

2010-04-14 Thread Alfredo Alessandrini
Hi, I've this views.py: I need to save the model of current user. But this don't work. What's wrong? @login_required def profilo(request): from daf.Persone.models import Persone PersoneFormSet = modelformset_factory(Persone, fields=('curriculum_studi'),) utente = Persone.objects.get

Re: Problem with RSS feed. (Long Post)

2010-04-14 Thread Ronnie Betzen
> Have you tried the obvious - do what the Exception tells you and add a > "get_absolute_url" method to the model of the objects published on the > feed, or an item_link in your Feed class? Well, duh. This teaches me not to be reading documentation at 2 am while I'm sleepy. I somehow looked straig

URGENT - Please help. Boolean field shows up as [null]

2010-04-14 Thread pedjk
I created a Boolean field in django, but it shows up as "[null]" on my webpage. I have three other Boolean fields in the same page that work fine. What's causing this. My code in forms is: CreateLead = forms.BooleanField(required=False) in models is: CreateLead = models.BooleanField() Tha

forms.py and javascript functions

2010-04-14 Thread Bobby Roberts
I want to have an onchange event on a select box. How can I pass that to the form field in the forms.py file? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe fro

Re: forms.py and javascript functions

2010-04-14 Thread Tim Shaffer
Check out the attrs dictionary option for the form widget. http://docs.djangoproject.com/en/dev/ref/forms/widgets/#django.forms.Widget.attrs -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googl

logging not working with Django

2010-04-14 Thread Alan
Hi there, I am trying to setup logging in my setting.py. All seemed to be working with below: handler = logging.handlers.TimedRotatingFileHandler(LOG_FILENAME, backupCount=1) until I decided to make it: handler = logging.handlers.TimedRotatingFileHandler(LOG_FILENAME, backupCount=1, max

Re: URGENT - Please help. Boolean field shows up as [null]

2010-04-14 Thread pedjk
Problem solved. I just had to fix the code in mysql. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@goog

Re: forms.py and javascript functions

2010-04-14 Thread Bobby Roberts
lol... many thanks. I was using the attribs but it would REALLY help if I put them on the right field. On Apr 14, 1:22 pm, Tim Shaffer wrote: > Check out the attrs dictionary option for the form widget. > > http://docs.djangoproject.com/en/dev/ref/forms/widgets/#django.forms -- You receive

Re: urllib2: post request to a django form

2010-04-14 Thread bfrederi
Perfect! Thanks for the advice. I should have been using pdb with the devserver a long time ago. I used this screencast as a tutorial: http://ericholscher.com/blog/2008/aug/31/using-pdb-python-debugger-django-debugging-series-/ As I stepped through my request, I realized that the Referer wasn't g

Dajaxice with Jquery issue

2010-04-14 Thread Alexis Selves
Hi everyone, I am trying to use dajax with jquery. I am dynamicaly making forms with Jquery and each contains button with dajax reference. $(".routelist").append(" with this i get syntax error. I am trying this: $(".routelist").append(" no ' ' in Dajaxice.maps.reservation(reservation_callBack). Th

Installing django

2010-04-14 Thread Jagdeep Singh Malhi
I try to install Django in Ubuntu 9.10 ... using this link http://jeffbaier.com/articles/installing-django-on-an-ubuntu-linux-server but i face problem with this command #django-admin.py syncdb it not works error message is { Traceback (most recent call last): File "/usr/local/bin/djan

Re: logging not working with Django

2010-04-14 Thread Rolando Espinoza La Fuente
On Wed, Apr 14, 2010 at 1:25 PM, Alan wrote: [SNIP] > handler = logging.handlers.TimedRotatingFileHandler(LOG_FILENAME, > backupCount=1, maxBytes = 1024) That handler doesn't have maxBytes keyword argument http://docs.python.org/library/logging.html#timedrotatingfilehandler ~Rolando -- You rec

Re: Installing django

2010-04-14 Thread Shawn Milochik
The instructions on the site are incorrect. You only use django-admin.py to create the project. After that you use manage.py for everything else -- including syncdb. Shawn -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group,

Re: Installing django

2010-04-14 Thread Shawn Milochik
Actually, since you seem to have already installed Django successfully, I suggest you dump that faulty page and use the official tutorial. http://docs.djangoproject.com/en/1.1/intro/tutorial01/#intro-tutorial01 Shawn -- You received this message because you are subscribed to the Google Groups

Re: Installing django

2010-04-14 Thread Tom X. Tobin
On Wed, Apr 14, 2010 at 1:17 PM, Shawn Milochik wrote: > The instructions on the site are incorrect. You only use django-admin.py to > create the project. After that you use manage.py for everything else -- > including syncdb. You *can* use django-admin.py as long as you make sure DJANGO_SETTIN

Re: Installing django

2010-04-14 Thread Alexis Selves
try to insall package python-django using apt-get install On 14 dub, 20:47, "Tom X. Tobin" wrote: > On Wed, Apr 14, 2010 at 1:17 PM, Shawn Milochik wrote: > > The instructions on the site are incorrect. You only use django-admin.py to > > create the project. After that you use manage.py for eve

Is there a better way to do Django+WSGI+Apache when using multiple virtual hosts that point to the same Django installation than what I'm currently doing?

2010-04-14 Thread mw
Hello, I have multiple virtual hosts pointing to the same Django project. So something like: host1.domain.com host2.domain.com host3.domain.com each point to the same Django project because although it was required that host1 host2 and host3 should get their own hostnames, none of web apps the

Re: coffin error

2010-04-14 Thread Marconi
I see. I think I'd rather use the lower version of coffin for now. Thanks! On Apr 14, 8:09 pm, Karen Tracey wrote: > On Wed, Apr 14, 2010 at 7:38 AM, Marconi wrote: > > I'm trying to use Jinja2 as my template in Django 1.1 and I found out > > abouthttp://github.com/dcramer/coffin. > > But when I

OS X Server upgrade (10.6.3) can't load psycopg2 from apache2/modpython

2010-04-14 Thread John Abraham
Is anyone familiar with configuration on OS X Server? I had a nice app working, but now it broke, I think it broke when I upgraded the server from 10.6.2 to 10.6.3. I know I have two python's installed, apple's and the macports one. It looks like my mod_python is using the macports one in /opt/lo

Re: OS X Server upgrade (10.6.3) can't load psycopg2 from apache2/modpython

2010-04-14 Thread Steven Elliott Jr
Hey John, I am running Mac OS X Server(s) as well but have not yet updated to 10.6.3 - I am going to do this now and see if it breaks anything. My apps are all running using the preinstalled version so I'm curious to see if anything breaks. Just curious -- my python version is 2.6.1 and I neve

Re: OS X Server upgrade (10.6.3) can't load psycopg2 from apache2/modpython

2010-04-14 Thread John Abraham
It's definitely a system path / python path problem. I did the brute force method of linking psycopg to the django project directories, twice, just to be sure: cd /Website/Django/times ln -s /opt/local/Library/Frameworks/Python.framework/Versions/2.6/ lib/python2.6/site-packages/psycopg2 ps

Re: OS X Server upgrade (10.6.3) can't load psycopg2 from apache2/modpython

2010-04-14 Thread Steven Elliott Jr
Righty. Glad you got it sorted. Cheers mate -Steven Elliott Jr On Apr 14, 2010, at 5:39 PM, John Abraham wrote: It's definitely a system path / python path problem. I did the brute force method of linking psycopg to the django project directories, twice, just to be sure: cd /Website/Djan

Re: Is there a better way to do Django+WSGI+Apache when using multiple virtual hosts that point to the same Django installation than what I'm currently doing?

2010-04-14 Thread Austin Gabel
I'm assuming you are running all three of these projects on the same machine. You can use the ServerAlias directive in your config. It would look something like this ServerName host1.domain.com ServerAlias host2.domain.com host3.domain.com DocumentRoot /var/www/whatever/ WSGIScriptAlias /host1s

Re: OS X Server upgrade (10.6.3) can't load psycopg2 from apache2/modpython

2010-04-14 Thread John Abraham
Well I wouldn't say I have it sorted out, just temporarily working with duct tape and binder twine :) I don't know how to make apache2/mod_python find python libraries in the normal location, so I'm symlinking them everywhere! -- John On Apr 14, 3:48 pm, Steven Elliott Jr wrote: > Righty. Glad

Re: OS X Server upgrade (10.6.3) can't load psycopg2 from apache2/modpython

2010-04-14 Thread CLIFFORD ILKAY
On 04/14/2010 05:54 PM, John Abraham wrote: Well I wouldn't say I have it sorted out, just temporarily working with duct tape and binder twine :) I don't know how to make apache2/mod_python find python libraries in the normal location, so I'm symlinking them everywhere!

How do you rollback a transaction outside the context of a request?

2010-04-14 Thread Bill Freeman
I'm running code from the manage.py shell to load stuff (from an XML export from an excel read of a SQL Server dump, of all things), which gets a database error (Postgersql correctly noticing that a value is too long for a field, for instance) upon calling the save method of a model. I'd like to c

Re: How do you rollback a transaction outside the context of a request?

2010-04-14 Thread Joe
On Apr 14, 6:15 pm, Bill Freeman wrote: > I'm running code from the manage.py shell to load stuff (from an XML export > from > an excel read of a SQL Server dump, of all things), which gets a database > error > (Postgersql correctly noticing that a value is too long for a field, > for instance)

Protecting Static Media from Unauthorized Users

2010-04-14 Thread Dilan
Hi, I know this isn't a completely django-based question but I thought someone might have an idea, whether it uses Django or not. I am currently using what seems to be the typical django server, which has nginx has a front-end that handles static media while proxying all other requests to apache.

Re: Is there a better way to do Django+WSGI+Apache when using multiple virtual hosts that point to the same Django installation than what I'm currently doing?

2010-04-14 Thread Steven Degutis
If you don't mind me jumping in here, I have a followup question (related context: I'm a django newb, this is day 3 for me) -- if you use ServerAlias, how do you specifically set django to recognize the different subdomains when a website is accessed? The urlpatterns seem to only match everything a

Re: MySQLdb setup on snow leopard help

2010-04-14 Thread Bdidi
On Apr 14, 12:51 am, VWAllen wrote: > I had a lot of trouble at first getting things setup on Snow Leopard > (mostly 32-bit/64-bit problems). > > Ultimately, I loaded the full stack through MacPorts (apache, mysql, > python, wsgi, django, etc. etc.). Almost all of the problems I ran > into with th

Re: MySQLdb setup on snow leopard help

2010-04-14 Thread Bdidi
On Apr 14, 12:51 am, VWAllen wrote: > I had a lot of trouble at first getting things setup on Snow Leopard > (mostly 32-bit/64-bit problems). > > Ultimately, I loaded the full stack through MacPorts (apache, mysql, > python, wsgi, django, etc. etc.). Almost all of the problems I ran > into with th

Re: Protecting Static Media from Unauthorized Users

2010-04-14 Thread Chris Moffitt
What you want to use is x-sendfile or one of it's variants depending on your server. Here's the Nginx page - http://wiki.nginx.org/NginxXSendfile Here's where we use it in Satchmo for securing downloadable files: http://www.bitbucket.org/chris1610/satchmo/src/tip/satchmo/apps/satchmo_store/shop/v

conditional join with foreign key

2010-04-14 Thread darren
I have two model classes that are related via a foreign key. However, that's not limiting my results enough. I'm getting too many choices in the drop down list of choices in the admin interface. I'm trying to figure out where I should filter this. If I was writing my own sql, I'd limit my resul

Re: Dajaxice with Jquery issue

2010-04-14 Thread natebeacham
Use back slashes to escape your nested quotes. ie: onClick='Dajaxice.maps.reservation(\'reservation_callBack\')' On Apr 14, 11:02 am, Alexis Selves wrote: > Hi everyone, > I am trying to use dajax with jquery. I am dynamicaly making forms > with Jquery and  each contains button with dajax refere

Problem using django-typogrify and smartypants

2010-04-14 Thread HiddenWolf
Hi all, I'm trying to get a blog app working, and I keep running into the weirdest error. Both typogrify and smartypants.py are on my django-path and import fine from a shell. I get a similar error when trying to import and use smartypants in a model, so it might very well be my install. I just c

Re: need help, from where I have to start ?

2010-04-14 Thread Aman
http://docs.djangoproject.com/en/1.1/intro/tutorial01/#intro-tutorial01 This is definitely the url you need to start with. On Apr 14, 9:33 am, "bax...@gretschpages.com" wrote: > Start with the docs and walk through building the example poll app. > From there, move on to looking at some of the s

Getting error in Cloudwatch EC2 BOTO

2010-04-14 Thread nitin shrimali
Hello guys I am having error when performing Cloudwatch in Django. But if I execute it on Python Shell it is running smoothly. Not getting the reason why this is happening. Any one who get this sort of error. Please help me out. Thanks Nitin -- You received this message because you are subscribe

Re: Problem using django-typogrify and smartypants

2010-04-14 Thread johan sommerfeld
Have you tried to run the actual code in django shell? Have you imported it corectly (paste some code from where the exception gets thrown. /J On Thursday, April 15, 2010, HiddenWolf wrote: > Hi all, > > I'm trying to get a blog app working, and I keep running into the > weirdest error. > > Bot

Re: need help, from where I have to start ?

2010-04-14 Thread Eximius
Hi deikna, you can just start with the tutorial at http://net.tutsplus.com/tutorials/other/intro-to-django-building-a-to-do-list/where you can get basic knowledge of django and its most powerful admin interface as well. On Thu, Apr 15, 2010 at 9:45 AM, Aman wrote: > http://docs.djangoproject.co

Re: Installing django

2010-04-14 Thread Eximius
Try syncdb using manage.py command i.e. # manage.py syncdb On Thu, Apr 15, 2010 at 12:47 AM, Alexis Selves wrote: > try to insall package python-django using apt-get install > > On 14 dub, 20:47, "Tom X. Tobin" wrote: > > On Wed, Apr 14, 2010 at 1:17 PM, Shawn Milochik > wrote: > > > The instru

How to manually render a Django template for an inlineformset_factory with can_delete = True / False

2010-04-14 Thread chefsmart
Hi, I have an inlineformset with a custom Modelform. So it looks something like this: MyInlineFormSet = inlineformset_factory(MyMainModel, MyInlineModel, form=MyCustomInlineModelForm) I am rendering this inlineformset manually in a template so that I have more control over widgets and javascript

Inline and ForeignKeys - Weird ordering?

2010-04-14 Thread Victor Hooi
heya, We're creating a small app to manage data-entry of publicat articles in Django. Each article has a category, a subject, a list of firms (as in the companies mentioned), etc. I'm trying to add firm as an inline to article, however, I think I've got the ordered in the model all wrong, as it'

Re: Getting error in Cloudwatch EC2 BOTO

2010-04-14 Thread Ian Lewis
Nitin, You will need to provide more information about the error you are getting and in what circumstances it is occurring if you would like someone to help you. Ian On Thu, Apr 15, 2010 at 2:10 PM, nitin shrimali wrote: > Hello guys > I am having error when performing Cloudwatch in Django. But

Re: logging not working with Django

2010-04-14 Thread Alan
Many thanks Rolando, I can't believe I calling the wrong function... Fixed and working now. Cheers, Alan On 14 Apr, 19:07, Rolando Espinoza La Fuente wrote: > On Wed, Apr 14, 2010 at 1:25 PM, Alan wrote: > > [SNIP] > > > handler = logging.handlers.TimedRotatingFileHandler(LOG_FILENAME, > > ba

Re: Dajaxice with Jquery issue

2010-04-14 Thread elijah rutschman
One solution would be to attach your click event handler later, using an anonymous function instead of an inline onClick attribute. $('').appendTo('.routelist').click(function(){ Dajaxice.maps.reservation('reservation_callBack'); }); On Wed, Apr 14, 2010 at 10:02 AM, Alexis Selves wrote: > Hi ev