Re: [ANN]: Fins 1.0 back-ported to Cocoon 2.1

2008-06-25 Thread Derek Hohls
Sorry, I was not too clear here. I was suggesting that the plain text "src/main/resources/COB-INF/schema/" in the FAQ be converted to a hyperlink to point to that URL. >>> On 2008/06/25 at 08:44, in message <[EMAIL PROTECTED]>, Luca Morandini >>> <[EMAIL PROTECTED]> wrote: Derek Hohls wrote: >

RE: well formatted xhtml code

2008-06-25 Thread Jasha Joachimsthal
Then it's defined in a parent sitemap. On [1] you can find the configuration when org.apache.cocoon.serialization.XMLSerializer is used for XHTML. There is an (undocumented) parameter for this serializer: yes (or no if you want it as one line,. So you will have something like

Re: well formatted xhtml code

2008-06-25 Thread Johannes Hoechstaedter
ok, thank you. It woks. cheers Johannes Jasha Joachimsthal schrieb: Then it's defined in a parent sitemap. On [1] you can find the configuration when org.apache.cocoon.serialization.XMLSerializer is used for XHTML. There is an (undocumented) parameter for this serializer: yes (or no if you want

Re: [ANN]: Fins 1.0 back-ported to Cocoon 2.1

2008-06-25 Thread Derek Hohls
Luca I am struggling to do this - have tried two clients so far... I know this is really not your problem, but does ViewVC really not have a "download all" for the source code - seems quite strange? Derek >>> On 2008/06/25 at 08:44, in message <[EMAIL PROTECTED]>, Luca Morandini >>> <[EMAIL

i18n in JX Template

2008-06-25 Thread Magnus Haraldsen Amundsen
In my JX Template i've created a system to display menues. And I've tried to i18n the menus using the syntax above, but it shows as Menu.topic Menu.resource Menu.user Menu.publisher Menu.link Menu.database when the HTML is transform

Re: [ANN]: Fins 1.0 back-ported to Cocoon 2.1

2008-06-25 Thread Luca Morandini
Derek Hohls wrote: Luca I am struggling to do this - have tried two clients so far... Strange, usually SVN clients work like a charm. I would advise you to try harder, since SVN is so widely popular you will many occasions to use it in the future. I know this is really not your problem,

some words about property configuration

2008-06-25 Thread Johannes Hoechstaedter
Hi, I want to have some infomations about configuration of cocoon by property files. The documentation on http://cocoon.apache.org/2.2/core-modules/core/2.2/1261_1_1.html seems to be not up to date. Can you please point out a place where I can find some updated documentation? Johannes

Re: [ANN]: Fins 1.0 back-ported to Cocoon 2.1

2008-06-25 Thread Luca Morandini
Derek Hohls wrote: Sorry, I was not too clear here. I was suggesting that the plain text "src/main/resources/COB-INF/schema/" in the FAQ be converted to a hyperlink to point to that URL. Well, that's was not meant to be a link, just an indication on were the file is in the source tree... an

Re: [ANN]: Fins 1.0 back-ported to Cocoon 2.1

2008-06-25 Thread Derek Hohls
Luca Perhaps its the URL. I am currently using RapidSVN. I added a bookmark for Pebble - https://pebble.svn.sourceforge.net/svnroot/pebble and it worked just fine... But when I use : http://svn.cocoondev.org/repos/fins/trunk I get an error - Error: Error while updating filelist (PROPFIND reque

Re: [ANN]: Fins 1.0 back-ported to Cocoon 2.1

2008-06-25 Thread Luca Morandini
Derek Hohls wrote: Luca Perhaps its the URL. I am currently using RapidSVN. I added a bookmark for Pebble - https://pebble.svn.sourceforge.net/svnroot/pebble and it worked just fine... But when I use : http://svn.cocoondev.org/repos/fins/trunk I get an error - Error: Error while updating f

Re: [ANN]: Fins 1.0 back-ported to Cocoon 2.1

2008-06-25 Thread Felix Knecht
Hi Lately svn released a new version (I think 1.5). Could it be that cocoondev uses the latest svn version and RapidSVN isn't up to date yet? Just an idea ... Felix Luca Perhaps its the URL. I am currently using RapidSVN. I added a bookmark for Pebble - https://pebble.svn.sourceforge.ne

Re: i18n in JX Template

2008-06-25 Thread Jeroen Reijn
Hi Magnus, everything seems to be ok. Did you try turning on the logger of the i18n transformer to see what might be wrong? Regards, Jeroen Reijn Magnus Haraldsen Amundsen wrote: In my JX Template i’ve created a system to display menues. i18n:attr="title"/> i18n:attr="ti

RE: i18n in JX Template

2008-06-25 Thread Magnus Haraldsen Amundsen
Hi Jeroen, How do I enable logging on the i18nTransformer? -Original Message- From: Jeroen Reijn [mailto:[EMAIL PROTECTED] Sent: 25. juni 2008 11:06 To: users@cocoon.apache.org Subject: Re: i18n in JX Template Hi Magnus, everything seems to be ok. Did you try turning on the logger of t

Re: some words about property configuration

2008-06-25 Thread David Legg
Johannes, until someone with real knowledge comes along I think the Cocoon 2.2 way of configuring a project is to use the Spring Configurator [1]. In particular you should look at the property handling page [2]. It looks scary to me ;-) David Legg Johannes Hoechstaedter wrote: Hi, I wan

Re: i18n in JX Template

2008-06-25 Thread Andy Stevens
2008/6/25 Magnus Haraldsen Amundsen <[EMAIL PROTECTED]>: > > In my JX Template i've created a system to display menues. > > > > i18n:attr="title"/> ... >but it shows as > > Menu.topic ... > How do I fix this? Given that your tokens are all lower case but the output has a leading capital lett

RE: i18n in JX Template

2008-06-25 Thread Magnus Haraldsen Amundsen
The upper case was because of Outlook. The namespace is correct, and it works when the i18n:attr is used in the XSLT, but not in the JX Template. -Original Message- From: Andy Stevens [mailto:[EMAIL PROTECTED] Sent: 25. juni 2008 11:37 To: users@cocoon.apache.org Subject: Re: i18n in J

Re: some words about property configuration

2008-06-25 Thread Barbara Slupik
I use properties to configure my database connection. In my block application context I have: class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close"> ${myDatabase.driverClassName} ${myDatabase.url} ${myDatabase.username}

Re: some words about property configuration

2008-06-25 Thread Johannes Hoechstaedter
Nice. :) It works. Thank you. Johannes Barbara Slupik schrieb: I use properties to configure my database connection. In my block application context I have: class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close"> ${myDatabase.driverClassName} ${my

RE: i18n in JX Template

2008-06-25 Thread Magnus Haraldsen Amundsen
Does anyone have any ideas? I'm really stuck on this and my SCRUM-task won't budge until it's solved ;) -Original Message- From: Magnus Haraldsen Amundsen [mailto:[EMAIL PROTECTED] Sent: 25. juni 2008 12:06 To: users@cocoon.apache.org Subject: RE: i18n in JX Template The upper case was b

Re: i18n in JX Template

2008-06-25 Thread Jeroen Reijn
Magnus, i'm not sure which cocoon versiom you are using, but in case you are using 2.1, try setting the loglevel for the i18n transformer to DEBUG. You can figure out what the logger is for your transformer by looking at the logger attribute of the i18n transformer definition. src="org.apach

Re: i18n in JX Template

2008-06-25 Thread Robin Wyles
Hi, It might help if you also posted snippets from your sitemap to show: 1. The pipeline handling the display of the JX template. 2. element that defines the i18n transformer configuration. Robin On 25 Jun 2008, at 13:46, Magnus Haraldsen Amundsen wrote: Does anyone have any ideas

RE: i18n in JX Template

2008-06-25 Thread Magnus Haraldsen Amundsen
Sitemap: We have 2 sitemaps, one for the app and one for skins >From the sitemap-app Which uses from the sitemap-skin Where the i18nTransformer is configured as follows

RE: i18n in JX Template

2008-06-25 Thread Magnus Haraldsen Amundsen
And we use Cocoon 2.2, but the 2.1 i18nTransformer (at least the namespace) since we couldn't find any documentation for 2.2. -Original Message- From: Magnus Haraldsen Amundsen [mailto:[EMAIL PROTECTED] Sent: 25. juni 2008 15:09 To: users@cocoon.apache.org Subject: RE: i18n in JX Template

RE: i18n in JX Template

2008-06-25 Thread Magnus Haraldsen Amundsen
I added a i18nTransform before the XSLT transform, just for the fun of it, and then the menus is translated correctly. -Original Message- From: Magnus Haraldsen Amundsen [mailto:[EMAIL PROTECTED] Sent: 25. juni 2008 15:15 To: users@cocoon.apache.org Subject: RE: i18n in JX Template And w

Form base authentication in tomcat

2008-06-25 Thread Johannes Hoechstaedter
Hi everybody, how can I etablixh a form based authentication in coconn running in tomcat? My web.xml login-config looks as follows: FORM Example Form-Based Authentication Area /myBlock1/login /myBlock1/login I have a match pattern in my sitemap for this

Re: Form base authentication in tomcat

2008-06-25 Thread Barbara Slupik
I had the same problem. I fixed it by adding: springRequestContextFilter org.springframework.web.filter.RequestContextFilterfilter-class> springRequestContextFilter /* FORWARD REQUEST

Re: i18n in JX Template

2008-06-25 Thread Andy Stevens
2008/6/25 Magnus Haraldsen Amundsen <[EMAIL PROTECTED]>: > I added a i18nTransform before the XSLT transform, just for the fun of > it, and then the menus is translated correctly. So what does the admin-styling XSLT do? Could it be interfering with the i18n namespace or stripping the i18n:attr at

Re: Form base authentication in tomcat

2008-06-25 Thread Johannes Hoechstaedter
YES !!! works ;) Barbara Slupik schrieb: I had the same problem. I fixed it by adding: springRequestContextFilter org.springframework._web.filter.RequestContextFilter_ springRequestContextFilter /* FORWARD REQUEST to my application _web.xml_

load image with xslt in CocoonContext

2008-06-25 Thread rachid harradi
hello Together i have a problem to print image with xstl. both physical and relativ path don't help me my sitemap like :

Odd Behavior with HSSFSerializer

2008-06-25 Thread Matthew Monkan
I produced a simple Excel document by querying my database and using the HSSFSerializer. It's a simple document; the spreadsheet just formats the data into the same grid layout you would see on a database GUI upon submitting the query. Anyway, I realized that no matter the numerical data that goe

Re: Odd Behavior with HSSFSerializer

2008-06-25 Thread Barbara Slupik
I had the same problem. I fixed it like this: select="$startRow + 998"/> xsl:attribute> xsl:attribute> ...

Re: Odd Behavior with HSSFSerializer

2008-06-25 Thread Matthew Monkan
Barbara, this worked flawlessly! I'm sure others will find this very helpful too. :jumping: Thanks, Matt Barbara Slupik-3 wrote: > > I had the same problem. I fixed it like this: > > > > > > > >select="$startRow + 998"/> >

Re: Odd Behavior with HSSFSerializer

2008-06-25 Thread Reynaldo Porras García
Hi Matthew, I ran into the same issue no long ago. It is because MAX_AREA for the StyleRegion is limited to 2000 cells in EPStyleRegion.java. It is in cocoon-poi module . You can find a more detailed answer here: http://cocoon.markmail.org/message/qde5mge7sxnmvrg2 http://markmail.org/message

[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

RCL vs Cocoon core.properties

2008-06-25 Thread Hugh Sparks
I see that the cocoon core.properties contain parameters: org.apache.cocoon.reloading org.apache.cocoon.reloading.sitemap org.apache.cocoon.reload-delay.sitemap org.apache.cocoon.reloading.config org.apache.cocoon.reloading.flow These appear to work in a block created to run witho