Re: use of variables on XSL

2005-01-19 Thread Thorsten Scherler
Antonio Gallardo escribió: (BTW, this no me friegues sounds like Nicaraguan spanish! is n't? ;-) ) Yes, this no me friegues sounds like Nicaraguan spanish!!! Your friend Thorsten told me about it, and we allways are saying it!! lol. :-DD Best Regards, Antonio Gallardo. :) You are world famous

[Portal]- using form and trying to access DB (esql)

2005-01-19 Thread José Ferreiro - TSSAG
Hello, Did someone do the following: Creating a form and introducing it into a coplet in the portal engine. When the user submit the form a xsp file is called and esql code is executed. I developped successfully the form and the db interaction. But when I put it into the coplet as

Re: use of variables on XSL

2005-01-19 Thread Antonio Gallardo
On Mie, 19 de Enero de 2005, 2:33, Thorsten Scherler dijo: Antonio Gallardo escribió: (BTW, this no me friegues sounds like Nicaraguan spanish! is n't? ;-) ) Yes, this no me friegues sounds like Nicaraguan spanish!!! Your friend Thorsten told me about it, and we allways are saying it!!

Cocoon with Virtual Hosts (apache/tomcat)

2005-01-19 Thread Derek Hohls
I am working with Apache/Tomcat and Cocoon 2.1.5. I am trying to have a virtual host setup, so users from outside the organisation can access the site. In the Apache httpd.conf file, the Unix admin has inserted (note that I have changed some actual parameters for security...) the following (NB:

Re: Cocoon Forms - how to add a confirmation dialog on submit

2005-01-19 Thread Vilya Harvey
Hank Heidt wrote: Can any of you recommend a good way or point me to an example of how to add a confirmation dialog, i.e., Are you sure that you want to save the changes? to the standard Cocoon Forms submit widget? I looked around and didn't see anything obvious - my hope is that there is an

Re: Cocoon with Virtual Hosts (apache/tomcat)

2005-01-19 Thread Derek Hohls
Upayavira Apparently that was tried as well the problem in that case is that the :8080 is still retained in the response coming back from the ProxyPassReverse and so the site is then effectively not viewable from outside the local network. Any other ideas? Derek [EMAIL PROTECTED]

PDF with Adobe Reader 7 - Too many arguments

2005-01-19 Thread Matthew Langham
We are the same problems outlined in this post to the FOP mailing-list: http://marc.theaimsgroup.com/?l=fop-userm=110554914401671w=2 Does anyone know of a solution? Thanks Matthew - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Cocoon with Virtual Hosts (apache/tomcat)

2005-01-19 Thread Upayavira
Instead of: ProxyPass /cocoon215/soc http://localhost:8080/cocoon215/soc you should use: RewriteRule /cocoon215/soc(.*) http://localhost:8080/cocoon215/soc$1 You should still use the ProxyPassReverse rule. Try that. Regards, Upayavira Derek Hohls wrote: Upayavira Apparently that was tried as

[Portal] generate navigation for non-selected tabs (Bugzilla Bug 31229)

2005-01-19 Thread Jens Maukisch
Hi, some time ago this [1] patch was applied to generate a navigation for non-selected tabs. But I'm wondering how it should be used (I've tried some things but they didn't work). Can anyone give me a short example how it should be used? TIA, [1]:

Portal PageLabels and Events

2005-01-19 Thread Frank Taffelt
Hi, when using : cl:links cl:link path=attributes/selected value={pageheader} coplet=Header-1/ /cl:links the resulting html link is encoded in the following form: portal?cocoon-portal-event=18pageLabel=1.0.Infos.InfoCustomer the current tabstate(and subtabs) is encoded in the link. Is

Creative Ideas on How to Cache Pipelines Containing Non-Cacheable Generator?

2005-01-19 Thread David Swearingen
I store all my content for a Cocoon site in xml files. This means I make a lot of use of the DirectoryGenerator. It works great, but I've got now some legacy .pdf files from another project, sometimes hundreds per directory, sometimes on another machine on the local network, and so it takes

Re: [Portal] generate navigation for non-selected tabs (Bugzilla Bug 31229)

2005-01-19 Thread Jens Maukisch
Hi, some time ago this [1] patch was applied to generate a navigation for non-selected tabs. But I'm wondering how it should be used (I've tried some things but they didn't work). Can anyone give me a short example how it should be used? Solved the problem, it was not usable with the

Re: [Portal] generate navigation for non-selected tabs (Bugzilla Bug 31229)

2005-01-19 Thread Ralph Goers
Jens Maukisch wrote: Hi, some time ago this [1] patch was applied to generate a navigation for non-selected tabs. But I'm wondering how it should be used (I've tried some things but they didn't work). Can anyone give me a short example how it should be used? Solved the problem, it was

Re: Portal PageLabels and Events

2005-01-19 Thread Ralph Goers
Frank Taffelt wrote: Hi, when using : cl:links cl:link path=attributes/selected value={pageheader} coplet=Header-1/ /cl:links the resulting html link is encoded in the following form: portal?cocoon-portal-event=18pageLabel=1.0.Infos.InfoCustomer the current tabstate(and subtabs) is encoded in

Re: Creative Ideas on How to Cache Pipelines Containing Non-Cacheable Generator?

2005-01-19 Thread Aurélien DEHAY
Hello. If you don't want to have a synchronous directory listing, you can use the cached:// protocol. Look at the cocoon.xconf about this cocoon pseudo protocol. I'm using this to handle caching on an heavy non-cachable page, it works fine. Regards.

AW: [Portal] generate navigation for non-selected tabs (Bugzilla Bug 31229)

2005-01-19 Thread Jens Maukisch
Hi, I'm glad you were able to figure it out. Remember the default stylesheets are just samples designed to work with the sample portal as it is configured. I've added several new features, but have not modified the sample portal (much) so as to keep it compatible. Having said

RE: Cocoon Forms - how to add a confirmation dialog on submit

2005-01-19 Thread Hank Heidt
I suspected that it would be something really easy! Thanks for the help and the additional insight into how widgets are handled. -Hank -Original Message- From: Vilya Harvey [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 19, 2005 5:07 AM To: users@cocoon.apache.org Subject: Re:

i18n, locale modification to persist?

2005-01-19 Thread oceatoon
Hi everyone I've set up i18n localisation in our website - initialy a page is loaded with the browsers prefs - but then the user can click on one of the language flags adding the request parameter ?locale=fr (ex.) My question is: is there a way to set this new choice of locale as if it was the

Re: Portal PageLabels and Events

2005-01-19 Thread Frank Taffelt
on my layout i have an header coplet which generates a nested DHTML Pulldown menu that is the main navigation for my site. Each link from this menu should select the correspondig named tab or the subtab or the subsubsubtab (and so on) depending on the nested menu level. This use-case i could solve

jxtemplate: cocoon.request.locale??

2005-01-19 Thread oceatoon
Hi I trying to retreive the value of my locale paramater in the url from within jx but , with a url /url?locale=fr ${cocoon.request.locale} returns nothing. It seems to be in the docs though. am I doing something wrong or is it jx? Thanks Tibor

Re: Portal PageLabels and Events

2005-01-19 Thread Frank Taffelt
on my layout i have an header coplet which generates an nested DHTML Pulldown menu that is the main navigation for my site. Each link from this menu should select the correspondig named tab or the subtab or the subsubsubtab (and so on) depending on the nested menu level. This use-case i could

[Portal] connexion to db with filled parameter in the query

2005-01-19 Thread José Ferreiro - TSSAG
Hello, Did someone try with portal engine to do perform a query to a db or something similar? (for eg. using coplet). I have the problem that when I try to post the form (an action) to start the query nothing happends. Did someone have problems with action too. Any idea?

setting a different location for xconf

2005-01-19 Thread Ross Gardler
When running Cocoon as a Servlet I need to be able to set the location of cocoon.xconf to something other than WEB-INF/cocoon.xconf. Is this possible? Ross -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.7.0 - Release Date:

Re: Getting a generator class to reload

2005-01-19 Thread Nouguier Olivier
Hi all, A very simple way is to start tomcat within eclipse ( sysdeo plugin http://www.sysdeo.com/eclipse/tomcatPlugin.html ). Tomcat must be started when last version of your classes lives in the WEB-INF/classes. ( using ant ) So the sequence *MUST* be: 1: copy classes in WEB-INF/classes

Portal Engine: MainmenuLinkmenuSubmenu

2005-01-19 Thread Mark Ostermann
Hallo, I am working with the Cocoon Portal Engine. I want to try out the possibilities to build a navigation with menus that has the following structure: Main1 Main2 Main3 Main4 Main5 Main 6 Linktab2.1 Linktab2.2 Subtab2.2.1 Subtab2.2.2 Subtab2.2.3 Linktab2.3 Linktab4 If one

RE: setting a different location for xconf

2005-01-19 Thread Martinson, Theresa
Check out this initialization parameter in your web.xml. I haven't tried this, but I'm guessing you can configure it to be whatever you want. init-param param-nameconfigurations/param-name param-value/WEB-INF/cocoon.xconf/param-value /init-param Theresa -Original

Re: setting a different location for xconf

2005-01-19 Thread Ross Gardler
Martinson, Theresa wrote: Check out this initialization parameter in your web.xml. I haven't tried this, but I'm guessing you can configure it to be whatever you want. init-param param-nameconfigurations/param-name param-value/WEB-INF/cocoon.xconf/param-value /init-param Sorry

RE: setting a different location for xconf

2005-01-19 Thread Martinson, Theresa
I don't know if you can set that dynamically or not. Maybe someone else has an idea Theresa Ross Gardler wrote: Sorry I should have been clearer with my requirement: I need to change the location of the cocoon.xconf file but I do not know, until runtime, where the location of the file

Re: Portal Engine: MainmenuLinkmenuSubmenu

2005-01-19 Thread Ralph Goers
Mark Ostermann wrote: Hallo, I am working with the Cocoon Portal Engine. I want to try out the possibilities to build a navigation with menus that has the following structure: Main1 Main2 Main3 Main4 Main5 Main 6 Linktab2.1 Linktab2.2 Subtab2.2.1 Subtab2.2.2 Subtab2.2.3 Linktab2.3

Re: Portal PageLabels and Events

2005-01-19 Thread Ralph Goers
Unfortunately, I'm pretty sure this will require an enhancement. If you'll notice in your first email you have an event along with the pageLabel. When a url containing a pageLabel specifying a page other than the current one is processed, any events attached to it are ignored. This is done

Re: Portal PageLabels and Events

2005-01-19 Thread Ralph Goers
Frank Taffelt wrote: on my layout i have an header coplet which generates a nested DHTML Pulldown menu that is the main navigation for my site. Each link from this menu should select the correspondig named tab or the subtab or the subsubsubtab (and so on) depending on the nested menu level. This

No attribute reporting error

2005-01-19 Thread Oleg Konovalov
Hi, Our application stopped doing anything. That started happening after we bounced the server (JBoss 3.0.7) with our Cocoon based app. Used to work OK. I am getting an error in cocoon's error.log file: ERROR (2005-01-19) 12:13.14:048 [sitemap.transformer.readDOMsession]

Re: Cocoon with Virtual Hosts (apache/tomcat)

2005-01-19 Thread Nouguier Olivier
hi And what about mod_jk2? http://jakarta.apache.org/tomcat/connectors-doc/index.html On Wed, 2005-01-19 at 11:43 +0200, Derek Hohls wrote: I am working with Apache/Tomcat and Cocoon 2.1.5. I am trying to have a virtual host setup, so users from outside the organisation can access the site.

Re: modifying the style of required widgets in CForms

2005-01-19 Thread Mark Lundquist
On Jan 18, 2005, at 10:38 PM, Marc Salvetti wrote: Thanks a lot for your answers, i've just tried your idea, but i still can't get it to work. Here is what i tried xsl:import href=../resources/forms-samples-styling.xsl / xsl:template match=* mode=custom-styling xsl:param name=required /

Re: modifying the style of required widgets in CForms

2005-01-19 Thread Marc Salvetti
Hello Marc, thx again for the answer, Mark Lundquist a crit : Aw, phooey! I had a brain-o there, I totally meant styling, but in my example I wrote common (right after I got through telling you that common was the wrong one! :-). Sorry, my bad. No worries, this is already very confusing

Ways to implement Dynamic XSLT in Cocoon

2005-01-19 Thread Matt Robinson
Hello. Has anyone come across or written an transformer-based way to dynamically modify an XSLT template at processing time? My challenge is this: To facilitate Web Metric analysis, we need to embed vendor-supplied JAVA script in each page. This JAVA script (and/or vendor) may change over

[flow] global variable values lost between invocations

2005-01-19 Thread Adam Ratcliffe
I have a flowscript where I set the value of a global variable, call cocoon.session to create a session, but find that it's value is undefined when I next invoke a top-level function in the script. An excerpt from the scriptwhere the variable's value is set is: var mapContext;

Re: [flow] global variable values lost between invocations

2005-01-19 Thread Mark Lundquist
On Jan 19, 2005, at 8:31 PM, Adam Ratcliffe wrote: I have a flowscript where I set the value of a global variable, call cocoon.session to create a session, but find that it's value is undefined when I next invoke a top-level function in the script. An excerpt from the scriptwhere the variable's

RE: [flow] global variable values lost between invocations

2005-01-19 Thread Adam Ratcliffe
Hi Mark, I'm running 2.1.6. I wrote a simple test case in an independent flowscript and that works fine, didn't need to call cocoon.session as you suggested. In other ideas? Cheers Adam -Original Message- From: Mark Lundquist [mailto:[EMAIL PROTECTED] Sent: Thursday, 20 January

RE: [flow] global variable values lost between invocations - more info

2005-01-19 Thread Adam Ratcliffe
Hi Mark, I just did a quick test and found that the problem is occurring because the 2nd function invocation, where the global is tested for the previously set value, is coming from a different sitemap. Does this mean that each sitemap that uses a flowscript has its own separate global variable

Re: Ways to implement Dynamic XSLT in Cocoon

2005-01-19 Thread Mark Lundquist
On Jan 19, 2005, at 7:48 PM, Matt Robinson wrote: Hello. Has anyone come across or written an transformer-based way to dynamically modify an XSLT template at processing time? The normal way to do that would be to process your first order stylesheet through a second-order stylesheet, and use

Re: modifying the style of required widgets in CForms

2005-01-19 Thread Mark Lundquist
On Jan 19, 2005, at 7:29 PM, Marc Salvetti wrote: nope ! lost your bet, the result is just exactly the same :-\ bummer! i tried this instead : xsl:copy-of select=. xsl:if test=$required='true' xsl:attribute name=classrequired-field/xsl:attribute /xsl:if /xsl:copy-of

Re: modifying the style of required widgets in CForms

2005-01-19 Thread Marc Salvetti
I tried your last suggestion, but that doesn't seem to help, so here is what the custom-styling stylesheet looks like so far : ?xml version=1.0? xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform;

RE: Ways to implement Dynamic XSLT in Cocoon

2005-01-19 Thread Conal Tuohy
Matt Robinson wrote: Has anyone come across or written an transformer-based way to dynamically modify an XSLT template at processing time? Yes. See http://wiki.apache.org/cocoon/MetaStylesheets and also http://wiki.apache.org/cocoon/HtmlToXsltExperiments Cheers Con

Re: modifying the style of required widgets in CForms

2005-01-19 Thread Mark Lundquist
Thanks for the detail. See below: On Jan 19, 2005, at 10:20 PM, Marc Salvetti wrote: I tried your last suggestion, but that doesn't seem to help, so here is what the custom-styling stylesheet looks like so far : ?xml version=1.0? xsl:stylesheet version=1.0

Re: i18n, locale modification to persist?

2005-01-19 Thread John L. Webber
Hi Tibor, How about storing the locale info in the user's session? John oceatoon wrote: Hi everyone I've set up i18n localisation in our website - initialy a page is loaded with the browsers prefs - but then the user can click on one of the language flags adding the request parameter ?locale=fr

Re: modifying the style of required widgets in CForms

2005-01-19 Thread Marc Salvetti
Mark Lundquist a crit : Thanks for the detail. See below: On Jan 19, 2005, at 10:20 PM, Marc Salvetti wrote: I tried your last suggestion, but that doesn't seem to help, so here is what the custom-styling stylesheet looks like so far : ?xml version=1.0? xsl:stylesheet version=1.0