##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( $viewpath = $context.getRequestParameter("viewpath")) #if( !$viewpath ) #set( $viewpath = $context.getRequestParameter("view")) #end #if( !$viewpath ) #set( $viewpath = $view) #end #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("sortby")) $!query.addSortBy($sortby) #set( $existingrecords = $joinsearcher.search($query) ) #end #set ($id = $context.getRequestParameter("id")) #set( $details = $joinsearcher.getDataProperties($viewpath,$user) ) #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")
#if($candelete != "false")
#end #set($selectedid = $context.getRequestParameter("selectedid")) #if( $existingrecords && $existingrecords.size() > 0 ) #foreach( $detail in $details ) #end #if($candelete && $candelete == true && $showdelete == "true") #end #foreach ( $hit in $existingrecords ) #foreach( $detail in $details ) #end #if($candelete && $candelete == true && $showdelete == "true") #end #end
$detail.text
#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)) #set( $values = $searcherManager.getValues($catalogid, $detail.rendermask, $hit.properties)) #end $context.putPageValue("detail",$detail) $context.putPageValue("values",$values) $context.putPageValue("val",$val) $context.putPageValue("hit",$hit) $pages.include("$xmledithome/detailreadonly.html", $context) [[delete]]
#end #if( !$existingrecords || $existingrecords.size() == 0 )

#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")
#set($fieldname = $context.getRequestParameter("fieldname")) #if(!$fieldname) #set($fieldname = "id" ) #end
#else
#set($fieldname = $context.getRequestParameter("fieldname")) #if (!$fieldname) #set($fieldname = "id" ) #end
#end #else #end #if($candelete != "false")
#end