hi all,
i have a simple form like this:
<h:form styleClass="form" id="registrationForm">
<table>
<tr>
<td>Lastname:</td>
<td><h:inputText id="lastname" value=""></h:inputText></td>
</tr>
<tr>
<td>Firstname:</td>
<td><h:inputText id="firstname" value=""></h:inputText></td>
</tr>
<tr>
<td>Username:</td>
<td><h:inputText id="username" value=""></h:inputText></td>
</tr>
<tr>
<td>E-Mail:</td>
<td><h:inputText id="email" value=""></h:inputText></td>
</tr>
<tr>
<td><br>
</td>
<td></td>
</tr>
<tr>
<td>Password:</td>
<td><h:inputSecret id="password1" styleClass="inputSecret" value=""></h:inputSecret></td>
</tr>
<tr>
<td>Confirm Password:</td>
<td><h:inputSecret id="" styleClass="inputSecret" value="test3t2"></h:inputSecret></td>
</tr>
</table>
<br>
<hx:commandExButton value="Submit"
action="#{pc_Register.doRegistration}" styleClass="commandExButton"
id="button1"></hx:commandExButton>
<br>
</h:form>
now how can i get this data in my doRegistration() method?
when i do something like this
this.getRequestParam().values().toArray();
i get an array with all my data, but i'm sure there's a way to get a specific value, for example the username by something like getRequestParam().getParam('username'); or something similar.
thanks for any help!