#set($args = "catalogid=$searcher.getCatalogId()&searchtype=$searcher.getSearchType()&view=$!view&fieldname=$detail.id&value=$val") #if($detail.foreignkeyid) #set( $fval = "$!data.get($detail.get('foreignkeyid'))") #set( $args = "$args&foreignkeyvalue=$fval") #end $context.putPageValue("detail",$detail) $pages.include("/$applicationid/components/xml/list.html?$args", $context)