##Why is this here? Looks like a duplicate of types/table.html #set( $xmledithome = $context.getPageProperty("xmledithome")) #set( $searchtype = $context.getRequestParameter("searchtype")) ##jointable #set( $candelete = $context.getRequestParameter("candelete")) #set( $viewid = $context.getRequestParameter("viewid")) #set( $editpath = $context.getRequestParameter("editpath")) #set( $fieldexternalid = $context.getRequestParameter("fieldexternalid")) #set( $fieldexternalvalue = $context.getRequestParameter("fieldexternalvalue")) #set( $hitssessionid = $context.getRequestParameter("hitssessionid")) #set( $moduleid = $context.findValue("module") ) #set ($catalogId = $context.getRequestParameter("catalogid") ) #set( $joinsearcher = $searcherManager.getSearcher($catalogId, $searchtype)) #if(!$existingrecords) ##set ($existingrecords = $joinsearcher.fieldSearch($fieldexternalid,$fieldexternalvalue)) #set($query = $joinsearcher.createSearchQuery().append($fieldexternalid, $fieldexternalvalue) ) #set($sortby = $context.findValue("${searchtype}sortby")) #ifnull($sortby) #set($sortby = $context.findValue("sortby")) #end $!query.addSortBy($sortby) #set($existingrecords = $joinsearcher.search($query) ) #end #set ($id = $context.getRequestParameter("id")) #ifnull($details) #set( $viewdata = $mediaarchive.getCachedData("view",$viewid) ) #set ($details = $viewdata.getDetailsForView($context.getUserProfile())) #end #ifnull($details) #set ($details = $joinsearcher.getDetailsForView($viewid, $context.getUserProfile())) #end #ifnull($details) Error: No details for $viewid, $context.getUserProfile() #end #set( $passalong = $context.getRequestParameter("passalong")) #set( $passalongdec = $url_util.decode($passalong) ) #set( $passalong = $url_util.encode($passalongdec) ) #set( $args = "id=$id&module=$moduleid&hitssessionid=$hitssessionid&catalogid=$catalogId&searchtype=$searchtype&fieldexternalid=$fieldexternalid&fieldexternalvalue=$fieldexternalvalue&candelete=$!candelete&viewpath=$viewpath&viewid=$viewid&editpath=$editpath#if( $passalong )&$passalongdec&passalong=$passalong#end")
| $detail.text | #end #if($candelete && $candelete == true && $showdelete == "true")#end |
|---|---|
| #set( $val = "$!hit.get($detail.id)" ) #set( $values = false ) #set( $values = $hit.getValues($detail.id) ) #if($detail.rendermask) #set( $val = $searcherManager.getValue($catalogid, $detail.rendermask, $hit.properties, $context.getLocale())) #set( $values = $val) #end $context.putPageValue("detail",$detail) $context.putPageValue("value",$val) $context.putPageValue("values",$values) $context.putPageValue("val",$val) $context.putPageValue("hit",$hit) $pages.include("$xmledithome/detailreadonly.html", $context) | #end #if($candelete && $candelete == true && $showdelete == "true")[[delete]] | #end
#text("[[No records found]]")
#end #set($link = $context.getRequestParameter("selectlink")) #if($link) #set($jumptomodule = $context.getRequestParameter("jumptomodule")) #if( $jumptomodule && $jumptomodule == "true") #set( $link = "$apphome/views/modules/${searchtype}/edit/edit.html") #else #end #else #end #if($candelete != "false")