Changes between Version 11 and Version 12 of AjaxDjangoDojoForm


Ignore:
Timestamp:
Jun 5, 2006, 8:41:43 PM (18 years ago)
Author:
anonymous
Comment:

more fixes

Legend:

Unmodified
Added
Removed
Modified
  • AjaxDjangoDojoForm

    v11 v12  
    44
    55
    6 == What do you need : ==
     6== What do you need ==
    77
    88 - Django
    99 - Dojo (v0.3) [http://dojotoolkit.org/] an open source javascript toolkit.
    10  - Simple_Json (v1.3) [http://svn.red-bean.com/bob/simplejson/tags/simplejson-1.3/docs/index.html] used for java <-> python communication.
     10 - Simple_Json (v1.3) [http://svn.red-bean.com/bob/simplejson/tags/simplejson-1.3/docs/index.html] used for javascript <-> python communication.
    1111
    1212
    1313== What do we want to achieve ==
    1414I will use the model of my current website, a recipe one.
    15 When a registred user see the details of a recipe, he can mark it or update his mark by selecting a small drop down list.
    16 That's nice but when he clicks ok the whole page is reloaded :/  let's use some Ajax to make it transparent and for the fancy effect
     15When a registred user see the details of a recipe, the user can mark it or update their mark by selecting a small drop down list.
     16But when the user clicks ok the whole page is reloads. We will use some Ajax to make it transparent and for the fancy effect
    1717we can add fading status message like "Your mark has been updated".
    1818The select box proposes a mark from 1 to 5, it is actually a form which is sent to the server via POST, which in django link to a method
     
    159159You can also have a look at the screenshot here :  [http://ozserver.no-ip.com/~greg/images/ajaxdjango.png]
    160160
    161 == Dreamhost and Simplejson: ==
     161== Dreamhost and Simplejson ==
    162162
    163163If you are using dreamhost for hosting please be aware that simplejson is not installed.
    164 Instead install the source of simplejson in a folder in your home directory eg /proz/json/simple_json
     164Instead you will have to install the source of simplejson in a folder in your home directory eg /proz/json/simple_json
    165165the simple_json directory contains the required __init__.py for it to be loaded as a python module.
    166166
Back to Top