Muhammad,
you can:
1) Use SQL Transformer (write your query in an XML file and pass it through
this transformer).
2) Use ESQL (write your query in an XSP file and process it via the
serverpages
generator)
Regarding the use of XSL when no XML file is available... you could use the
request gener
Dear Cocooners,
Hi,
I want to use cocoon to query MS Access database and want to get the query
results in xml as output. I have setup the database driver in web.xml
and have made all satisfactory changes. The only decision
problem i am facing is that should i write xsl file that state
On Fri, 2002-04-12 at 12:13, Peter Robins wrote:
> On Friday 12 Apr 2002 17:24, Yuri Gadow wrote:
>
> > > in every case I do live under the impression that the html serializer
> > > will create for you instead of did you check your sitemap?
> >
> > It does not.
>
> I just tested this, Yuri (I
> From: Mark S. Kent [mailto:[EMAIL PROTECTED]]
>
> I've got a sitemap_xmap.java and .class:
> 79221 Apr 12 14:29 sitemap_xmap.class
> 15470 Apr 12 14:29 sitemap_xmap$Configurer.class
> 339625 Apr 12 14:29 sitemap_xmap.java
>
> Contents of ERROR.LOG:
Please look into other log fil
On Fri, 12 Apr 2002, Peter Robins wrote:
> meaning that Cocoon can only be implemented by specialist consultants working
> in an ad hoc manner? That doesn't sound like a very large install base to me.
It's the same with any new technology - it takes a while for a body of
work to build up, and fo
I have looked in the
mailing lists, to no avail, please forgive me if these questions have been
answered already
I have upgraded
Cocoon 1.8.2 to Cocoon 2.0.2. Here's my setup:
Cocoon
2.0.2
Weblogic
6.0sp2
Solaris 2.6
(Sparc)
I have successfully
installed C2, all the samples work
I would appreciate it if this site got listed in the Cocoon2 livesites list.
URL: http://www.OWAL.co.uk/
Software: Cocoon2
The site is fairly simple but is designed to be easy to update. It includes
a pdf brochure containing most of the website in one easily printable
document.
It is static ra
Hi there,
I hope I don't bother you with this short info about above subject.
I tried to install the latest developer snapshot on a Windows XP
system with Sun JDK1.4 in combiniation with the release candidate
of JRun 4.0.
It worked without any problems so far. The one and only problem
was til n
From: "Andrew Savory" <[EMAIL PROTECTED]>
> On Fri, 12 Apr 2002, Franosch, Heike wrote:
>
> > I want to insert the session id to my URLs from within the stlyesheet
and
> > don't know
> > how to access the context. I have seen a hint about the
> > SessionValidationAction, but I just
> > can't get
I've got a sitemap_xmap.java and .class:
79221 Apr 12 14:29 sitemap_xmap.class
15470 Apr 12 14:29 sitemap_xmap$Configurer.class
339625 Apr 12 14:29 sitemap_xmap.java
Contents of ERROR.LOG:
- begin ---
ERROR (2002-04-12) 14:29.25:556[sit
> From: Mark S. Kent [mailto:[EMAIL PROTECTED]]
>
> I'm still seeing this error message about the sitemap although I see
sitemap
> files in the work folder (buried in org.apache). Is there a way
to put
> debug "crumbs" in the sitemap to write to the logs during generation
to help
> me find o
I'm still seeing this error message about the sitemap although I see sitemap
files in the work folder (buried in org.apache). Is there a way to put
debug "crumbs" in the sitemap to write to the logs during generation to help
me find out exactly what is causing the
"LanguageException: Could
On Friday 12 Apr 2002 12:43, Matthew Langham wrote:
>
> But you know, questions like: "what business objectives does it help meet
> and how" are really difficult to answer in a way that would suit all
> scenarios.
I would certainly agree with that. Even trying to define what Cocoon is is
not so
On Friday 12 Apr 2002 17:24, Yuri Gadow wrote:
> > in every case I do live under the impression that the html serializer
> > will create for you instead of did you check your sitemap?
>
> It does not.
I just tested this, Yuri (I'm using 2.0.2 with xerces/xalan as provided). Put
in xsl file.
On Fri, 12 Apr 2002, Franosch, Heike wrote:
> I want to insert the session id to my URLs from within the stlyesheet and
> don't know
> how to access the context. I have seen a hint about the
> SessionValidationAction, but I just
> can't get it run.
> Has someone a nice tip or maybe some sample co
Title: Re: Delete
On 04/12/02 0:08, "Daniel Fernandez" <[EMAIL PROTECTED]> wrote:
Si ves donde dice to unsubscribe, esa es la direccion a la que mandar mensajes. Alli es donde dejas la lista
> -
> Please check that your questio
> I thought was the classic tric for all elder browsers?
Yes, per the XHTML spec itself:
http://www.w3.org/TR/2001/WD-xhtml1-20011004/#guidelines
> in every case I do live under the impression that the html serializer will
> create for you instead of did you check your sitemap?
It does not.
I've been playing around with some basic SQL queries and generally
finding it easy enough to do... managed to get connections to MySQL and
Postgres, both locally and on remote machines.
I've now tried connecting to MS SQL Server... ahem... and of course, I'm
now having more problems.
What I've d
Hi all,
I want to insert the session id to my URLs from within the stlyesheet and
don't know
how to access the context. I have seen a hint about the
SessionValidationAction, but I just
can't get it run.
Has someone a nice tip or maybe some sample code how to achieve this?
Thanks, Heike
p.s. So
Thank you very much for the lesson. I'll try another way.
Roman
Vadim Gritsenko wrote:
> > From: KOZLOV Roman [mailto:[EMAIL PROTECTED]]
> >
> > Hello,
> >
> > Vadim thank you for your advice. It helped me. I was busy some
> time and
> > had postponed this problem. Unfortunatelly it stil
> From: KOZLOV Roman [mailto:[EMAIL PROTECTED]]
>
> Hello,
>
> Vadim thank you for your advice. It helped me. I was busy some
time and
> had postponed this problem. Unfortunatelly it still remains.
> I've found out that WildcardSessionAttributeMatcher (I'm using
Cocoon
> 2.0.1) doesn't s
This is is a known issue with various versions Internet Explorer. For
some reason it ignores the mime type and goes right for the file
extension. There are ways around this but none of them are pretty.
Bascially you need to try and architect your solution to cause the
filename to be somethi
Hi All,
I have one function that connect to database and retrive data in form
of Hashtable.
My Hashtable may be like this.
MsgID
ParentID
1
0
2
0
3
0
4
On 12.Apr.2002 -- 02:00 AM, Michael Raffenberg wrote:
> Hi,
>I am using C2.0.1 with JDK1.3.1 and TOmcat 4.0.3
>I have problems with calling oracle stored procedures from ESQL.
>I have this simple Code:
>
>
> {call sp_proc(type="String">bullshit)}
>
>
Hello,
Vadim thank you for your advice. It helped me. I was busy some time and
had postponed this problem. Unfortunatelly it still remains.
I've found out that WildcardSessionAttributeMatcher (I'm using Cocoon
2.0.1) doesn't see session attributes changed or created before in the same
req
Bogdan,
ok, I'll believe you.
1) to put an app under a directory other than cocoon, just specify
the location of the sub-sitemap using the "file:" prefix, like in:
2) to get rid of the "cocoon" in your URL you may:
2.1) make the cocoon.war the ROOT servlet
Hello, all...
I'm getting an error when I try to run the jsp/hello Cocoon example.
I know that I need to change the JSPEngine to WebLogic classes
(JSPEngineImplWLS) in cocoon.xconf, but I'm not sure how to do it.
I've already tried to make changes in cocoon.xconf like:
> From: Aleksey Globets [mailto:[EMAIL PROTECTED]]
>
> Hi All,
>
> My environment is:
>
> Windows 98SE
> JDK1.4
> Tomcat 4.0.3 LE (jdk 1.4)
> Cocoon 2.0.2
>
> How I understand from the documentation that to use the JDBC
connection to a
> database I need to grow down to JDK 1.3 or to compile th
On Fri, 12 Apr 2002, Bogdan Cirstea wrote:
> hi!
> i want to develop an web application based on cocoon technology. can anyone
> tell me which is the basic structure of such an application?
Although out-of-date, chello has some useful information and provides a
handy starting point. Take a look
> From: Christian Joelly [mailto:[EMAIL PROTECTED]]
>
> Hello!
>
> maybe this is offtopic here...
I do agree with you, this sounds like offtopic.
Read you DB documentation on what the heck is this SQLException about
(FWIW, I like Oracle documentation: search for your ORA- error and
it give
> From: Shaw, Chris [mailto:[EMAIL PROTECTED]]
>
> correction:
>
> I got it working by adding the following line in my generator:
>response.setHeader("Content-Disposition", "inline;
filename=output.xls");
> ..but having to hard-code a parameter name in my generator as well as
my
> sitemap le
Hi Konstantin,
(1) I used both because I was not quite sure which of these parameters would
help. I only need one parameter.
(2) At the moment I don't know whether the "locale" parameter can be
reserved for other purposes of our application. But I think I could reserve
it for this purpose.
(3)
> From: Chris Warr [mailto:[EMAIL PROTECTED]]
>
>
> I removed the pooling and it works fine? Anyone else had pooling
problems
> under Jrun 3.1?
Can't help you with this one, but IIRC sample database (HSQLDB) works
fine with JRun.
Vadim
>
> Chris.
>
> -Original Message-
> From: Chri
The easiest way is to copy the cocoon.war file to yourapp.war, start tomcat
and test it by going to localhost:8080/yourapp
Then you can delete every directory in the yourapp directory, except for
the WEB-INF directory. Edit the sitemap and delete every action, resource,
view and pipeline you d
> From: Volker Schneider [mailto:[EMAIL PROTECTED]]
> Hi Konstantin,
>
> I tried a request parameter called "locale" (as you said before):
>
> .../Cocoon/test?locale=en
> and .../Cocoon/test?locale=de
>
> works fine, but the ...>-section can be left out (it has no effect). It is not
> p
i did that, believe me
something i missed, but i don't know what.
in faq is an example but for apache+cocoon.
maybe a step by step tutorial, don't know
anyway, i'll keep trying
- Original Message -
From: "Luca Morandini" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 12, 2
Hi Konstantin,
I tried a request parameter called "locale" (as you said before):
.../Cocoon/test?locale=en
and .../Cocoon/test?locale=de
works fine, but the -section can
be left out (it has no effect). It is not possible for me to use an other
name for the request parameter (maybe it's a bu
Bogdan,
may you take a look at the FAQ, first ?
Best regards,
-
Luca Morandini
GIS Consultant
[EMAIL PROTECTED]
http://utenti.tripod.it/lmorandini/index.html
> From: Volker Schneider [mailto:[EMAIL PROTECTED]]
>
> Hi Konstantin,
>
> I'm sorry but if I tried your solution, I got the german
> translation in
> every case. I did this:
>
>
> ...
> src="org.apache.cocoon.acting.LocaleAction">
>
>
>
Why do you use language and locale together?
hi!
i want to develop an web application based on cocoon technology. can anyone
tell me which is the basic structure of such an application?
i want to locate the application under other dir than
tomcat/webapps/cocoon/my_application and i want to access with something
like localhost:8080/my_applica
I know HOW! :)
//-
ComponentSelector selector =
(ComponentSelector) manager.lookup(Roles.DB_CONNECTION);
DataSourceComponent datasource = (DataSourceComponent)
selector.select("my_pool");
//-
Thanx to Thomas von Schwerdtner!
On Fri, 2002-04-12 at
Hi Konstantin,
I'm sorry but if I tried your solution, I got the german translation in
every case. I did this:
...
...
and:
or this:
My request .../Cocoon/test?x=en&y=en
always returns the german translation. What is wrong?
Regards,
- Vol
Title: RE: How to access jdbc datasource in cocoon.xconf from Cocoon actions
> And one more thing. Where can i get Cocoon javadoc??? Does
> one exist???
http://xml.apache.org/cocoon/apidocs/index.html
-T
Hi!
The question is:
How i can use jdbc datasource defined in cocoon.xconf in my Cocoon
action class ?
Example:
//--- cocoon.xconf
jdbc:mysql:///test
test
//- TestAction.java
public class Test
> From: Volker Schneider [mailto:[EMAIL PROTECTED]]
>
> Hi Konstantin,
>
> thank you for your reply. Sorry, for being a nag in this point.
>
> Do you mean this:
>
>
>
>
>
>
>
>
>
No, this won't work as LocaleAction supports only configuration params and
you canno
Hi All,
My environment is:
Windows 98SE
JDK1.4
Tomcat 4.0.3 LE (jdk 1.4)
Cocoon 2.0.2
How I understand from the documentation that to use the JDBC connection to a
database I need to grow down to JDK 1.3 or to compile the JDBC drivers from
the sources? Am I right?
Thanks,
Aleksey Globets
---
Hi Konstantin,
thank you for your reply. Sorry, for being a nag in this point.
Do you mean this:
with .../Cocoon/test?x=en
This doen't work. Maybe I misunderstood you.
Regards,
- Volker -
-Original Message-
From: Piroumian Konstantin [mailto:[EMAIL PROT
Rasik Pandey wrote:
> Hello,
>
> Would any of you have experience with getting Cocoon to initialize a
> custom component upon startup? In my component, I have implemented the
> Initializable and Startable interfaces from the Avalon Framework
> packages, but I am having no luck at runtime?
>
>
Brent Eades wrote:
>>
approval processes in their respective organizations before they
could consider using Java/Cocoon in production. This is something
that Jakarta overall could probably spend a little more time
educating users about.
<<
Well, we have been "selling" Cocoon based solutions to o
> From: Volker Schneider [mailto:[EMAIL PROTECTED]]
>
> Dear colleagues,
>
> I want to switch language to "en" at runtime. I read the
> source of the LocationAction and tried so set the
> language-attribute in some different ways, but this didn't work.
>
> Does anybody know, how I can switch
Dear colleagues,
I want to switch language to "en" at runtime. I read the source of the
LocationAction and tried so set the language-attribute in some different
ways, but this didn't work.
Does anybody know, how I can switch the language being used for i18n at
runtime?
Thank you,
- Volker -
-
Hi,
[1]
I thought was the classic tric for all elder browsers?
as in:
less_then letter_b letter_r [[[SPACE]]] slash biggert_then
those elder browsers consider /-es appended to the tagname to be part of the
tagname,
and the br/ tag is as meaninless as your own invention to it (and thus
ignored
Title: RE: MS Access on Cocoon2???
Look for the MDE (Microsoft Data Engine) it is available for Visual Studio users and is basically a five user version of SQL Server and will run circles around Access. Or just use HyperSQL if the app is small enough.
-Original Message-
From: Rajput,
excuse me if I'm missing the point but, if the objective is to get
instead of , wouldn't it be far easier to use the html output method in
the xslt script directly, and not use the HTML serializer?
On Friday 12 Apr 2002 7:59, Nicola Ken Barozzi wrote:
> From: "Yuri Gadow" <[EMAIL PROTECTED]>
Hi Konstatin,
the and tag was the missing thing. Now
it works for me as well. It would be great, if somebody could take the time
and update/complete the user documentation.
Thank you very much for your help, regards
- Volker -
-Original Message-
From: Piroumian Konstantin [mailto:[EMA
On 11 Apr 2002 at 10:46, Peter Robins wrote:
> In principle, Cocoon is of
> interest, but the key question is: is it worth the effort and the
> extra overhead of using Java?
A very relevant point. I suppose this is an issue facing all of the
Jakarta projects, the fact that besides selling open
> From: Volker Schneider [mailto:[EMAIL PROTECTED]]
>
> Hi Konstantin,
>
> thank you for your reply. I already looked in this examples
> before, but they
> don't really help, because they are not using a locale
> definition and they
> do nothing else than I did. In the documentation I read
>
Hi Konstantin,
thank you for your reply. I already looked in this examples before, but they
don't really help, because they are not using a locale definition and they
do nothing else than I did. In the documentation I read something about
"message catalog". Has this something to with the locale p
> From: Volker Schneider [mailto:[EMAIL PROTECTED]]
>
> Hi colleagues,
>
> I need the i18n transformer and tried a simple sample:
>
> first.xml:
>
> http://apache.org/cocoon/i18n/2.0";>
>
>
> Startpunkt
>
>
It's enough to use Startpunkt. is
used when you need param substitution.
Hello,
Would any of you have
experience with getting Cocoon to initialize a custom component upon startup? In
my component, I have implemented the Initializable and Startable interfaces
from the Avalon Framework packages, but I am having no luck at runtime?
Thank you,
Rasik Pandey
Hi colleagues,
I need the i18n transformer and tried a simple sample:
first.xml:
http://apache.org/cocoon/i18n/2.0";>
Startpunkt
Endpunkt:
dictionary.xml:
Startpunkt
Starting point
Startpunkt
sitemap.xmap:
When running the example I got
Hello!
maybe this is offtopic here...
i get the following errors in my cocoon application when it is used from
several hosts at the same time from different clients workstations.
does anybody know how to avoid this problem?
---
Cocoon 2 - Internal server error
type fatal
message Exception in
On 12.Apr.2002 -- 10:12 AM, Jerzy Kut wrote:
> If I understand Your explanation it is correct construct that should provide
> handling db errors. So how to handle this?
You're right. Sometimes I forget all the differences between the
original database actions and those in scratchpad
With the
Hi Christian!
I have defined resource:
Table with employees has foreign key to other table so when I try to delete
(DatabaseDeleteAction) any entry using by this resource I have got cocoon
error:
Cocoon 2 - Internal server error
type fatal
message Could n
On 12.Apr.2002 -- 09:18 AM, Jerzy Kut wrote:
> Hi cocooners!
> I want to handle errors coming from esql selects and actions operate on DB.
> ESQL - I try to do:
>
>
> mypool
>
>
> select EMPNO
> from EMP
>
>
>
>
>
>
>
esql supports this from scratch:
...
mysql
0
0
if your database has no support for such (seem to be all others than mysql
and postgres) you can even use the jdbc way:
jdbc
0
0
Cheer
--
Torsten
> fantastic thanks
> - Original Message -
> From: "Ch
Hi cocooners!
I want to handle errors coming from esql selects and actions operate on DB.
ESQL - I try to do:
mypool
select EMPNO
from EMP
and
67 matches
Mail list logo