now i'm trying to get for example the username like this:
this.getFacesContext().getExternalContext().getRequestParameterMap().get("registration:scriptCollector1:form:username"); i just get null.
with this call i get an array with all the parameters from the form. this.getFacesContext().getExternalContext().getRequestParameterMap().values().toArray(); [ January 17, 2008: Message edited by: Chrigi Pfister ]
I hope there was a good reason for all this. If you'd just mapped the properties of a backing bean to the form, the'y be pushed into the bean via its property setters automatically and you wouldn't have had to code arcane JSF service calls. Or, for that matter, any calls at all.
Customer surveys are for companies who didn't pay proper attention to begin with.
Joined: Jan 17, 2008
no, there was no good reason ;-)
i was not aware of the possibilities with JSF, now i know better.