Hi David,
thanks for the reply. i'm not too fussed about duplicating data at
the moment, so your first suggestion is a good one. once we get to a
production system for our exhibit'd data, then we will consider using
version 2... unless there are features in version 2 which may be
useful to us now... ;)
unfortunately, due to the security sensitive nature of the data we
are presenting, we can not provide you a url of our exhibit. :(
One feature of exhibit that i do like is the popup lenses that work
on the thumbnail views. is there a way i can make this work on the
Tabular view? ie if we click on a particular cell, then it will bring
up a bubble of other data. i've tried just copy and pasting the
relevant code into the Exhibit.TabularView for a ex:role="exhibit-
lens", but it doesn't work :(
also i'm not completely sure of the syntax of the lens reference:
does the <span ex:content="value".> always create a link to the popup
of the definition <div ex:role="exhibit-lens">? what if i want more
than one type of popup on the same page?
any advice would be much appreciated!
Yee.
On 7 Jul 2007, at 08:53, David Huynh wrote:
> Yee-Ting Li wrote:
>> hi, thanks for creating the exhibit javascript framework, it has been
>> very helpful in getting my network monitoring web pages up and
>> working :)
>>
>> i have a problem with how i represent the data i have: in order to
>> represent whether something is working okay or not, i use a graphic
>> representing the status of a row of data (eg green for ok, red for
>> bad etc). the issue is that i would sometimes like to be able to
>> filter by the 'graphical' column to quickly see problems. as such i
>> include them in the list of facets which are exposed on the webpage.
>>
>> i use the Exhibit.TabularView to present the data.
>>
>> the issu eis that if i specify the columnFormat for this as image
>> column, then the facets show the image url rather than something
>> meaningful (like ok, error etc). if i use specify it as list and have
>> the <img src=.../> tag as part of the text, then the whole text shows
>> up in the facet view (but the graphic does still nicely show up in
>> the table).
>>
> Right now what you want to do is not possible unless you use two
> different fields, e.g.,
>
> status: "ok",
> statusImage: "/images/ok.gif",
>
> That's duplicating data and is bad, I know. In version 2.0 (not yet
> released), you will be able to do something like this:
>
> ex:columns="..., concat('/images/', .status, '.gif'), ..."
> ex:columnFormats="..., image, ..."
>
> If you want to try out 2.0 then send me a private email and I'll
> guide you.
>
>> in both cases, i would also like to use a tooltip (img alt) to allow
>> a hover over the image to be able to determine what i would like to
>> be shown on the facet view for this column (rather than the img src
>> or element's contents), and i would like to have the facet view as
>> something user definable rather than the img tag or address.
>>
> I'm not clear what you want here...
>
> It would be good to send a URL to your exhibit so I can see what you
> mean. Or at least attach the HTML and JSON files.
>
> David
>
> _______________________________________________
> General mailing list
> [email protected]
> http://simile.mit.edu/mailman/listinfo/general
_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general