Hello Ryan, Thanks a lot for your feedback.
Adding this._buildCache(); line 238 resolves the issue. I'm not involved in Exhibit development yet (so don't have a devlopment environement set). > Could you commit this change please ? The wiki page that I mentionned in my previous E-mail will be correct then. THanks again for your time, Have a good day, Brice 2012/1/24 Ryan Lee <[email protected]> > Hi Brice, > > The hierarchical facet was considered beta on its release and has some > bugs. In this case, there should be a check for whether something is > undefined, but there isn't. There aren't any plans for putting a fix in > for Exhibit 2. > > For what it's worth, line 238 in > > http://api.simile-widgets.org/exhibit/2.2.0/scripts/ui/facets/hierarchical-facet.js > should check if this._cache has been defined yet. This may not be the > only issue, but what's left to do is not something I can immediately > identify. > > On 2012-01-20 06:33 , Brice Sommacal wrote: > > Hello, > > > > I can see on [1] that ex:selection is available for hierarchical facets. > > > > However when I want to use it in my exhibit web page, the data are not > > loaded. > > > > I use Exhibit 2.2.0 hosted on a dedicated server. > > > >> Could you please advice me how to pre-filtered a value in a hierarchical > > facet? > > > > <div ex:role="facet" > > ex:facetLabel="Postes Ouverts" > > ex:expression=".postesouverts" > > ex:facetClass="Exhibit.HierarchicalFacet" > > ex:uniformGrouping=".subtopicOf" > > ex:scroll="true" > > ex:selection="Canada" > > ></div> > > > > The website is: > http://dev-rh.pco-innovation.com/fr/opportunites/nos-offres > > When I click on North America image, I would like to access data marked > as > > "Canada". > > > > Regards, > > > > > > Brice > > > > [1] > http://simile-widgets.org/wiki/Exhibit/API/2.2.0/Facet_HTML_Attributes > > > > -- > 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. > > -- 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.
