Hello,

I have a jsp page presenting a lot of select non multiple boxes (the number
of select tags is set dynamically in my page). Rather than using different
accessors for each select, I would like to be able to collect all data
(actually just strings) from the different select in a String[]. I was
thinking of naming the different select tags with the same name (let's say
data) and set in the Action form accessors that would manage String[] :
String[] getData() and setData(String[])
The point is if I want to use accessors, managing String[] instead of
String, with select tags, I must set multiple attribute to true in my
select tags. And I don't want because users will have to choose only one
value in each select box...

How can I do ?

Regards

Bruno




This message and any attachments (the "message") is
intended solely for the addressees and is confidential. 
If you receive this message in error, please delete it and 
immediately notify the sender. Any use not in accord with 
its purpose, any dissemination or disclosure, either whole 
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message. 
BNP PARIBAS (and its subsidiaries) shall (will) not 
therefore be liable for the message if modified. 

                ---------------------------------------------

Ce message et toutes les pieces jointes (ci-apres le 
"message") sont etablis a l'intention exclusive de ses 
destinataires et sont confidentiels. Si vous recevez ce 
message par erreur, merci de le detruire et d'en avertir 
immediatement l'expediteur. Toute utilisation de ce 
message non conforme a sa destination, toute diffusion 
ou toute publication, totale ou partielle, est interdite, sauf 
autorisation expresse. L'internet ne permettant pas 
d'assurer l'integrite de ce message, BNP PARIBAS (et ses
filiales) decline(nt) toute responsabilite au titre de ce 
message, dans l'hypothese ou il aurait ete modifie.

Reply via email to