I think you are misunderstanding as follows. ex:separator does not describe how one parses _input_ from the json file. rather, it describes how content is _output_ when the exhibit is rendered. It says what glues together multiple values being output. To define an item with three distinct values tag1, tag2 and tag3 for your tags you must use the syntax
{type: "Item",
 your_tags: ["tag1","tag2","tag3"]
}
which cannot be changed. However if you modify ex:separator to be "/" then the output will be
your_tags: tag1/tag2/tag3


On 10/6/2011 6:53 PM, TomC wrote:
Colleagues,

I'm having trouble making the list separators work in my Exhibit.

 From my json file:
...
"type" :                    "Item",
"your_tags" :            "Roberson,Order",
"type" :                    "Item",
"your_tags" :            "Addendum, Order",
...

I would expect this html:
...
                        <div ex:role="facet" ex:expression=".your_tags" 
ex:separator=","
ex:facetLabel="Suggested for/by:"</div>
...

to render the 'Suggested by/for' facet as something like this:

1              Roberson
2              Order
1              Addendum

but instead, I'm getting:

1             Roberson, Order
1             Addendum, Order

Am I misunderstanding something about how this is supposed to work?

Thanks for any help and for a great product.

TC


--
You received this message because you are subscribed to the Google Groups "SIMILE 
Widgets" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/simile-widgets?hl=en.

Reply via email to