cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josema Alonso" <jos...@simbiosystems.com>
Subject Re: XMLForm problem: PLEASE HELP (att. XMLForm architects and specialists)
Date Wed, 29 Jan 2003 17:42:17 GMT
Hello Sylvain,

I see you have still some problems with the XMLForms...

I have investigated them more and more and wrote a new howto at Wiki about
using XMLForm with Xindice. I do not remember if you were using a relational
database or a native XML one. If the latter, you could find some new ideas
in there.

Anyway, I could try and test your code if you send me your form page,
action, pipeline and everything you think I should need. We have to make it
work! :-)

Best.

pd: are you using the same XSLTs provided with the howto sample or have you
created new ones?


----- Original Message -----
From: <Sylvain.Thevoz@swisscom.com>
To: <cocoon-users@xml.apache.org>; <cocoon-dev@xml.apache.org>
Sent: Wednesday, January 29, 2003 5:02 PM
Subject: XMLForm problem: PLEASE HELP (att. XMLForm architects and
specialists)


> Hello,
>
> Is there someone in the list that could help me to find a XMLForm problem
that I have for few weeks!
> I have read all the XMLForm doc and source code but I really don't
understand what is this problem.
> I don't have enough experience to find the solution.
> My project is totally based on Cocoon and XMLForm and I can't move forward
for days in it.
>
> The problem happens when I try to display a Node or a List with a <repeat>
tag.
> The first time I load the view, the page is empty (but the List or Node
contains data).
> If now I refresh my browser, the page is full and all is OK!
>
>
> Here is part of the xmlform.log (cleaned):
>
> DEBUG   Thread-5/AbstractSAXTransformer: BEGIN setup
resolver=org.apache.cocoon.environment.http.HttpEnvironment@2f4309,
objectModel={httpresponse=org.apache.coyote.tomcat4.CoyoteResponseFacade@5a2
dc4, response=org.apache.cocoon.environment.http.HttpResponse@72c47b,
context=org.apache.cocoon.environment.http.HttpContext@d4f27,
source-resolver=org.apache.cocoon.environment.http.HttpEnvironment@2f4309,
request=org.apache.cocoon.environment.http.HttpRequest@4187c8,
httprequest=org.apache.coyote.tomcat4.CoyoteRequestFacade@395f72,
httpservletcontext=org.apache.catalina.core.ApplicationContextFacade@22c9df}
, src=null,
parameters=org.apache.avalon.framework.parameters.Parameters@73552f
> DEBUG   Thread-5/AbstractSAXTransformer: END setup
> DEBUG   Thread-5/AbstractSAXTransformer: BEGIN setupTransforming
> DEBUG   Thread-5/AbstractSAXTransformer: END setupTransforming
> DEBUG   Thread-5/XMLFormTransformer: BEGIN startTransformingElement
uri=http://xml.apache.org/cocoon/xmlform/2002, name=form, raw=xf:form,
attr=org.apache.xerces.parsers.AbstractSAXParser$AttributesProxy@3104d7)
> DEBUG   Thread-5/XMLFormTransformer: END startTransformingElement
> DEBUG   Thread-5/XMLFormTransformer: BEGIN startTransformingElement
uri=http://xml.apache.org/cocoon/xmlform/2002, name=caption, raw=xf:caption,
attr=org.apache.xerces.parsers.AbstractSAXParser$AttributesProxy@3104d7)
> DEBUG   Thread-5/XMLFormTransformer: END startTransformingElement
> DEBUG   Thread-5/XMLFormTransformer: BEGIN endTransformingElement
uri=http://xml.apache.org/cocoon/xmlform/2002, name=caption, raw=xf:caption)
> DEBUG   Thread-5/XMLFormTransformer: END endTransformingElement
> DEBUG   Thread-5/XMLFormTransformer: BEGIN startTransformingElement
uri=http://xml.apache.org/cocoon/xmlform/2002, name=repeat, raw=xf:repeat,
attr=org.apache.xerces.parsers.AbstractSAXParser$AttributesProxy@3104d7)
> DEBUG   Thread-5/AbstractSAXTransformer: BEGIN startRecording
> DEBUG   Thread-5/AbstractSAXTransformer: END startRecording
> DEBUG   Thread-5/XMLFormTransformer: END startTransformingElement
> DEBUG   Thread-5/XMLFormTransformer: BEGIN startTransformingElement
uri=http://xml.apache.org/cocoon/xmlform/2002, name=output, raw=xf:output,
attr=org.apache.xerces.parsers.AbstractSAXParser$AttributesProxy@3104d7)
> DEBUG   Thread-5/XMLFormTransformer: END startTransformingElement
> DEBUG   Thread-5/XMLFormTransformer: BEGIN startTransformingElement
uri=http://xml.apache.org/cocoon/xmlform/2002, name=caption, raw=xf:caption,
attr=org.apache.xerces.parsers.AbstractSAXParser$AttributesProxy@3104d7)
> DEBUG   Thread-5/XMLFormTransformer: END startTransformingElement
> DEBUG   Thread-5/XMLFormTransformer: BEGIN endTransformingElement
uri=http://xml.apache.org/cocoon/xmlform/2002, name=caption, raw=xf:caption)
> DEBUG   Thread-5/XMLFormTransformer: END endTransformingElement
> DEBUG   Thread-5/XMLFormTransformer: BEGIN endTransformingElement
uri=http://xml.apache.org/cocoon/xmlform/2002, name=output, raw=xf:output)
> DEBUG   Thread-5/XMLFormTransformer: END endTransformingElement
> DEBUG   Thread-5/XMLFormTransformer: BEGIN endTransformingElement
uri=http://xml.apache.org/cocoon/xmlform/2002, name=repeat, raw=xf:repeat)
> DEBUG   Thread-5/AbstractSAXTransformer: BEGIN endRecording
> DEBUG   Thread-5/AbstractSAXTransformer: END endRecording fragment=<?xml
version="1.0" encoding="ISO-8859-1"?>
> <xf:output xmlns:xf="http://xml.apache.org/cocoon/xmlform/2002"
ref="salut">
>         <xf:caption>Workstation: </xf:caption>
>       </xf:output>
>
> DEBUG   Thread-5/XMLFormTransformer: BEGIN startTransformingElement
uri=http://xml.apache.org/cocoon/xmlform/2002, name=group, raw=xf:group,
attr=org.xml.sax.helpers.AttributesImpl@30d33c)
> ERROR   Thread-5/XMLFormTransformer: pass through element [group]
> DEBUG   Thread-5/XMLFormTransformer: END startTransformingElement
> DEBUG   Thread-5/XMLFormTransformer: BEGIN endTransformingElement
uri=http://xml.apache.org/cocoon/xmlform/2002, name=group, raw=xf:group)
> ERROR   Thread-5/XMLFormTransformer: unknown element [group]
> DEBUG   Thread-5/XMLFormTransformer: END endTransformingElement
> DEBUG   Thread-5/XMLFormTransformer: BEGIN startTransformingElement
uri=http://xml.apache.org/cocoon/xmlform/2002, name=group, raw=xf:group,
attr=org.xml.sax.helpers.AttributesImpl@7c468e)
> ERROR   Thread-5/XMLFormTransformer: pass through element [group]
> DEBUG   Thread-5/XMLFormTransformer: END startTransformingElement
> DEBUG   Thread-5/XMLFormTransformer: BEGIN endTransformingElement
uri=http://xml.apache.org/cocoon/xmlform/2002, name=group, raw=xf:group)
> ERROR   Thread-5/XMLFormTransformer: unknown element [group]
> DEBUG   Thread-5/XMLFormTransformer: END endTransformingElement
> etc...
>
>
>
> My view page is:
>
> <?xml version="1.0" ?>
>
> <document xmlns:xf="http://xml.apache.org/cocoon/xmlform/2002">
>   <xf:form id="search-workstation" view="searchworkstation_result"
action="searchworkstation.html">
>     <xf:caption>Result</xf:caption>
>
>     <xf:repeat nodeset="result">
>       <xf:output ref=".">
>       </xf:output>
>     </xf:repeat>
>
>     <xf:submit id="searchworkstation_next" class="button">
>       <xf:caption>Next</xf:caption>
>       <xf:hint>Go to next page</xf:hint>
>     </xf:submit>
>
>   </xf:form>
> </document>
>
>
>
> Thank you very much
> Sylvain
>
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>
>
>




---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message