lechael wrote:
I read the documentation of woody forms and now I am reading the inbuilt
sample: woody form GUI, I am confused. this sample seems to be quite
different from those in the documentation. I have some silly questions.
it is very different indeed, it is also quite experimental,
lechael wrote:
following is extracted from an inbuilt sample from cocoon's woody form.
I don't quite understand what is the story. it seems:
1. wb:context matches with the root element /wd:form of a woody form
definition file. Is this right?
yes.
2. a class widgets-class is defined in
in cocoon's inbuilt example: http://localhost/samples/woody/form_model_gui.flow
first create a form=== binding it=== load data to it
from a file ===invoke a pipeline to show this form by a
template
following is some code extracted from the data
file,
1. it use namepace of wd: !!
why???
lechael wrote:
I want to create a woody form whose definition is created dynamicly by
another pipeline.
the following sentence in woody2.js reads form definition from a static
file.
var form=new Form(cocoon.paprameters[form-definition]);
I tried to change the value of
the source/target appointment (where xml is loaded and saved) is not
part of the binding, the binding works on the DOM-tree, other parts of
the app need to load/save that from/to actual files.
Then which DOM-tree it works on? the form definition's? or future data
files?
lechael wrote:
in cocoon's inbuilt example:
http://localhost/samples/woody/form_model_gui.flow
first create a form=== binding it=== load data to it from a file
===invoke a pipeline to show this form by a template
following is some code extracted from the data file,
1. it use namepace
2. a class widgets-class is defined in /wd:form/wd:widgets. what
does row-path=* mean? what is its different with row-path-insert?
similar: row-path is where the existing elements that need to match a
repeater-row are to be found in the xml
you mean here, any element in
I'm not LDAP expert too, but when I query ldap, and select all
attributes for some object, there was a byte array object (for password).
Implementation LDAP is IBM Directory Server.
regards Martin
Joerg Heinicke wrote:
On 29.04.2004 15:05, grofcik.lan wrote:
Hello,
When I use LDAPTransformer
lechael wrote:
the source/target appointment (where xml is loaded and saved) is not
part of the binding, the binding works on the DOM-tree, other parts of
the app need to load/save that from/to actual files.
Then which DOM-tree it works on? the form definition's? or future data
files?
it
Joel McConaughy wrote:
Is there a way to enable hibernate logging within cocoon? I've tried
putting log4j.properties in the classpath but get nothing. THanks.
I am using Hibernate with Cocoon and logging via log4j without any
problem. My log4j.properties file is in WEB-INF/classes and
first create a form from a form definition=== binding it=== load data
to it from a file ===invoke a pipeline to show this form by a template
as to my understanding,
wd: is like class and wt: is like object.
here this file is to load data, so it is more like object
isn't it??
and also, in this
lechael wrote:
first create a form from a form definition=== binding it=== load data
to it from a file ===invoke a pipeline to show this form by a template
as to my understanding,
wd: is like class and wt: is like object.
actually wi: is like object, but you never type that
(so you don't see
Hello iyy,
Are you get any error messages?
Friday, April 30, 2004, 7:58:08 AM, you wrote:
Hi,
I was successful in using Hibernate 2.1 under Cocoon 2.1.3.
But when I try to start Hibernate 2.1 under Cocoon 2.1.5 .
Hibernate fails when it tries to set up cache.
I think that it is an
Hi,
Thanks for reply. No specific errors are listed.
I placed some System.outs in Hibernate and found that,
in Hibernate.cfg.Configuration.java , execution stops at the return
statement
of the function :
public SessionFactory buildSessionFactory() throws HibernateException {
Hello iyy,
First of all check your hibernate settings. I suspect that
SQLServerDriver will not work with Sybase.
Next you may change log level of log4j used by hibernate from INFO
to DEBUG to see some error messages from hibernate.
And last why do you use 2.1 beta 5 of hibernate? You can use
On Fri, 2004-04-30 at 04:45, Jakob Schwendner wrote:
Thanks very much for your help there. This is exactly what I was looking
for.
However, the snippets you have provided don't seem to work on my
installation.
this is what I have:
Thomas Kjeldahl Nilsson wrote:
Question: Can I use some combination of JXForm\JXTemplate for this?
The problem is that I need JXTemplate for conditionals in building
the markup and content of the xml\html, but also I'd like to use
JXForms for the forms\interactive content.
JXForms is
hello cocooners,
do anyone knows a stylesheet for transforming
xhtml or document-v1.2 to M$ Word2003
Thanks for help
Björn
--
Björn VoigtTel:+49-3943-557807
Dipl.-Wi-Inf(FH) e-mail: [EMAIL PROTECTED]
ITGIS GmbH www:
RelaxNG allows to create modular schemas, separated in several files.
One could create a generic one, and include customizations for specific component
types in external files.
-Mensaje original-
De: David Crossley [mailto:[EMAIL PROTECTED]
Enviado el: viernes, 30 de abril de 2004 6:34
I'm creating a Wiki Form and I want to place on in
a List Box but I don't know how to create it. I went throught documentation of
Field, Multivaluefield, Agregatefield (and many others) but still I don't know
how to make a ListBox (1 from N).
Bartosz Zgodziskitel. (61)
8428-157cell.
Hi,
Other ways is to use the xinclude transformer (you can generate dynamically the
xincludes), or use the XSLT document function. I have tried these methods, and all of
them work ok.
-Mensaje original-
De: Tony Edwards [mailto:[EMAIL PROTECTED]
Enviado el: viernes, 30 de abril de
Hi Mr. Peter,
Thanks for the tip.
I downloaded Hibernate 1.3 and now Hibernate works under Cocoon 2.1.5.
Thanks a lot,
iyyappan
- Original Message -
From: Peter Velychko [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, April 30, 2004 1:53 PM
Subject: Re: Cocoon 2.1.5 And Hibernate
This is a 2 day and 1 night issue todate, but I
can't take it any further myself.
Would really appreciate
help!
My background: I've been using Tomcat to handle
J2ME clients for a while, but have also a growing interest in mobile
publishing.
So I bought a book ("Cocoon, Developer's
Hi Martin,
thanks for your help. I doesn't work, though, unfortunately.
SET
ANT_OPTS=-Djava.endorsed.dirs=D:\cocoon-2.1.4-src\cocoon-2.1.4\lib\en
dorsed-Xms64m -Xmx512m
What is -Xms64m -Xmx512m. I set the ant option as you did, but didn't
understand what this second part is. I don't think,
Hi Upayavira,
thanks for helping.
Does it work with the CLI instead of the ant task?
No, unfortunately that doesn't work, either. I used the sample xconfig
file from
http://cocoon.apache.org/2.1/userdocs/offline/configuration.html#Sample+xconf+File
with minor changes for my project. I can see
Can either Thomas or Ugo why explain why JXTemplate
is needed for building a form - can this not be done via
XSP or XSLT?
Thanks
Derek
Oh, and is there an example of the approach you adopt?
[EMAIL PROTECTED] 2004/04/30 11:10:18 AM
Thomas Kjeldahl Nilsson wrote:
Question: Can I use some
Derek Hohls wrote:
Can either Thomas or Ugo why explain why JXTemplate
is needed for building a form - can this not be done via
XSP or XSLT?
Does it have to be Thomas or Ugo? Will I do? ;-)
JXTemplate is a 'template' language. As is XSP. So, you could use XSP in
place of JXTemplate. Either
Hello all
I have noticed that the XMLSerializer component is poolable (because
AbstractXMLProducer is). However in the sitemap of the cocoon distribution,
the component is declared like this :
map:serializer logger=sitemap.serializer.xml mime-type=text/xml
name=xml
Sorry, yes you will!, and thanks for making sense of this -
obviously some use cases highlighting why JXTemplate
is recommended (as opposed to XSP, which I think I
'grok') will be helpful. I guess the beauty of Cocoon is
that it does not force a single path on you; as long as
we can be clear as
Hi,
why use(promote) XSP, when JXT and flowscript is a far more powerful
environment to develop in?
Peter
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
As far as I know, JXTemplates are used to include data. It can do simple
things with passed data. From cocoon, some special objects available such as
request/session etc, and from flowscript, whatever you pass as bizzdata.
Logic is available to handle and format the data.
XSP however lets you
Derek Hohls wrote:
Sorry, yes you will!,
Great!
and thanks for making sense of this -
You're welcome.
obviously some use cases highlighting why JXTemplate
is recommended (as opposed to XSP, which I think I
'grok') will be helpful.
I'm not really in a position to give a comparison - I've
Derek Hohls wrote:
Can either Thomas or Ugo why explain why JXTemplate
is needed for building a form - can this not be done via
XSP or XSLT?
It's not needed, it's just a possibility. Yes, you could use XSP and/or
XSLT.
Ugo
-
Peter
Do you have experience of using?
I am also wondering the same thing (see the other thread on
Using JXTemplates\JXForms at the same time). I have used
XSP up to now (as it was 'all there was' in earlier Cocoon
versions. I think much of the documentation also reflects that history.
Alexandre Victoor wrote:
Moreover, looking at the code, I wonder if it really useful for this
component to be poolable. It does not look like expensive in term of
memory/cpu to create an instance of XMLSerializer. Articles as
http://www-106.ibm.com/developerworks/library/j-jtp01274.html claims
Derek Hohls wrote:
PS can JXTemplate do everything XSP can, and then some,
or is it the other way around?
No, it can't. With XSP, you can fill your templates with lots of Java
code and do an awful mess ;-). JXTtemplate gives you much less rope to
hang yourself with, and I think that's a plus.
Derek,
I initially, like i'm sure everyone else, started using XSP as that
seemed to be all there was. Then I discovered JXT and flowscript! What
can I say... I changed all of my XSP over to JXT, which made the code a
lot easier and lighter. XSP seems to be very convoluted for example in
the
Happily, I have found a solution in the
archives.
Sorry to bother you good people unnecessarily
:-(
Credit to Geoff in relation to a question raised by
Derek Holhs on Thu 21 Aug 2003 and entitled "Cocoon Database samples not
working?".
Basically I am running java 1.4.
I have downloaded
JH Can you tell us what exactly you store and retrieve in and from the
JH database, i.e. which entities you need to replace? Are it the equation
JH or complete MathML?
JH Joerg
D Serialized it looks like this:
...
D and so on
D Send here full XML attached?
So there are no ideas about what
The rationale below is exactly why I mentioned we're reluctant to use
XSP; the danger of little or no separation between code and markup.
Exactly what we don't want to do in our new project.
Thank you for confirming my nasty suspicion. :-)
Thomas
Ugo Cei wrote:
Derek Hohls wrote:
PS can
Thanks for your answer. Interesting thread. Too bad that Avalon bring that
much overhead to object creation...
Alex
At 14:06 30/04/2004 +0200, you wrote:
Alexandre Victoor wrote:
Moreover, looking at the code, I wonder if it really useful for this
component to be poolable. It does not look
HI list,
I'm using XSP, ESQL/SQL and simple forms I guess, the problem is this,
I have some select lists and I want to pass the selected attribute to
the one the user selects:
option value=23 one /option
option value=24 selected two /option
option value=25 three /option
In my site map I have:
Peter
Thanks; what you say makes a lot of sense.
1. It would be very helpful to have at least *something*
written down by someone who has experience in converting
from XSP to JXT [hint, hint] as a way of helping a move to
a better way of doing things.
2. There obviously needs to be a push
Johnson wrote:
Hi!
I'm trying to build the latest cocoon (cocoon-2.1_20040428041256.tar.gz),
my computer has 756MB RAM,and the system is winXP,j2sdk1.4.2-04
when the build go to cocoon-block-serializers-compile,after prompt
compiling 95 source files to dest
the error happended
The
Andreas Hartmann wrote:
Johnson wrote:
Hi!
I'm trying to build the latest cocoon (cocoon-2.1_20040428041256.tar.gz),
my computer has 756MB RAM,and the system is winXP,j2sdk1.4.2-04
when the build go to cocoon-block-serializers-compile,after prompt
compiling 95 source files to dest
the
Hello Stefan,
the -Xm... switches are for the memory setting of the sun JDK.
What is your enironment?
Martin
[EMAIL PROTECTED] Freitag, 30. April 2004 12:38:33
Hi Martin,
thanks for your help. I doesn't work, though, unfortunately.
SET
This is just my opinion, but I know others here share it.
First, I've never used XSP - I never saw a need to, and I just don't like
the idea. Second, while flowscript has its uses it is also very dangerous.
One of the key things Cocoon provides is strong separation of concerns.
Flowscript
Are you just trying to retain the selected option if there is an error on a
different part of the form?
I think you need to change this line:
xsp:attribute name=valuexsp-request:get-parameter
name=enquiry.postcode/esql:get-string column=id//xsp:attribute
to instead be
xsp:attribute
Try cocoon:form-definition.
Mark
lechael [EMAIL PROTECTED]
04/30/2004 11:35 AM
Please respond to users
To:[EMAIL PROTECTED]
cc:
Subject:can woody form definition be dynamically created from another pipeline new form(Url/to/another/pipleine) ??
I want to
We have been doing some performance measurements over the last week. We saw
significant improvement by increasing our pool sizes so that the objects
were not being recreated over and over.
Ralph
-Original Message-
From: Ugo Cei [mailto:[EMAIL PROTECTED]
Sent: Friday, April 30, 2004 5:07
I assume that you are using Woody/CForms.
It is very simple, actually, you aren't just looking in the right place.
The listbox is a widget with just a styling of type listbox
You define the selection list values in the Field definition
wd:field id=... required=true|false
wd:label.../wd:label
Ralph,
same goes here. Flowscript used to delegate nothing more than the flow
of pages... Hibernate used to handle persistence...
Peter
On 30 Apr 2004, at 16:05, Ralph Goers wrote:
This is just my opinion, but I know others here share it.
First, I've never used XSP - I never saw a need to, and
How are you mapping/binding between hibernate persistent objects and the
flow model?
Joel McConaughy
Managing Partner
Displayware LLC
800 Fifth Ave., #101-316
Seattle, WA 98104-3191
206-300-4732 Direct
206-382-2188 Fax
[EMAIL PROTECTED]
-Original Message-
From: beyaNet Consultancy
With all this talk of JXTemplate, I have become very interested in trying it
out.
I looked around, but other than the link below, I didn't see any real
example app that could help me to get going.
http://cocoon.apache.org/2.1/userdocs/flow/jxtemplate.html
Can anyone point me out an example
On 30.04.2004 14:25, DoomHammer wrote:
JH Can you tell us what exactly you store and retrieve in and from the
JH database, i.e. which entities you need to replace? Are it the equation
JH or complete MathML?
JH Joerg
D Serialized it looks like this:
...
D and so on
D Send here full XML
mode name=request-param type=request/ means that there is a param
named request?
-Original Message-
From: Christian Haul [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 27, 2004 3:08 PM
To: [EMAIL PROTECTED]
Subject: Re: Database Insert Across Multiple Tables
Mike Dickson wrote:
Skipped over the rootLogger entry. As soon as I changed this to file,
works fine. Thanks for the reply.
beyaNet Consultancy wrote:
Yep,
i have log4j-1.2.7.jar in both web-inf/lib and web-inf/classes
Peter
On 29 Apr 2004, at 23:53, Joel McConaughy wrote:
Is there a way to enable hibernate
Hello!
Joerg Heinicke wrote:
So I have two results in my ResourceSet. (one for each user). I am
browsing these results and for each XMLResource in the ResourceSet I
call the getContentAsSax method.
The result is a nonvalid XML document with two ?xml.. tags:
Is only the XML declaration
Hello!
Joerg Heinicke wrote:
So I have two results in my ResourceSet. (one for each user). I am
browsing these results and for each XMLResource in the ResourceSet I
call the getContentAsSax method.
The result is a nonvalid XML document with two ?xml.. tags:
Is only the XML declaration
[Forwarded from cocoon-dev as many people here also may be concerned]
Jorg Heymans wrote:
Am i the only one who has received unsollicited cocoon related
advertisement mail from anyware-tech on several email addresses?
I believe it's a cocoon related company from one of the committers here.
Hello,
How would I catch several errors of type processing
exception?
What I want to do is catch when the session
transformer fails, and when the sql transformer fails.
Is there a place in the documentation that describes
the error codes? If so, I think I can use the
XPathException Selector.
61 matches
Mail list logo