Hello,
I had a short look at your JSP pages you sent me via email. I am not sure, but your page ?dPersonel.jsp? contains a loop tag for iterating the sub-element ?Role? without ?document? attribute.
The problem is: I checked the code of the loop tag a found out that context tags (e.g. loop, browse, form) does not inherit the document context of their enclosing context tag. If they don?t have an own document attribute defining the document context, they use ?current? instead.
Therefore,
<BR><xapp:form document=?currentPersonel?><BR>...<BR><xapp:loop select=?/Personel? iterate=?Role? targetbase=?roles?><BR>...<BR></xapp:loop><BR>...<BR></xapp:form><BR>
is problematic, because the loop does not refer the document ?currentPersonel? as you may expect it.
In your case, it could be that you define a document ?current? with doctype ?Hasta? when invoking the Hasta JSPs. Than, the loop of the Personel page access to a document with the wrong doctype.
Could you add the attribute document=?currentPersonel? to your loop and check if the error still occurs?
<xapp:loop select=“/Personel” iterate=“Role” targetbase=“/Personel/Role” document=?currentPersonel?>
I hope, this solve your problem.
Do you think we should change the behavior of the loop tag for a next version of X-Application?
Bye,
Christian.
#Tamino#webMethods#API-Management