You can grab the the parameters directly from the request
@Inject
Request _request;
_request.getParameter("fieldName");
You'll have to deal with the potential for strange values, null, etc.
Although, if this is for your selection list problem from earlier I believe
a better solution might be to create a map and use that as the model for
your the t:select component.
Create a property:
private HashMap<String, String> _schoolModel;
private String _schoolId;
in setup render:
for ( School school : getSchools() ) {
String value = school.getName() + " - " + school.getLocation();
String key = school.getId().toString();
_schoolModel.put(key, value);
}
in your template:
School: <t:select t:id="schoolId" t:model="schoolModel"/>
I haven't compiled this code, so there might be typos/bugs, but that's the
gist.
Josh
On 10/12/07, Jean-Philippe Steinmetz <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> So I have a form that has several elements. A few of the elements are not
> done using the tapestry components and use regular HTML because the
> required
> steps to make things work as needed with the components is simply not a
> suitable solution. So how do I get these regular form elements to save
> properly?
>
> Jean-Philippe
>
--
--
TheDailyTube.com. Sign up and get the best new videos on the internet
delivered fresh to your inbox.