[Hippo-cms7-user] Retrieving Facet "params" in a composant

rmtl rguyonnet at alogient.com
Thu Jun 21 19:36:32 CEST 2012


Hi, 

Let s say I have a component wich use a facet and that component is
reachable at the following url

http://localhost:8080/site/byDate/Next+6+months/byAge/35

In my component, I need to have to retrieve the "parameters" and value  .
for example
Param1.name=   byDate
Param1.value=   Next+6+months
Param2.name=   byAge
Param2.value=   35

at the moment , i need to parse the facet path 
facetPath = facetBean.getPath();
Splitter.on("/").split(facetPath); ....


I have been looking in docs and forums but i didnt found a snippet or
something i can use .

Thanks 
Romuald 

--
View this message in context: http://hippo.2275632.n2.nabble.com/Retrieving-Facet-params-in-a-composant-tp7578573.html
Sent from the Hippo CMS 7 mailing list archive at Nabble.com.



More information about the Hippo-cms7-user mailing list