Rev 1592 | Rev 1595 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1592 | Rev 1594 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | <%@ tag import="jomm.utils.MessageResources" %> |
1 | <%@ tag import="jomm.utils.MessageResources" %> |
2 | <%@ tag import="pt.estgp.estgweb.domain.JobServiceTaskImpl" %> |
2 | <%@ tag import="pt.estgp.estgweb.domain.JobServiceTaskImpl" %> |
3 | <%@ tag import="pt.estgp.estgweb.domain.dao.DaoFactory" %> |
3 | <%@ tag import="pt.estgp.estgweb.domain.dao.DaoFactory" %> |
4 | <%@ tag import="pt.estgp.estgweb.web.form.configuration.SchedulleTasksForm" %> |
4 | <%@ tag import="pt.estgp.estgweb.web.form.configuration.SchedulleTasksForm" %> |
5 | <%@ tag import="jomm.dao.impl.AbstractDao" %> |
5 | <%@ tag import="jomm.dao.impl.AbstractDao" %> |
6 | <%@ tag import="com.oss.asn1.BOOLEAN" %> |
- | |
7 | <%@tag description="Body Tag Page template" pageEncoding="UTF-8"%> |
6 | <%@tag language="" description="Body Tag Page template" pageEncoding="UTF-8"%> |
8 | <%@taglib prefix="t" tagdir="/WEB-INF/tags/examples" %> |
- | |
9 | <%@attribute name="taskId" type="java.lang.Long" required="false" %> <!-- Task ID to get the JOB from database --> |
7 | <%@attribute name="taskId" type="java.lang.Long" required="false" %> <!-- Task ID to get the JOB from database --> |
10 | <%@attribute name="transactional" type="java.lang.Boolean" required="true" %> <!-- Define if tag should open database transaction --> |
8 | <%@attribute name="transactional" type="java.lang.Boolean" required="true" %> <!-- Define if tag should open database transaction --> |
11 | <%@attribute name="job" type="pt.estgp.estgweb.domain.JobServiceTaskImpl" required="false"%> <!-- If job defined TaskId is not used --> |
9 | <%@attribute name="job" type="pt.estgp.estgweb.domain.JobServiceTaskImpl" required="false"%> <!-- If job defined TaskId is not used --> |
12 | <%@attribute name="targetUrlWithOutContextPath" type="java.lang.String" required="true" %> <!-- Task ID to get the JOB from database --> |
10 | <%@attribute name="targetUrlWithOutContextPath" type="java.lang.String" required="true" %> <!-- Task ID to get the JOB from database --> |
13 | <%@attribute name="logSizeXs" type="java.lang.Boolean" required="false" %> <!-- Task Log Size --> |
11 | <%@attribute name="logSizeXs" type="java.lang.Boolean" required="false" %> <!-- Task Log Size --> |
Line 23... | Line 21... | ||
23 | if(logSizeXs == null) |
21 | if(logSizeXs == null) |
24 | logSizeXs = Boolean.FALSE; |
22 | logSizeXs = Boolean.FALSE; |
25 | 23 | ||
26 | if(taskId != null) |
24 | if(taskId != null) |
27 | { |
25 | { |
28 | job = taskId > 0 ? |
26 | job = taskId.longValue() > 0 ? |
29 | (JobServiceTaskImpl) DaoFactory.getJobServiceTaskDaoImpl().load(taskId) : |
27 | (JobServiceTaskImpl) DaoFactory.getJobServiceTaskDaoImpl().load(taskId) : |
30 | null; |
28 | null; |
31 | } |
29 | } |
32 | else |
30 | else |
33 | { |
31 | { |