Replacable parameters in HTML in I18nTransformer

2018-05-16 Thread Christopher Schultz
have some parameters added to it by the template (it's not static), so I've done this: In my catalogue, I have: Please click here to do something interesting. The URL in the resulting output has literal {0} and {1} text in it. Is there a way to get the i18n transformer to repla

Re: Matching HTML GET parameters in sitemap

2016-06-30 Thread warrell harries
d, < href="x-msg://17/user/SendEmail.jtp?type=node&node=58674&i=0" > target="_top" rel="nofollow" link="external">[hidden email]> wrote: > > In a Cocoon 2.1 installation, I'm trying to get a sitemap pipeline match >> to di

Re: Matching HTML GET parameters in sitemap

2016-06-29 Thread crburd
atch to > differentiate between a URL that has no HTML GET parameters and one that does. > > For example, I want two different matches for the following URLs: > > foo.org > > foo.org?operation=bar > > Thanks, > > Charles Burd > > > > --

Re: Matching HTML GET parameters in sitemap

2016-06-28 Thread warrell harries
no HTML GET parameters and one that > does. > > For example, I want two different matches for the following URLs: > > foo.org > > foo.org?operation=bar > > Thanks, > > Charles Burd > > > > --

Matching HTML GET parameters in sitemap

2016-06-28 Thread Charles Burd
In a Cocoon 2.1 installation, I'm trying to get a sitemap pipeline match to differentiate between a URL that has no HTML GET parameters and one that does. For example, I want two different matches for the following URLs: foo.org foo.org?operation=bar Thanks, Charles

Re: how to pass parameters to a service transformer

2014-03-21 Thread gelo1234
Hi, Passing parameters within URL (Query Params) doesn't work in C3 ? Greetings, Greg 2012-05-15 12:15 GMT+02:00 Robby Pelssers : > Hi all, > > > > I've got a question regarding the service transformer. How do I pass any > parameters to the service? Th

Re: Passing parameters from sitemap readers.

2013-02-11 Thread Mansour Al Akeel
ew readers where I can pass parameters as an >> attribute in the sitemap: >> >> For example: >> >> > prop="{global:myProp}" /> >> >> >> After I switched to beta-1 I started getting: >> >> 8:54:14.567 [btp

Re: Passing parameters from sitemap readers.

2013-02-11 Thread Francesco Chicchiriccò
On 11/02/2013 15:08, Mansour Al Akeel wrote: I started using 3.0.0-beta-1-SNAPSHOT. I was prototyping with 3.0.0-alpha-3. However, I wrote a few readers where I can pass parameters as an attribute in the sitemap: For example: After I switched to beta-1 I started getting: 8:54:14.567

how to pass parameters to a service transformer

2012-05-15 Thread Robby Pelssers
Hi all, I've got a question regarding the service transformer. How do I pass any parameters to the service? The demo from get-started page is not clear on this topic. Robby

Re: how do I specify function parameters in the URL

2012-01-03 Thread Paul Joseph
Thanks Thorsten, appreciate it! Paul On 1/3/2012 1:22 PM, Thorsten Scherler wrote: On Tue, 2012-01-03 at 09:19 -0500, Paul Joseph wrote: Hi there, I know that I can call a function with parameters using the sitemap as for ex

Re: how do I specify function parameters in the URL

2012-01-03 Thread Thorsten Scherler
On Tue, 2012-01-03 at 09:19 -0500, Paul Joseph wrote: > Hi there, > > I know that I can call a function with parameters using the sitemap as

Re: how do I specify function parameters in the URL

2012-01-03 Thread Paul Joseph
: Kind regards, Robby -Original Message- From: Paul Joseph [mailto:pjos...@gmail.com] Sent: Tuesday, January 03, 2012 3:19 PM To: users@cocoon.apache.org Subject: how do I specify function parameters in the URL Hi there, I know that I can call a function with parameters using the sitemap as

RE: how do I specify function parameters in the URL

2012-01-03 Thread Robby Pelssers
...@gmail.com] Sent: Tuesday, January 03, 2012 3:19 PM To: users@cocoon.apache.org Subject: how do I specify function parameters in the URL Hi there, I know that I can call a function with parameters using the sitemap as for ex

how do I specify function parameters in the URL

2012-01-03 Thread Paul Joseph
Hi there, I know that I can call a function with parameters using the sitemap as for ex.: and: Then in myApplication.js you would

Re: [ cocoon3 ] map parameters

2011-11-07 Thread Andre Juffer
tly now. I guess the parameters.addAll(..) is essential. as two sets of parameters are passed on to generators? Thanks! On 11/07/2011 03:04 PM, Francesco Chicchiriccò wrote: On 07/11/2011 13:55, Andre Juffer wrote: [...] @Override public void setup(Map parameters) { super.setup(parameters); this.par

Re: [ cocoon3 ] map parameters

2011-11-07 Thread Francesco Chicchiriccò
On 07/11/2011 13:55, Andre Juffer wrote: [...] @Override public void setup(Map parameters) { super.setup(parameters); this.parameters = parameters; } Try instead (as in StringTemplateGenerator, for instance): @Override public void setup(final Map parameters

Re: [ cocoon3 ] map parameters

2011-11-07 Thread Andre Juffer
n, block A processes the form (this is the ImageResource). It attaches the 'creatorId' and some other info and moves the image to a temporal folder (stored in 'filename'). Tested and works fine. 3. Block A calls block B (the image database) with 'creatorId' and &#x

RE: [ cocoon3 ] map parameters

2011-11-07 Thread Robby Pelssers
image") public class ImageResource Robby -Original Message- From: Andre Juffer [mailto:ajuf...@cc.oulu.fi] Sent: Monday, November 07, 2011 12:35 PM To: users@cocoon.apache.org Subject: Re: [ cocoon3 ] map parameters Hi Francesco, yes, that's right, I saw that file. It is the o

Re: [ cocoon3 ] map parameters

2011-11-07 Thread Andre Juffer
On 11/07/2011 02:03 PM, Francesco Chicchiriccò wrote: Il 07/11/2011 12:48, Andre Juffer ha scritto: On 11/07/2011 01:43 PM, Francesco Chicchiriccò wrote: On 07/11/2011 12:35, Andre Juffer wrote: What happens if you use one of standard generators - like the XML generator in the first example? I

Re: [ cocoon3 ] map parameters

2011-11-07 Thread Francesco Chicchiriccò
Il 07/11/2011 12:48, Andre Juffer ha scritto: On 11/07/2011 01:43 PM, Francesco Chicchiriccò wrote: On 07/11/2011 12:35, Andre Juffer wrote: What happens if you use one of standard generators - like the XML generator in the first example? I mean: You should now get an exception for somethin

RE: [ cocoon3 ] map parameters

2011-11-07 Thread Robby Pelssers
:49 PM To: users@cocoon.apache.org Subject: Re: [ cocoon3 ] map parameters On 11/07/2011 01:43 PM, Francesco Chicchiriccò wrote: > On 07/11/2011 12:35, Andre Juffer wrote: > > What happens if you use one of standard generators - like the XML > generator in the first example? I mean: >

Re: [ cocoon3 ] map parameters

2011-11-07 Thread Andre Juffer
On 11/07/2011 01:43 PM, Francesco Chicchiriccò wrote: On 07/11/2011 12:35, Andre Juffer wrote: What happens if you use one of standard generators - like the XML generator in the first example? I mean: You should now get an exception for something missing: is it "sax-pipeline/3276800.xml" or

Re: [ cocoon3 ] map parameters

2011-11-07 Thread Francesco Chicchiriccò
o the Generator. When checking the parameter in the Generator, it is always null. In fact, there are many parameters available to the Generator (not set by me) and the 'creatorId' is the only one that is null. What happens if you use one of standard generators - like the XML generat

Re: [ cocoon3 ] map parameters

2011-11-07 Thread Andre Juffer
the parameter in the Generator, it is always null. In fact, there are many parameters available to the Generator (not set by me) and the 'creatorId' is the only one that is null. The request that I was using http://localhost:/img/create/image/creator/3276800?filename=/tmp/3276800-

Re: [ cocoon3 ] map parameters

2011-11-07 Thread Francesco Chicchiriccò
self made Generator, that requires two parameters ('creatorId' and 'filename'). Other blocks call this pipeline with a request like http://localhost:/img/create/image/creator/3276800?filename=/tmp/3276800-tribc-eap-areal-view.jpg The value of 'creatorId&

RE: [ cocoon3 ] map parameters

2011-11-07 Thread Robby Pelssers
Have you tried: Robby -Original Message- From: Andre Juffer [mailto:ajuf...@cc.oulu.fi] Sent: Monday, November 07, 2011 11:57 AM To: Cocoon Users Subject: [ cocoon3 ] map parameters Hi, I have the following pipeline in a sitemap of some block. This pipeline is called by other

[ cocoon3 ] map parameters

2011-11-07 Thread Andre Juffer
parameters ('creatorId' and 'filename'). Other blocks call this pipeline with a request like http://localhost:/img/create/image/creator/3276800?filename=/tmp/3276800-tribc-eap-areal-view.jpg The value of 'creatorId' is always null, although

RE: Transformer parameters are intermittently not set.

2011-09-19 Thread Nathaniel, Alfred
Hi Alan, I don't have any explanation for your problem but a few hints to look at. I would think that the transformer parameters are passed all right but that the request-param input module resolves all parameters to the empty string. Either the parameter map gets modified or the whole re

Re: Transformer parameters are intermittently not set.

2011-09-14 Thread Javier Puerto
2011/9/14 Alec Bickerton > On 14/09/11 11:48, Thorsten Scherler wrote: > > On Wed, 2011-09-14 at 10:58 +0200, Alec Bickerton wrote: > >> Hi, > >> > >> I'm seeing some unusual behaviour in Cocoon 2.1.9. It appears that it > possible for the xalan tr

Re: Transformer parameters are intermittently not set.

2011-09-14 Thread Alec Bickerton
On 14/09/11 11:48, Thorsten Scherler wrote: > On Wed, 2011-09-14 at 10:58 +0200, Alec Bickerton wrote: >> Hi, >> >> I'm seeing some unusual behaviour in Cocoon 2.1.9. It appears that it >> possible for the xalan transformer parameters to >> not be se

Re: Transformer parameters are intermittently not set.

2011-09-14 Thread Thorsten Scherler
On Wed, 2011-09-14 at 10:58 +0200, Alec Bickerton wrote: > Hi, > > I'm seeing some unusual behaviour in Cocoon 2.1.9. It appears that it > possible for the xalan transformer parameters to > not be set in a pipeline. Is this a known issue? > > Relevan

Transformer parameters are intermittently not set.

2011-09-14 Thread Alec Bickerton
Hi, I'm seeing some unusual behaviour in Cocoon 2.1.9. It appears that it possible for the xalan transformer parameters to not be set in a pipeline. Is this a known issue? Relevant part of the sitemap

RE: how to access post parameters from sitemap [resolved]

2011-04-27 Thread Robby Pelssers
Ok... I figured it out meanwhile and below implementation works like a charm. //inject request or post parameters as xquery parameters handleRequestParameters(ObjectModelHelper.getRequest(objectModel)); protected void handleRequestParameters(Request request) { @SuppressWarnings("unch

RE: how to access post parameters from sitemap

2011-04-27 Thread Robby Pelssers
Ok... I'm facing a strange issue right now. So in my java code I have following: Request request = ObjectModelHelper.getRequest(objectModel); Map parameters = request.getParameters(); When debugging the content of parameters in Eclipse i see: {id=SAA7715AH} But using firebug I do see t

Re: how to access post parameters from sitemap

2011-04-27 Thread Luca Morandini
e you access request parameters easily without knowing their names and generate XML: ${p}=${cocoon.request.getParameter(p)} Regards, Luca Morandini http://www.lucamorandini.it - To unsubscribe, e-mail: users-unsubscr...@c

RE: how to access post parameters from sitemap

2011-04-27 Thread Robby Pelssers
ow to access post parameters from sitemap On Wed, 2011-04-27 at 12:03 +0200, Robby Pelssers wrote: > Hi Luca, > > thx for the reply... That was indeed the first option for me to consider. > Unfortunately this solution will not work for me since I setup a highly > generic pipe

RE: how to access post parameters from sitemap

2011-04-27 Thread Thorsten Scherler
o basically the correct > xquery is generated and the idea is that all needed parameters are set by the > xquery generator from request parameters as well as post parameters which are > different for each xquery. > > > > > >

RE: how to access post parameters from sitemap

2011-04-27 Thread Robby Pelssers
parameters are set by the xquery generator from request parameters as well as post parameters which are different for each xquery. I'm actually debugging the custom Xquery Generator now and it seems somehow deeply nested I can retrieve those parameters from

Re: how to access post parameters from sitemap

2011-04-27 Thread Luca Morandini
On 04/26/2011 04:10 PM, Robby Pelssers wrote: When I post to this url firebug shows the id's are posted just fine. But when I debug the queryString is null when making post requests. When POST method is used, query string is null, since parameters are passed in the body of the re

how to access post parameters from sitemap

2011-04-26 Thread Robby Pelssers
xmap: >From the sitemap I inject the queryString into a custom XQueryGenerator and >all request parameters are dynamically set before executing the xquery. However, When I post to this url firebug shows the id's

setting and reading generator parameters

2010-07-14 Thread papa nagy
lue in the map:components section, preferably in the same way as "use-request-parameters" for the transformers. here in the TraxTransformer there is a "conf" passed to the "configure" method with these parameters specified. How can I make it work with a generat

Re: Accessing tomcat servlet context parameters in sitemap

2010-06-02 Thread Stephen Rosman
> I have user-defined parameter 'redirectURL' in tomcat servlet context and > need to use this parameter in my sitemap. > I can modify ROOT.xml, but there is no opporunity to store this parameter > somewhere outside of tomcat's server configuration. I made a "ContextPropertyProvider" and stuck it

Re: How to transform XML-URL-parameters a into a parse-able XML in a pipeline ?

2010-05-17 Thread Sébastien Geindre
value2xml.xslt: http://www.w3.org/1999/XSL/Transform";> Cheers, Robby -Original Message- From: Robby Pelssers [mailto:robby.pelss...@ciber.com] Sent: Wednesday, May 12, 2010 2:11 PM To: users@cocoon.

RE: How to transform XML-URL-parameters a into a parse-able XML in a pipeline ?

2010-05-12 Thread Robby Pelssers
by.pelss...@ciber.com] Sent: Wednesday, May 12, 2010 2:11 PM To: users@cocoon.apache.org Subject: RE: How to transform XML-URL-parameters a into a parse-able XML in a pipeline ? Try this: Request.jx -- http://apache.org/cocoon/template

RE: How to transform XML-URL-parameters a into a parse-able XML in a pipeline ?

2010-05-12 Thread Robby Pelssers
form XML-URL-parameters a into a parse-able XML in a pipeline ? Hi all, What i need to do is to transform http GET request into XML parse-able with cocoon 2.2 an example : the request : http://host/foo?filter= when i use i have : <a><b/><c/></a> h:value is not parse-a

How to transform XML-URL-parameters a into a parse-able XML in a pipeline ?

2010-05-12 Thread Sébastien Geindre
Hi all, What i need to do is to transform http GET request into XML parse-able with cocoon 2.2 an example : the request : http://host/foo?filter= when i use i have : h:value is not parse-able.. if i use i have got the same thing... any help ? thanks! Sébastien --

Accessing tomcat servlet context parameters in sitemap

Hi! I have user-defined parameter 'redirectURL' in tomcat servlet context and need to use this parameter in my sitemap. I can modify ROOT.xml, but there is no opporunity to store this parameter somewhere outside of tomcat's server configuration. My ROOT.xml in tomcat looks like ... http

Accessing tomcat servlet context parameters in sitemap

Hi! I have user-defined parameter 'redirectURL' in tomcat servlet context and need to use this parameter in my sitemap. I can modify ROOT.xml, but there is no opporunity to store this parameter somewhere outside of tomcat's server configuration. My ROOT.xml in tomcat looks like ... http

Re: parameters / objects from pipeline comp. to pipeline component

null. I've put it in the parameters HashMap, which I get through the setup(...) method. As a side note: I can't find any nice documentation of Cocoon 2.2 and above :-/ I borrowed the book Cocoon 2 and Tomcat, but I think many things are alr

parameters / objects from pipeline comp. to pipeline component

Hi, what's the proper way to handle data which should be sent from a generator to a transformer (an ArrayList). It seems if I use a simple static getter on a static ArrayList it's always null. regards, Johannes - To unsubscribe

Passing parameters with cocoon.redirectTo via POST

nformation to user via POST or JSON. I tried to pass parameters with GET and it works ok but it doesn`t satisfy me :/. Is it generaly possible to pass parameters to redirectTo() via POST ? Regards, Tomasz Piechowicz - To unsub

Re: Passing POST Parameters to a block call, cocoon 2.2, please urgent!

Hi, I forgot to add: Please note, that - among some other places in cocoon - servlet protocol starts a new request, (nearly) independent from the original one. This request (currently) does not inherit any parameters. To achieve such behavior, it would be necessary to add some syntax for

Re: Passing POST Parameters to a block call, cocoon 2.2, please urgent!

Hi Ali, the "problem" is, you are trying to use cocoon inappropriately. Currently there is no way passing parameters via servlet protocol. (Actually, you could use URL-encoded parameters. That will work. But, not all forms data can be propagated that way.) The only approach that will

Passing POST Parameters to a block call, cocoon 2.2, please urgent!

ird server My propblem is that all the posted parameters from my form are lost in the second block and the third service call does not succeed. What i am doing wrong? I there any tutorial or sample how to do that correctly? I have tried to change the code in cocoon-servlet-service-impl for

Re: How to pass parameters to an xsp sheet (called in a element).

Try this : String period = (String)request.getParameter("period"); André Le 22/07/2009 14:59, > SGE0 (par Internet, dépôt users-return-97859-andre.davignon=developpement-durable.gouv...@cocoon.apache.org) a écrit : I thought this was simple but I can't seem to pass req

How to pass parameters to an xsp sheet (called in a element).

I thought this was simple but I can't seem to pass request parameters to an xsp sheet which is called in a element. Following example: http://www.x.com/topnavbar"; src="documents/home/menu_en.xml"/>

cocoon-3.0 : request and sitemap parameters

Hi, I could not figure out how to access request and sitemap parameters from a Cocoon 3 generator. The generator is part of a pipeline: public class StuffGenerator extends AbstractGenerator implements CachingPipelineComponent { String language = "en"; Th

Re: Parameters in block protocol

Andre Juffer wrote: If you intend to forward the request parameters to a stylesheet you need to explicitly state that in the sitemap. I cannot recall the exact format, however I guess that is what you mean (and if you do it right it works!): And i found what i messed

Re: Parameters in block protocol

If you intend to forward the request parameters to a stylesheet you need to explicitly state that in the sitemap. I cannot recall the exact format, however Søren Krum wrote: Hi! I tried a little bit more, and now i have a pipeline match looking like that

Re: Parameters in block protocol

ie=debug&osv=true an action i added in the portal-login-service gets me the following request params: RequestParam redirect-url=/application/applicationListEdit RequestParam osv=true RequestParam query-string=cocoon-vie=debug RequestParam cocoon-vie=debug So, the parameters are still ali

Re: Parameters in block protocol

cks works fine so far, but...As ever there is a special case where i want to pass some parameters to the called block: i tried it as follows: ***8<-- src="servlet:central:/portal-login-service?redirect-url={url-encode:{request:requestURI}?{re

Parameters in block protocol

Hi! I try an upgrade of an web app from cocoon 2.1 to 2.2, and eger as i am, i want to get it all fine in small blocks. Calling blocks works fine so far, but...As ever there is a special case where i want to pass some parameters to the called block: i tried it as follows

SOLVED: Re: Parameters- from CForms into sitemap

That worked perfectly! Thanks so much, Victor! Víctor Pergolesi wrote: Dear Quinn: to send more parameters you need to separate them with ",". That 's all. // // EXAMPLE 1: 2 parameters // var viewData = { "comprobantes": comprobantes , "fchaenvi&q

Re: Parameters- from CForms into sitemap

Dear Quinn: to send more parameters you need to separate them with ",". That 's all. // // EXAMPLE 1: 2 parameters // var viewData = { "comprobantes": comprobantes , "fchaenvi": formatoEnvio.format(fchaenvi) }; // cocoon.sendPage("cargacomprobantes-pro

Re: Parameters- from CForms into sitemap

One last question, if you have a chance: is there a way to pass 2+ parameters? Right after the code I put above in the registration.js, I have: var viewData2 = { "age" : form.getChild("age").getValue() } cocoon.sendPage("registration-success-pipeline

Re: Newbie-question: parameters/variables

Yea, that looks like what i was searching for, thx :-) -- Søren D. Krum Systemutvikler/system developer UNINETT FAS + 47 73557859 There are 10 different kind of people in the world, those who understand binary and those who don't --

Re: Newbie-question: parameters/variables

dro > > 2009/4/20 Søren Krum : > > Hi! > > > > i am trying out some things with cocoon sitemaps, and i wonder: Is there > > anywhere a place on the web where i can get an overview about the > different > > parameters/variables i can use in the sitemap as e.g. &

Re: Newbie-question: parameters/variables

nder: Is there > anywhere a place on the web where i can get an overview about the different > parameters/variables i can use in the sitemap as e.g. > request-parameter: > > Regards > > Søren Krum > > -

Newbie-question: parameters/variables

Hi! i am trying out some things with cocoon sitemaps, and i wonder: Is there anywhere a place on the web where i can get an overview about the different parameters/variables i can use in the sitemap as e.g. request-parameter: Regards Søren Krum

Parameters in block protocol

Hi! I try an upgrade of an web app from cocoon 2.1 to 2.2, and eger as i am, i want to get it all fine in small blocks. Calling blocks works fine so far, but...As ever there is a special case where i want to pass some parameters to the called block: i tried it as follows

Parameters in block protocol

Hi! I try an upgrade of an web app from cocoon 2.1 to 2.2, and eger as i am, i want to get it all fine in small blocks. Calling blocks works fine so far, but...As ever there is a special case where i want to pass some parameters to the called block: i tried it as follows

Re: Parameters- from CForms into sitemap

Does var username = form.getChild("name").getValue(); help you ? I hope so. André Thanks for the help, Andre! *Something* is going through, because I'm getting a blank instead of the default parameter I set in the XSL, but I'm still not able to pick up the value. I've tried both flow-att

Re: Parameters- from CForms into sitemap

Thanks for the help, Andre! *Something* is going through, because I'm getting a blank instead of the default parameter I set in the XSL, but I'm still not able to pick up the value. I've tried both flow-attr and flow-attribute. The relevant pieces I've got here are: Flowscript - registration

Re: Parameters- from CForms into sitemap

Hi, The "flow-attr" input module could maybe help you : or something like that... André Hello, This is my first time working with the Forms block in Cocoon 2.2 and I've gotten a bit stuck. I got the Simple Example to work (http://cocoon.apache.org/2.2/blocks/forms/1.0/478_1_1.html) but

Parameters- from CForms into sitemap

Hello, This is my first time working with the Forms block in Cocoon 2.2 and I've gotten a bit stuck. I got the Simple Example to work (http://cocoon.apache.org/2.2/blocks/forms/1.0/478_1_1.html) but I'm trying to modify it to pass the {username} value as a parameter for a different stylesheet

Re: Sending parameters in the POST with flowscript

Hi again, I'm using the sendPage to pass the parameters in mi own cocoon aplication and it works good. But my problem is when I have to send parameters to a external cocoon aplication that get the parameters by POST. Thanks. Víctor Pergolesi escribió: Hi, Ma Magdalena, I used wi

Re: Sending parameters in the POST with flowscript

var repeaterComprobantes = form.getChild("comprobantes"); var comprobantes = ""; if (repeaterComprobantes != null) { // // Recorre comprobantes // for (i=0;imailto:magdalena.bua...@uib.es] To: users@cocoon.apache.org Sent: Wed, 18 Mar 200

Sending parameters in the POST with flowscript

Hi, I don't know how to send a post parameter in flowscript. I tried some options like: * cocoon.request.set('name', value); * cocoon.request.setAtribute('name', value); * sendPage ('url', {"name": value}); Is it possible? Thanks in advance. -

Re: Flowscript parameters access

figure" is used to set the component in the section of the sitemap, while "setup" is used to retrieve parameters specified in the pipeline (i.e. the generation stage). To get "json" you have to search it in the "parameters" argument passed to the "setu

Flowscript parameters access

Hi all, I'm building a generator Who will be invoked from a flowscript Who pass a JSONObject. I want to access to this JSONObject from the generator but i don't know how to do that. In my flowscript I use cocoon.sendPage("foo", JSONObject); In my sitemap I think I have to

Re: Request parameters to specify an input file

On Feb 28, 2009, at 3:09 PM, Luca Morandini wrote: Wendell Piez wrote: Except this gives me an error when the parameter is missing, where I need fallback behavior (for example, just adding nothing would do). A selector base on request parameter values should do. Something like this (

Re: Request parameters to specify an input file

Wendell Piez wrote: Except this gives me an error when the parameter is missing, where I need fallback behavior (for example, just adding nothing would do). A selector base on request parameter values should do. Something like this (off the top of my head, so it may contain errors).

Request parameters to specify an input file

Hi, I'd like to use the value of a request parameter to specify a file to aggregate with my input. For example, when the URI is http:localhost:/cocoon/dir/whee.xml?sequence=zoom.xml I'd like to have the functional equivalent of Except this gives me an error when the parameter i

Re: Passing "parameters" to mounted sub-sitemaps

t; >> >> >> >> >> >> >> Sub-sitemap: >> >> >> >> >> >> >> >> >> >> It's pretty ugly, thou

Re: Passing "parameters" to mounted sub-sitemaps

d be visible in the sub-sitemap? I don't think it's that ugly – maybe the pipeline concept just takes a bit getting used to when you're new to Cocoon. IMO passing parameters in URLs is a good practise since this way you create a "pipeline API" that helps others to under

Re: Passing "parameters" to mounted sub-sitemaps

Good stuff, thanks! You gave me the general idea -- an internal redirect with the parameter stuffed into the internal URL. I had to change your code a bit to get it to work, here's what I came up with: Main sitemap:

Re: Passing "parameters" to mounted sub-sitemaps

on the source tree's physical location. I tried pretty brain-dead ideas like using in my parent sitemap, and then a parameter selector in the child, but then I read that the parameter selector is only for parameters from actions or for url segments from matchers. Isn't there a canned acti

Passing "parameters" to mounted sub-sitemaps

location. I tried pretty brain-dead ideas like using in my parent sitemap, and then a parameter selector in the child, but then I read that the parameter selector is only for parameters from actions or for url segments from matchers. Isn't there a canned action that will just let me set a p

Re: sitemap parameters

Hi > Small demo had some spare time ;-) Awesome. Thanks a lot. Mathias - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org

RE: sitemap parameters

, PREFIX + ":" + FILE_NODE); this.contentHandler.endPrefixMapping(PREFIX); this.contentHandler.endDocument(); } public void setup(SourceResolver resolver, Map objectModel, String src, Parameters par) throws ProcessingException, SAXExceptio

RE: sitemap parameters

ias Reem [mailto:m.r...@gmx.net] Sent: donderdag 5 februari 2009 18:47 To: users@cocoon.apache.org Subject: Re: sitemap parameters Hi > Uh. LastModified of what?? Could you be more elaborate? Can you > explain the usecase a bit more? Sorry. We use xml files (and database entries in the fu

Re: sitemap parameters

Hi > Uh. LastModified of what?? Could you be more elaborate? Can you > explain the usecase a bit more? Sorry. We use xml files (and database entries in the future) that are converted by cocoon to html. The generated page must show when it as last changed. So for the start I would want to use

RE: sitemap parameters

Uh. LastModified of what?? Could you be more elaborate? Can you explain the usecase a bit more? Robby -Original Message- From: Mathias Reem [mailto:m.r...@gmx.net] Sent: donderdag 5 februari 2009 18:00 To: users@cocoon.apache.org Subject: Re: sitemap parameters Hi > h

Re: sitemap parameters

Hi > http://wiki.apache.org/cocoon/InputModules Thanks a lot. That was exactly what I was searching for. I was looking through the other InputModules as well, but could not find a InputModule that would give me something like "LastModified". Is there such an Module? thx again Mathias -

RE: sitemap parameters

...@ciber.com] Sent: donderdag 5 februari 2009 12:56 To: users@cocoon.apache.org Subject: RE: sitemap parameters Hi Mathias, I guess you need to know what kind of Input modules are available for example for RequestModule. Please have a look into the below link might useful for you http

RE: sitemap parameters

[mailto:m.r...@gmx.net] Sent: Thursday, February 05, 2009 5:20 PM To: Cocoon Users Subject: sitemap parameters Hi I want to add W3C validation links into the generated documents, therefore I would pass the request url as an parameter to the xsl transformation that generates the document. My problem is

sitemap parameters

Hi I want to add W3C validation links into the generated documents, therefore I would pass the request url as an parameter to the xsl transformation that generates the document. My problem is, I can not find any documentation on which "variables" are available in the sitemap, or how I can obtain

sitemap question (using parameters from inputmodule to configure components)

Hi all. I have a component declared in the cocoon.xconf which reads properties. I would like to use properties from this inputmodule to configure the transformer below. Somehow the properties are not replaced but they get passed

{language} sitemap parameters

read the code, and I forked it to add more debug information and to hardcode our desired locale whenever possible. What I found was that the configuration method of the code does run OK and all the correct parameters are set. In my sitemap, which can be found at https://submarine.computas.com/

Re: Passing parameters to a soap:call in an xsp:logic?

> > On Thu, Dec 4, 2008 at 10:06, Smigge <[EMAIL PROTECTED]> wrote: >> >> Hi! >> >> I'm trying to pass a URL to a soap:call. I know how to pass parameters to >> a >> xsp that contains of plain java code, but this doesn't seem to work: >> &

  1   2   3   4   5   6   7   8   >