That was it! It's now putting key-value pairs in the map obtained by
getVariation and they appear when I get to the execute method.
08:19:35.682 ERROR CartAction - getVariation was called
08:19:35.698 ERROR CartAction - getVariation was called
08:19:36.086 DEBUG CartAction - cart action execute
On 2/27/2018 4:37 PM, Dave Weis wrote:
> value="1500"/>HOTTER
> public void setVariation(HashMap variationItem){
>
> logger.error("setVariation was called with variations");
>
> for (Map.Entry entry : variationItem.entrySet()) {
> String
I've distilled my issue down a bit. Now I can't get my indexed setters to
be called with the values from the page.
This is in my HTML created with the radio tag:
HOT
HOTTER
Small
Medium
Large
My setter in the destination action is:
public void setVariation(HashMap
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
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*
Hello
I am trying to make multiple sets of radio buttons with independent lists
of valid options. The options are all generated dynamically.
I'm having trouble figuring out how to declare the item list provider in my
java code. I have it working fine for a single item. With the sample below
I
6 matches
Mail list logo