3,9 → 3,7 |
<%@ tag import="pt.estgp.estgweb.domain.dao.DaoFactory" %> |
<%@ tag import="pt.estgp.estgweb.web.form.configuration.SchedulleTasksForm" %> |
<%@ tag import="jomm.dao.impl.AbstractDao" %> |
<%@ tag import="com.oss.asn1.BOOLEAN" %> |
<%@tag description="Body Tag Page template" pageEncoding="UTF-8"%> |
<%@taglib prefix="t" tagdir="/WEB-INF/tags/examples" %> |
<%@tag language="" description="Body Tag Page template" pageEncoding="UTF-8"%> |
<%@attribute name="taskId" type="java.lang.Long" required="false" %> <!-- Task ID to get the JOB from database --> |
<%@attribute name="transactional" type="java.lang.Boolean" required="true" %> <!-- Define if tag should open database transaction --> |
<%@attribute name="job" type="pt.estgp.estgweb.domain.JobServiceTaskImpl" required="false"%> <!-- If job defined TaskId is not used --> |
25,7 → 23,7 |
|
if(taskId != null) |
{ |
job = taskId > 0 ? |
job = taskId.longValue() > 0 ? |
(JobServiceTaskImpl) DaoFactory.getJobServiceTaskDaoImpl().load(taskId) : |
null; |
} |