cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mats Norén <mats.no...@spectral.se>
Subject Re: latest xform
Date Thu, 02 Aug 2001 14:21:11 GMT
Hmmm....I can see the the following in the log:

REQUEST: /cocoon/xform.html

CONTEXT PATH: /cocoon
SERVLET PATH: /xform.html
PATH INFO: null

REMOTE HOST: 127.0.0.1
REMOTE ADDRESS: 127.0.0.1
REMOTE USER: null
REQUEST SESSION ID: aaaawgxk5OvRbD
REQUEST PREFERRED LOCALE: sv
SERVER HOST: localhost
SERVER PORT: 8080

METHOD: POST
CONTENT LENGTH: 159
PROTOCOL: HTTP/1.1
SCHEME: http
AUTH TYPE: null

REQUEST PARAMETERS:

PARAM: '__goto_fillin2' VALUE: 'Next'
PARAM: '/orderForm/order/firstname' VALUE: 'Mats'
PARAM: '/orderForm/order/email' VALUE: 'mats@snuva.com'
PARAM: '__current' VALUE: 'fillin1'
PARAM: '/orderForm/order/lastname' VALUE: 'Norén'

SESSION ATTRIBUTES:

DEBUG   99676   [cocoon  ] (/cocoon/xform.html)
tcpConnection-8080-0/XFormAction: XFormAction: select [//sel:subpage[@name]]
found [4] subpage root(s)
DEBUG   99676   [cocoon  ] (/cocoon/xform.html)
tcpConnection-8080-0/XFormAction: XFormAction: found [3] xform elements in
subpage [fillin1]
DEBUG   99676   [cocoon  ] (/cocoon/xform.html)
tcpConnection-8080-0/XFormAction: XFormAction: found [3] xform elements in
subpage [fillin2]
DEBUG   99676   [cocoon  ] (/cocoon/xform.html)
tcpConnection-8080-0/XFormAction: XFormAction: found [0] xform elements in
subpage [overview]
DEBUG   99676   [cocoon  ] (/cocoon/xform.html)
tcpConnection-8080-0/XFormAction: XFormAction: found [0] xform elements in
subpage [thanks]
DEBUG   99676   [cocoon  ] (/cocoon/xform.html)
tcpConnection-8080-0/DefaultComponentFactory: ComponentFactory
decommissioning instance of
org.apache.cocoon.components.source.SourceHandlerImpl.
DEBUG   99676   [cocoon  ] (/cocoon/xform.html)
tcpConnection-8080-0/XFormAction: XFormAction: requested subpage = [fillin2]
DEBUG   99676   [cocoon  ] (/cocoon/xform.html)
tcpConnection-8080-0/XFormAction: XFormAction: expecting [3] element
value(s) from subpage [fillin1]
ERROR   99676   [cocoon  ] (/cocoon/xform.html)
tcpConnection-8080-0/XFormAction: XFormAction: missing XFormInstance
[orderForm]


The session attributes are empty...
Is there a way for me to see if a specific taglib is being executed?
Do I have an old version of the XForm-example, I saw in your mail that
you´ve removed the postregistry but in my code it is still there...


/Mats


----- Original Message -----
From: "Torsten Curdt" <tcurdt@dff.st>
To: <cocoon-dev@xml.apache.org>
Sent: Thursday, August 02, 2001 3:27 PM
Subject: RE: latest xform


> > Hi,
> > I´ve been trying to use your example but I get an XFormException:
> > org.apache.cocoon.acting.XFormAction$XFormActionException: XFormAction:
> > missing XFormInstance [orderForm]
> >
> > How do you setup your example?
>
> The instance data is not available in the session.
> Start with a fresh browser and have a look
> at "tail -f cocoon.log|grep XForm"
>
> You should see the XForm logicsheet fill the
> XForm instance named [orderForm]. Then it should be available.
>
> > ps.
> > We´ve developed a similar formhandling application for C2 but based on
> > transformers instead...but I´m very curious about the XSP approach...
> > ds.
>
> Well, maybe we can share some thougths...
>
> Right now I am improving the updating of the instance.
> So changes on the instance (e.g. via esql) are better handled.
> This will also make the xform:selectMany work.
>
> After that we need the validation and error reporting...
> Feel free to help ;)
> --
> Torsten
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message