Hello Dustin, ok, I've made simple tests but I was able to get "select" input values... Could you send some sample code in order to reproduce your case?
best regards, Thierry Boileau Here is an excerpt of the web page I've used for my tests : <form action="http://localhost:8182" method="POST" > <select name="selectField"><option value="a">a</option><option value="b">b</option><option value="c">c</option></select> <br><input type="text" name="textField"> <br><input type="text" name="textField"> <br> <input type="submit" > </form> > Skookum, thanks Thierry! > > What you're saying makes sense too as there is an inconsistency. > Textual input fields appear fine as request attributes, it seems just > the SELECT ones that don't. I'd prefer to just grab everything as > request attributes as it'd make things simpler, so many thanks! > > Will this solution be in 1.1 final? > > Thanks again, > Dustin > > > > > Thierry Boileau wrote: > > 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 > >> > >> > > -- > > > > > Dustin N. Jenkins | Tel/Tél: 250.363.3101 | [EMAIL PROTECTED] > > facsimile/télécopieur: (250) 363-0045 > > National Research Council Canada | 5071 West Saanich Rd, Victoria BC. > V9E 2E7 > > Conseil national de recherches Canada | 5071, ch. West Saanich, Victoria > (C.-B) V9E 2E7 > > Government of Canada | Gouvernement du Canada > >

