9, 2013 at 5:29 PM, Jos Snellings <
> jos.snelli...@upperware.biz> wrote:
>
>> Hi Mansour,
>>
>> Try:
>>
>>
>>
>>
>>
>>
>>
>>
>> On Wed, Jun 19, 2013 at 5:14 PM, Mansour Al Akeel <
>> mansour.alak
8:33 PM, Joel McConaughy > wrote:
>
>> Try this...
>>
>> > src="org.apache.cocoon.serialization.XMLSerializer">
>> UTF-8
>> true
>>
>>
>>
>>
>> On Wed, Jun 19, 2013 at 7:53 AM, Mansour Al Akeel <
>> mansour.alak.
How do I remove the xml declaration and doctype from xml and html
serializes ??
It looks like a bug.
http://mail-archives.apache.org/mod_mbox/cocoon-users/200806.mbox/%3c48595f00.7080...@tuffmail.com%3E
I can confirm that this functionality is not working as described in the
documentation.
On Tue, May 28, 2013 at 1:09 PM, Mansour Al Akeel wrote:
>
> Is the place
Is the placeholder valid within the same property files. For example:
repo.base=/opt/repository
contents.base=${repo.base}/contents
articles.path=${contents.base}/articles
If this is valid for C3.0. If so, then I am getting very strange behaviour
loading properties properly. Some properties ar
This one contains 2 webapps. Did you have a look ??
https://github.com/ilgrosso/cocoon3EmptyProject/tree/COCOON3-105
I can not tell what is wrong, without an error message, but in order for
the the block to deploy properly, the configuration should match the
running mode. So if your spring configu
the tranformer factory. The question is how can I set
this "attribute" configuration to the map of parameters I need ??
For example:
doesn't not take "attributes".
If there's a better way to get this catalog business moving, it will be
highly appreciated.
Thank you.
With C3.0-beta, I am trying to use CatalogManager.properties to direct
request of a DTD to another location.
I copied the files CatalogManager.properties, catalog.xml, dummy.dtd to
src/main/resources and then to rcl-config/WEB-INF/classes, but not luck.
Is there anything I can do to get the reque
It's okay, I found what I was looking for.
On Sun, Mar 31, 2013 at 2:42 AM, Mansour Al Akeel wrote:
> Hello all,
>
> I am working on a small project with wicket. The components in this
> project needs to display html generated by docbook-xsl using cocoon 3.0
> beta.
&g
Hello all,
I am working on a small project with wicket. The components in this project
needs to display html generated by docbook-xsl using cocoon 3.0 beta.
I looked around in the documentation for wicket integration, and they seem
to work directly with Cocoon Components.
This is not what I want
hin a generator class, (C3),
> or within an xsp (C 2).
> Sometimes such things come in handy.
>
> If you mean, configure one from the sitemap, I see no uses.
>
> Cheers,
> Jos
>
>
> On Fri, Mar 15, 2013 at 7:05 PM, Mansour Al Akeel
> wrote:
>>
>> I kno
ironment ?
>
> Greetings,
> -Greg
>
>
> 2013/3/15 Mansour Al Akeel
>>
>> I know this may sound strange, but I like to create a transformation with
>> DOM.
>> I was able to see Stax and Sax transformation. I was not able t
OK, I was able to do this:
then
It works, but I am wondering if there's a better way to let the
serializer get the relative path of the images.
On Sun, Mar 10, 2013 at 1:18 AM, Mansour Al Akeel
wrote:
> I have this:
>
>
>
>
> ..
>
>
I have this:
..
I am getting this in the logs:
2013-03-10 01:12:29,952 btpool0-1 ERROR apps.FOUserAgent - Image not
found. URI: logo.png. (No context info available)
And of course the image doesn't show on the generated pdf page. I
tried all possible combinations of the image path:
src=
us on bug fixing and
documentation, I think it will help users like me getting things done.
Thank you.
On Mon, Feb 11, 2013 at 10:09 AM, Francesco Chicchiriccò
wrote:
> On 09/02/2013 22:04, Mansour Al Akeel wrote:
>>
>> I am still looking for the way to call pipeline in an
Please disregard this email.
On Sat, Feb 23, 2013 at 5:42 AM, Mansour Al Akeel
wrote:
> A block that was working few weeks ago, now is throwing an exception:
>
> 00:31:25.886 [btpool0-1] DEBUG o.a.c.jci.stores.MemoryResourceStore -
> reading resource java/lang/ObjectBeanInfo.c
Thank you Francesco.
It is working fine now.
On Mon, Feb 11, 2013 at 2:18 PM, Francesco Chicchiriccò
wrote:
> On 11/02/2013 15:08, Mansour Al Akeel wrote:
>>
>> I started using 3.0.0-beta-1-SNAPSHOT. I was prototyping with
>> 3.0.0-alpha-3.
>> However, I wrote a f
(ContextHandler.java:510)
I will look deeper into this error, but I am very interested in
knowing if "block communication" is not supported except in the
snapshot.
Thank you.
On Sat, Feb 9, 2013 at 9:04 PM, Mansour Al Akeel
wrote:
> I am still looking for the way to call pipeline in anot
My understanding (if like C2.2), I would be using:
servlet:block-name:/mount-point/url-to-match
Is this correct ??
On Sat, Feb 9, 2013 at 8:33 PM, Mansour Al Akeel
wrote:
> I truly appreciate your help, and I agree with you that this needs to
> be documented in a place where it's
It will be nice if this is documented with the scenarios where we
should use one of another.
Thank you.
On Sat, Feb 9, 2013 at 7:19 AM, Francesco Chicchiriccò
wrote:
> On 09/02/2013 05:09, Mansour Al Akeel wrote:
>>
>> I am trying to follow this tutorial
>> http:/
eline run.
and for:
void setConfiguration(Map configuration)
additionally, in previous versions of cocoon, I was able to do this
for custom components:
Is this still possible in C3.0 ??
Thank you.
On Mon, Jan 28, 2013 at 1:12 AM, Mansour Al
I have few components written against cocoon 2.2.
For example, extending those classes:
FileGenerator
TraxTransformer
AbstractInputModule
I am looking to port them to 3.0, but can not find a reference for the
components. I can see here some components, but no examples and not
even the classes.
h
rom the sitemap:
>
>
>
>
>
>
>
>
> Just check whether you set the parameters correct in your sitemap... and you
> should be able to tell if the values which you set don't have a null value.
>
> Robby
>
> -Original Message-
> From: Mansour Al Akeel [mailto
fy you do?
>
> Robby
>
> -Original Message-----
> From: Mansour Al Akeel [mailto:mansour.alak...@gmail.com]
> Sent: Thursday, December 13, 2012 4:57 PM
> To: users
> Subject: Error message for xslt
>
> I am doing transformation with XSLT and C2.2. When there's somethin
:
On Thu, Dec 13, 2012 at 6:10 AM, Robby Pelssers wrote:
> All you need is a correct matcher:
>
>
>
>
>
>
>
>
> -Original Message-
> From: Mansour Al Akeel [mailto:mansour.alak...@gmail.com]
> Sent:
Hello all,
I am looking to select a path for a directory depending on language
prefix. For example, let's say I have
C:\repo\english\dir_1
C:\repo\english\dir_2
C:\repo\english\dir_3
C:\repo\english\dir_4
C:\repo\french\dir_1
C:\repo\french\dir_2
C:\repo\french\dir_3
C:\repo\french\dir_4
>>>
>>>
>>> If you need to do this in generator why not writing your own Generator ?
>>> that extends AbstractSAXGenerator ?
>>> You can find example in:
>>> cocoon-sample/src/main/java/org/apache/cocoon/sample/generation/
>>>
>>>
f xalan handles it correctly though :)
> or the one that is the most robust but a bit slower (saxon?)
>
> And use whatever one you want in any match of pipeline.
>
> Greetings,
> -Greg
>
>
> 2012/12/7 Mansour Al Akeel
>>
>> Ok, I see what you mean now.
&g
thinking along.
> Robby
>
> -Original Message-----
> From: Mansour Al Akeel [mailto:mansour.alak...@gmail.com]
> Sent: Thursday, December 06, 2012 5:00 AM
> To: users@cocoon.apache.org
> Cc: d...@cocoon.apache.org
> Subject: Re: using both Xalan and Saxon with C3
>
uerto wrote:
> Hi Mansour,
>
> 2012/12/6 Mansour Al Akeel
>>
>> Hello all,
>> I am using C2.2 for this project, and I need to add some functionality
>> to the current file generator (ie, logging and warning for broken
>> links). I know this can be done in a tra
If I am not wrong, you can always change the implementation for the
xslt processor in the final WAR file by setting:
META-INF/services/javax.xml.transform.TransformerFactory
This is simple and clean.
On Wed, Dec 5, 2012 at 5:21 AM, Robby Pelssers wrote:
> I did some investigation into this ma
esentation to the one below.
>
> From a sitemap point of view:
>
>
>
>Use directory generator
>
>
>
>
>
>
>
>
>
> -Original Message-
> From: Mansour Al Akeel [mailto:mansour.alak...@gmail.com]
> Sent: Friday, Nov
I have multiple matchers, that do transformation for many documents, I
am wondering if there's a way to download the whole processed
contents.
I know there's a directory generator, but this will generate listing
for the files, and will not be able to invoke the processing. For
example:
http://apac
> http://www.w3.org/2001/XInclude";>
>
>
>
>
>
>
>
>
> So please specify exactly what your input looks like. I want to understand if
> you made a mistake or you spotted another potential bug.
>
> Robby
>
>
> -Original Mes
> sub
>
>
>
>
> But one might wonder why you left in the xi namespace in the first place. So
> next I removed that namespace from the xslt.
>
>
>
>
> sub replaced
>
>
> sub
>
>
>
> So I think you might
e two
one for each step. However, knowing that cocoon applies xslt
in a pipeline without additional tweaks, should allow me to directly
process the stream with identity.xsl.
Thank you.
On Wed, Nov 14, 2012 at 7:39 PM, Mansour Al Akeel
wrote:
> Robby, thank you for taking care of this issue.
&
>
>
> I hacked a bit in the cocoon-sample project and invoked this url:
>
> http://localhost:/aggregation/xinclude-transformer?subfolder=tmp
>
>
>
> In that case I get a nice XML exception page with following message:
> c:\{request-param:subfolder}\xinclude\testinclu
;
>
>
>value="${exportFolder}/{1}/merged"/>
>
>
>
>
> Robby
>
> -Original Message-
> From: Mansour Al Akeel [mailto:mansour.alak...@gmail.com]
> Sent: Wednesday, November 14, 2012 6:40 AM
> To: us
e yet. What is the end goal you are trying to accomplish? Maybe
> you can do it purely in xslt.. just saying.
>
> Robby
>
> -Original Message-
> From: Mansour Al Akeel [mailto:mansour.alak...@gmail.com]
> Sent: Saturday, November 10, 2012 6:38 PM
> To: users
>
sitemap.xmap
>>
>> I'm debugging your issue and so far I'm pretty bedazzled about what the hell
>> is going on:
>>
>>
>>
>>
>>
>>
>>
>>
>>
nfiguration -> Map
>
> baseUrl=file:/C:/workspaces/apache/cocoon/cocoon3/trunk/cocoon-sample/./src/main/resources/COB-INF/
> cacheKey=aggregation/xinclude-transformer
> test=hello world
>
> Will keep you posted.. Maybe the baseUrl is somewhere overridden while
> setting up t
12 at 3:13 AM, Francesco Chicchiriccò
wrote:
> On 11/11/2012 18:14, Mansour Al Akeel wrote:
>> Ok Finally issue resolved.
>
> I've opened COCOON3-109 for reporting this to the website - this is
> quite a common use case, I'd say.
>
> Regards.
>
>> It looks
;> A clear error message can be a lot of help as well.
>
> Definitely: in your case, though, I suspect that something really
> "basic" is getting wrong.
>
> Please share your files if you'd like to get more in-depth help.
>
> Regards.
>
>
t 2:23 AM, Francesco Chicchiriccò
wrote:
> On 12/11/2012 07:59, Mansour Al Akeel wrote:
>> Here's what I am doing:
>>
>>
>> > src="{global:base.repo.path}/articles/{map:id}/index.xml" />
>>
>>
>&g
27;t even exist, so I can not
test if this is working and compare it to mine.
Am I missing something ??
On Sun, Nov 11, 2012 at 10:21 PM, Mansour Al Akeel
wrote:
> Is there a way to use xinclude from sitemap ??
-
To unsubscr
o this in your block, then copy this file to
META-INF/services in your block.
This is a good an easy way to switch factories. I hope it helps
someone else stuck with complex XSLTs like docbook-xsl.
Thank you all.
On Sun, Nov 11, 2012 at 10:43 AM, Mansour Al Akeel
wrote:
> After googling for
ere a way to do so ??
On Sun, Nov 11, 2012 at 1:28 AM, Mansour Al Akeel
wrote:
> Robby, here's the code I am using for my test case. Nothing fancy,
> just to be able to debug loading the xslt:
>
>
> @Test
> public void docbookTest() throws Exception {
&
former.java:112)
at
org.apache.cocoon.sax.component.XSLTTransformer.(XSLTTransformer.java:98)
at
org.apache.cocoon.sax.component.XSLTTransformerTest.docbookTest(XSLTTransformerTest.java:86)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
On Thu, Nov 8, 2012
>
> Also I can't access to my laptop now but I have an example about accessing
> to spring beans from flow script, probably the input module it's enough.
>
> Salu2
>
> El 10/11/2012 18:41, "Francesco Chicchiriccò"
> escribió:
>
>> On 10/11/2
I need to link documents through some identification. For example,
assuming that I have:
articles/my-first-article.xml
articles/second-one.xml
articles/hello-world-article.xml
books/book1.xml which has references to artice-1 and article-3
identified by an id of the form: A001
I need to create
**
>
>
>
> -Original Message-
> From: Robby Pelssers [mailto:robby.pelss...@nxp.com]
> Sent: Thursday, November 08, 2012 9:31 AM
> To: users@cocoon.apache.org
> Subject: RE: Unable to
ansformerFactory.newTemplates(tmpSource);
if you have eclipse and your IDE setup, it will be easier to test and fix.
On Mon, Nov 5, 2012 at 7:23 PM, Mansour Al Akeel
wrote:
> Sure I will. I will organize a project that is easy to play with.
>
> I will send it directly to your email (I th
tedious to be honest.
>
> So if you can provide me with a zip file containing the project and the
> docbook xslt's zipped and perhaps also that ex.xml file I can debug your
> issue.
>
> Robby
>
> -Original Message-
> From: Mansour Al Akeel [mailto:mansour.al
or how-to please double check the documentation.
>
> http://cocoon.apache.org/subprojects/configuration/spring-configurator/index.html
>
>
>
>
> Robby
>
> -----Original Message-
> From: Mansour Al Akeel [mailto:mansour.alak...@gmail.com]
> Sent: Monday, Novemb
"http://exslt.org/common"; exclude-result-prefixes="db ng
exsl exslt" version="1.0">
Thank you for helping in this.
>
> Kind regards,
> Robby Pelssers
>
> -Original Message-
> From: Mansour Al Akeel [mailto:
: RE: Cocoon 3.0-alpha sitemap properties
>
> =/home/mansour/docs/documentation (value of property you defined)
> =/home/mansour/docs/documentation (correct path i assume)
>
> -Original Message-
> From: Mansour Al Akeel [mailto:mansour.alak...@gmail.com]
> Sent: Saturday
I created a block for C3.0 and tried to use properties defined in a
*.properties file. The logs show that the file has been found and I
can see that properties are found loaded,
for example:
935 2012-11-03 20:53:12,369 btpool0-1 DEBUG
impl.SettingsBeanFactoryPostProcessor - Property:
base.path=
Thank you, Steven.
On Tue Jun 02,2009 05:22 pm, Steven Dolg wrote:
> Mansour Al Akeel schrieb:
>> On Tue Jun 02,2009 10:34 am, Steven Dolg wrote:
>>
>>> Mansour Al Akeel schrieb:
>>>
>>>> For some reasons {0} is matching on
On Tue Jun 02,2009 10:34 am, Steven Dolg wrote:
> Mansour Al Akeel schrieb:
>> For some reasons {0} is matching only the digits, because 1 is empty
>> always !
>>
>>
>> ..
>>
>>
>>
>>
r Pergolesi
>Codimat S.A.
>?rea Sistemas
>Web: [2]www.codimat.com.ar
> Tel.: (0291) 459-2480 | 459-2424
>Fax: (0291) 459-2400 | 0-800-666-42266
>Don Bosco 1495 - B8003CAA Bah?a Blanca - Argentina
>___
>
> From: Mansour Al A
r Pergolesi
>Codimat S.A.
>?rea Sistemas
>Web: [2]www.codimat.com.ar
> Tel.: (0291) 459-2480 | 459-2424
>Fax: (0291) 459-2400 | 0-800-666-42266
>Don Bosco 1495 - B8003CAA Bah?a Blanca - Argentina
>___
Ivan:
This is exactely the questions I had when I started with cocoon. It will
help a bit (IMO) to think in terms of operating system. Cocoon web
application is like an operating system, it does nothing by it's self
except managing the resources and communicating with the underlying
servlet contai
- the value {0}:
>
>
>
>
>
>I hope this help
>I will prove if {1} have a value in some case.
>Victor Pergolesi
>Codimat S.A.
>?rea Sistemas
>Web: [2]www.codimat.com.ar
> Tel.: (0291) 459-24
Peter:
I didn't try it, but it's working. I need to refine it a bit, but that's
what I wanted. Thank you very much.
On Mon Jun 01,2009 01:11 pm, Binkley, Peter wrote:
> Did you try "(\.*)/(\d)$"?
>
> Peter
>
>
>
> > -Original Message
Can someone kindly answer this question and give an example about how to
use regex and retrieve the matches. I am stuck with a project that's
writen in Cocoon and I need this to continue.
On Sun May 31,2009 01:54 am, Mansour Al Akeel wrote:
> Ok, let's clarify this and put it in di
me to resolve this ?
On Sat May 30,2009 12:55 pm, Mansour Al Akeel wrote:
> Thank you, V?ctor.
>
> This answered the question about the levels, and made it clear. I am still
> looking to find a way to match a URL ending with digits !
>
>
> V?ctor Pergolesi wrote:
>>
Mansour Al Akeel wrote:
>
> [skipped]
>> Since you have a directory called COB-INF, I would say this is a cocoon
>> block.
> These are directories from a simple webapp that suppose to have a single
> cocoon (exploded) module.
>
>> Check this: http://wiki.apach
b:* www.codimat.com.ar <http://www.codimat.com.ar/>
*Tel.: *(0291) 459-2480 | 459-2424
*Fax: *(0291) 459-2400 | 0-800-666-42266
Don Bosco 1495 - B8003CAA Bahía Blanca - Argentina
*From:* Mansour Al Akeel [mailto:mansour.alak...@gmail.com]
*To:* users@cocoon.apache.org
*Sent:* Sat, 30 Ma
I am trying to match a url that ends with digits. I tried this:
...
Then I tried:
Nothing seems to be working. What's worng ?
One more thing, I have seen some code for a sitemap using something like
{../2}, what is this ?
Hello Ivan:
Let me clarify few terminologies base on the way I understand them.
Cocoon block, is wrapped in a jar file, and provides specific
functionality to other blocks or to the webapp.
A cocoon web application, consists of one or more blocks, that colaborate
together to deliver the over all
Ok, let's put it this way. When I use the include parameter with the
directory generator, the depth is reset to 1 no matter what I do. Is
this a bug, or an undocumented feature ? :)
On Sat May 23,2009 12:25 am, Mansour Al Akeel wrote:
> I need to generate a list of directories and xht
I need to generate a list of directories and xhtml files. I need to
include only directory that has an file called "index.xhtml". If it
doesn't have this file, this it shoud be ignored.
I am able to genrate a listing of the xhtml files but not the
directories:
Any ideas ?
If this problem can not be resolved, it will be nice if someone can
indicate this.
On Mon May 18,2009 10:07 pm, Mansour Al Akeel wrote:
> Ok, I found what I was looking for. I can override the properties in the
> contents block, and they will be available to the navigation bloc
other blocks ?
I know this can be taken care later on when putting everything in a war,
and use either context:/ or file:// but as a default value I need to set
this up this way.
Any idea ?
Mansour Al Akeel wrote:
Hello all:
I have this senario where I need to override properties in more
Hello all:
I have this senario where I need to override properties in more than one
of the blocks when they are used from a top level one. For example, I
need the site navigation block to construct a navigation from one
directory. In another block, the contents will be server from the same
dir
Hello all,
We have an e-commerce web site, and we need to step away from joomla.
One of the options we are looking into is to use cocoon. Now, the
difficulty is, we need to migrate on part at a time and keep the site
secure. And we need to use a mechanism, not to update (refresh) the
whole pag
calhost/cocoon/blocks/block3/sitemap.xmap:5:30
I am missing something, but what is't? Any Idea ?
Alessandro Vincelli wrote:
If you are using cocoon blocks, the syntax is not correct , try with:
and check [1].
Ciao
Alessandro
[1] http://cocoon.apache.org/2.2/1291_1_1.h
Is there an answer to this question ?
If more info is required please let me know.
Mansour Al Akeel wrote:
Thank you, I am trying it now, but getting errors. I think it's with
block communications.
When I put this in my site map:
I get java.lang.StackOverflowError
If I do
Thank you, I am trying it now, but getting errors. I think it's with
block communications.
When I put this in my site map:
I get java.lang.StackOverflowError
If I do this:
javax.servlet.ServletException: org.apache.cocoon.ResourceNotFoundException: No
pipeline matched request
Thank you for your reply. I need to aggregate fragments after the
transformation. The examples are very useful but they show how to
aggregate the xml docs into one then transforming them. For example, if
I have two separate blocks, each of them generates html page, I need to
put them in one sin
Hello:
I am wondering if there's a tutorial or example that shows how to
aggregate multiple fragments into one page. I have few blocks, each of
them generates part of the web page. I need to put the results into one
single page. is this possible ? How? is there any tutorials or examples ?
-
81 matches
Mail list logo