action="?" seems to be the right solution.
$m->request_comp->path in a dhandler shows the dhandler name (usually
'dhandler') in the URL- it works, but shouldn't be going out, and might
mess it up if you're using $m->dhandler_arg
$r->uri includes the path of my handler, not the request.
Thanks to everyone who responded
RJ
Brian Phillips wrote:
I've not done exhaustive testing to make sure it works on all
browsers, but often, I will use action="?" which seems to use the
current URI without any GET params. It's a bit shorter than what's
already been suggested but otherwise, it accomplishes the exact same
thing.
On 5/17/06, *Michael Burns* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Howdy,
On 13-May-06, at 1:56 AM, Marius Feraru wrote:
RJ Herrick wrote:
Most of my forms are self referential, so whatever URL they get
invoked
with is used for the action.
Replace form action with $m->request_comp->path
I second that -- works like a charm.
Or, if your request_comp->path doesn't really correspond to your
current browser URL (subrequest, subexec, etc.), you could also
try replacing form action with $r->uri
-Michael
_______________________________________________________
*Michael Burns*
*Cosbit Technologies*
403-701-2672 / [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
AIM: cmikeburns
MSN: cmikeburns
_______________________________________________________
Box 2173, Station M • Calgary, Alberta, Canada • T2P 2M4
http://cosbit.com
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users