Thanks for your answer. How did you manage to disable all logging? Could you
detail the steps?
Regards.
Olivier.
-Message d'origine-
De : Nicolas Toper [mailto:[EMAIL PROTECTED]
Envoyé : lundi 19 janvier 2004 10:59
À : [EMAIL PROTECTED]
Objet : Re: AGAIN : Using in conjunction with
Hi all!
I have a problem with the authentication framework.
I have the user information (in this case username/password and other info) in a
remote MySQL database, for which I have already set a connection pool in Cocoon
(2.1.3).
I have two ways for doing such user authentication:
1) writing a
Hi,
I am trying to use strace to debug a slow svg pipeline. Now i remember
doing this a long time ago, and getting *loads* of output.
When I now do (5401 being the tomcat process)
$strace -p 5401
i just get
accept(14,
and then nothing anymore. What am I missing? PID 5401 is the only tomcat
Hi all!
I have a problem with the authentication framework.
I have the user information (in this case username/password and other info) in a
remote MySQL database, for which I have already set a connection pool in Cocoon
(2.1.3).
I have two ways for doing such user authentication:
1) writing a
Peter Horsfield wrote:
Hi Upayavira, everyone:
I did manage to put together a quick article about
generating offline sites using Cocoon (hurrah!). I'd
hoped to have had some more specifics about
GrumpyKitty.biz, but I didn't quite get there in time.
Maybe next weekend.
So for more information
Hi,
2) customize the authentication resource, to use the existing
authentication framework. But Where can I add the custom code that queries
my database? Do I Have to change only the AuthAction class?
This should help you:
http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=105289531706378w=2
Ralph,
thanks for returning my post at the cocoon users group. I would like to qualify this email by saying first that I have, until 2 weeks ago, never touched unix or open source, hence my somewhat infantile questions ;-)
Now, in terms of what I am looking to achieve it goes as so:
1. Create an
You can tell my problem from this line in the access log:
INFO(2004-01-19) 14:00.15:336 [access] (/my.svg)
http8080-Processor8/CocoonServlet: 'my.svg' Processed by Apache Cocoon
2.0.4 in 3.6660166 minutes.
So one SVG takes about 3.5 minutes to render. Now if i was rendering the
surface
Hi,
I'am looking for a good and practicable way to determine the Path to the
mount Root.
e.g. /mount/projectname/
or /cocoon/mount/projectname/
Is there any way or have I do that everytime hard in the source?
Regards cham
Christian A. Meyer
Software Development
GODYO AG
Prüssingstraße 35
Hi,
I want to use the woody class for a recursive kind
of job:
Question ..
Question../
/
Based on the sample included with woody, I've used
a similar design to nest each question/ (that shouldn't be a problem in
template/definition hopefully),
but I wonder if the binding already works
I also used an aggregation to create my pages, until marc pointed me out
that you can do the same with xinclude. When I changed to xinclude (passing
the URI as a variable) I had the impression that it all went just a little
faster (Or was I just thinking slower;-). Maybe it's worth a try, it's
Hmmm, thats a great idea!
Thanks, I'll look into this.
-Original Message-
From: Upayavira [mailto:[EMAIL PROTECTED]
Sent: Monday, January 19, 2004 6:47 AM
To: [EMAIL PROTECTED]
Subject: Re: Link Livesites: Cocoon 2.1 - Offline Generated Site
Peter Horsfield wrote:
Hi Upayavira,
Hi Jan,
I haven't really used cinclude or xinclude before.
Here is my usecase : I need to iterate over all request parameters
(unknown in advance how many there are or if there are any at all) and
use them in my stylesheet that transforms the SVG.
Can I use xinclude for this? I'ld be happy to
I'm using content aggregation as well a lot and somehow I'm not that
satisfied with the speed of results too.
I just found the cinclude transformer and am thinking about replacing my
current content aggregations with it.. (Just did some tests and was quite
satisfied with it !)
My question: what's
Thanks Laurent -- that works great!
Another question, is there a way to pass a request
parameter with it, so that the anchor is something
like:
a
href=portal?portal-action=nportal-event=mnews-id=xMy
News Page/a
Thanks,
-Alex
--- Laurent Trillaud [EMAIL PROTECTED] wrote:
Hi,
Events in the new
I need some tips to get understand.
I've got working flow made with JXForm. It collects data from forms into
model variable.
Now I want to use my working XSP Logicsheet with this model.
I know I (probably) can use JPath Logicsheet to mix model into XSP.
But I cannot get how to mix flow with XSP,
Thank you Jens, but I have some doubts about this pipeline
From : Jens Maukisch [EMAIL PROTECTED]
2) customize the authentication resource, to use the existing
authentication framework. But Where can I add the custom code that queries
my database? Do I Have to change only the AuthAction
Alex
Yes, but it's a bad idea, because you haven't insurance about coplets
synchronization, and you will not have the benefit of the history record of
the portal.
The good design is to use coplet attributes.
1. Declare an attributes in copletinstancedata/portal.xml
coplet-instance-data
Hi Laurent,
Thanks very much for your help. This makes sense.
I'm going to play around with it.
Thanks,
-Alex
--- Laurent Trillaud [EMAIL PROTECTED] wrote:
Alex
Yes, but it's a bad idea, because you haven't
insurance about coplets
synchronization, and you will not have the benefit
of the
Hi,
Can't you use pseudo protocol context:// ?
Regards,
Marcin Okraszewski
Hi,
I'am looking for a good and practicable way to determine the Path to the
mount Root.
e.g. /mount/projectname/
or /cocoon/mount/projectname/
Is there any way or have I do that everytime hard in the source?
Marcin Okraszewski wrote:
Hi,
I have a filling that there is some bug with xsp:attribute. It seems,
that attributes are always created, no matter if there is some logic
that should prohibit to create the attribute.
For instance:
layout:data-source
xsp:logic
if (false) {
Why is the svgserializer making an http call to web5.w3.org every time a
template is rendered? Would the used doctype be the culprit here?
!DOCTYPE svg PUBLIC -//W3C//DTD SVG 1.0//EN
http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd;
Batik seems quite picky about which doctype to
Andrew,
I still believe that you are making this far more complex than it needs to
be!
Instead of writing your own Action, use the authentication framework that
comes with Cocoon. It has an action called 'auth-protect' that does
everything you need it to do. It verifies that the user is logged
Morley,
I hear what you are saying and have already implemented the following pipeline:
map:match pattern=login>
map:act type=validator>
map:parameter name=descriptor value=context://beyarecords/content/def/form_validation-def.xml/>
map:parameter name=validate-set value=login />
map:act
Derek Hohls wrote:
Does this mean that if you start Cocoon
from the command line (as described), it
will then be running in a system window;
from which you can use the Ctrl+C prompt?
FYI this is only in the stripped down Jetty we bundle for
convenience. The full version uses a shutdown listener
Jorg Heymans wrote:
Why is the svgserializer making an http call to web5.w3.org every time a
template is rendered? Would the used doctype be the culprit here?
!DOCTYPE svg PUBLIC -//W3C//DTD SVG 1.0//EN
http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd;
Look at the catalog support in
If you need the physical pathname you can use the RealPath input module.
Have a look at the input module samples:
/cocoon/samples/modules/realpath.xsp
Hugo Burm
-Original Message-
From: Marcin Okraszewski [mailto:[EMAIL PROTECTED]
Sent: Monday, January 19, 2004 5:37 PM
To: [EMAIL
I have modified the Woody xml binding example, stripping it down to
simply modifying contacts.
My form is prepopulated with 7 contacts, with each contact having an
incremented value. Every time you submit it increases the value. The
name of the field (which is hidden) containing the value is
Andrew,
It looks like you've written your own 'authenticator' action to do
authentication. All I'm saying is that you should take a look at using the
authentication framework instead. It has actions like 'auth-protect',
'auth-login', 'auth-logout' and 'auth-loggedIn'.
It also looks like you've
Hello all,
today I encountered a strange behaviour in the XPath Directory
Generator. I was using it on a directory with about 600 files. If I
was specifying the attribute value for the parameter xpath as root
(/, see below), the generated output could only be processed by
cocoon in a
Hi,
I´m playing around with Cocoon since 2 weeks after I had a former look
last Spring.
I think that Cocoon has become a really good product because of Flow and
portal implementation.
Now I´m looking for developers in my area which is between Hannover,
Hamburg and Bremen (Germany, of course)
I need to, in the flowscript, increment these values before they are
written back into the xml. However, I am unable to retrieve the value by
doing cocoon.request.get(contacts.0.votes), and even if I did I don't
know how to change the parameter.
I've found this docu to be priceless:
Hi,
is there anybody who has got the OJB samples up and running and maybe
can give me a hint what might be wrong here? I use the latest CVS and
have the required jars (jdo + jdori) in place. Yesterday I used the
binary release, today I successfully build jdo from source, only the
result
Hi,
I've spend the last 2 hours in integrating the HTMLArea (the free
customizable online editor, http://dynarch.com/htmlarea/) into my
project which worked pretty smooth compared with my tests yesterday with
midas from the Mozilla project (or even worse: the typo3 RTE editor...)
In my company
On Mon, 19 Jan 2004, Patrick Hess wrote:
Hi,
I've spend the last 2 hours in integrating the HTMLArea (the free
customizable online editor, http://dynarch.com/htmlarea/) into my
project which worked pretty smooth compared with my tests yesterday with
midas from the Mozilla project (or
Patrick Hess wrote:
Hi,
I've spend the last 2 hours in integrating the HTMLArea (the free
customizable online editor, http://dynarch.com/htmlarea/) into my
project which worked pretty smooth compared with my tests yesterday
with midas from the Mozilla project (or even worse: the typo3 RTE
On Mon, 19 Jan 2004, Upayavira wrote:
Patrick Hess wrote:
Hi,
I've spend the last 2 hours in integrating the HTMLArea (the free
customizable online editor, http://dynarch.com/htmlarea/) into my
project which worked pretty smooth compared with my tests yesterday
with midas from
[EMAIL PROTECTED] wrote:
i'm not sure for that but if you try to convert html code to xhtml using
html generator and Jtidy. in a work in progress example i post the html
content from a text area to a pipeline and save it as .xml (xhtml) in
filesystem without escaped characters. i'll publish
Upayavira wrote:
Have you looked at Linotype? It is in the Cocoon Linotype block, and has
a client side Javascript editor built in. Stefano wrote it, and it has
been suggested that this should be made into a Woody widget. If you were
able to create a Woody widget of the Linotype editor, I'm
[EMAIL PROTECTED] wrote:
this javascript editor support IE or not yet ?
btw linotype sample does not work for a long time
I've tested it on a fresh 2.1.3 yesterday and it worked for me. It
supports (only) Mozilla because of using the midas editor
(http://www.mozilla.org/editor/).
Patrick
Patrick Hess wrote:
[EMAIL PROTECTED] wrote:
this javascript editor support IE or not yet ?
btw linotype sample does not work for a long time
I've tested it on a fresh 2.1.3 yesterday and it worked for me. It
supports (only) Mozilla because of using the midas editor
Try:
xsp:logic
if (false) {
xsp:attribute name=should-not-betrue/xsp:attribute
}
/xsp:logic
Regards,
Wow - it works. Who would expect it is so simple :-)
-
To unsubscribe, e-mail: [EMAIL
Hi,
I want to set date and time in a field but in 24 hours format. I set
fallowing entry in model:
wd:field id=dueTo
wd:datatype base=date
wd:convertor type=formatting
wd:patterns
wd:patterndd.MM. HH:mm/wd:pattern
wd:pattern
Laurent,
I think I'm almost there, however I'm getting an error
and I believe it is because I don't quite understand
your point #2 and making some mistake there. The
error that I get is:
org.apache.cocoon.ProcessingException: Failed to
execute pipeline.:
Hi, all:
I am tring to use cinclude to include some xml frags in main page and I want
to pass some
parameter to that frag. I was learned that I could use cinclude in following
format
cinclude:includexml xmlns:cinclude=http://apache.org/cocoon/include/1.0;
srcXMLURI/src
cinclude:parameters
On 18.01.2004 17:53, Katharina Weimer wrote:
Hello Joerg,
thanks so far for your tip.
I already figured out as well what my problem wastoo simple. ;)
Just had forgotten to remove the /** from my former tests.
So what do you suggest - is it better to skip using the request params when
working
On 17.01.2004 15:08, Helmut Tammen wrote:
I´ve developed a woody app that has some input fields on a form and a
Print button. Pressing the button leads to a pipeline that
generates PDF Output of the form fields.
This is o.k. as long as I run the woody application as standalone
app. When I run
Hello Marcin,
we know that the xsp.xsl is somewhat buggy. In this special case a bug
already exists: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15841.
The reason for your problem is, that first xsp:attribute is collected
and afterwards all the other elements.
Joerg
On 19.01.2004
On 19.01.2004 20:26, Markus Vaterlaus wrote:
Hello all,
today I encountered a strange behaviour in the XPath Directory
Generator. I was using it on a directory with about 600 files. If I was
specifying the attribute value for the parameter xpath as root (/, see
below), the generated output
On 20.01.2004 00:12, Marcin Okraszewski wrote:
But when I enter a sample date 24.01.2004 12:05, it is recognized as
00:05 (12:05am) (it is saved in DB in this way). But when I enter
24.01.2004 13:05, then it is all right (1:05pm).
I might be wrong but isn't the change from AM to PM at 13:00 and
On 20.01.2004 12:25, Jian Dai wrote:
Hi, all:
I am tring to use cinclude to include some xml frags in main page and I want
to pass some
parameter to that frag. I was learned that I could use cinclude in following
format
cinclude:includexml xmlns:cinclude=http://apache.org/cocoon/include/1.0;
Patrick Hess wrote:
...
Body
lt;bgt;hello worldlt;/bgt;
Body
...
when I would like to have:
...
Body
bhello world/b
Body
...
For the HTML editor this seems to be perfectly alright because editing
such a file (as 1st example) is ok! So might need to escape the tags
again
On 19.01.2004 15:42, Jan Hoskens wrote:
Well, I'm currently using both (started with cinclude, then just curious to
use xinclude, ending up with them both;-), but have not yet noticed a big
difference between them (nor any problems). The only thing to keep in mind,
as far as I know, is that
On 20.01.2004 13:25, Jian Dai wrote:
Hi, Joery:
I am sorry that I did not make my problem more clearer.
No problem, that's communication :)
As you mentioned, my problem is that my cinclude transformer COULD NOT
understand the notation for the first alternative but I cannot figure
out the reason
leo leonid dijo:
Hi,
is there anybody who has got the OJB samples up and running and maybe
can give me a hint what might be wrong here? I use the latest CVS and
have the required jars (jdo + jdori) in place. Yesterday I used the
binary release, today I successfully build jdo from source, only
Hi, Joery:
1. There is no error message. The system just treated them as normal xml
tag.
In my example,
xmlns:cinclude=http://apache.org/cocoon/include/1.0;
cinclude:srcXMLURI/cinclude:src
cinclude:parameters
cinclude:parameter
cinclude:nameparaone/cinclude:name
Hi,
I have, for the first time, installed hibernate and followed
instructions I managed to get concerning hibernate and cocoon, and of
course it doesn't work! When you run the pipeline:
map:pipelines
map:pipeline
map:match pattern=test
Title: Calling an XSP generated class from XSLT
Hi All,
I have an interesting request for everyone to consider: I need invoke an XSP class from within an XSLT document (via use of the Xalan java extension functionality.) I'd ideally like to invoke this as a generator, so I can make use of
Title: Calling an XSP generated class from XSLT
Hi
Corin
I've
never done this, but I think you may find it a bit tricky. Best of luck though!
What does the XSP do?
If you
still have problems you might be better to use standard Cocoon-pipeline
techniques to integrate rather than
Alex
Can you give snippets of your copletinstancedata/portal.xml file and your
sitemap.xmap?
Laurent
-Message d'origine-
De : Alex Romayev [mailto:[EMAIL PROTECTED]
Envoyé : mardi 20 janvier 2004 00:21
À : [EMAIL PROTECTED]
Objet : RE: [portal] Linking to portal pages
Laurent,
60 matches
Mail list logo