Section stack section

Hi,

I have section stack sections which contain dynamic forms. I need to get the values the user has entered on the form fields. How do I get at those values? I don’t see any methods exposed on the SectionStackSection to get them.

Thanks.

Why don’t you get the values from the DynamicForm itself?

That doesn’t really make sense.. in order to add a form to section.items, at that point you have a reference to the form. That’s the reference that you should call getValues() et al on.

Perhaps what you’re missing is that you should store the form somewhere convenient, such as a field on the class that is creating a SectionStack.

This is all plain vanilla OO programming in Java - just think in terms of what you might do in Swing and the solution should be obvious.