xPages getValue

I have a custom control with a view embedded on it. The view shows searchresults with the parameter: context.getUrlParameter(“searchValue”).

This works all fine but I would like to use the generated values in other functions. If using the view values I get the whole view and not only the search results.

I have made an editbox to save the values from the viewcolumn. I bind the data using javascript: var arr = getComponent(“viewColumn1”).getValue();

@Explode(arr, “,”)

But even if I have 10 search hits I only get one value. Get the same result with this code:

getComponent(“viewColumn1”).getValue();

Greatful for any suggestions that could point me in right direction.