I was looking to use a date-range slider facet in Exhibit.  I know 
date-range() returns a numeric value, and the slider facet requires a 
numeric input.  However, I tried the following that didn't work:

<div ex:role="facet" ex:expression="date-range(.startDate, now(), 
'day')" ex:facetClass="Slider" ex:horizontal="false" ex:precision="7" 
ex:facetLabel="Time Ago"></div>

Error Message:
Details: TypeError: E is Null

It's not hard to turn this into a list facet. Or even write a function 
that converts the output of date-range into some summary value, e.g., if 
(startDate - now() < 31, then return "New" else return "Old")


But I do like the slider UI.  Any ideas how we can create a slider date 
range facet without developing a new widget?   Can the slider facet runs 
off of dynamically generated data?

- John

**************************************************
John Callahan
Geospatial Application Developer
Delaware Geological Survey, University of Delaware
227 Academy St, Newark DE 19716-7501
Tel: (302) 831-3584  Email: [email protected]
http://www.dgs.udel.edu
************************************************** 


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