Re: Dynamically generating multiple sets of radio buttons

2018-02-25 Thread Dave Weis
I'm trying to make a form that can contain an arbitrary number of attribute choices. Think of a tshirt with color and size. I have a Product that contains Variations (size, color) that contain VariationItems (blue, XL). The variation can be either a dropdown or a radio button set. we have

Re: Dynamically generating multiple sets of radio buttons

2018-02-25 Thread Dave Newton
It’s not entirely clear to me what you’re asking. `getItemList` will return whatever it returns—if the logic for what should return lies in the view layer then it’s an architectural problem. If you need to return two lists then you should have two list getters. If the view layer *presentation*