Hi,
I am using orbeon nightly build in liferay. I have
encountered an issue while sending a submission. There seems to be problem in
orbeon code which appends namespace twice to get effectiveid.
In XformsSendAction.execute() method line no 44
final String submissionId =
XFormsUtils.namespaceId(containingDocument,
actionElement.attributeValue("submission"));
and in XformsAcion.resolveAVTProvideValue() method line no
158
return isNamespace ?
XFormsUtils.namespaceId(containingDocument, resolvedAVTValue) :
resolvedAVTValue;
I have tweaked code a little bit in XformsUtils.java in
temporary basis as follows
public static String
namespaceId(XFormsContainingDocument containingDocument, String id) {
if (id == null)
return null;
else if (id.startsWith(containingDocument.getContainerNamespace()))
return id;
else
return
containingDocument.getContainerNamespace() + id;
}
But I am not sure it is a correct change. I don’t use AVT so
it was working for me. Can please look at it? Or do I have to make any changes
in my application?
Thanks
Ajay
--
You receive this message as a subscriber of the
[hidden email] mailing list.
To unsubscribe: mailto:
[hidden email]
For general help: mailto:
[hidden email]?subject=help
OW2 mailing lists service home page:
http://www.ow2.org/wws