Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BPMN 2.0 Modeler » Attribute extension with empty value
Attribute extension with empty value [message #987117] Fri, 23 November 2012 15:41
David Moser is currently offline David MoserFriend
Messages: 1
Registered: November 2012
Junior Member
Hi,

We've been writing our own runtime, implementing some model extensions, at the moment just adding some attributes to UserTask.

The problem we have is that the attributes are always serialized to XML, even when they're empty. To be specific, the Xml is the following

<UserTask customNS:customAttr="" otherAttr="abc" ...>

but we want

<UserTask otherAttr="abc" ...>

i.e. the customAttr shouldn't be there at all, when the string field in the modeler is empty.

I've been looking at the example-runtime and the jbpm-runtime, but all model extensions I've seen set a non-empty default value.

Thanks for any help,
David

Previous Topic:Error installing from 0.1.0 update site
Next Topic:jBPM Business Rule Task issue
Goto Forum:
  


Current Time: Fri Sep 20 01:53:31 GMT 2024

Powered by FUDForum. Page generated in 0.03316 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top