Should be able to add a method getParameterMap() (or whatever you wanna call
it) to your model as below:
public Map getParameterMap() {
//this.getRequest() will also have to be defined, but you probably want
it
//as private so that domify doesn't domify the whole thing
HttpServletRequest request = this.getRequest();
return request.getParameterMap();
}
domify should "domify" a Map just fine.
--jim
----- Original Message -----
From: "Charles N. Harvey III" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 25, 2002 5:08 PM
Subject: [Mav-user] accessing Request from domify
> Hello.
> I would like all the values in the HttpServletRequest to be placed in the
> <model> in domify. I can access all the request values if I am using
> velocity because the VelocityViewServlet already puts the request object
> in the context. $request.getServerRoot(), $request.getParameter('name').
>
> I think all I have to do is turn all the parts of the request object into
> a map and create a public method for get(ting) it. Has anybody else done
> this some other way?
>
> Thanks.
>
>
> Charlie
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Mav-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/mav-user
> Archives are available at http://www.mail-archive.com/
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Mav-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mav-user
Archives are available at http://www.mail-archive.com/