What is a "normal field" as opposed to a "text field"? What HTML tag do you hope to end up with?
Are you trying to set the values in the field or the name of the field? You say both and I only see you setting the name.
Mixing
Struts tags and JavaScript will be problematic as
JSP tags are processed on the server and JavaScript is processed by the client.