Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I perform results page highlighting with the VView API?

0
Posted

How can I perform results page highlighting with the VView API?

0

To perform results page highlighting with VView, there are several things that will need to be prepared before this feature can be implemented. • You will need to have a collection created using the HTTP gateway. This collection is needed to invoke the HTTP gateway in VView.getDocument(). • You will need to create a results page that will be passed to VView that will display the results with highlight. • Create a servlet that calls VView that will pass the parameters from the search page to the results page. This new URL will be the k2dockey that will be passed as the k2dockey. You can use the snippets of code from the function called “viewWithViewingServer” from k2\samples\web\ templates\jsp\WEB-INF\classes\examples\modules\vview.java for reference to help write a servlet. The string variable, “m_strK2DocKey”, will contain the URL path to the results page, search parameters passed from search page, and the collAlias of the HTTP gateway collection created in step 1. ie. m_strK2DocKey =

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123