Hi Mark,

Try changing sid in the first item to just id. "id" is a special 
property that uniquely identifies an item within the exhibit. You can't 
use any other property to identify items.

The data model is similar to the web document model in which each web 
page has a URL, and then other web pages link to it by specifying its 
URL. In the same way, each item has an "id" and other items link to it 
by specifying its id.

This is how your data should look like

        {
                type:"Environment",
                id:"PRODWDCF",
                label:"Classic Production",
                envlocation:"PSC",
        },
        {
                type:"Service",
                envid:"PRODWDCF",
                id:"ace2050.central",
                label:"SOLARIS",
                svcversion:"8 117350-54",
                svcupdate:"08/09/2008",
        },
        {
                type:"Service",
                envid:"PRODWDCF",
                id:"wdprod-be1.central",
                label:"OA FRAMEWORK",
                svcversion:"11.5.10.6RUP + PATCH 6841295",
                svcupdate:"08/02/2008",
                svcurl:"http://oraclecfgsvcbe.central.sun.com:9200/";,
        },


Then if you're showing a table of environments, to show services, use 
the expression

    !envid

David

mleden wrote:
> Hi,
>
> Very impressed with the Exhibit (and Timeline) functionality.  Was
> quickly able to pull a couple of simple mock-ups together.  However,
> trying to take it to the next level, I'm hitting a roadblock.  Maybe
> I'm too steeped in RDBMS/SQL mindset :-)
> What I'm trying to do is represent basic one-to-many data in an
> Exhibit.  My example is "Server Environments" (think Production, Test,
> Development, etc) and "Services" (think DB Instance A, DB Instace B,
> Test Framework, Code Repository, etc).  Some of the services have URLs
> and some don't.
> What I want to do is present the "Server Environments" (filterable and
> sortable as Exhibit does so well) but include (think indented) the
> "Services" and URLs (where appropriate).
> I can get the "standard" Tabular view to display the list of "Server
> Environments" with "Services" (aka,"child records") using the dot-
> notation.  However, that's very limiting since it simply concatenates
> them.  Once I try to get "fancy with the formatting", all hell breaks
> loose.  Given the capabilities of the tool, I'd be very surprised if
> I'm trying to do something it can't.
> Perhaps I have the wrong mental model for the JSON file?  (A couple of
> snippets below.)
>       {
>               type:"Environment",
>               sid:"PRODWDCF",
>               label:"Classic Production",
>               envlocation:"PSC",
>       },
>       {
>               type:"Service",
>               envid:"PRODWDCF",
>               svrid:"ace2050.central",
>               label:"SOLARIS",
>               svcversion:"8 117350-54",
>               svcupdate:"08/09/2008",
>       },
>       {
>               type:"Service",
>               envid:"PRODWDCF",
>               svrid:"wdprod-be1.central",
>               label:"OA FRAMEWORK",
>               svcversion:"11.5.10.6RUP + PATCH 6841295",
>               svcupdate:"08/02/2008",
>               svcurl:"http://oraclecfgsvcbe.central.sun.com:9200/";,
>       },
> Perhaps I'm not understanding the way Exhibit does "joins"?
> Using the above, I tried things like:
> .sid!envid.svcurl
> but I was getting what appeared to be some sort of cartesian product
> with other URLs that weren't children of this environment.
>
> BTW, I've looked at all the online help, and I'm still not getting it.
>
> Suggestions would be much appreciated!
>
> Thx,
> - Mark
>
> >
>   


--~--~---------~--~----~------------~-------~--~----~
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