struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christoph Nenning <Christoph.Nenn...@lex-com.net>
Subject question regarding dynamic number of form fields
Date Thu, 12 Sep 2013 10:01:16 GMT
Dear List,


we have some forms in our applications which contain a dynamic number of 
fields.

Therefore we have a map as action member and generate HTTP parameter names 
like this:

<input name="map['key']" ...


But that does not work when the key contains spaces:

<input name="map['key with spaces']" ...



I created a small sample application to illustrate that:
https://github.com/wolpi/struts2-samples/tree/master/mapparaspaces


Could you please have a look at this?


Regards,
Christoph

This Email was scanned by Sophos Anti Virus

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message