Hi Roman,

1. Could you be more specific?  I don't really understand the
question.

2.  form.Button should work, and only in IE6 will you have to specify
type="submit".  Make sure you wrap the form render with <form> tags in
your template.  Otherwise, this works fine for me:

from web import form

foo_form = form.Form(
    form.Textbox('bar'),
    form.Button('submit the text', type="submit")
)

Be sure to describe how this doesn't work for you.

3. Form layout is very simple and table-based.  Check out this link
for more information on how I change layout, but other people do
different things.
http://groups.google.com/group/webpy/msg/c6827aa721bc5308?


Good luck,
Justin

On Oct 14, 4:28 pm, "Roman Yakovenko" <[EMAIL PROTECTED]>
wrote:
> Hi all.
>
> Caution: I am just starting with web development.
>
> I successfully define my form, which consist from two text areas and
> few buttons. The idea is simple: the user enters some text into first
> text area, my server process it and puts the result in the second one.
>
> I have few questions:
>
> 1. How I can update the second textarea only? I would like to find
> solution, which will not waste my server resources.
>
> 2. As an example, I am using the following page:http://webpy.org/form. For 
> some reason the submit button is defined in
> the template. How I can define "submit" functionality using Button
> class? The obvious solution, type="submit" didn't work for me. I
> prefer to define my form in a single place.
>
> 3. How i can change the form layout via Form class?
>
> Thanks.
>
> --
> Roman Yakovenko
> C++ Python language bindinghttp://www.language-binding.net/
--~--~---------~--~----~------------~-------~--~----~
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