Hey :)

I did it with JS/Ajax, if you want to send the complete result from server
side, than I would solrJ (java API for Solr), and send the results to FTL or
groovy--> ftl. Than you can enumerate these results f.ex. with <list>-Tag in
ftl to show them on the page. The solrJ methods are really easy i.ex.:

/
    //open  the connection to solr
    CommonsHttpSolrServer solr = new
CommonsHttpSolrServer("http://localhost:8983/solr";);

    //set the query parameter set
    ModifiableSolrParams params = new ModifiableSolrParams();    
    params.set("q", "cat:electronics");
    params.set("defType", "edismax");
    params.set("start", "0");
    
    //send the query parameter
    QueryResponse response = solr.query(params);

    //get results
    SolrDocumentList results = response.getResults();

    //i.ex. print the results
    for (int i = 0; i < results.size(); ++i) {
      System.out.println(results.get(i));
    }/

Kindly



--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Form-Field-show-information-from-different-entities-tp4635391p4635879.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Reply via email to