hello <%1+4%> <%$doc->getTitle()%> %#--------------------------------------------------------------------- <%flags> inherit => undef <%once> my $api; <%args> $aID => undef <%init> $api ||= $m->comp('/apis/coma.imhtml'); $m->abort(404) if ! $aID; my $doc = $api->getDocByExt_idLang($aID, $ENV{'DEASIL_LANG'}); $m->abort(404) if ! ref $doc; $m->comp("/generic/action/redirect.mhtml", url=>$m->scomp('/a', doc=>$doc, url_only=>1)); return;