Hi everyone.

I need some help about lens configuration in Exhibit 3.

My items have a nested structure where the property "a"
contains an object with a property "b":
{ "items": [
   {
    "label":"toto",
    "type":"x",
    "a": {"b":"1"}
   }
  ]
}

I wish I could define my item thumbnail to be its .a.b value wrapped in a div.

Such HTML does not seem to work in that case:

<div data-ex-role="viewPanel">
<div data-ex-role="view"
     data-ex-view-class="Thumbnail"
     data-ex-show-all="true"
     data-ex-paginate="true"
>
<table data-ex-role="lens" class="itemThumbnail" style="display: none;">
<tr>
<td style="vertial-align:bottom" class="itemThumbnail-thumbnailContainer">
<div style="position: relative">
 <div data-ex-content=".a.b"/>
</div>
</td>
</tr>
</table>
</div>
</div>

I get nothing displayed in my view panel.

What kind of syntax must be used to display a nested valye inside a <div> ?

Any help is welcome!

PS: are there some Exhibit examples managing such nested data structures?

-- 
You received this message because you are subscribed to the Google Groups 
"SIMILE Widgets" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/simile-widgets.
For more options, visit https://groups.google.com/d/optout.

Reply via email to