##this does not save real detail values. It only sets collectionid #set( $searcher = $mediaarchive.getSearcher("librarycollection") )
#set( $ldetail = $searcher.getDetail("library") ) $childcontext.putPageValue("detail", $ldetail) $pages.include("$apphome/components/xml/types/autocomplete.html",$context) #set( $namedetail = $searcher.getDetail("name") ) $childcontext.putPageValue("detail", $namedetail) $pages.include("$apphome/components/xml/types/autocomplete.html",$context)
#if( $term) #set( $library = $searcherManager.getData($catalogid,"library",$term.getValue() ) ) #end #if($library) $childcontext.putPageValue("val", $library.project) $childcontext.putPageValue("value", $library.project) #end $childcontext.putPageValue("detail", $ldetail) $pages.include("$apphome/components/xml/types/autocomplete.html",$context) ##now put the autocomplete field in #set( $ldetail = $mediaarchive.getSearcher("librarycollection").getDetail("library") ) $childcontext.putPageValue("detail", $ldetail) $pages.include("$apphome/components/xml/types/autocomplete.html",$context)
#set( $searcher = $mediaarchive.getSearcher("librarycollection") ) $context.putPageValue("searcher",$searcher) #set ($details = $searcher.getDetailsForView("librarycollection/librarysearchcollection", $userprofile)) ##
## #foreach( $detail in $details) #end
$context.putPageValue("detail", $detail) $pages.include("/${applicationid}/components/advancedsearch/detaileditinline.html", $context)