On Thu, 2002-04-11 at 01:29, Skorobeus wrote:
> Hello all,
> 
> Recently started working with WebKit, loving it so far...
> 
> Just have a few questions, mostly form related:
> 
> If I have a form that should be accepting a login and password, how do I handle 
>defining where that information goes *to* when the form is submitted?
> In other words, if I have a login form, say "loginform.py" with class "loginform" 
>that has two text boxes, where does the code go to evaluate that login information 
>once it's been submitted?  Does it go in 
> loginform as an action, or can I specify that the submission of the form calls 
>another .py / class?

You specify a normal URL in the form action -- if it points to a servlet
then that servlet can process the information (using self.field())

If you want to have it go to a specific method of a servlet, you need to
define an _action_ field in your form -- look at the WebKit (Page)
documentation for more on that.

I think that's what you're thinking of...?

  Ian



_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to