#set ($searchtype = $context.getRequestParameter("searchtype")) #set ($searchhome = $context.getRequestParameter("searchhome")) $context.putPageValue("searchhome", $searchhome) #set ($hitssessionid = $context.getRequestParameter("hitssessionid")) #set ($parentid = $context.getRequestParameter("parentid")) #set ($fieldexternalid = $context.getRequestParameter("fieldexternalid")) #set ($fieldexternalvalue = $context.getRequestParameter("fieldexternalvalue")) #set ($edit = $context.getRequestParameter("edit")) ##Always can delete? #set ($candelete = "true") #set($viewid = $context.getRequestParameter("viewid")) #if( !$viewid ) #set( $viewid = $context.getRequestParameter("view")) #end #set($viewpath = $context.getRequestParameter("viewpath")) #if( !$viewpath ) #set( $viewpath = $context.getRequestParameter("view")) #end #set ($editpath = $context.getRequestParameter("editorpath")) #if(!$editpath) #set( $editpath = "${page.directory}/generictableedit.html" ) #end ##Table Row Link #set($link = $context.getRequestParameter("selectlink")) #if( !$link ) #set( $link = "${page.directory}/generictableedit.html" ) #end #set($jumptomodule = $context.getRequestParameter("jumptomodule")) #set ($id = $context.getRequestParameter("id")) #set( $args = "id=$id&candelete=$candelete&editpath=$editpath&parentid=$parentid&jumptomodule=$!jumptomodule&catalogid=$catalogid&searchtype=$searchtype&fieldexternalid=$fieldexternalid&fieldexternalvalue=$fieldexternalvalue&viewid=$viewid&viewpath=$viewpath&permissionname=$!permissionname&hitssessionid=$!hitssessionid&selectlink=$!link") #set( $argsnoid = "candelete=$candelete&jumptomodule=$!jumptomodule&parentid=$parentid&catalogid=$catalogid&searchtype=$searchtype&fieldexternalid=$fieldexternalid&fieldexternalvalue=$fieldexternalvalue&viewid=$viewid&viewpath=$viewpath&permissionname=$!permissionname&hitssessionid=$!hitssessionid") #set($viewdetailspath = $context.getRequestParameter("viewdetailspath")) #set ($passalong = "viewdetailspath=$!viewdetailspath&jumptomodule=$!jumptomodule&candelete=$candelete&viewid=$viewid&viewpath=$viewpath&parentid=$parentid&hitssessionid=$!hitssessionid&selectlink=$!link&fieldexternalid=$fieldexternalid&fieldexternalvalue=$fieldexternalvalue&$fieldexternalid=$!fieldexternalvalue") #set( $passalong = $passalong.replace("=","%3D").replace("&","%26").replace(" ","%20")) #set( $showit = true ) #if($errors)

[[Your entry is invalid. Please check your values and try again]].

#set($edit = "true") #end #if( $showit )
#set ($searcher = $searcherManager.getSearcher($catalogid, $searchtype)) #set( $viewdata = $searcher.getViewData($viewid) )

$!context.getText($viewdata)

$pages.include("/$applicationid/components/xml/table.html?$args&passalong=$passalong",$context) #if( !$parser.parseBoolean($edit) && ($caneditdata || $caneditasset) && !$print.equals("true"))
[[Add New]]
#end
#else ##showit

[[No data has been entered]].

#end