Custom data-type classes, howto

2005-09-21 Thread David Delbecq
Hello, I'm seeking for help/documentation pointers on how to manage custom data-types in struts. Am wanting to know if it's possible to manage complex data-type (that is data-types which need more than one field to be displayed / filled) All this considering my form contains an array named

Re: Custom data-type classes, howto

2005-09-21 Thread Murray Collingwood
On reading this I initially thought you had an array of objects where each object was a group of objects such as a file, an int, a string etc. Then I wondered whether your array of objects was just that, the first object a file, the second object an int, the third object a string etc.

Re: Custom data-type classes, howto

2005-09-21 Thread David Delbecq
Sorry I was not clear. Am not asking how to display it in the JSP. This part is quite straightforward. What am wondering is how does struts manage the submission of form by user. If I take the simple example where parameter[0] is to be holder a String and parameter[1] to be the holder of a Person.

Re: Custom data-type classes, howto

2005-09-21 Thread Murray Collingwood
Hi David html forms can only support a limited number of types, textbox, textarea, radio, checkbox, selection box, and then some variations like password and file. As far as I am aware you can't pass a person object and expect Struts to work out the form...maybe there is some technology that