User development,
A new message was posted in the thread "Description tag not parsed for
activities?":
http://community.jboss.org/message/523645#523645
Author : Sofie Ravyts
Profile :
http://community.jboss.org/people/sravyts
Message:
--------------------------------------------------------------
As a workaround to
http://community.jboss.org/message/518323#518323 we are using the
description tag to store the name of an activity for use in the UI.
For tasks this works very well. The task "description" property is read from the
jpdl when parsing the task definitions.
But for our custom activities, there doesn't seem to be a description after parsing.
When I looked at the code (JpdlParser.java line 308),
Element descriptionElement = XmlUtil.element(documentElement,
"description");
if (descriptionElement!=null) {
String description = XmlUtil.getContentText(descriptionElement);
activity.setDescription(description);
}
I noticed the documentElement description tag is parsed instead of the nestedElement
description tag.
Could it be that documentElement needs to be replaced with nestedElement in this part of
code or am I seeing it completely wrong?
Wkr,
Sofie
--------------------------------------------------------------
To reply to this message visit the message page:
http://community.jboss.org/message/523645#523645