On Tuesday 19 February 2002 10:41 pm, Edmund Lian wrote:
> Chuck,
>
> >>You should also review the summaries of the classes so you can see
> >> what
>
> their methods are. These come with your local docs.<<
>
> Thanks... I've actually been doing this. But the class summaries did
> not show why a s
Geoff wrote:
>>But it seems to me that in general, you'd have to lock the row for the
entire duration of the servlet's processing. What if a user accesses a
servlet that takes 20 seconds to process, then in a different window or
frame tries to access a servlet that only takes 1/10 of a second t
Geoff wrote:
>>The PowerPoint slides from my talk at Python10 cover this a little bit.
You
can find them on the Webware home page.<<
Yes, the slides were very useful--the contents should really be in the
documentation somewhere. I wasn't at your presentation (I'm overseas right
now), so perhaps
Chuck,
>>You should also review the summaries of the classes so you can see what
their methods are. These come with your local docs.<<
Thanks... I've actually been doing this. But the class summaries did not
show why a subclass of Page would have a HTTPRequest instance available as
self.request
|
|
|
|
The webware code already has a built-in action mechanism,
you use the name "_action_" where is the action
to be run by the servlet. You also have to put in
your actions list.
Best,
Clark
___
Webware-discuss mailing list
[EM
On Tue, Feb 19, 2002 at 02:53:38PM -0600, Ian Bicking wrote:
|
| No, rather when no submit button field was found, a default submit
| button should be assumed. IE and Mozilla will submit a form when an
| enter is hit under certain circumstances. I believe this will lead to
| the form being subm
On 2/19/02 2:38 PM, "Tim Roberts" <[EMAIL PROTECTED]> wrote:
> On 19 Feb 2002 14:53:38 -0600, Ian Bicking wrote:
>>
>> No, rather when no submit button field was found, a default submit
>> button should be assumed. IE and Mozilla will submit a form when an
>> enter is hit under certain circumst
On Tue, Feb 19, 2002 at 01:50:52PM -0800, Jim Kraai wrote:
> I'm wondering about performance relative to HTMLGen & HyperText, how well it
> integrates w/ WebWare, etc.
I've used it outside Webware and prefer it to both HTMLGen (which is
definitely showing its age) and to HyperText (though HyperTe
I'm wondering about performance relative to HTMLGen & HyperText, how well it
integrates w/ WebWare, etc.
I know the performance question is an apples vs. oranges question.
Thanks,
--jim
___
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists
On 19 Feb 2002 14:53:38 -0600, Ian Bicking wrote:
>
>No, rather when no submit button field was found, a default submit
>button should be assumed. IE and Mozilla will submit a form when an
>enter is hit under certain circumstances. I believe this will lead to
>the form being submitted without an
On Tue, 2002-02-19 at 15:12, Aaron Held wrote:
> The question is then how do I define a default submit button?
> I'm looking through the code, but I can't seem to find the option.
>
> Is there one now?
No, it's not implemented -- I was just saying what needs to be put in.
Ian
_
The question is then how do I define a default submit button?
I'm looking through the code, but I can't seem to find the option.
Is there one now?
Thanks,
-Aaron
Ian Bicking wrote:
>On Tue, 2002-02-19 at 14:24, Tim Roberts wrote:
>
>>Aaron Held wrote:
>>
I've take advantage of tying functi
Actually my problem is related to the way that FFK handles actions. I
have a form with four submit buttons, each with different values and
each is tied to a different method. The problem is that if NONE of the
buttons are pressed then FFK never calls any of the four methods.
It is a search fo
On Tuesday 19 February 2002 12:39, John Smith wrote:
> Hello,
>
> If a user specifies __init__ as the servlet in a
> context which has a __init__.py, an exception is
> raised (since there is no class called __init__ in the
> file).
>
> What's the best way of avoiding this? Providing a
> __init__
On Tue, 2002-02-19 at 14:24, Tim Roberts wrote:
> Aaron Held wrote:
> >> I've take advantage of tying functions to different submit buttons on a
> >> form, but is there any way to set a 'default' action that will fire if
> >> the user submits the form via the enter key rather then clicking the
Hello,
If a user specifies __init__ as the servlet in a
context which has a __init__.py, an exception is
raised (since there is no class called __init__ in the
file).
What's the best way of avoiding this? Providing a
__init__ class that displays an error message?
Modifying the source not to se
I was browsing the code and wondering if it would be wise to stick a the
value that my default button would send into the request and then
manually call FormServlet._processform.
I'll try to try it and get back to you,
Thanks,
-Aaron
Ian Bicking wrote:
>I should have added: there should be,
Aaron Held wrote:
>> I've take advantage of tying functions to different submit buttons on a
>> form, but is there any way to set a 'default' action that will fire if
>> the user submits the form via the enter key rather then clicking the
>> correct button?
>>
>> I can setup a javascript handl
Hello,
I'm trying to understand the mechanism of password
secured pages as implemented in the SecurePage.py
example (Webware 0.6.1b1).
The purpose of the `loginid' field in these pages is not
clear. Is it to provide some kind of extra security?
Or does the basic functionality itself depend on
On Tuesday 19 February 2002 10:37 am, Titus Brown wrote:
> Incidentally, for the PyWX out-of-process adapter I wouldn't have to
> change a single piece of code, were CGIAdapter a bit more flexible
> about accepting in/out arguments (rather than assuming
> sys.stdin/sys.stdout). Would you mind if
Unfortunately, if you use mod_rewrite these standard mechanisms won't
work -- you'll have to undo the rewrite rules in your Python code, which
is rather awkward.
On Tue, 2002-02-19 at 08:03, Geoffrey Talvola wrote:
> On Tuesday February 19, 2002 06:18 am, Edmund Lian wrote:
> > A quick question..
-> > I spent some time today bashing on a rewrite of the PyWX adapter for
-> > Webware (which none of you have ever seen, anyway ;). I have some
-> > questions for y'all.
-> >
-> > Some background: PyWX is an embedding of Python in AOLserver, a
-> > high-performance multi-threaded Web server. Th
On Tuesday 19 February 2002 06:03 am, Geoffrey Talvola wrote:
> On Tuesday February 19, 2002 06:18 am, Edmund Lian wrote:
> > A quick question... What's the easiest way to get the absolute path
> > to the root of the current context? I have a servlet that
> > subclasses just Page, and the serverSi
I should have added: there should be, but I don't have time to add it
right now, and might not for a while. When I get the chance I'll add
this, as well as a number of the structural changes to
FunFormKit.Form.Form that were suggested.
On Tue, 2002-02-19 at 11:58, Ian Bicking wrote:
> No, there
No, there isn't. There should be.
On Tue, 2002-02-19 at 10:33, Aaron Held wrote:
> I've take advantage of tying functions to different submit buttons on a
> form, but is there any way to set a 'default' action that will fire if
> the user submits the form via the enter key rather then clicking
I've take advantage of tying functions to different submit buttons on a
form, but is there any way to set a 'default' action that will fire if
the user submits the form via the enter key rather then clicking the
correct button?
I can setup a javascript handler to intercept the enter key, but i
Edmund Lian wrote:
> Geoff wrote:
>
> >>Love, Jay wrote:
> > You need to store the sessions in an SQL server.
> > I think there is an SQL sessionstore already written. If
> > not, it wouldn't
> > be difficult at all.
>
> You can run into trouble if 2 servlets are executing
> simultaneously. I
> I had heard at one point that there are load balancers that can keep
> redirecting to the same machine based on a cookie (eg, _SID_). But
> you'd have to investigate and you'd have to purchase one.
When we first started up they bought a hardware load balancer even
though I told them not as we d
On Monday February 18, 2002 08:43 pm, Edmund Lian wrote:
> Jay wrote:
> >>I guess I'm trying to find a balance between removing confusion for psp
>
> authors when there code doesn't work as expected. They'll be confused if
> their if/else blocks don't work because they've got a space or return
>
On Tuesday February 19, 2002 06:18 am, Edmund Lian wrote:
> A quick question... What's the easiest way to get the absolute path to the
> root of the current context? I have a servlet that subclasses just Page,
> and the serverSideContextPath method in HTTPRequest isn't available to me.
> Actually,
On Tuesday February 19, 2002 01:38 am, Chuck Esterbrook wrote:
> I had heard at one point that there are load balancers that can keep
> redirecting to the same machine based on a cookie (eg, _SID_). But
> you'd have to investigate and you'd have to purchase one.
>
> On a whim, I searched Google fo
A quick question... What's the easiest way to get the absolute path to the
root of the current context? I have a servlet that subclasses just Page,
and the serverSideContextPath method in HTTPRequest isn't available to me.
Actually, I'd like to get come clarification about the relationship between
32 matches
Mail list logo