I am wondering if this is the correct way to handle the form generation.. in my action class that the form submits to, I have a variable, PageBean, that has a property Collection<State> stateSelections. Each State object has a selectionId property in it. I am having some difficulties in getting this to work, so wanted to make sure this is the right way.
Do you mean pre population? Are you doing this in struts 2 ?
ocjp 6 — Feeding a person with food is a great thing in this world. Feeding the same person by transferring the knowledge is far more better thing. The reason is the amount of satisfaction which we get through food is of only one minute or two. But the satisfaction which we can get through the knowledge is of life long.
Joined: Nov 14, 2011
If pre population is when the form submits and struts figures out the nested objects within the action class using reflection to set the form fields onto objects, then yes. Yes, this is using Struts 2.
You know, I am using annotations for all my actions and such.. and I can't seem to find a good reference or tutorial that shows how to mix and match the interceptor stack configuration with annotations. I never quite fully got the whole interceptor stack thing and how to make use of it.