Well, a template is normally thought of something where you
have a layout and just fill in the holes with data created
somewhere else, vs a generator whose assignment it is to
do the data generation in the first place
I did try to make this distinction clear in the rest of the message
(which
Sorry, I have to smile at this; is it really possible that the Chinese
are ardent supporters of the ultimate capitalist monopoly?
If so, more proof that suits rule!
[http://info.astrian.net/jargon/terms/s/suit.html]
[EMAIL PROTECTED] 2004/05/03 04:22:41 PM
How can you tell they are using
Hi,
I have XSLT that does XML - XML transformation. I
want to include a doctype declaration in the output so
my XSLT starts with:
xsl:output method=xml
doctype-system=http://docbook.org/xml/4.2/docbookx.dtd;
doctype-public=-//OASIS//DTD DocBook XML//EN
omit-xml-declaration=no/
However output
Sarah Haff wrote:
I have XSLT that does XML - XML transformation. I
want to include a doctype declaration in the output so
my XSLT starts with:
xsl:output method=xml
doctype-system=http://docbook.org/xml/4.2/docbookx.dtd;
doctype-public=-//OASIS//DTD DocBook XML//EN
Nacho
How about putting to togetehr a brief guide for developing
components under Avalon and posting it to the Wiki; best
practice develops when people can clearly see alternative and
better ways of doing things!
Thanks
Derek
[EMAIL PROTECTED] 2004/05/03 06:28:55 PM
beyaNet Consultancy wrote:
Terence
Yes, I think your situation is true for a lot of Cocooners; I have
tended
to use XSP because my use cases do not require specialised data
generation (as yours seems to) - its mostly just pulling data from a
DB
(see the other thread on this topic). If I can avoid handcoded Java
for
this
I will disable the doc generation for blocks until we have a working
solution :(
Thanks
Carsten
-Original Message-
From: Joerg Heinicke [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 04, 2004 2:04 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: a working version of 2.1.5?
This sounds great - exactly what I had in mind -
perhaps JXStringTemplate (in deference to the original
concept) ??
[EMAIL PROTECTED] 2004/05/03 06:31:38 PM
hi derek,
I alse read that paper and agree that it was revealing. it also made
me
rethink view generation (the bad symtpoms had of
Well, I did say good practice, not best practice!
(I think the latter is a myth, anyway, and is so case-
specific as to be of little use).
If there are two (or three, or more?!) equally good
approaches, clearly laid out, with suggested areas
of application, and pros and cons highlighted, this is
Leon
I agree that if what works for you is OK, then you
are doing fine. My concern is that there are better ways
evolving and, if they are easy and clean, I am prepared
to learn them but, and this is my case in a number of threads
(and you have effectively said the same thing here), if this
How are we doing in comparison to our peers - see:
http://www.hibernate.org/38.html
Think about how Cocoon is doing on these points which
are, I think, valid for pretty much any OS project -
but even more so as the scope gets wider, new features
are added and the community grows in both size and
Derek Hohls dijo:
Leon
I agree that if what works for you is OK, then you
are doing fine. My concern is that there are better ways
evolving and, if they are easy and clean, I am prepared
to learn them but, and this is my case in a number of threads
(and you have effectively said the same
[I don't want to barge in on things here or step on anybody's toes. My
intention is only to get some direction so I can help contribute to the
Cocoon documentation. Although I am a relative newbie any my Cocoon skills
are 1/1000th of the vets lingering around on this list, I think that's
exactly
Guys,
My freaky setup:
-MacOSX Client 10.3.3 with Java 1.4.2
-Jonas 4.0.0. with Tomcat 5.0.21
-Cocoon 2.1.4
The error is as follows below:
The two communities together, keep me on the treadmill all the time.
First Jonas upgrades then Cocoon does, then Jonas again and then Cocoon
again, ad
On 04.05.2004 03:37, Corin Moss wrote:
Hi There,
I've not been following this thread as closely as I might, so someone might have already mentioned this:
If you use a string() function on your document value as below:
xsl:variable name=langxsl:value-of
My Vote is for A; with a comment text that says:
- if there are any best approaches that are case-specific these
must be clearly pointed out to the users ...
... bear in mind that even though some users may be Cocoon newbies
they may be experienced developers in other frameworks and want to
know
On Tue, 2004-05-04 at 08:20, Derek Hohls wrote:
Well, a template is normally thought of something where you
have a layout and just fill in the holes with data created
somewhere else, vs a generator whose assignment it is to
do the data generation in the first place
The result of
and another exception that happens *sometimes* :(
Can anyone shed light on this ??
Original exception : java.lang.NullPointerException
at org.apache.xml.dtm.ref.sax2dtm.SAX2DTM.comment(SAX2DTM.java:2486)
at
David Leangen wrote:
[ ] A. I think that we should show users the best way
to get up and running with Cocoon.
[X ] B. I think that we should show users all the options
possible and let them decide the best approach.
[ ] C. Yeah, whatever. Either way is good for me.
However, we still need to reach consensus on what such a unified
approach(es) should be.
I would like to take a poll (probably the first of many):
***
[ ] A. I think that we should show users the best way
to get
Ivo Limmen wrote:
Hi,
I haven't tried it but I did has some experience in using AD's LDAP
interface. I works perfectly. Simply connect to the AD on port 389
using the credentials of someone that has access rights.
what did you use as LDAP client?
Thanks
Michi
Michael Wechner wrote:
Is
Is it possible that the JISP problems
http://archives.real-time.com/pipermail/cocoon-devel/2004-April/030844.html
of 2.1.4 have been solved within 2.1.5-dev?
Thanks
Michi
--
Michael Wechner
Wyona Inc. - Open Source Content Management - Apache Lenya
http://www.wyona.com
Some weeks ago I comlained about not getting session content in variables in
xslt. I read much about others who had the same problem. Now I found out,
why it doesn't work.
It's not a bug, it's a feature.
What I tried:
-
Some.xsl:
-
Michael Wechner wrote:
Ivo Limmen wrote:
Hi,
I haven't tried it but I did has some experience in using AD's LDAP
interface. I works perfectly. Simply connect to the AD on port 389
using the credentials of someone that has access rights.
what did you use as LDAP client?
We didn't use an LDAP
Ivo Limmen wrote:
what did you use as LDAP client?
We didn't use an LDAP client (?). We had a webserver where users could
log into and we used an LDAP connection to MS AD to verify their
passwords. Is was simply a few Java statements to connect to the LDAP
(AD).
that's answering my
But if you need an (Java) LDAP client:
Fast and good: http://www.iit.edu/~gawojar/ldap/
That project seems to be dead. The latest news are from April 25th, 2001
Feature rich and uses schema's: http://www.pegacat.com/jxplorer/
That is better. Version 3.0 was released Nov 10, '03.
Andreas
Bruno
I apologise then, if I misunderstood what you said.
I still do not think that we should use the term template
generator in this context. There are generators and there
are templates and I don't think their roles should be mixed.
That's why I was arguing for two different takes on the
On 04.05.2004 11:26, Michael Wechner wrote:
Is it possible that the JISP problems
http://archives.real-time.com/pipermail/cocoon-devel/2004-April/030844.html
of 2.1.4 have been solved within 2.1.5-dev?
Not directly, you only have now two alternatives delivered with Cocoon:
ehcache and jcs.
Andreas Kuckartz wrote:
But if you need an (Java) LDAP client:
Fast and good: http://www.iit.edu/~gawojar/ldap/
That project seems to be dead. The latest news are from April 25th, 2001
Not really weird since it is as complete (and bug free) as it can be. I
use this LDAP client the most.
On 04.05.2004 11:30, Nils Köster wrote:
Some weeks ago I comlained about not getting session content in variables in
xslt. I read much about others who had the same problem. Now I found out,
why it doesn't work.
It's not a bug, it's a feature.
What I tried:
-
On 03.05.2004 21:53, Deepak Mehta wrote:
The two communities together, keep me on the treadmill all the time.
First Jonas upgrades then Cocoon does, then Jonas again and then Cocoon
again, ad infinitum! And when everything works, Apple decides to
upgrade!! Open Source is the opposite of
Hi Joerg,
You're right. In my pipeline i solved it this way:
map:pipeline type=noncaching
map:match pattern=impressum
map:generate src=content/texts.xml type=serverpages/
map:transform type=session/
map:transform
Hi,
I'd like to ask people who are using OJB as a data layer in cocoon web
apps. Is the performance good, comparable to plain jdbc? I know that
plain jdbc could be faster but OJB (or other implementations) has
mechanisms to improve performance (caching, reading db fields on
demand). I'd like
Joerg Heinicke dijo:
On 04.05.2004 11:26, Michael Wechner wrote:
Is it possible that the JISP problems
http://archives.real-time.com/pipermail/cocoon-devel/2004-April/030844.html
of 2.1.4 have been solved within 2.1.5-dev?
Not directly, you only have now two alternatives delivered with
Since it's important for me and nobody answered yet, i repost my question:
Hi there,
I'm trying to send mail via the sendmail action with html-body and
pdf-attachment, my sitemap looks like this:
map:act type=sendmail
map:parameter name=smtphost value=some.smtp.de/
map:parameter
mirko wrote:
Hi,
I'd like to ask people who are using OJB as a data layer in cocoon web
apps. Is the performance good, comparable to plain jdbc? I know that
plain jdbc could be faster but OJB (or other implementations) has
mechanisms to improve performance (caching, reading db fields on
Joerg Heinicke dijo:
On 03.05.2004 21:53, Deepak Mehta wrote:
The two communities together, keep me on the treadmill all the time.
First Jonas upgrades then Cocoon does, then Jonas again and then Cocoon
again, ad infinitum! And when everything works, Apple decides to
upgrade!! Open Source is
Antonio
Thanks for the honest (and heartfelt!?) response.
Please do not take my remarks as any kind of criticism
for the developers; I think they are (and have been) doing
a great job. I understand too that they are doing what they
love and enjoy, as and when they can. Nonetheless, I
think
Reinhard Poetz wrote:
OJB has a performance test suite.
Robert posted results here:
http://marc.theaimsgroup.com/?l=ojb-devm=108208175512540w=2
Thanks. I'd like to use JDO api but it wasn't in the test results. If
its performance is like the PB's I could accept it.
Regards,
mirko
Joerg Heinicke wrote:
On 04.05.2004 11:26, Michael Wechner wrote:
Is it possible that the JISP problems
http://archives.real-time.com/pipermail/cocoon-devel/2004-April/030844.html
of 2.1.4 have been solved within 2.1.5-dev?
Not directly, you only have now two alternatives delivered with
Hi!
Has anyone find an answer to this question?
I want to do the same: Test a session attribute (ID = not sessionID,
but userID) in sitemap. If sessionis equals a defined value, it should
refer to pageA, else refer to pageB.
What is the correct syntax of the SessionAttributeSelector? Found
Title: Question about JSP generator
Hi,
As far as I understand, the JSPGenerator calls the Jasper JSPServlet to compile a JSP file.
The Jasper servlet has some init parameters that I would like to set when used inside Cocoon.
Is it possible to set these parameters in the web.xml file of
David Leangen wrote:
[X ] A. I think that we should show users the best way
to get up and running with Cocoon.
[X ] B. I think that we should show users all the options
possible and let them decide the best approach.
[ ] C. Yeah, whatever. Either way is good for me.
The JDO implementation presently in OJB is a big fat special case.
It relies on the JDO reference implementation, which breaks proxies. It
works, is compliant, and is performant if you don't want any proxies,
but this usually leads to some nasty memory issues.
On a performance note, the PB has
Forgot to say, that I am using the authentication
framework, so the session information is stored as XML.
With SessionModule/SessionAttributeModule I get no
access to these session vars.
Any ideas?
Christian
- Original Message -
From:
Christian
Rosenberger
To: [EMAIL
Anyone who encounters the same problem??
...OLE_Obj...
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ErrorVirtualMachine.gif
Anyone who encounters the same problem??
Kind regards,
Robby Pelssers
attachment: ErrorVirtualMachine.gif-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I had loads of these when I was doing JNI but they can be caused by all
sorts of things actually.
Can you give us a bit more information about your install and what
you're doing that causes this problem. I doubt that it's cocoon related
but maybe some of us can help you a bit further anyway.
Personally, I don't think there CAN be a single best way. Most of the
folks here seem to be writing their whole application in the web container
and using all the cool Cocoon provided stuff that does JDBC, etc. In my
world, I'm not even allowed to make JDBC calls from the web container. We
use
OK. I have done this before, but am confused as to the simplest way to
accomplish a fairly trivial task: Passing a request attribute to the
sitemap.
Yes, I have read the docs. And I remain somewhat confused.
What I want to do: Select a db record (MySQL db, Cocoon 2.1) based on a
value submitted
Does someone own some news about Groovy integration in cocoon ?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
hmm tough decision..
One the one hand, when newer users get stuck, it will be simpler to have
unified solutions.
On the other hand, we may end up with avalon components signing
guestbooks. ( A little overkill )
What I would love to see is all of the examples and ideas that are in
place now,
Con,
Thanks for the reply. In my sitemap, I do have:
map:serializer name=docbook mime-type=text/xml;
charset=iso-8859-1
src=org.apache.cocoon.serialization.XMLSerializer
doctype-public//OASIS//DTD DocBook XML
V4.2//EN/doctype-public
Title: Message
Hello
please, excuse my
ignorance, I've been looking at xreporter for a few days. I don't see much
activity there. Is this project alive?
thanks,
Argyn
Tim Larson wrote:
David Leangen wrote:
[X ] A. I think that we should show users the best way
to get up and running with Cocoon.
[X ] B. I think that we should show users all the options
possible and let them decide the best approach.
[ ] C. Yeah, whatever. Either way is good
[XX] A. I think that we should show users the best way
to get up and running with Cocoon.
[ ] B. I think that we should show users all the options
possible and let them decide the best approach.
[ ] C. Yeah, whatever. Either way is good for me.
Peace, man!
On Tue, May 04, 2004 at 11:11:20AM -0400, Kuketayev, Argyn wrote:
please, excuse my ignorance, I've been looking at xreporter for a few
days. I don't see much activity there. Is this project alive?
Yes it is alive, but it has it's own developer and cvs-commit-log
mailing lists. There have been
Thanks, I didn't see there's a separate list.
-Original Message-
From: Tim Larson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 04, 2004 12:08 PM
To: [EMAIL PROTECTED]
Subject: Re: is xreporter alive?
On Tue, May 04, 2004 at 11:11:20AM -0400, Kuketayev, Argyn wrote:
please,
Thank you for your input! Some excellent comments have been made and all are
noted.
So far, the poll results show that there is no unanimity (see below). I
think that it would be pretty unscientific to reach any firm conclusions
based on such a small sample, but I think that some trends can be
[I don't want to barge in on things here or step on anybody's toes. My
intention is only to get some direction so I can help contribute to the
Cocoon documentation. Although I am a relative newbie any my Cocoon skills
are 1/1000th of the vets lingering around on this list, I think that's
Thanks for all the input. Now to find a way to rework my code
-Christopher
Joerg Heinicke [EMAIL PROTECTED]
05/04/2004 04:04 AM
Please respond to users
To:[EMAIL PROTECTED]
cc:
Subject:Re: document() in xsl:variable - low performance
On 04.05.2004
Other than the CPA, we would show other options. For example, if a newbie
were reading up on JXTemplates, rather than saying that you can use Jexl or
JXPath, we would choose our CPA (for example, JXPath), but have a link to a
homologous page that explains the same things, but for Jexl. This would
I would suggest that if you want to write best/good practices that they be
done under classifications, i.e - what kind of website you have.
I think it would be quite useful to have a guideline for how to write a
simple site (although you could get a lot of that from the sample site), as
well as
I've just committed the new supersonic block, a tutorial/example app
called Supersonic Tour of Apache Cocoon, focused on Pipelines, Flow,
Forms (aka the Power Trio).
It is accessible from the blocks with samples page if you run the
current Cocoon CVS version.
The tutorial is meant to be
I'm using hibernate/cforms to build simple CRUD pages. These take the
results from a query and create an ArrayList of beans, display a page
worth of rows in a repeater, allow in place editting, and persist the
results back to the database.
Hibernate handles row updates automatically. Insertions
David Leangen dijo:
***
[ ] A. I think that we should show users the best way
to get up and running with Cocoon.
[ X ] B. I think that we should show users all the options
possible and let them decide the best
Joe D. Williams wrote:
OK. I have done this before, but am confused as to the simplest way to
accomplish a fairly trivial task: Passing a request attribute to the
sitemap.
[snip]
The documentation on the SQLTransformer suggests the following: [snip]
When I first struggled with this example
Title: PDF Display Problem with IE
I am getting a problem where IE sometimes receives a pdf document from cocoon, but either displays nothing, or displays the content of the pdf document as text (encoded at that).
Has anybody else come across this problem? If so, how does one get around it.
Le 4 mai 04, à 18:39, Nacho Jimenez a écrit :
... The average user does not give a shiling about JXTemplates,
JXPath, JEXL or whatever load of letters we decide to acronymize
today.
The user wants to know how can he set up his ubercool website
accessing XML documents and SQL data with the
Nacho Jimenez wrote:
Other than the CPA, we would show other options. For example, if a
newbie
were reading up on JXTemplates, rather than saying that you can use
Jexl or
JXPath, we would choose our CPA (for example, JXPath), but have a
link to a
homologous page that explains the same things,
Bertrand Delacretaz wrote:
Le 4 mai 04, à 18:39, Nacho Jimenez a écrit :
... The average user does not give a shiling about JXTemplates,
JXPath, JEXL or whatever load of letters we decide to acronymize today.
The user wants to know how can he set up his ubercool website
accessing XML
On Tue, 2004-05-04 at 18:39, Nacho Jimenez wrote:
Other than the CPA, we would show other options. For example, if a newbie
were reading up on JXTemplates, rather than saying that you can use Jexl or
JXPath, we would choose our CPA (for example, JXPath), but have a link to a
homologous page
Has anyone had any luck (or even tried) to create a bootable CD with a
working Cocoon/Jetty installed?
I've played a little with Knoppix [1], and I was impressed with what
they can cram into a single CD. There's even docs about remastering
Knoppix to suit your needs [2].
Things to think
On Tue, 2004-05-04 at 10:39, Derek Hohls wrote:
Bruno
I apologise then, if I misunderstood what you said.
I still do not think that we should use the term template
generator in this context. There are generators and there
are templates and I don't think their roles should be mixed.
New user here, but i've seen knoppix. comments inline...
-kz
Tony Collen wrote:
Has anyone had any luck (or even tried) to create a bootable CD with a
working Cocoon/Jetty installed?
I've played a little with Knoppix [1], and I was impressed with what
they can cram into a single CD. There's
Consider, also, using the StreamingMarkupBuilder as an XSLT alternative
for transforms =)
-Brian
On May 4, 2004, at 3:15 PM, Bertrand Delacretaz wrote:
Le 4 mai 04, à 16:33, olivier demah a écrit :
Does someone own some news about Groovy integration in cocoon ?
The ScriptGenerator (BSF block)
i know that we must not use this list for just for say thank you
but this tutorial is great
A big thank you from all to Bertrand!
Absolute work Just fine!!!
lets translate this tutorial to several languages
-- stavros
On Tue, 4 May 2004, Bertrand Delacretaz wrote:
I've just
Le 4 mai 04, à 22:07, Brian McCallister a écrit :
Consider, also, using the StreamingMarkupBuilder as an XSLT
alternative for transforms =)
hehe.
I've had this fuzzy feeling for a while, that a combination of the
EffectPipe (as used to create the EffectWidgetReplacingPipe in the
forms block)
Hi all,
Are there plans for another Cocoon GetTogether in 2004?
Or something similar?
Lars
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On Tue, 4 May 2004, JD Daniels wrote:
Nacho Jimenez wrote:
Other than the CPA, we would show other options. For example, if a
newbie
were reading up on JXTemplates, rather than saying that you can use
Jexl or
JXPath, we would choose our CPA (for example, JXPath), but have a
I'm confused by your statement. Did you mean that xsp/esql is perfect in
most cases for you (and your product website), or that you feel it is the
best way to perform an SQL query and that it should be recommended to
everyone?
Ralph
-Original Message-
From: [EMAIL PROTECTED]
i recommend the use of xsp/esql --- xml
when the needs are select only queries
it very simple/clean and cover the needs in most cases
i dont recommend this approach for update queries.
--stavros
On Tue, 4 May 2004, Ralph Goers wrote:
I'm confused by your statement. Did you mean that
I have been starting to use cocoon for my personal web site, and I am
becoming quite fond of it... Congrats go out to all devs.
I have a few apps i'd like to build, and either I am too new to cocoon
to understand all that i should, or what I want to do is stupid. In any
case, here we go.
I
If you aren't familiar with these already, please take the time to read some
of these. While any application that uses SQL can be vulnerable to this,
using SQL in the Web container typically will increase your risk (not simply
because you are in the web container, but because multi-tiered systems
On 04 May 2004, at 19:35, Bertrand Delacretaz wrote:
I've just committed the new supersonic block, a tutorial/example app
called Supersonic Tour of Apache Cocoon, focused on Pipelines, Flow,
Forms (aka the Power Trio).
Thanks a lot for this, Bertrand. I like the name and of course the
Power
Hi Sarah. That looks correct to me. So I don't know what's going wrong now, sorry.
Have you changed the source document? Cocoon may still be serving a
previously-serialized file from its cache, so it may be an idea to clear or invalidate
the cache, if you haven't already.
-Original
On May 4, 2004, at 10:54 AM, Joel McConaughy wrote:
I'm using hibernate/cforms to build simple CRUD pages.
Have you seen the alternative acronymn?: Create/Read/Amend/Purge :-)
These take the
results from a query and create an ArrayList of beans, display a page
worth of rows in a repeater, allow
Tony,
this works quite good. One year ago we remastered Knoppix to put the
http://www.mobiharz.de site within knoppix.
Things to think about:
o No writable disk. This means there would be nowhere to put logs
and other stuff. Does Knoppix have a ramdisk?
It has, as the other posts
88 matches
Mail list logo