Re: getParameter(name) problem

Jacob Kjome <[email protected]>
Newsgroups gmane.comp.java.enhydra.barracuda.general
Message-ID <[email protected]>
Hi Jancsi,

Thanks for the patch!  It has been applied in the latest CVS.

Jake

At 12:37 PM 8/28/2003 +0300, you wrote:
>I have found the problem, it was in
>org.enhydra.barracuda.core.helper.servlet.HttpServletRequestWrapper
>
>The modified (for barracuda 1.2.0) file is attached.
>
>         Jancsi
>
>On Thu, 2003-08-28 at 11:43, Jancsi A. Farkas(fx) wrote:
> >
> > There was an issue some time ago with getParam(), not returning the
> > right values. As far as I know, this one was fixed, however I still have
> > some problems.
> >
> > For example, it does not make difference between "id" and "component_id"
> >
> > public Object getItem(String key)
> > {
> >             ViewContext vc = getViewContext();
> >             .....
> >
> >             // this will return 466, which is wrong, as it is not "id",
> > it just
> > ends with "id"
> >             String s = vc.getRequest().getParameter("id");
> >
> >             // this will also return 466, which is ok
> >             String s = vc.getRequest().getParameter("component_id");
> > }
> >
> > the url used to call this event is someEvent.event?component_id=466.
> > Does anybody have some clue about what is happenning?
> >
> > Thank you
> >
> >         jancsi
> >
> >
> >
> > _______________________________________________
> > Barracuda mailing list
> > [email protected]
> > http://barracudamvc.org/lists/listinfo/barracuda
> >
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.