use of lucee.runtime.cfx.ResponseImpl in project Lucee by lucee.
the class CFXTag method doStartTag.
@Override
public int doStartTag() throws PageException {
// RR SerialNumber sn = pageContext.getConfig().getSerialNumber();
// if(sn.getVersion()==SerialNumber.VERSION_COMMUNITY)
// throw new SecurityException("no access to this functionality with the "+sn.getStringVersion()+" version of Lucee");
CFXTagPool pool = pageContext.getConfig().getCFXTagPool();
CustomTag ct;
try {
ct = pool.getCustomTag(appendix);
} catch (CFXTagException e) {
throw Caster.toPageException(e);
}
Request req = new RequestImpl(pageContext, attributes);
Response rsp = new ResponseImpl(pageContext, req.debug());
try {
ct.processRequest(req, rsp);
} catch (Exception e) {
throw Caster.toPageException(e);
}
pool.releaseCustomTag(ct);
return SKIP_BODY;
}
Aggregations