Mark,
Could you try
<div ex:role="collection" id="the-services"
ex:itemTypes="Service"></div>
<div ex:role="collection" id="the-servers"
ex:baseCollectionID="the-services" ex:expression=".svrid"></div>
<div ex:role="collection" id="the-environments"
ex:baseCollectionID="the-services" ex:expression=".envid"></div>
Note that it seems that both servers and environments are connected to
services. Originally, I thought that servers are connected to services,
and environments are connected to servers.
David
mleden wrote:
> Hi David,
>
> I've created a publicly available "mirror" of the site. You can see
> the page at:
> http://www.logixware.com/html/environments.html
>
> Click on the Test tab pane, and you'll see the functionality/code to
> which I'm referring.
>
> As usual, always appreciate any help or suggestions that you can
> provide.
>
> -Mark
>
>
>
> On Apr 7, 9:36 pm, David Huynh <[email protected]> wrote:
>
>> mledenwrote:
>>
>>> Thanks again David. I tried to implement your suggestion as follows:
>>>
>>> -------------- Begin Snip -----------------------
>>> <div>
>>> <div ex:role="collection" id="the-services"
>>> ex:itemTypes="Service"></div>
>>> <div ex:role="collection" id="the-servers"
>>> ex:baseCollectionID="the-
>>> services" ex:expression=".server"></div>
>>> <div ex:role="collection" id="the-environments"
>>> ex:baseCollectionID="the-servers" ex:expression=".env"></div>
>>>
>>> <div
>>> ex:role="view"
>>> ex:collectionID="the-environments">
>>> <!-- Begin Lens Template -->
>>> <div ex:role="lens"
>>> ex:itemTypes="Environment" style="display:
>>> none;">
>>> <div>
>>> <div>Env: <span
>>> ex:content=".label"></span></div>
>>> <span
>>> ex:content=".sid"></span>
>>>
>>> </div>
>>> <ul ex:content="!env">
>>> <li>
>>> <div>Server: <span
>>> ex:content=".label"></span></div>
>>>
>>> <ul ex:content="!server">
>>> <li>
>>> <div>Service: <span
>>> ex:content=".label"></
>>> span></div>
>>>
>>> </li>
>>> </ul>
>>> </li>
>>> </ul>
>>> </div>
>>> <!-- End Lens Template -->
>>> </div>
>>> </div>
>>> -------------- End Snip -----------------------
>>>
>>> However, all I'm seeing is Exhibit's "sorted by header". I also tried
>>> commenting out the entire Lens Template definition. Same thing.
>>> Interestingly the "then by" list of values in the "sorted by header"
>>> includes "fields" from each of my tables. So it does seem like a
>>> "join" is happening. Sorry for not being able to point you to an URL
>>> but it's all inside the corporate firewall. Do you see any obvious
>>> goofs in the above?
>>>
>> No, I'm not seeing anything obvious. I presume those properties "env",
>> "server" exist in your data... What you can do is make an exhibit with
>> dummy data and post it here (html + json files).
>>
>> David- Hide quoted text -
>>
>> - Show quoted text -
>>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---