You should change those buttons to be like:

<input type="submit" name="_action_new" value="New">

i.e., name it _action_methodToBeCalled (that's the new-style actions).

On Thu, 2002-12-12 at 12:10, Tim Roberts wrote:
> OK, now I'd like to post yet another question that shows I haven't been paying 
> attention.
> 
> We now have a config switch ('OldStyleActions') to choose between two different 
> behaviors for _action_ handling.  I figured, what the heck, I'm a modern guy, 
> let's switch over.  I eliminated the second parameter from all my action 
> methods, and while most things work fine, some don't.
> 
> The difference, it turns out, is that the action handling no longer calls 
> methodNameForAction.  I have several submit buttons called _action_ where I 
> want the visible label to be capitalized, but the method name to be all lower 
> case, so methondNameForAction was a call to x.lower().
> 
> I presume this change was made because the _action_ labels can now come in in 
> several different formats, making case-insensitivity more complicated.  So, how 
> are people handling this?  Have you changed your method names to be mixed-case?
> 
> --
> - Tim Roberts, [EMAIL PROTECTED]
>   Providenza & Boekelheide, Inc.
> 
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:
> With Great Power, Comes Great Responsibility 
> Learn to use your power at OSDN's High Performance Computing Channel
> http://hpc.devchannel.org/
> _______________________________________________
> Webware-discuss mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/webware-discuss
-- 
Ian Bicking <[EMAIL PROTECTED]>


-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to