I'm using Elasticsearch, my first implementation involved processing a user 
request (verifying that there facet filters are valid) in the request chain and 
then sending a redirect short circuiting the request pipeline. Now here's the 
problem. I moved the processing into a component to make it more modular and 
way less fragile. The problem is the actual search/facet filter happens during 
the GET request and it is injected into the EventContext and when they hit the 
page the request result is assigned in the onActivate event. The problem is on 
the POST request the page components are still looking for those values  as if 
it was trying to render the template. I just did a workaround and made a 
NullSearchRequest value but it just seems like a hacky workaround and I keep 
having to check if a value is null for properties that are never called on  
that are never used in a POST request. Anyone know a good work around?

Sent from AOL Mobile Mail

Reply via email to