struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Carr" <james.r.c...@gmail.com>
Subject Anyway to have associative form properties?
Date Mon, 30 Jul 2007 18:29:40 GMT
Hey all,

In php, I used to have complex forms in some of my applications
associated to something, like this:

<input type="text" name="employees[james][address]"/>

Which, when posted, mapped to:
$_POST['employees']['james']['address']

essentially, I'd have an employees hashMap with all of the employee
names submitted, which contained information about that employee...
kind of an ad hoc object graph.

How can I do something similar in struts?

Thanks,
James

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message