Title: passing parameters to xsp files
Hi,
Currently I'm working on a web application that uses an Oracle 8i database, Cocoon 2.0, Tomcat 4.1 and Apache 2.0. I'm using XSP to query, insert and update my database.
Now I stumbled upon the following problem. I've searched the web for answers,
On 02.Jun.2003 -- 02:44 PM, Fernando D. Mato Mira wrote:
> It seems the ';' is not the only problem. It looks like it's trying to
> insert the name
> of the variable, not its value (I think this last one is the same
> problem as in one of the messages
> you pointed to)
>
> Given:
>
> Strin
Yes it works.
Thanks.
One more thing:
What about if no path, i.e. if violation for all form
not only one object.
Can I use empty path, or there is correct way?
getForm().addViolations( AddViolation("/", "new
Error") );
Thanks a lot.
Hill
--- Andrew Timberlake <[EMAIL PROTECTED]> wrote:
>
Why not just add a parameter which removes them or not, big deal. No reason
for Yet Another Class.
-Andy
On 6/2/03 9:34 AM, "Geoff Howard" <[EMAIL PROTECTED]> wrote:
> At 08:57 AM 6/2/2003, you wrote:
>
>>> Seem not convinced? HTMLserializer that generates wrong output does not
>>> convince th
On Mon, 2003-06-02 at 15:34, Geoff Howard wrote:
>
> So... what I ended up doing was extending the HTMLSerializer (or whatever
> serializer you're using for your pipelines), and overriding the
> startPrefixMapping and endPrefixMapping methods to do nothing, effectively
> removing all namespaces
Ah, excellent point. Actually, this is what I was thinking - honest!
At 10:01 AM 6/2/2003, you wrote:
Why not just add a parameter which removes them or not, big deal. No reason
for Yet Another Class.
-Andy
On 6/2/03 9:34 AM, "Geoff Howard" <[EMAIL PROTECTED]> wrote:
>
> So... what I ended up
> From: Christian Haul [mailto:[EMAIL PROTECTED]
>
I get a ProcessingException "Content is not allowed in prolog"
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
This all works fine, updating and everything. Except for this: I want
the right foreign key selected in my form. I cannot expect my users to
select the right owner in the drop down box everytime they do an
update. So I want to tell the owner.xsp file the owner_id of th
Geoff Howard wrote:
I have done exactly this before -- does this still work from a purely
technical perspective? If so, why wouldn't we just define an
NoNsHTMLSerializer which extends HTMLSerializer and overrides
just those two methods? Then, it's a user decision whether these
namespaces be
On 02.Jun.2003 -- 04:10 PM, Mato Mira, Fernando wrote:
> > From: Christian Haul [mailto:[EMAIL PROTECTED]
>
> >
>
>
> I get a ProcessingException "Content is not allowed in prolog"
Strange, could you post a complete page?
Chris.
--
C h r i s t i a n H a u l
[EMAIL PROTECTED]
Is there any way to match/select in the pipeline for the HTTP method
used in the request? I'd like to write a pipeline for handling PUT
requests.
--
Miles Egan <[EMAIL PROTECTED]>
signature.asc
Description: This is a digitally signed message part
Hi all,
Is possible to use complex logic in sitemap?
How I know I can use this code:
...
for logic:
if (
"true".equals(request.getAttribute("cocoon-action-run"))
) {
...
so now I want more, how can I check for null:
if ( session.getAttribute("my-a
>From my past experiences, this most always means that you have some whitespace in the
>file before "". If it is in the XSP, it must be the first character on
>the first line. HTH.
/S
Christian Haul <[EMAIL PROTECTED]> wrote:
>On 02.Jun.2003 -- 04:10 PM, Mato Mira, Fernando wrote:
>> > From: C
-Original Message-
From: Christian Haul [mailto:[EMAIL PROTECTED]
Sent: Monday, June 02, 2003 5:13 PM
To: [EMAIL PROTECTED]
Subject: Re: inserting XML fragments in XSP
On 02.Jun.2003 -- 04:10 PM, Mato Mira, Fernando wrote:
From: Christian Haul [mailto:[EMAIL PROTECTED]
I
Complex logic is intentionally excluded. What version
are you using? 2.0 you are limited to Actions, Selectors
and Matchers. In 2.1 you have the same, but check out
"flow" which allows more complex logic.
Geoff
At 12:21 PM 6/2/2003, you wrote:
Hi all,
Is possible to use complex logic in sitema
On Monday, June 2, 2003, at 07:47 AM, Geoff Howard wrote:
Not even by the name of the jar? For instance, in 2.0.x for jdk1.4
the excalibur datasource
jar is called excalibur-datasource-vm14-20021121.jar. The vm14 stands
for "virtual machine version 1.4" and I think the other is called
*vm12
At 01:39 PM 6/2/2003, you wrote:
On Monday, June 2, 2003, at 07:47 AM, Geoff Howard wrote:
Not even by the name of the jar? For instance, in 2.0.x for jdk1.4 the
excalibur datasource
jar is called excalibur-datasource-vm14-20021121.jar. The vm14 stands
for "virtual machine version 1.4" and I
Have you looked at the HeaderSelector?
Miles Egan <[EMAIL PROTECTED]> wrote:Is there any way to
match/select in the pipeline for the HTTP method
used in the request? I'd like to write a pipeline for
handling PUT
requests.
--
Miles Egan
> ATTACHMENT part 2 application/pgp-signature
name=signatur
The problem is that I don't want to select on one of the headers, but
the actual request method (GET/POST/PUT).
On Mon, 2003-06-02 at 11:26, Alex Romayev wrote:
> Have you looked at the HeaderSelector?
>
> Miles Egan <[EMAIL PROTECTED]> wrote:Is there any way to
> match/select in the pipeline for
Sorry. You need the RequestMethodSelector.
http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/selection/RequestMethodSelector.html
--- Miles Egan <[EMAIL PROTECTED]> wrote:
> The problem is that I don't want to select on one of
> the headers, but
> the actual request method (GET/POST/PUT).
>
Hi!
I'll propably take 2-4 collegues with me.
Details are posted when I know it for sure.
Reinhard Pötz wrote:
According to your responses I added your prefered dates to the list:
- Alexander Schatten (24th)
- Andreas Hochsteger (for me it's ok on 23.05.-26.05.)
- Franz Philipp Moser (24th -
--- Konstantin Piroumian <[EMAIL PROTECTED]>
wrote:
> From: "Alex Romayev" <[EMAIL PROTECTED]>
>
> > Hi,
> >
> > Is is actually possible to use I18nTransformer
> without
> > having to specify the catalogue-name and
> > catalogue-location parameters?
>
> AFAIK, not yet, because of this lines in
>
Hi everyone,
I'm trying to display accented characters correctly using jfor. However, when I try
to run http://localhost:8080/cocoon/samples/jfor/minimal.rtf, it gives the following
exception. I have put some French words such as "Gére" in the xml file. Looks like
it is a parser issue. Anyo
Title: passing parameters to xsp files
Hi
Carolien,
I
guess you want something like this .
(I did
it in plain xml/xsl, didn't find the time to use cocoon on this one, but it's a
working sample.
Where
I use the document function in XSL, you should put the values you cincluded
)
Perfect! Thanks.
On Mon, 2003-06-02 at 11:59, Alex Romayev wrote:
> Sorry. You need the RequestMethodSelector.
>
> http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/selection/RequestMethodSelector.html
>
> --- Miles Egan <[EMAIL PROTECTED]> wrote:
> > The problem is that I don't want to se
Andrew C. Oliver wrote:
> Why not just add a parameter which removes them or not, big
> deal. No reason
> for Yet Another Class.
Why provide an _option_ for people to output invalid HTML?
Seriously, isn't it _always_ a bug to output namespaces in the HTML? What
are the use cases for HTML + name
Charlene, it looks to me like your problem is not with jfor, but merely with
parsing the XML source file.
The parser thinks the French text is encoded as UTF-8, but my guess is that
it actually uses ISO-8859-1. You should either open the XML file again and
save it in UTF-8 format, or add an encod
Con,
Thanks for your reply. You are right that I should have encoding="ISO-8859-1" in the
prolog. My current xml string doesn't have any declaration in the front. That's
causing the problem.
Thanks again!
Charlene
-Original Message-
From: Conal Tuohy [mailto:[EMAIL PROTECTED]
Sent:
Hi all -
A (re)annoucement about the "Getting Started with Cocoon" course I'm
offering in Colorado Springs, CO, June 30 - July 3. This course is for
Cocoon users (or users-to-be) with little or no XML, XSL and/or J2EE
experience. After covering the basic of these foundational techologies,
I te
Hi all -
A (re)annoucement about the "Getting Started with Cocoon" course I'm
offering in Colorado Springs, CO, June 30 - July 3. This course is for
Cocoon users (or users-to-be) with little or no XML, XSL and/or J2EE
experience. After covering the basic of these foundational techologies,
I te
hello,
I Paul Fonkeng.
I'm using cocoon version 2 on a windows 2000 SP3
platform.I just thought of sending the whoole xsp-file with this mail,
perhaps you find the cause of my problem. Thanx for your
help.PaulDescription:org.apache.cocoon.ProcessingException:
The processing instruction ta
Hmm, how does the prolog of your XML file look like? What's the Cocoon
version and the used Xerces version?
Joerg
Paul Tinzoh wrote:
hello,
I Paul Fonkeng.
I'm using cocoon version 2 on a windows 2000 SP3 platform.
I just thought of sending the whoole xsp-file with this mail, perhaps
you find
Hi Paul
I bet you have some white space in the file before the xml declaration. The
xml declaration must be the FIRST thing - i.e. the
< must be the FIRST character in the file.
Cheers
Con
-Original Message-
From: Paul Tinzoh [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 3 June 2003 09:35
To
I am proposing that Cocoon be used in the project I
am working on. My boss wants some assurance that he isn't jumping off a
cliff by agreeing to this - although the rest of my development team is
convinced. He would like answers to a couple of questions:
1. What "big" companies are using Co
Title: Message
Hello,
I have an
aggregating pipeline that contains multipe steps that share a common set of
processing that I would really like cached after the first time it is run.
However, it seems as
if the contentaggregator setup method resolves all of the URI's, which ends up
call
Hi Ralph -
I personally know of Cocoon being used at Sun (my client, actually), P &
G and CA. I can give you more info on the first, if you are interested.
My own company, Galatea IS Inc., offers commercial support for Cocoon. I
actually package Cocoon with Apache and Tomcat, in a product calle
I use cocoon 2.1 dev.
How more complex logics I can use?
Is there some docs, examples or links?
What is 'check out "flow"' ?
Could you give me some example?
Thanks a lot,
Hill
--- Geoff Howard <[EMAIL PROTECTED]> wrote:
> Complex logic is intentionally excluded. What
> version
> are you using?
Le Lundi, 2 juin 2003, à 21:51 Europe/Zurich, Yan, Charlene a écrit :
...
I'm trying to display accented characters correctly using jfor.
However, when I try to run
http://localhost:8080/cocoon/samples/jfor/minimal.rtf, it gives the
following exception. I have put some French words such as "G
Hello, Cocooners
Q: Can I set parameters of input modules in sitemap instead
of cocoon.xconf ?
WBR,
Dmitry.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Le Mardi, 3 juin 2003, à 07:40 Europe/Zurich, Bertrand Delacretaz a
écrit :
...Is the encoding declaration correct in your input XML?
Sorry, didn't notice that this was answered already (but I had two
other messages from the same person at my private address ;-)
-Bertrand
-
From: "Alex Romayev" <[EMAIL PROTECTED]>
> --- Konstantin Piroumian <[EMAIL PROTECTED]> wrote:
> > From: "Alex Romayev" <[EMAIL PROTECTED]>
> >
> > > Hi,
> > >
> > > Is is actually possible to use I18nTransformer
> > without
> > > having to specify the catalogue-name and
> > > catalogue-location pa
Hi:
The Sun j2SDk 1.4.1_03 is already avaliable to download. See:
http://java.sun.com/j2se/1.4.1/download.html
Best Regards,
Antonio Gallardo
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAI
hi hill,
geoff refers to the flow layer (the layer supposed to control the web app
flow). check out the cocoon wiki (http://wiki.cocoondev.org/) and search for
'flow'.
the language for the flow layer is basically pluggable (though it has to
support continuations), it defaults to javascript.
> --
On Tue, 3 Jun 2003, Dmitry Lisenko wrote:
> Hello, Cocooners
>
> Q: Can I set parameters of input modules in sitemap instead
> of cocoon.xconf ?
>
> WBR,
>Dmitry.
BTW, cocoon v2.1 cvs 05/17/2003 under Jetty.
WBR,
Dmitry.
---
On 02.Jun.2003 -- 09:20 AM, Miles Egan wrote:
> Is there any way to match/select in the pipeline for the HTTP method
> used in the request? I'd like to write a pipeline for handling PUT
> requests.
Another possibility is to construct your own Matcher from the
(Caching)WildCardMatcher in o.a.c.mat
Hello Cocoon community,
I hope there is somebody out there who can explain me the following:
I'm using cocoon 2.0.4 together with tomcat.1.4.24 and jdk1.41 and I have
the following szenario, which
worked well with cocoon 2.01, tomcat4.0 and jdk1.3.x.
In this szenario I have a jsp which generate
On 03.Jun.2003 -- 10:02 AM, Dmitry Lisenko wrote:
>
>
> On Tue, 3 Jun 2003, Dmitry Lisenko wrote:
>
> > Hello, Cocooners
> >
> > Q: Can I set parameters of input modules in sitemap instead
> > of cocoon.xconf ?
> >
> > WBR,
> >Dmitry.
>
> BTW, cocoon v2.1 cvs 05/17/2003 under Jetty.
Curren
Hello
Is there a simple solution to avoid unwanted transformations like
->
I tried to add cdata-section-elements parameters to the html serializer but
it doesn't work. I would rather like not to add comments or blank spaces
inside my tags.
Thanks for your help.
Alex
-
On 02.Jun.2003 -- 06:30 PM, Fernando D. Mato Mira wrote:
> >
> >
> >From: Christian Haul [mailto:[EMAIL PROTECTED]
> >Sent: Monday, June 02, 2003 5:13 PM
> >To: [EMAIL PROTECTED]
> >Subject: Re: inserting XML fragments in XSP
> >
> >
> >On 02.Jun.2003 -- 04:10 PM, Mato Mira, Fernando wrote:
> >
>
Hi list,
I'm running the Main class of Cocoon 2.0.4 from an Ant buildfile
on Windows XP.
The following problems occur:
- The ComponentSelector does not find default components
("could not find component for hint []"). If I add type
attributes to all component references in the sitemap,
ever
Hi:
Cocoon compiled and working on the new Sun j2SDk 1.4.1_03!
My config is:
Red Hat Linux 9
Java Sun J2SDK 1.4.1_03
Tomcat 4.1.24
Cocoon CVS 2.1M3 (downloaded 10 minuts ago.)
Antonio Gallardo.
Antonio Gallardo dijo:
> Hi:
>
> The Sun j2SDk 1.4.1_03 is already avaliable to download. See:
>
> h
Ralph,
We offer a support
license on our CMS that contains Cocoon, Tomcat, an XML database, publishing
framework and editor. If you don't need a complete content management package,
then you could go for our pure Cocoon support option. We can provide
hosting if needed and will supply you w
hi people
in some post here, are reference to a 2.0.5 version of cocoon
i know that the latest 2.0 version is 2.0.4 and its the most stable until
now
is it somenthing i miss ?
thnx
--stavros
ps.
if 2.0.5 exist is somewhere available for download or 2.0.5 is just the
latest snapshot from 2.0.4
2.0.4 is the latest final release. If 2.0.5 is used, it's either a mistake
(I did this several times...) or the latest CVS from the cocoon-2.0
repository
is meant. This version however should be referred to as 2.0.5-dev.
In addition we have a milestone release for 2.1 called 2.1m2.
Carsten
> ---
What's the correct Java translation of:
?
I can write the expansion directly in the page for now.
Thanks
> -Original Message-
> From: Christian Haul [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 03, 2003 10:40 AM
> To: [EMAIL PROTECTED]
> Subject: Re: inserting XML fragments in XSP
>
On 03.Jun.2003 -- 12:49 PM, Mato Mira, Fernando wrote:
> What's the correct Java translation of:
>
> ?
>
> I can write the expansion directly in the page for now.
Won't help, but here it is:
XSPUtil.includeString(String.valueOf(foo), this.manager, this.contentHandler);
or
SAXPa
Andreas,
> I'm running the Main class of Cocoon 2.0.4 from an Ant buildfile
> on Windows XP.
I'd suggest trying the CLI from 2.1. It has much greater functionality.
And, when I've summoned up the guts to make my first commit, it'll handle broken
links much better and be more configurable as to
Upayavira wrote:
I'd suggest trying the CLI from 2.1. It has much greater functionality.
OK, I could try that. But I guess it isn't possible to use the
Main class from 2.1 for a 2.0.4 site, is it?
And, when I've summoned up the guts to make my first commit, it'll handle broken
links much better a
Hello
I am placing the i18n transformer just before serialization and it's not
working. The namespace
is declared in the i18n:translate element itself.
Cocoon version: 2.1m2
Thanks
--
Fernando D. Mato Mira [EMAIL PROTECTED]
Thomson Dialog
www.dialog.com
E-MAIL NOTICE:
This mes
From: "Mato Mira, Fernando" <[EMAIL PROTECTED]>
> Hello
>
> I am placing the i18n transformer just before serialization and it's not
> working. The namespace
> is declared in the i18n:translate element itself.
Please post the relevant snippet from your XML here.
Having i18n transformer just bef
Conal Tuohy wrote:
Andrew C. Oliver wrote:
Why not just add a parameter which removes them or not, big
deal. No reason
for Yet Another Class.
Why provide an _option_ for people to output invalid HTML?
Seriously, isn't it _always_ a bug to output namespaces in the HTML? What
are the use
On 2/06/2003 15:52 [EMAIL PROTECTED] wrote:
This all works fine, updating and everything. Except for this: I want
the right foreign key selected in my form. I cannot expect my users to
select the right owner in the drop down box everytime they do an update.
So I want to tell the owner.xsp file
At 08:02 AM 6/3/2003, you wrote:
Conal Tuohy wrote:
Why not just add a parameter which removes them or not, big
deal. No reason
for Yet Another Class.
Why provide an _option_ for people to output invalid HTML?
Seriously, isn't it _always_ a bug to output namespaces in the HTML? What
are the use ca
> From: Mato Mira, Fernando [mailto:[EMAIL PROTECTED]
>
> I am placing the i18n transformer just before serialization
> and it's not
> working. The namespace
> is declared in the i18n:translate element itself.
>
> Cocoon version: 2.1m2
The transformer does not accept the 2.0 namespace. It has
> -Original Message-
> From: Christian Haul [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 03, 2003 1:14 PM
> To: [EMAIL PROTECTED]
> Subject: Re: inserting XML fragments in XSP
>
>
> On 03.Jun.2003 -- 12:49 PM, Mato Mira, Fernando wrote:
> > What's the correct Java translation of:
> >
Bla bla bla bla submit a patch bla bla bla bla
-andy
On 6/3/03 8:02 AM, "Alexander Schatten" <[EMAIL PROTECTED]> wrote:
> Conal Tuohy wrote:
>
>> Andrew C. Oliver wrote:
>>
>>
>>
>>> Why not just add a parameter which removes them or not, big
>>> deal. No reason
>>> for Yet Another Class.
anyone ever installed cocoon 2.1m2 with resin 2.1.9 and IBM JVM 1.4 ?
or resin 2.1.9 with sun JDK 1.4 ???
it doesn't run with my configuration...
thanks
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
Hi,
Apologies if this is a basic question.
I'm just starting with Cocoon really and am trying to produce a content
management system using it to see whether it really is suitable for my
needs.
As part of this I need to edit xml files via the browser but it occurs to me
this must be something tha
Andreas,
> > I'd suggest trying the CLI from 2.1. It has much greater
> > functionality.
>
> OK, I could try that. But I guess it isn't possible to use the
> Main class from 2.1 for a 2.0.4 site, is it?
No, I very much doubt that would work.
Have you read the page on the Wiki on the 2.0.4 CLI?
From: "Mato Mira, Fernando" <[EMAIL PROTECTED]>
> > From: Mato Mira, Fernando [mailto:[EMAIL PROTECTED]
> >
> > I am placing the i18n transformer just before serialization
> > and it's not
> > working. The namespace
> > is declared in the i18n:translate element itself.
> >
> > Cocoon version: 2.1
> Apologies if this is a basic question.
> I'm just starting with Cocoon really and am trying to produce a
> content management system using it to see whether it really is
> suitable for my needs.
>
> As part of this I need to edit xml files via the browser but it occurs
> to me this must be som
> I'm just starting with Cocoon really and am trying to produce a content
> management system using it to see whether it really is suitable for my
> needs.
First of all I would recommend that you participate in developing Apache
Lenya (see http://lenya.org/ or http://cocoon.apache.org/lenya/) whic
Hi,
I'm trying to extract rows from my MySQL database and convert it to an
XML file, using Tomcat/Cocoon.
I'm running :
FreeBSD 5.0R
Sun JRE 1.3.1 (patchset 8)
Tomcat 4.1.18
Cocoon 2.0.4
MySQL 3.23.54
MySQL J/Connector 3.0.6
When I start loading my page (a simple XSP/ESQL), I get the
Hi,
I'd like to use the woody form framework, but as the
forms i want to create base on data from a database i
thought about creating the FormDefinition inside my
javacode (transformer). this seems more performant
than dynamically creating the xml-definiton for the
form which is then dom-parsed an
Perhaps I'm a fool, but can someone tell me, why the logfiles in the cocoon
docs build are empty? logkit.xconf doesn't filter them. I need the debug
messages to do some debugging.
Regards
Torsten
--
Domain in provider transition, hope for smoothness. Planed date is 1.7.2003.
-
http://www.betaversion.org/~stefano/software/linotype/
-Original Message-
From: Upayavira [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 03, 2003 4:08 PM
To: [EMAIL PROTECTED]
Subject: Re: Newbie: writing XML files with Cocoon
> Apologies if this is a basic question.
> I'm just starting
76 matches
Mail list logo