[ 1852054 ] 2Pack doesn't import Value field in Workflow

This commit is contained in:
Heng Sin Low 2007-12-17 10:47:27 +00:00
parent 03c557f384
commit f5f50da2f4
1 changed files with 2 additions and 0 deletions

View File

@ -114,6 +114,7 @@ public class WorkflowElementHandler extends AbstractElementHandler {
}
m_Workflow.setValue(atts.getValue("Value"));
m_Workflow.setName(workflowName);
m_Workflow.setAccessLevel(atts.getValue("AccessLevel"));
m_Workflow.setDescription(getStringValue(atts,"Description"));
@ -333,6 +334,7 @@ public class WorkflowElementHandler extends AbstractElementHandler {
String sql = null;
String name = null;
atts.clear();
atts.addAttribute("", "", "Value", "CDATA", (m_Workflow.getValue() != null ? m_Workflow.getValue() : ""));
atts.addAttribute("", "", "Name", "CDATA",
(m_Workflow.getName() != null ? m_Workflow.getName() : ""));
if (m_Workflow.getAD_Table_ID() > 0) {