modify.jsp with 2 doctype problem

X-Application Version: 4.1.1, 3.1.3
Tamino Version : 4.1.1, 3.1
Platform : Win2k, WinXP, Solaris, Linux, …
WebContainer : Tamocat 4.1.1, Tomcat 3.3.1
JDK Version : 1.4.1, 1.3.1

Hi,

I have created the following pages and work ok whit 2 doctype .

1)create
2)delete
3)view

When I try to commit action in page modify i
have the error:

Minor Environment Exception

A minor environment problem occurred in the application program.
Normally this problem is solved after a retry of the operation.
Error message: Trying to make changes to docid=NodeLocation[prove;;autori;7;2;2004-04-02T15:07:07Z] while docid=NodeLocation[prove;;pseudo;7;2;2004-04-02T15:07:07Z] is currently referenced.
Help message: This error may occur if you used the Back button. Then document on your browser may be different to the document on server side.
Exception class: com.softwareag.xtools.xapplication.common.XException


Help me please !!!

Difficult to say …

What’s the setting of the “CODED” context-param in your web.xml?
Could you post the JSP code of the action that fails? And some action code that works …

Michael

Software AG Germany, Darmstadt

Hi,
my web.xml is standard…

CODED
true


Into my modify.jsp i have 2 form

the first form from doctype A
and the second from doctype b

the “commit” and the “abandon” button send information about the attribute “document=a,b” .

modify.jsp like this structure:

xapp:module
<xapp:form document=“a”>

<xapp:action form=“form1” type=“commit” document=“a,b”

<xapp:action form=“form1” type=“abandon” document=“a,b”>

<xapp:form document=“b”/>

</xapp:form>
</xapp:module>

my page is equal to invoice example…

Michele

Your code looks ok.

Do you have an html form tag on your page? You need both xapp:form and html form …

If you html form is ok: could you post your jsp pages/schema for me to reproduce the problem?

Michael

Software AG Germany, Darmstadt