Hello Stephan,
actually there is a mechanism (applied when using the Router) which
extract parameters from query, cookies and entity into the request's
list of attributes.
As reported by Justin this mechanism seems buggy and does not extract
"select" values.
I wanted to say that we are solving the problem and that we let Dustin
free to choose one method or the other.
best regards,
Thierry Boileau
On Tue, Mar 11, 2008 at 9:21 PM, Stephan Koops <[EMAIL PROTECTED]> wrote:
> Hello Thierry,
>
> I think request.getEntityAsForm() is THE solution. Why only use it as
> workaround? What are I missing?
>
> best regards
> Stephan
>
> Thierry Boileau schrieb:
>
>
> > Hello Dustin,
> >
> > your web form is in fact the entity of the POST request sent to the
> > server, thus you have access to it via request.getEntity().
> > There is a shortcut which allows to have a list of all input fields :
> >
> > Form form = request.getEntityAsForm();
> > for (Parameter parameter : form) {
> > System.out.print("parameter " + parameter.getName());
> > System.out.println("/" + parameter.getValue());
> > }
> >
> > You can use it as workaround (or simply as a solution) before we fix
> > the problem you point to.
> >
> > best regards,
> > Thierry Boileau
>