[Cocoon 2.1.9] Internationlization i18n

2008-06-25 Thread Edward S
Hey guys had a quick question. Is there a way to use gender specific internationilization in Cocoon??? Say, I am creating a letter. I wud rite Dear. Mr. John Doe to start with or Dear Mrs. Jane Doe In English, 'dear' can be used for both. But, I believe there are languages where it mite differ f

Cocoon 2.2 Samples???

2008-06-05 Thread Edward S
hi, Is there anything in Cocoon 2.2...the equivalent of Cocoon Samples that we had in Cocoon 2.1?? if so, where? thanks Ed.

Memory Leak - Cocoon 2.1.9

2008-05-06 Thread Edward S
All, Has anyone observed any memory leaks in 2.1.9? Our client got an 'OutOfMemoryException' ...the log also said 'out of swap space' If I monitor the VM Size and the Mem Usage on the task manager for the Tomcat process, after using our cocoon app, i see that both grow in size. Env: Win 2003 To

Re: 2.1.9 - Internationalization transformer (i18n)

2008-03-06 Thread Edward S
tribute might specify > http://example.com/documentum/i18nfiles/";. > The documents in that folder need to follow the i18n file-naming > format to distinguish the locales/languages/default catalogs. > > solprovider > > On 3/5/08, Edward S <[EMAIL PROTECTED]> wrote: >

Re: 2.1.9 - Internationalization transformer (i18n)

2008-03-05 Thread Edward S
website) > location="cocoon://translation/catalog_en.xml" (Cocoon root pipeline) > location="documentum://catalog_en.xml" (if you write a > DocumentumSourceFactory -- currently imaginary.) > > HTH, > solprovider > > On 3/4/08, Edward S <[EMAIL PROTECTED]>

2.1.9 - Internationalization transformer (i18n)

2008-03-04 Thread Edward S
hey guys had a quick question on the internationalization transformer. Currently, it reads the catalog from the files stored in a directory under the webapp. (translations folder) ...and this is configured using the location attribute/element. My question is, is it possible to read this...using a

Re: Cocoon 2.2 - Webapp?

2008-02-27 Thread Edward S
yes...there is a META-INF as welland inside its subdirectories thrs a pom.xml and pom.properties yes, it runs via jetty:run quick question: where does the sitemaps reside...when we build the war? -S2. On 2/26/08, Luca Morandini <[EMAIL PROTECTED]> wrote: > > Edward S wrote:

Re: Cocoon 2.2 - Webapp?

2008-02-26 Thread Edward S
war WEB-INF folder. -Ed. On 2/26/08, Luca Morandini <[EMAIL PROTECTED]> wrote: > > Edward S wrote: > > > > here are my questions: > > > > * The demo page says, if I need to access myBlock1 i should go to: > > http://localh

Cocoon 2.2 - Webapp?

2008-02-26 Thread Edward S
hey guys, first of all let me thank every1 for all the help/replies that i am getting for all the stupid doubts that i put in this forum :) Now, here is another one: http://cocoon.apache.org/2.2/1362_1_1.html i was following this tutorial...to make a webapp. everything works when i run it in Jet

Re: Cocoon 2.2 - CocoonServlet?

2008-02-25 Thread Edward S
is there any documentation for this request / servlet filter? also, whats the best way to download cocoon 2.2 ... i am using the snapshots from this page: http://svn.apache.org/snapshots/cocoon/ thanks -Ed. On 2/22/08, Carsten Ziegeler <[EMAIL PROTECTED]> wrote: > > Edward S wrote

Re: Cocoon 2.2 - CocoonServlet?

2008-02-21 Thread Edward S
On 2/21/08, Grzegorz Kossakowski <[EMAIL PROTECTED]> wrote: > > Edward S pisze: > > Guys, > > > > I am trying to migrate my app from Cocoon 2.1.9 to Cocoon 2.2 > > we had a servlet Called ImServlet that extended the CocoonServlet and > > did some

Cocoon 2.2 - CocoonServlet?

2008-02-21 Thread Edward S
Guys, I am trying to migrate my app from Cocoon 2.1.9 to Cocoon 2.2 we had a servlet Called ImServlet that extended the CocoonServlet and did some stuff that was needed for each of the requests. I created a block in 2.2 took all my java files and placed it in the src/main/java folder and tried do

Re: Cocoon Building block - ERROR

2008-02-18 Thread Edward S
If I am inside myBlock1 and i do a mvn jetty:run I get the error pasted below: what does it mean? why should i download files manually? Missing: -- 1) org.mortbay.jetty:jetty-util:jar:2.4.1 Try downloading the file manually from the project website. Then, insta

Re: Cocoon Building block - ERROR

2008-02-15 Thread Edward S
great tht worked. thanks -Ed. On 2/15/08, Luca Morandini <[EMAIL PROTECTED]> wrote: > > Edward S wrote: > > Hey guys. > > > > I am trying to build a block in cocoon as described under: > > http://cocoon.apache.org/2.2/1159_1_1.html > > > > I ha

Cocoon Building block - ERROR

2008-02-15 Thread Edward S
Hey guys. I am trying to build a block in cocoon as described under: http://cocoon.apache.org/2.2/1159_1_1.html I have Maven 2.0.8 installedand its prompting me to select an option out thr. nothing is mentioned on the cocoon site regd that. Any clues?? thanks Ed -- [INFO] Scan

2.1 components in 2.2

2008-02-12 Thread Edward S
Hi, I have a few custom components (generators, readers etc.) written in Cocoon 2.1.9 wanted to know, whether those will work in 2.2? if not, how easy will it be to change the code to make them function? thanks -Ed.

cocoon 2.2 release?

2008-02-07 Thread Edward S
Hey guys, when is the official release planned for cocoon 2.2?? I see on the site, tht 2.2 RC2 was released a few months ago. Where can i download it from? thanks Ed.

Re: deleting blocks 2.1.9?

2008-02-01 Thread Edward S
the web.xml that I was using had some ContentListner ...which shouldnt have been there in the first place. No idea, how that got there. Removing that out did the trick and it worked without any blocks. thanks for all your help.

Re: deleting blocks 2.1.9?

2008-01-30 Thread Edward S
yes...if i just dont create a local.block.properties and do a build ...it works. Right now i am trying to access the landing page http://localhost:8080/webappname and its givnig this error. On 1/30/08, Andrew Savory <[EMAIL PROTECTED]> wrote: > > Hi, > > On 1/30/08, Edward S

Re: deleting blocks 2.1.9?

2008-01-30 Thread Edward S
, Andrew Savory <[EMAIL PROTECTED]> wrote: > > Hi, > > On 1/30/08, Edward S <[EMAIL PROTECTED]> wrote: > > Are there any blocks that we absolutely need to include...or can I do a > > exclude.all.blocks=true and still get a bare minimum cocoon running? > > It r

Re: deleting blocks 2.1.9?

2008-01-30 Thread Edward S
locks dependencies. It > is the way to go. > > Regards, > > Jeroen > > Edward S wrote: > > hey guys, > > > > I am using Cocoon 2.1.9 and whenever I do a build, it builds all the > > blocks creating a total webapp size of around 70MB (incl. my compo

deleting blocks 2.1.9?

2008-01-30 Thread Edward S
hey guys, I am using Cocoon 2.1.9 and whenever I do a build, it builds all the blocks creating a total webapp size of around 70MB (incl. my components) I wanted to know, is there a way to stop Cocoon from building all the blocks? I tried the local.blocks.properties and local.build.properties but w

Set/Read Response Code?

2008-01-28 Thread Edward S
Hey guys, Had a question. I have a reader that reads in a XML containing 'x' URL's. Each URL returns a PDF and this reader merges the PDF and gives a single PDF as the output. Now, if something fails, i get a 0 page pdf with an error saying 'Cannot open the pdf because it has 0 pages' I have no

Cocoon and FOP 0.93

2007-09-13 Thread Edward S
Guys, This mite not be the correct forum to put this question...so if not, then I am sorry. Anyways, here is my problem: I am using Cocoon 2.1.9 It comes with FOP 0.20 but we wanted to use 0.93 for Fo 2 PDF work. So, I wrote a new serializer that does this. No issues with the serializer. Works l

Re: remove dtd from xml?

2007-08-31 Thread Edward S
kool...thats wht I am doin rite now... wanted to know if thr was ne better way of doin it. looks like this is the best. thanks -Ed. On 8/31/07, Joerg Heinicke <[EMAIL PROTECTED]> wrote: > > On 31.08.2007 7:37 Uhr, Edward S wrote: > > > but what if the declaration alrea

Re: remove dtd from xml?

2007-08-31 Thread Edward S
but what if the declaration already exists and i hv to take it out? -Ed. On 8/30/07, Joerg Heinicke <[EMAIL PROTECTED]> wrote: > > On 30.08.2007 14:23 Uhr, Edward S wrote: > > > whats the easiest way to remove a doctype declaration from a XML file? > > When serializi

remove dtd from xml?

2007-08-30 Thread Edward S
hey guys, whats the easiest way to remove a doctype declaration from a XML file? are there any config params that does this? I tried this, but its not working. true thanks -Ed.

Re: cocoon: protocol

2007-08-30 Thread Edward S
that was a browser message On 8/30/07, Steven D. Majewski <[EMAIL PROTECTED]> wrote: > > > On Aug 30, 2007, at 9:55 AM, Edward S wrote: > > > thanks Jasha. > > I am trying to use it in a sitemap and am getting a 'unknown > > protocol: cocoon'

Re: cocoon: protocol

2007-08-30 Thread Edward S
al > > Hippo > Oosteinde 11 > 1017 WT Amsterdam > The Netherlands > +31 (0)20 5224466 > > www.hippo.nl > > -- > *From:* Edward S [mailto:[EMAIL PROTECTED] > *Sent:* donderdag 30 augustus 2007 15:55 > *To:* users@cocoon.apache.or

Re: cocoon: protocol

2007-08-30 Thread Edward S
t; Regards, > > > Jasha Joachimsthal > > Hippo > Oosteinde 11 > 1017 WT Amsterdam > The Netherlands > +31 (0)20 5224466 > > www.hippo.nl > > -- > *From:* Edward S [mailto:[EMAIL PROTECTED] > *Sent:* donderdag 30 augustus 2007 1

cocoon: protocol

2007-08-30 Thread Edward S
hey guys, How does the cocoon:/ and cocoon:// protocol work? thanks Ed

Re: Cocoon Caching

2007-07-30 Thread Edward S
gt; Hippo > Oosteinde 11 > 1017WT Amsterdam > The Netherlands > Tel +31 (0)20 5224466 > - > [EMAIL PROTECTED] / http://www.hippo.nl > ------ > > -Original Message- > *From:* Edward S

Re: Cocoon Caching

2007-07-30 Thread Edward S
thanks Grzegorz I did check that. Everytime I run the URL which is calling the cacheable generator that I wrote, a new entry gets added to org.apache.cocoon.components.store.impl.EHDefaultStore (hash = 0x5ed853) and the entry is exactly same as the previous one. here is a sample entry: PK_G-imDMX

Re: Cocoon Caching

2007-07-30 Thread Edward S
another thing that i observed was that the cocoon-ehcache-1.data and cocoon-ehcache-1.index file are always of size 0 so, clearly its not caching anything (I tried a simple file generator...just reading a plain xml file) and still the size didnt change. -S2.

Re: Cocoon Caching

2007-07-30 Thread Edward S
- > [EMAIL PROTECTED] / http://www.hippo.nl > ------ > > -Original Message- > *From:* Edward S [mailto:[EMAIL PROTECTED] > *Posted At:* maandag 30 juli 2007 15:28 &g

Re: Cocoon Caching

2007-07-30 Thread Edward S
As per the document, I created a cocoon generator and implemented the CacheableProcessingComponent interface. As stated, 2 methods should be implemented: 1] getKey() 2] getValidity() I created an object, that had all the request parameters along with the URI. Made that object serializable and set

Cocoon Caching

2007-07-19 Thread Edward S
Is there a good document out thr that details how Cocoon Caching works??? The only one that I could find was: http://cocoon.apache.org/2.0/userdocs/concepts/caching.html thanks -Ed.

Cocoon and FOP

2007-06-04 Thread Edward S
hi, we are using Cocoon 2.1.9 It comes with a FOP 0.20.5 jar and the FOP components are based on that jar. I found out that FOP 0.93 has a lot of different features as compared to 0.20.5 How can we use those features in Cocoon. -Ed.

Re: application level variable???

2007-05-24 Thread Edward S
ut you could use the Cocoon DefaultsModule (org.apache.cocoon.components.modules.input.DefaultsModule) to make an variable that is available through out every sitemap. Regards, Jeroen Reijn Edward S wrote: > Hey guys, > > I am a novice in cocoon. > Wanted to know, how can we cre

application level variable???

2007-05-23 Thread Edward S
Hey guys, I am a novice in cocoon. Wanted to know, how can we create an application level variable in cocoon... I want an object that can remain active throughout the scope of the application...and can be accesible from any sitemap pipeline that I use. this should be something like a variable wi

Re: NullPointerException while running a custom serializer

2006-11-13 Thread Edward S
the XML serializer yielded output XML. so, looks like something is wrong in my serializer.   In the setOutputStream, I am actually redirecting the output to a temp file and I have observed that when I put a transformer in between...the temp file generated is blank. 0 bytes whereas without a tra

NullPointerException while running a custom serializer

2006-11-10 Thread Edward S
All,   I am trying to run a pipeline that ends with a custom serializer written by me. When I run the pipeline w/o a transformer in between, it runs without any errors and gives back the expected result.   However, when I do include a transformer in between, it gives me this 'NullPointerException'

Re: XML Serializer ?

2006-10-30 Thread Edward S
my bad i was looking into the tranformation directory in the src/java  thanks   -Ed.     On 10/30/06, Ard Schrijvers <[EMAIL PROTECTED]> wrote: Hello,It is in block/webdavArdthanks Ard.I will look into it.btw, is the WebDavTransformer a present in cocoon?? I hv 2.1.9 cocoon source, and it doesn

Re: XML Serializer ?

2006-10-30 Thread Edward S
thanks Ard. I will look into it.   btw, is the WebDavTransformer a present in cocoon?? I hv 2.1.9 cocoon source, and it doesnt contain this transformer.   -S.   On 10/29/06, Ard Schrijvers <[EMAIL PROTECTED]> wrote: Hello,Hmmm, well, untill the very last sentence, I would say, yes, it is definitel

Re: XML Serializer ?

2006-10-29 Thread Edward S
hey Ard,   thanks for your reply.   here is wht I wud say. Yes, I dont have a lot of cocoon experience but understand the difference between a serializer and transformer. I know, a pipeline need not have a transformer. it can directly have a generator followed by a serializer.   when I used the sta

XML Serializer ?

2006-10-27 Thread Edward S
hey guys,   I am new to this forum and cocoon as well. I have seen the source code for the serializers and have gone thru the various methods like startElement(), startDocument(), endDocument(), characters etc.   I was also able to create a new serializer extending AbstractSerializer and over-ridin