How do I determine the current sitemap's directory?

2004-07-18 Thread Colin Paul Adams
How can I determine the directory of the current sitemap, from within a Source? -- Colin Paul Adams Preston Lancashire - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Docbook stylesheets and jfor

2004-07-18 Thread Jean-Baptiste Quenot
* Katrin Schoenherr: > Could anyone point me to what is going wrong? Jfor has got some serious limitations that prevent Docbook FO results to be processed for producing RTF documents. Docbook is particularly complicated, and Jfor is particularly weak, it only allows simple FO construct

Re: different page- and form-encodings?

2004-07-18 Thread Joerg Heinicke
On 14.07.2004 12:02, Stefan Burkard wrote: hi cocoon-users i'm publishing some html-forms with cocoon - the html-pages are utf-8 and the browsers are using this encoding correctly. if anybody submits a form i use the entered values to send a mail to myself with all the provided values - i'm usin

Re: Using cocoon on LiNode

2004-07-18 Thread Joerg Heinicke
On 14.07.2004 15:36, Oleg wrote: Dear Distinguished Colleagues: I am considering moving my blog (http://www.olegdulin.com/) from Pair hosted traditional FreeBSD account to the one hosted by linode (http://www.linode.com/products/linodes.cfm). I am considering the $19.95 option because it is only

Re: Date based authorization in cocoon

2004-07-18 Thread Joerg Heinicke
On 14.07.2004 16:56, Sal Mangano wrote: I have an application requirement where users who are not registered with the site or not logged in should have restricted access to content. Specifically, they are allowed to access current content but will have no access to older content. Old is determined

Re: How do I determine the current sitemap's directory?

2004-07-18 Thread Joerg Heinicke
On 18.07.2004 16:12, Colin Paul Adams wrote: How can I determine the directory of the current sitemap, from within a Source? Resolving "cocoon:/" should work in every case but is probably not the best way. IIRC there is a request.getSitemapURI() method. Joerg -

Request Parameters in XSLT (Cocoon 2.1.5)

2004-07-18 Thread Ben Pope
Hi, I've done my research and read this list for around a week, but it's not having any of it. Request parameters don't seem to be passed into the XSLT. I stripped down my code to the following noddy example and tried it, without success: Sitemap.xmap: - http://apache.org/cocoon/sit

Re: How do I determine the current sitemap's directory?

2004-07-18 Thread Colin Paul Adams
> "Joerg" == Joerg Heinicke <[EMAIL PROTECTED]> writes: Joerg> On 18.07.2004 16:12, Colin Paul Adams wrote: >> How can I determine the directory of the current sitemap, from >> within a Source? Joerg> Resolving "cocoon:/" should work in every case but is Joerg> probably no

Re: cforms (woody) and common fields in lists

2004-07-18 Thread Marc Portier
joose, not entirely sure, but it looks like you're talking about tranposing rows to columns? point being you can easily have this: choice_g1: (label g1) {radio name="g1" value="1"} (label val_1) {radio name="g1" value="2"} (label val_2) {radio name="g1" value="3"} (label val_3) choice_g2: (label

Re: How do I determine the current sitemap's directory?

2004-07-18 Thread Colin Paul Adams
> "Colin" == Colin Paul Adams <[EMAIL PROTECTED]> writes: > "Joerg" == Joerg Heinicke <[EMAIL PROTECTED]> writes: Joerg> On 18.07.2004 16:12, Colin Paul Adams wrote: >>> How can I determine the directory of the current sitemap, from >>> within a Source? Joerg> Resolving "c

CForms, Binding, Flowscript (Cocoon 2.1.5)

2004-07-18 Thread Ben Pope
Hi, I've been trying to get some bidirectional binding action between CForms and XML. I've been following the blocks/forms/XML Binding example without complete success. It will bind quite happily to the CForms, it will map changes back to the XML, but only when the row "number" already exists.

Re: Request Parameters in XSLT (Cocoon 2.1.5)

2004-07-18 Thread Adam Walsh
Hi Ben, I'd suggest the following: Sitemap.xmap: and make sure in your output.xsl you have , ie: http://www.w3.org/1999/XSL/Transform";> ... Hope that helps. Adam Ben Pope wrote: Hi, I've done my research and read this list for around a we

RE: Request Parameters in XSLT (Cocoon 2.1.5)

2004-07-18 Thread Ben Pope
Hi Adam, Thanks for the reply. I changed the sitemap (That looks pretty close to another variation I tried). My output.xsl Already had But it still didn't work. Then I reordered some stuff to what you suggested (don't know if you meant for me to re-order it) http://www.w3.org/1999/XSL/Trans

Re: Request Parameters in XSLT (Cocoon 2.1.5)

2004-07-18 Thread Adam Walsh
Hi Ben, yep the sort tag is wrong, because $sort is a string rather than a nodeset. You'll need to make your sort tag something like: I think that should work. Adam Ben Pope wrote: Hi Adam, Thanks for the reply. I changed the sitemap (That looks pretty close to another variation I tried). My out

Getting an actual Instance of a Component using ServiceManager.lookup()

2004-07-18 Thread Glen Ezkovich
I have a non-sitemap component that I have marked as ThreadSafe, when I try to access it in another component using the ServiceManager, I get an instance of java.lang.reflect.Proxy. Obviously, I am missing something. I could get its InvocationHandler, but to use it seems cumbersome. There must

Passing Parameters to the SQL Transformer

2004-07-18 Thread Ernesto Echeverría
Is there a way for passing parameters to the SQL transformer without XSL beforehand? I have the following sql source file (dir2.xml): http://apache.org/cocoon/SQL/2.0";> northwind SELECT TerritoryDescription Territory FROM Territories WHERE TerritoryDescription like '%' ORDER BY T

Re: Request Parameters in XSLT (Cocoon 2.1.5)

2004-07-18 Thread Ugo Cei
Il giorno 19/lug/04, alle 02:43, Ben Pope ha scritto: -- Ugo Cei - http://beblogging.com/ smime.p7s Description: S/MIME cryptographic signature

Re: cforms and complex checking?

2004-07-18 Thread Joerg Heinicke
On 15.07.2004 08:36, Joose Vettenranta wrote: Hi, I was looking into cforms and came up with the question.. first one (this might be possible afaik): Let's like I have form like R^(2x3)-matrix, like this: question 1: question 2: question 3: and validation goes like, only one of those have to

Re: woody (cforms) questions?

2004-07-18 Thread Joerg Heinicke
On 15.07.2004 10:53, Joose Vettenranta wrote: question 1: i tested samples in 2.1.3. (the woody block) and I noticed, that it didn't work well with javascript turned off (like error messages didn't show up). Is this a failure of example or woody or does this have to be implented by hand? Javascr

Re: CForms: Books and Authors

2004-07-18 Thread Joerg Heinicke
On 15.07.2004 21:56, Alan wrote: I'm using Cocoon + Hibernate to good effect. The standard controls are very impressive. How does one handle the books and authors problem in CForms? The problem is that you are adding a book to a database and you want to choose from an existing l

Re: cocoon 2 internal server error

2004-07-18 Thread Joerg Heinicke
On 16.07.2004 04:44, Nandakumar Mounasamy wrote: We are getting "internal server error" from cocoon 212 under high load, or moderate load over 30-60 minutes of run. The issue is very consistent and has very similar error patterns in the cocoon logs. We run Cocoon 2 on JBoss 3.2.3 and JRE 142_05.

Re: cforms : show and hide widgets

2004-07-18 Thread Joerg Heinicke
On 16.07.2004 11:38, Stephane Delort wrote: I have a form with selection lists, just as the car-selector sample. I would like to display the list of "Type" to be displayed only once a "Make" had been choosed. I see two solution for this : 1 : could be cool if I could hide widgets in my flowscript w

Re: woody and "big" radiobutton list

2004-07-18 Thread Joerg Heinicke
On 16.07.2004 15:33, Joose Vettenranta wrote: Hi, Atleast my cocoon version does it only in this way (don't know if 2.1.5 does this better): That's indeed something where you have to customize the stylesheets yourself. They provide only Cocoon default styling. Joerg --