In Struts 2, if my Action class has a variable named "fred" and a getter "getFred()", a <s:textfield name="fred" /> will call that getter to retrieve the value from the action.

Is there some kind of catch-all or generic method that is called to retrieve the value for a form field if there is no specific getter? For example, I might have
<s:textfield name="fred1" />
<s:textfield name="fred2" />
...
<s:textfield name="fred100" />

I don't want to code a specific getter for each one.

I thought I saw some documentation on the sequence of methods that are attempted, but can't find it now.

Mitch

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

Reply via email to