#set($viewid = $context.getRequestParameter("viewid")) #set($viewpath = $context.getRequestParameter("viewpath")) #set( $moduleid = $context.findValue("module") ) #set($id = $data.id ) #if( !$id ) #set( $id = $context.getRequestParameter("id") ) #end #set($view = $searcherManager.getData($catalogid, "view",$viewid)) #if( $view.rendertype ) #set( $action = "$home$content.searchhome/edit/savetable.html") #else #set( $action = "$home$content.searchhome/edit/save.html") #end #set ( $defaultview = $userprofile.getDefaultViewForModule($moduleid) )
$context.putPageValue("view", $viewpath) #set( $origURL = $context.getRequestParameter("origURL" ) ) #set ( $moduleid = $context.findValue("module") ) #if($caneditdata) $pages.include("/$applicationid/components/xml/detaileditor.html", $context) #else ##$pages.include("/$applicationid/components/xml/detaileditor.html?detailsreadonly=true&alwaysshow=true", $context) $pages.include("/$applicationid/components/xml/detaileditor.html?detailsreadonly=true&alwaysshow=false", $context) #end