Le Jeudi, 27 fév 2003, à 11:05 Europe/Zurich, [EMAIL PROTECTED] a
écrit :
...I would like to propose that once a problem has been
solved by the help of different 'brains' that the
original poster of this problem posts a summary (which
clearly says SUMMARY: in the headline) ...
That's a good
Goetz Botterweck wrote:
>
> I just did a reinstall of my cocoon server with current versions of the
> software: JDK 1.4.1_01, Tomcat/4.1.18-LE-jdk14, cocoon 2.0.4
>
> Since then, I have the problem ...
So are you saying that it did work before this?
Cocoon would have been fetching the DTD from ac
Alan Anderson wrote:
> My question is how can I run an external program/script and
> have the final output be what is sent to
> the Transformer for display? I'm guessing I'm missing
One option is to run your external executable as a CGI app. This may be
easier than porting it to a Generator. The
>
> seems like that import statement is the delinquent. maybe you fiddled
> around too much with those logicsheets? ;-) if you're doing sql/esql
> stuff within your custom logicsheet you should check that. don't know
> why that import statement wraps onto the next line.
>
Still doesn't work :( :(
> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Auftrag von Amelie Cordier
> Gesendet: Sonntag, 2. März 2003 22:12
> An: [EMAIL PROTECTED]
> Betreff: Re: AW: Generating dynamic attributes in xsp
>
>
> Ok.
>
> I'm using a cvs version of cocoon that I buil
Jakob Praher wrote:
You are looking for request.getServletPath(), thus {request:servletPath}
not really.
since servletPath for me returns the whole request, that comes in, not
the pipeline, that processes the request.
for instance
a sitemap declares the pipeline listed below, the sitemap is mount
>
>
>> hi again too :)
> :-D
>
>>
>> I agree with you but each time I add "year" or "year or @year" or
>> "@year or year", cocoon crashes with this error :
>>
>> // start error (lines 95-95) " expected"
>> import
>> // end error
>
> where does this one show up? on the page or in the logs? a
hi christian,
> You are looking for request.getServletPath(), thus {request:servletPath}
>
not really.
since servletPath for me returns the whole request, that comes in, not
the pipeline, that processes the request.
for instance
a sitemap declares the pipeline listed below, the sitemap is mounte
Although not directly related to Cocoon development, Sarissa [1] may
save clock cycles to some cocooners, in outsourcing processing to the
client while reusing existing code; perhaps the last transformation in
your pipeline.
Sarissa is a JavaScript library, usefull in scripting XML under Moz
Jakob Praher wrote:
hi all,
definition: urlpath
scheme://host:port:/urlpath
in my cocoon-apps, it often turns out that I would like to know the
UrlPath, that the current pipeline, that is handling the request has.
You are looking for request.getServletPath(), thus {request:servletPath}
Is there
> hi again too :)
:-D
>
> I agree with you but each time I add "year" or "year or @year" or "@year
> or year", cocoon crashes with this error :
>
> // start error (lines 95-95) " expected"
> import
> // end error
where does this one show up? on the page or in the logs? a bit more context
hi jakob,
having a quick look I assume you could use RequestContextPathModule or
RequestURIModule. please see your cocoon.xconf whether those modules are
declared. you may have to add declarations yourself.
> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
hi all,
definition: urlpath
scheme://host:port:/urlpath
in my cocoon-apps, it often turns out that I would like to know the
UrlPath, that the current pipeline, that is handling the request has.
Is there currently a module, sorry I hadn't had the time to look into
the source files, which returns
hi again too :)
> hi again, see inline...
>> And in my xsl:
>>
>>
>> http://mynamspace/mytag
>>
>>
>>
>>
>>
>> year
>> true
>>
>>
>>
>>
>>
>>
>> As soon as I had "[EMAIL PROTECTED]" on my match xsl:template
hi again, see inline...
> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Auftrag von Amelie Cordier
> Gesendet: Sonntag, 2. März 2003 17:07
> An: [EMAIL PROTECTED]
> Betreff: Re: AW: Generating dynamic attributes in xsp
>
>
> I can't achieve to make this
Thanks.
Both Alfred and Marco's suggestion worked. Although it's not as elegant as
I'd like, at least I know it can do what I want. Placing the parameters into
the request allowed me to bypass the fact that generators don't take
parameters
I-Lin Kuo, Ann Arbor, MI
Original Message Follows-
> hi amelie (nice name ;-),
thanks :)
>
>
>
>
>
> and your modified logicsheet would look something like this:
>
> ...
>
>
> http://your/namespace/uri
>
>
>
>
>
> name
> true
>
>
>
> ...
>
Try this:
HTH, Alfred.
-Original Message-
From: I-Lin Kuo [mailto:[EMAIL PROTECTED]
Sent: Sonntag, 2. März 2003 13:18
To: [EMAIL PROTECTED]
Subject: pass parameters to internal pipeline
Is it possible to pass parameters to an internal pipeline?
This doesn't
Unfortunately, as long as you are using the cocoon:// protocol, you are
going to run into the same problem with passing parameters to the
pipeline. Both generators use the resolver to retrieve a SitemapSource,
which will place any parameters you pass to it into the objectModel. I
think Marco's
hi amelie (nice name ;-),
instead of passing the 'name' parameter as an attribute of you
could use an element with the same name. the logicsheet-util logicsheet that
comes with cocoon has templates that you can call to get a parameter. it
checks for an attribute and an element with the name you s
The FileGenerator doesn't use any parameters.
Maybe the problem is that I'm passing to a FileGenerator. I'm going to try
passing to an xsp instead...
_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
http://join.msn.com/?
> Before I bother the list with my questions, could someone tell me if the
> archives for this list are searchable or not? (URL please!) Thanks,
> Robert
>
>
> - To
> unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands
Before I bother the list with my questions, could someone tell me if the
archives for this list are searchable or not? (URL please!) Thanks,
Robert
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMA
although it's a bit clumsy, you *can* use request parameters with an
internal pipeline;
you tell the xslt transformer to use request parameters and should then be
able to access these from within your stylesheet.
> -Ursprüngliche Nachricht-
> Von: [EMAIL PRO
Upon a little closer examination, it appears that passing parameters to
the source resolver will only make them available in the objectModel of
the sitemap you are calling. I don't know if that will help you or not.
Outside of that, it doesn't appear that there is any other mechanism to
pass in
What do you want to do with this parameter? The FileGenerator doesn't use
any parameters. The TraxTransformer allows you to pass parameters to the
stylesheet that can be accessed with xsl:param, but there is no similar
function for a generic xml document.
I've got my first Cocoon app up and runn
Ok, I see what you are trying to do... Again though, the FileGenerator
doesn't use any parameters that are passed to it. It is possible to
extend FileGenerator and override the setup method to pass parameters
to the source resolver. I believe this would provide the functionality
you are looking
Hello,
I have an xsp page and a logicsheet where I have defined my own tags.
In my logicsheet I use thinks like that : in order to perform specifics resquests on a
database.
This work perfectly if I use a tag like in the xsp.
But my problem is that I want the attribute "name" to be dynamicall
What do you want to do with this parameter? The FileGenerator doesn't
use any parameters. The TraxTransformer allows you to pass parameters
to the stylesheet that can be accessed with xsl:param, but there is no
similar function for a generic xml document. The FileGenerator simply
loads the xml
Is it possible to pass parameters to an internal pipeline?
This doesn't work for me:
P.S. Just to be sure that I haven't made any dumb mistakes, I've checked
that I have a top-level xsl:param in my style sheet getParam.xsl which picks
up the parameter from the following pipe
30 matches
Mail list logo