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

2008-06-25 Thread Derek Hohls
Well, it made mine! Thanks Luca. PS. Any reason the pointer for the Fins schema in the FAQ does not link to the on-line version: http://svn.cocoondev.org/viewsvn/trunk/fins/fins-core/src/main/resources/COB-INF/schema/?root=fins On 2008/06/25 at 07:44, in message [EMAIL PROTECTED], Luca

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

2008-06-25 Thread Derek Hohls
And a very stupid question - where is the link for the download? the ViewVC site seems to allow you to browse display files - but how does one get all of them at once? On 2008/06/25 at 07:44, in message [EMAIL PROTECTED], Luca Morandini [EMAIL PROTECTED] wrote: I hope this will make the day

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

2008-06-25 Thread Luca Morandini
Derek Hohls wrote: And a very stupid question - where is the link for the download? the ViewVC site seems to allow you to browse display files - but how does one get all of them at once? You should get hold of an SVN client and issue something like: svn checkout

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

2008-06-25 Thread Luca Morandini
Derek Hohls wrote: Well, it made mine! Thanks Luca. PS. Any reason the pointer for the Fins schema in the FAQ does not link to the on-line version: http://svn.cocoondev.org/viewsvn/trunk/fins/fins-core/src/main/resources/COB-INF/schema/?root=fins Hmmm... I think it works, just click on

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: Well, it

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: indentyes/indent (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: indentyes/indent (or

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 PROTECTED]

i18n in JX Template

2008-06-25 Thread Magnus Haraldsen Amundsen
In my JX Template i've created a system to display menues. c:menu c:menuelement title=menu.topic link=admin/emner/ i18n:attr=title/ c:menuelement title=menu.resource link=admin/ressurser/ i18n:attr=title/ c:menuelement title=menu.user link=admin/brukere/ i18n:attr=title/

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

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...

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

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

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 -

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. c:menu c:menuelement title=”menu.topic

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

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

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. c:menu c:menuelement title=menu.topic link=admin/emner/ i18n:attr=title/ ... but it shows as Menu.topic ... How do I fix this? Given that your tokens are all lower case

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

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: bean id=myDataSource class=org.apache.commons.dbcp.BasicDataSource destroy-method=close property name=driverClassName value${myDatabase.driverClassName}/value /property property

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: bean id=myDataSource class=org.apache.commons.dbcp.BasicDataSource destroy-method=close property name=driverClassName

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

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.

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. map:transformer/ element that defines the i18n transformer configuration. Robin On 25 Jun 2008, at 13:46, Magnus Haraldsen Amundsen wrote: Does

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 map:match pattern=xml2/* map:generate src=templates/{1}.jx.xml type=jx/ map:serialize type=servletService map:parameter name=service value=servlet:skin:/admin-styling/ /map:serialize /map:match Which

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

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

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: login-config auth-methodFORM/auth-method realm-nameExample Form-Based Authentication Area/realm-name form-login-config

Re: Form base authentication in tomcat

2008-06-25 Thread Barbara Slupik
I had the same problem. I fixed it by adding: filter filter-namespringRequestContextFilter/filter-name filter-classorg.springframework.web.filter.RequestContextFilter/ filter-class /filter filter-mapping

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

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: filter filter-namespringRequestContextFilter/filter-name filter-classorg.springframework._web.filter.RequestContextFilter_ http://web.filter.RequestContextFilter//filter-class /filter filter-mapping

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 : map:match pattern=Doc_EntryForm_C.js map:generate src=module:flow-attr:myXml/ map:transform type=xslt

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

Re: Odd Behavior with HSSFSerializer

2008-06-25 Thread Barbara Slupik
I had the same problem. I fixed it like this: !-- Style regions are built for each column for max 999 rows. Larger regions do not seem to work. That's why styles template is called more then once if number of rows to print exceedes 999. -- xsl:template name=styles xsl:param

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: !-- Style regions are built for each column for max 999 rows. Larger regions do not seem to work. That's why

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

[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

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