On 6/4/07, Anthony Ettinger <[EMAIL PROTECTED]> wrote:
> I want to flag a menu item as active based on the URL.
>
> Does anyone know how I access the value of the current url? ie
> "/page/foo.html"

I use this:

my $uri = $m->request_comp->path;

Regards,
Hao

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to