protected void addValues(String id, List state, Map values, String prefix) {
final Iterator iter = values.entrySet().iterator();
while ( iter.hasNext() ) {
final Map.Entry entry = (Map.Entry)iter.next();
final String path = prefix + entry.getKey();
LayoutEventDescription led = new LayoutEventDescription();
led.path = path;
led.layoutId = id;
led.data = entry.getValue();
state.add(led);
}