##edit/addnew.html?viewid=projectgeneral&viewpath=project/projectgeneral&hitssessionid=hitsprojectfinder/catalog #if( !$view ) #set($viewid = $context.getRequestParameter("viewid")) #end #if( !$viewpath ) #set($viewpath = $context.getRequestParameter("viewpath")) #end #set( $moduleid = $context.findValue("module") ) #if( !$view ) #set($viewid = "${moduleid}general") #end #if( !$viewpath ) #set($viewpath = "${moduleid}/${moduleid}general") #end #set($id = $data.id ) #if( !$id ) #set( $id = $context.getRequestParameter("id") ) #end #if( !$view ) #set($view = $searcherManager.getData($catalogid, "view",$viewid)) #end #if( $view.rendertype && $view.rendertype != "default" ) #set( $action = "$home$content.searchhome/edit/savetable.html") #else #set( $action = "$home$content.searchhome/edit/save.html") #end $context.putPageValue("viewid", $view.id)
$context.putPageValue("view", $viewpath) #set( $origURL = $context.getRequestParameter("origURL" ) ) #set ( $moduleid = $context.findValue("module") ) #if($caneditdata) $pages.include("/$applicationid/components/xml/detaileditor.html?longform=true", $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 #if($caneditdata) #end #if($caneditdata || $candelete) [[Delete]] #end #if( $caneditmetadatasetup ) [[Edit View]] #end