HI anand,

           Thanks for the speedy response. I am using the web.py's template
itself, I am not using templates like genshi or cheetah. The problem for me
is that when we have  a class like this :-

 class Login:
    def GET(self):
        form = loginForm()
        return render.login(form)

    def POST(self):
        pass


   Now this form needs to be used in the template as follows :-

$def with(form)
<form name="main" method="post">
                                               $if not form.valid: <p
class="error">Try again, AmeriCAN:</p>
                                               $:form.render()
                                        </form>

 so how can i embed the dojo components here? usually dojo code will be as
follows :-

 <td>
                        <label for="lblsignupusername">
                            User Name:
                    </td>
                    <td>
                        <input type="text"
                               id="signupusername"
                               name="signupusername"
                               required="true"
                               dojoType="dijit.form.ValidationTextBox"/>
                    </td>

 finally , I am newbie in web.py. If there is any e-book, please share with
me. i have been googling for the same. But not able to get one.

Regards
Ranganath.S



On Sun, Sep 19, 2010 at 6:38 PM, Anand Chitipothu <[email protected]>wrote:

> 2010/9/19 Ranganath s <[email protected]>:
> > Hi group,
> >
> >         I am using dojo to design the form. Now using webpy how do i
> process
> > the request , process and send the response back to the web page. Kindly
> > throw light on this and oblige
>
> You can call web.input() to get the data submitted in the form. You
> can call the appropriate templete to render the response after
> processing the input data.
>
> --
> You received this message because you are subscribed to the Google Groups
> "web.py" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected] <webpy%[email protected]>.
> For more options, visit this group at
> http://groups.google.com/group/webpy?hl=en.
>
>


-- 
I blog at http://ranganaths.wordpress.com

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

Reply via email to