It's List<String>. I got some help and it might be because the combobox does an ajax call which is getting deferred and losing state, forcing it back to the default List. I'm going to try to clean that up since it's not necessary to have. Hopefully, that'll take care of it.

Howard Lewis Ship wrote:
So in your output you see each of the messages, but they don't end up
passed to the YuiComboBox?

What is the type of parameter options of YuiComboBox?

On Tue, Feb 10, 2009 at 5:38 PM, Amy Arambulo
<aaramb...@citizensportsinc.com> wrote:
I'm at a loss.

I have a string list that gets sent to the tml file.

public List<String> getMessages() {
  return stringMap.get( concession );
}


My markup is below.

          <t:loop source="concessions" value="concession">
              <t:loop source="messages" value="message">
                  ${message}
              </t:loop>
              <t:yui.YuiComboBox options="messages" />
              </div>                           </t:loop>

The loop for message that iterates through the String list will iterate
through the proper strings. However, when the same list is passed into
another component, it will only send the default String list (as concession
is read as null). If this same component is used outside a loop, it works
properly. I couldn't find anything specific to this sort of
components-in-loops weirdness. Any help?

Amy

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






Reply via email to