Hi,
I am using 2.1 (lastest CVS):
What is the new name of input-module name=URI/?
I have in the sitemap:
map:matcher logger=sitemap.matcher.modular.non-cached name=uri
src=org.apache.cocoon.matching.modular.WildcardMatcher
input-module name=URI/
/map:matcher
map:matcher
Hello Robert,
what about an action, which retrieves the stylesheet path (or name) and
returns it to the sitemap. I can't think of other ways, especially
xsl:include/ is evaluated on compile time, not run time like variables.
Regards,
Joerg
Robert Sösemann wrote:
Question:
---
Is it
Hy;
First let me tell you: I like the idea of merging cocoon and struts,
because i see both technologies to be helpfull also in conjunction...
Omar Tazi wrote:
If you like the MVC aspect in Struts and like the flexibility provided
by XML/XSLT, and don't like the limitations that come with
Hi,
I've been trying to get a sorted file listing from the directory generator.
Here's my sitemap snippet:
map:match pattern=dynamic/**_dir.xml
map:generate type=directory src=dynamic/{1}
map:parameter name=sort value=name/
/map:generate
map:serialize type=xml/
/map:match
But there's no
Hello Torsten and many thanks for your response.
I use to convert a graph, it is yet coloured but I can change without
problem. Also only lines and texts. We don't have to use cocoon absolutely,
so if you can explain me how do you use your soft it will be a great help
for me.
Thank and have a
Sir,
I understand your frustration. We have been trying to get authentication
using that sunRise stuff for over a month now. One goes down the primrose
path only to find absolutely nothing - that is called frustration.
Actually, I believe that there is something that we have set incorrectly.
On Wednesday, Oct 30, 2002, at 17:06 Europe/London, Stephan Michels
wrote:
Currently the form param that holds the 'method' to be used in the
MultiAction is called 'method', is this not a reserved param name for
a
request? ie. it would always return the HTTP method?
The problem was name of
-Original Message-
From: Bert Van Kets [mailto:bert;vankets.com]
Sent: Wednesday, October 30, 2002 2:45 PM
To: [EMAIL PROTECTED]
Subject: Re: authentication frustration
Carsten,
Any idea when this will be solved?
I don't want to be ironical, but there are two possibilities
-Original Message-
From: Mathias Ochsendorf [mailto:matze;ochsendorf.net]
Sent: Wednesday, October 30, 2002 3:38 PM
To: [EMAIL PROTECTED]
Subject: RE: Cocoon 2.1 Authentication Samples
Hmm, strange... ok, can you please have a look at the logs
and find the exception which
On 31.Oct.2002 -- 02:41 AM, Antonio Gallardo Rivera wrote:
Hi,
I am using 2.1 (lastest CVS):
What is the new name of input-module name=URI/?
I have in the sitemap:
map:matcher logger=sitemap.matcher.modular.non-cached name=uri
Thanks Chris.
Can I remove it?
Antonio Gallardo.
El Jueves, 31 de Octubre de 2002 05:10, Christian Haul escribió:
On 31.Oct.2002 -- 02:41 AM, Antonio Gallardo Rivera wrote:
Hi,
I am using 2.1 (lastest CVS):
What is the new name of input-module name=URI/?
I have in the sitemap:
k, Thanks Carsten. I really respect your work and understand you have
other priorities at the moment.
I too will be very hard at work on a SAP project from November 18th till
February 2003. I will be developing iViews for the SAP Enterprise
Portal. One of the things I'll be testing is
Can you upgrade to Tomcat 4.1.12? I am using the authentication with the
lastest CVS 2.1 and every thing works fine.
Try to build two times with:
./build.sh -Dinclude.webapp.libs=true \
-Dinclude.scratchpad.libs=true webapp
./build.sh -Dinclude.webapp.libs=true \
-Dinclude.scratchpad.libs=true
The problem is caused by the bug described below.
A workaround is to add the user data to a session attribute and use that
one when the data is needed. The context data is only used by the
authentication actions :-(
I have a site running with authentication by mySQL database for a member
On Wed, 16 Oct 2002 16:35:04 +0400
Yury Mikhienko [EMAIL PROTECTED] wrote:
On 16 Oct 2002 07:16:29 -0400
Andrew C. Oliver [EMAIL PROTECTED] wrote:
There is a minor problem I have not had time to correct yet.
encoding is an attribute, but if its set the serializer should check
that its
Is there nothing else in any other log?
nothing else either in the tomcat log files nor in cocoon.
--
Mathias Ochsendorf
www: www.ochsendorf.net | www.ochsendorf.de
ICQ: 68556900
-
Please check that your question has not
Can you upgrade to Tomcat 4.1.12? I am using the authentication with the
lastest CVS 2.1 and every thing works fine.
yes with tomcat 4.1.12 everything works fine.
-
Please check that your question has not already been
Hello all users,
I have one easy example, which doesn't work. I look at
it for a long time and I don't know if I made some
Important mistake in codewriting or why id didn't work
L
I made a own logicsheet xsp-formfun
like this:
?xml
version=1.0 encoding=ISO-8859-1?
On 31.Oct.2002 -- 05:22 AM, Antonio Gallardo Rivera wrote:
Thanks Chris.
Can I remove it?
Antonio, remove what?
Antonio Gallardo.
El Jueves, 31 de Octubre de 2002 05:10, Christian Haul escribió:
On 31.Oct.2002 -- 02:41 AM, Antonio Gallardo Rivera wrote:
Hi,
I am using 2.1
Hello people !!!
I have the follow problem:
I'm generating PDF files through coccon but I'm getting problems
when I have to use different XSL files for different XML files.
For example:
I have the xml:
fileX-2002-10-31.xml = it uses the fileX.xsl
and the xml:
fileY-2002-10-31.xml = it uses
Hi Robert,
you can try something like:
map:match pattern=file*-*.pdf
map:generate src=file{1}-{2}.xml/
map:transform src=file{1}.xsl/
map:serialize type=fo2pdf/
/map:match
regards,
Rubem
|-+
| | Robert Siqueira |
|
Thanks Ruben... its worked !
But, would you can explain me what
do this attribute *-* ?
thanks...
[EMAIL PROTECTED] wrote:
Hi Robert,
you can try something like:
map:match pattern=file*-*.pdf
map:generate src=file{1}-{2}.xml/
map:transform src=file{1}.xsl/
I asked this within another thread, but since it does not belong there, i post it again under a new title:
I am a bit confused. I'm following the discussons in this mailing list for about a week now and i found at least two other products/components (whatever) mentioned in the various emails
El Jueves, 31 de Octubre de 2002 06:29, Christian Haul escribió:
On 31.Oct.2002 -- 05:22 AM, Antonio Gallardo Rivera wrote:
Thanks Chris.
Can I remove it?
Antonio, remove what?
This: input-module name=URI/ from my sitemap.
Can I remove it?
Antonio
Antonio Gallardo.
El Jueves, 31
Try also to upgrade to Java 1.4.1. I am using it since August and it seems to
be stable.
Antonio Gallardo.
El Jueves, 31 de Octubre de 2002 05:55, Mathias Ochsendorf escribió:
Can you upgrade to Tomcat 4.1.12? I am using the authentication with the
lastest CVS 2.1 and every thing works
Hi,
to be honest I have no idea what you are talking about :-).
1.) Why are all such nice and nifty add ons developed all outside of cocoon
?
Exactly which components/add-ons do you mean?
2.) When i move to such an add on component, how can i enshure to keep up
with the releases of cocoon
On Thu, 31 Oct 2002, Jeremy Quinn wrote:
On Wednesday, Oct 30, 2002, at 17:06 Europe/London, Stephan Michels
wrote:
Currently the form param that holds the 'method' to be used in the
MultiAction is called 'method', is this not a reserved param name for
a
request? ie. it would
I hope this will not make things even more confusing for you,
but here is my view:
Struts is 3 parts:
1) An URL map, matching URLs to Actions.
Everything you can do with struts-config.xml (Struts), you can do with
sitemap.xmap (Cocoon).
2) Custom JSP tags for rendering HTML, like i18n, access
Hi all !
Hi Stephan !
I didn't manage to do the correction against the login error :
I modified the sitemap.xmap in samples/slide, changing line 159 from
map:parameter name=destination value={request:resource}/
to
map:parameter name=destination value={request-param:resource}/
I guess
I too will be very hard at work on a SAP project from November 18th till
February 2003. I will be developing iViews for the SAP Enterprise
Portal. One of the things I'll be testing is integrating Cocoon in an
iView. Should be interesting, specially with the web3 component (i got
running
Ivelin,
As this is an often discussed question: Do you mind adding it to the
CocoonWiki? If no I could do it for you ...
Regards,
Reinhard
-Original Message-
From: Ivelin Ivanov [mailto:ivelin;apache.org]
Sent: Thursday, October 31, 2002 2:52 PM
To: [EMAIL PROTECTED]
Subject: Re:
Is this tag already working?
I am having troubles with it.
inside row-results I cannot use it.
I am building some excel files and I need the value of esql:row-count to
navigate trought the cols. I dont know how many cols will be, there are
dynamically based on the row-count that the given
Actually what you describe is the correct behavior of repeat.
If you look at the W3C XForms spec, it says that repeat will render the
nodeset which satisfies the XPath selector.
How many boxes do you expect to render?
One solution is to change the getter method for the languages property, so
Thank you Dianna for handling the patch.
- Original Message -
From: Ivelin Ivanov [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, October 28, 2002 11:25 PM
Subject: Re: internalisation with schematron (XML-Form)
Many thanks !
I will review and apply the patch.
... now only
Hi All,
I'm trying to write my own action to handle user authorisation. I'm
using sunRise for user authentication and need a way to get at the ID
and role values for the current session from within an action (a Java
class). I know I need a reference to the sunRise context, but don't
know how
On Thu, 31 Oct 2002, Olivier Billard wrote:
Hi all !
Hi Stephan !
I didn't manage to do the correction against the login error :
I modified the sitemap.xmap in samples/slide, changing line 159 from
map:parameter name=destination value={request:resource}/
to
map:parameter
What is stopping you from using the authentication as provided?
Oh and if someone knows of a better (and easier) way of doing
authorisation in 2.0.3 I'm keen on hearing about it, eventhough I want
to try my action method first.
Perhaps you could detail what is missing from the provided
On 31.Oct.2002 -- 07:40 AM, Antonio Gallardo Rivera wrote:
El Jueves, 31 de Octubre de 2002 06:29, Christian Haul escribió:
On 31.Oct.2002 -- 05:22 AM, Antonio Gallardo Rivera wrote:
Thanks Chris.
Can I remove it?
Antonio, remove what?
This: input-module name=URI/ from my sitemap.
I created a coplet and I can't get it's content in the portal.
When I call the coplet URL directly I get the XML data. I have configured
teh coplet in the global, role and user profile, but when I call the portal
I always get The coplet is currently not available.
I changed the content to a
Many thanks for your response !!
Here is my Exception :
[
The org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode
notifies that java.lang.NullPointerException says:
More precisely:
java.lang.NullPointerException
]
And the stack trace :
[
java.lang.NullPointerException stacktrace
Bert,
check the logs for an exception. The error message coplet not available is
generated when an exception occurs. Perhaps the configured URI for the
coplet is not correct? I often forget the cocoon:/ at the beginning :-)
Matthew
--
Open Source Group Cocoon { Consulting, Training,
El Jueves, 31 de Octubre de 2002 08:24, Christian Haul escribió:
On 31.Oct.2002 -- 07:40 AM, Antonio Gallardo Rivera wrote:
El Jueves, 31 de Octubre de 2002 06:29, Christian Haul escribió:
On 31.Oct.2002 -- 05:22 AM, Antonio Gallardo Rivera wrote:
Thanks Chris.
Can I remove it?
Matthew Langham wrote:
Hi,
to be honest I have no idea what you are talking about :-).
Sorry, i meant
1.) www.cocoondev.org
This is a great site but i expected this under cocoon!
2.) http://www.orbeon.com/oxf/
i found this pointer today in the struts discussion trail. I did not
Matthew Langham wrote:
What is stopping you from using the authentication as provided?
As far as I've been able to discover, the sunRise solution (in 2.0.3)
doesn't supply a mechanism for restricting resources by user role.
All that it does is check that the user has successfully logged in.
I
1.) www.cocoondev.org
This is a great site but i expected this under cocoon!
And soon it may well be. Remember the Cocoon project is an _Apache_ project
and therefore runs on Apache hardware etc. etc. The cocoondev.org site is
completely different. It was started by Steven Noels from
Hi Matthew,
just before your mail came in I found by comparing to the orther coplet
configurations that I had indeed forgotten the cocoon:raw:// in the coplet
URI. This is embarrassing.
Maybe it should be emphasized a little bit more in the docs. It seems a
lot of people are using the portal,
It looks to me like you have the sitemap matcher setup
under the bonebreaker demo sub sitemap. It appears
that a general matcher for *.xml from bonebreaker is
taking precidence over this tutorial's sitemap
fragment.
So, either move the match for
map:match pattern=howYouDoin.xml
My idea was to use an action to do this check, like the auth-protect except
that this action would set some parameters indicating which resource the
pipeline should use.
Use the auth-protect action. This action returns a map of values to the
sitemap processing.
Inside the Action use the
Sound quite good, Joerg. But I have no idea how to pass the filepath string
from an Action to to an Transformer in the sitemap.
Can I have a transformer with an variable src attribute value?
It would be great if you could give a short example or snippet, how to get
that.
Thanks in advance.
On Thu, 31 Oct 2002, Olivier Billard wrote:
Many thanks for your response !!
Here is my Exception :
[
The org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode
notifies that java.lang.NullPointerException says:
More precisely:
java.lang.NullPointerException
]
And the stack
Hi Robert,
say you're action returns a Map that contains the key 'stylesheet'
You could then have
map:act type=retrieve-stylesheet
map:transform type=xsl src={stylesheet}/
/map:act
somewhere in your pipeline.
Looking at your sample, I reckon you need the stylesheet when someone followed the
I am struggling with the dbselect action. When I check the sitemap, I am able
to see that the select is working and dumping the values to the sitemap. My
problem is how to access the values from within an xsl. Are there any
examples of this around, I seem to be able to find examples of the
Thanks again !
But I access to a blank page, without Exception raised...
- Original Message -
From: Stephan Michels [EMAIL PROTECTED]
To: cocoon-users [EMAIL PROTECTED]
Sent: Thursday, October 31, 2002 4:14 PM
Subject: Re: Using Slide with Cocoon 2
On Thu, 31 Oct 2002, Olivier
Hello,
I have a transformer which I would like to make
Cacheable. I've noticed there have been some changes
in 2.1 dev in how to make components Cacheable. Is
there any documentation which explains how to do that?
Thanks,
-Alex
From: Antonio Gallardo Rivera
Thanks Chris.
Can I remove it?
Yes!
Simply use: {request:requestURI} instead or any other property from the
Cocoon Request object. Take a look at the input modules sample for almost
the complete list of possible values. It's in Cocoon 2.1-dev at:
On Thu, 31 Oct 2002, Olivier Billard wrote:
Thanks again !
But I access to a blank page, without Exception raised...
Nothing, also when you take a look into the source. Any exceptions
in the logs? Hmm.
- Original Message -
From: Stephan Michels [EMAIL PROTECTED]
To:
Hi Robert,
But, would you can explain me what
do this attribute *-* ?
map:match pattern=file*-*.pdf
The first asterisk '*' matches everything between 'file' and the first '-'
(that's, 'X', or 'Y' in your example).
The second '*' matches the rest until '.pdf' (the date in your example).
Seeing as we are on the topic
Is there any guide/mechanism {fill in noun of your
choice here} for a clear and simple way to link
to (i.e. get data in and out of) one/any of the
existing XML databases ... this area seems to
me to be a natural complementto the superb
XML handling
Hi All,
Excuse me for my poor english.
I have to access the output after the transformation/serialization and
before it is send in the HttpResponse, because I have to save it in a file
and send just a code to the client.
I tried with redirection in my XSL stylesheet, but just the XML datas are
Oooh yep, sorry !
Here it is :
[
ERROR (2002-10-31) 17:26.28:512 [sitemap.generator.principallist]
(/cocoon/samples/slide/authenticate) Thread-8/PrincipalListGenerator: Could
not lookup for component.
org.apache.avalon.framework.component.ComponentException: Could not find
component
at
On 31.Oct.2002 -- 07:57 AM, [EMAIL PROTECTED] wrote:
I am struggling with the dbselect action. When I check the sitemap, I am able
to see that the select is working and dumping the values to the sitemap. My
problem is how to access the values from within an xsl. Are there any
This
Hello,
I can't seem to figure out how to redirect back to a
protected resource after the authentication. The
sample only has one resource called protected.
For example, I would like to protect anything that is
under cocoon/admin/*. Let's say someone requests
cocoon/admin/add-user resource.
On Thu, 31 Oct 2002, Olivier Billard wrote:
Oooh yep, sorry !
Here it is :
[
ERROR (2002-10-31) 17:26.28:512 [sitemap.generator.principallist]
(/cocoon/samples/slide/authenticate) Thread-8/PrincipalListGenerator: Could
not lookup for component.
Ye !!
It works perfectly, it was that. I put the jta.jar in the scratchpad/lib
dir, and not in the lib/local...
I didn't notice the warning and the war was build.
Thank you very much for your patience, Stephan.
I think I'll have a nice week end
Regards,
Olivier
- Original Message
Ivelin wrote:
3) Form handling.
Automated binding between HTML input fields and JavaBeans.
Cocoon's XMLForm does that and much more. It not only provides the
binding,
but it does it in a browser independent way. Struts is only designed to
handle automatically HTML input.
This is a very
So I still don't know the answer to this question, but while
experimenting trying to find the answer I discovered that I can't
access any components defined in a sub-cocoon.xconf that require a
ComponentSelector, specifically a datasource.
I have one component that's defined in my
On Thursday 31 October 2002 12:03, Jeremy Quinn wrote:
But I am even more confused now ;)
'Off the Shelf' slide.xconf is set up to use the FileContentStore to
store content in $CATALINA_HOME/contentstore (as I understand it), but
I never see any files or folders there .
Does it really
Title: C2 and OC4J
Hi, I'm trying to install C2 under OC4J and I can´t find how to install it.
Does anybody knows where can I find the installation instructions ?
Thanks.
Alejandro
...
How many boxes do you expect to render?
One solution is to change the getter method for the languages property, so
that it pads the array with blank entries to match the value of
descriptionsNumber if the array's current size() is less than that of
descriptionsNumber .
It seems you were
Hi,
I have cocoon 2.0.3 installed and I want to use esql. In the documentation is
written that esql _also supports_ prepared statment.
So I have written a small db-access-page to insert something into my db.
But if i try to insert something with an ' in it, it doesnt work. I get an
Christian SCHRÖTER wrote:
Hi,
I have cocoon 2.0.3 installed and I want to use esql. In the documentation is
written that esql _also supports_ prepared statment.
So I have written a small db-access-page to insert something into my db.
But if i try to insert something with an ' in it, it doesnt
Title: Mensaje
Please, I have a war running with Tomcat and I have to make it work with
OC4J, the problem is the parser. How can I tell Cocoon to use the Oracle
parser, or how can I tell OC4J to user the Cocoon's parser ?
Thanks
-Mensaje original-De: Alejandro Raiczyk
What the difference between
map:pipeline
map:match=foo../
map:match=bar../
/
and
map:pipeline
map:match=foo../
/
map:pipeline
map:match=bar../
/
Thanks in advance:
Steve Punte
[EMAIL PROTECTED]
__
Do
From what I understand there isn't a whole lot of difference, but
having separate pipelines allows you to use different pipeline
implementations to allow for things like caching, logging, etc.
Justin
On Thursday, October 31, 2002, at 11:59 AM, Steven Punte wrote:
What the difference between
Hi,
I'm playing with Cocoon since one week. I try to run the Gallery sample
shipped with the Building XML Applications book with no success.
The System: Tomcat-4.0.3, Win2k, Cocoon 2.0.3, JDK1.4.0
When I try to transform the svg.xml document to jpeg image using the
svg2jpeg serialiser the
Is there an example of how to do this available?
On 31.Oct.2002 -- 07:57 AM, [EMAIL PROTECTED] wrote:
I am struggling with the dbselect action. When I check the sitemap,
I am able to see that the select is working and dumping the values
to the sitemap. My problem is how to access the
SAXESS - Hussayn Dabbous wrote:
But i am also a bit confused. I'm following the discussons in this
mailing list for about a week now and this is already the second
mentioning of a product/component (whatever) that claims to be an on
top of cocoon development. But when i enter the pages
77 matches
Mail list logo