Re: Pgination - Total # of pages

2002-09-17 Thread Alex Romayev
I've seen this happen when the last page has the maximum number of allowed records per page, but I haven't had a chance to confirm to report this as a bug. --- Richard <[EMAIL PROTECTED]> wrote: > Hi Guys, > > Have anybody encountered this... > > The total attribute under the page:page element

AW: Integrating XML formatted information directly with navigational structures

2002-09-17 Thread Majcen, Kurt
Just to get it right: my pipeline will then consist of - the generator, which I have to implement for fetching the XML directly from the database - the XSLT transfomer which creates the XHTML with the short list consisting of the hyperlinks to the detailed pages and the navigational elements (prev

Pgination - Total # of pages

2002-09-17 Thread Richard
Hi Guys,   Have anybody encountered this...   The total attribute under the page:page element is giving me a wrong value. Its giving me 4 instead of 3. see xml...   xml version="1.0" encoding="UTF-8" ?> - Re: Cocoon Distributed system
Try http://www.crudlet.com it uses cocoon as a frontend.   Fred - Original Message - From: Johann Romefort To: [EMAIL PROTECTED] Sent: Tuesday, September 17, 2002 2:56 AM Subject: Cocoon Distributed system Hi,   I would like to develop a distributed syste

Encoding problem

Hello, I'm having what seems to be an encoding problem -- not sure it's related to Cocoon, but... ;) All my xml is UTF-8, it work in English, but not in Russian. Any ideas? Thanks, -Alex - Please check that your questio

Re: cocoon in Oracle 9IAS

Sushil Bhattarai wrote: > Hi > Has anyone succesfully deployed cocoon in Oracle 9IAS. For me, the > deployment of war file worked fine. When giving the URL in the > browser, the server does pick up the cocoon servlet but throws Sax > Parser error. Has anyone tried cocoon in Oracle 9IAS? > >

RE: Cocoon 2.0.3 under Enhydra 3.1

Vadim, Thanks for your reply and the reference to the patch. I've been pulling my hair out trying to make Cocoon work under Enhydra3.1. :) I performed a CVS update on a previously checkedout cocoon_2_0_3_branch tag module. It appears to be the 2.0.4-dev version. I verified that the patch that yo

Re: Authentication via an Html Scrape Fest

check, http://xml.apache.org/cocoon/developing/webapps/index.html Antonio Gallardo El Lunes, 16 de Septiembre de 2002 18:42, Jonathan Lancelle escribió: > I have been experimenting, with great success, data scraping of HTML > pages for inclusion into some cocoon apps. What a great tool! It real

RE: Authentication via an Html Scrape Fest

> -Original Message- > From: Jonathan Lancelle [mailto:[EMAIL PROTECTED]] > I am now attempting to scrape pages behind a user/pw entry. I get a > pop-up request window when I grab the URI of interest via the > browser. > How do I handle the user/id entry within Cocoon? Can I pass them as

RE: Cocoon in multiple webapp

On my machine the "endorsed" directory is "..\bin\", so I put Xalan in $CATALINA_HOME/bin. You should look at environment property "java*endorsed*". -- With best regards, Dmitry Alejandro Raiczyk <[EMAIL PROTECTED]> 17.09.2002 10:19 Please respond to [EMAIL PROTECTED] To "'[EMAIL P

Re: XMLForm stylesheet change suggestion

That does take care of the phantom text, but what if someone wanted some additional text on the form. The patch that I posted is based on the assumption that someone would not want a double post of the first caption, but any additional captions they would want to see. With the patch that is

Problem using Cocoon

I have installed cocoon in my system.  When I try to access some  xsp file, the java content appears along with the generated html page.  Also, refreshing dumps the xsp file onto the browser.  Can anybody tell me what I have to do to make it work?Get a bigger mailbox -- choose a size that fits your

EJB logicsheet

Hello! I'm  tried to use EJB together with cocoon but unfortunately didn't find any EJB logicsheet. Maybe I should use plain xsp instead? Is there any of common usage patterns? -- With best regards, Dmitry

Image Links

I have noticed two different results when sending images to the client from Cocoon. The older browsers don't get the image. The new versions do. What gives? Jon Lancelle - Please check that your question has not already bee

Authentication via an Html Scrape Fest

I have been experimenting, with great success, data scraping of HTML pages for inclusion into some cocoon apps. What a great tool! It really simplifies life. I am now attempting to scrape pages behind a user/pw entry. I get a pop-up request window when I grab the URI of interest via the browse

Re: SVG error under linux

[EMAIL PROTECTED] wrote: >hi, > >When trying the svg examples which come with cocoon under linux i get an error. In >windows it works fine. > >Here is my setup: >Redhat Linux 7.0 >Sun's jdk 1.4 >Apache Tomcat 3.3 >Cocoon 2.0.3 > Please read install guide: http://xml.apache.org/cocoon/installing

Re: Cocoon 2.0.3 under Enhydra 3.1

Matthew Hailstone wrote: >I am trying to run Cocoon 2.0.3 under Enhydra 3.1. >Here is my environment: >Win2K >jdk1.3.1_03 > >I get the following in my Enhydra log: > >java.lang.NullPointerException > at >org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:999) >

Re: cocoon in Oracle 9IAS

Oracle Application Server should install just as if it was Orion application server. It could be because the SAX parser of OAS is different than the one being used by Cocoon and is overriding your call. On Tuesday, September 17, 2002, at 01:51 PM, Sushil Bhattarai wrote: Hi Has anyone succesfull

Re: cocoon in Oracle 9IAS

Sushil Bhattarai wrote: > Hi > Has anyone succesfully deployed cocoon in Oracle 9IAS. For me, the > deployment of war file worked fine. When giving the URL in the > browser, the server does pick up the cocoon servlet but throws Sax > Parser error. Has anyone tried cocoon in Oracle 9IAS? I mi

Re: Forward POST request data in a sitemap redirect?

gv wrote: >Vadim Gritsenko wrote: > > > >>> >>> >>> >>> >>value="true"/> >>> >> >>> >uri="testto"/> > > >>This send respond to the browser with status 302 and >> >> >*no* parameters. > > >>Browser then will request http:///testto with >> >> >*no* par

Re: Forward POST request data in a sitemap redirect?

Barbara Post wrote: >So Vadim, is it possible to use redirect-to with POST method ? > Redirect to "cocoon://" URI would work with POST. For any other redirects see also reply from purist Ken ;-P PS: I use redirects... "" to "welcome" ;-) Vadim > If so, please >provide a code snippet. I gues

Re: how is the base path determined for ?

I just now grabbed the cvs cocoon_2_0_3_branch and tried it. Exactly the same results as with released 2.0.3. Excerpts from my sitemaps are included below with indication of where it looks for the error files. Talk to you tomorrow. Tim Excerpt from main sitemap: (not worried about this one...)

Re: context in sub-sitemap

Sushil Bhattarai wrote: > I tried that way. Well I tried value="xml/getMethod.xml" because my > getMethod.xml file is inside xml folder (which is at the same level as > the sub-sitemap). But it does not pick up xml when I give it that way Have you tried latest cocoon 2.0.4-dev? If issue is st

Re: Authentication framework (sunshine in 2.0.3) and modular database actions

Nice question! Its very hairy! :) I resolved it using this sitemap:

SVG error under linux

hi, When trying the svg examples which come with cocoon under linux i get an error. In windows it works fine. Here is my setup: Redhat Linux 7.0 Sun's jdk 1.4 Apache Tomcat 3.3 Cocoon 2.0.3 Error: java.lang.NoClassDefFoundError at java.lang.Class.forName0(Native Method) at java

Re: Forward POST request data in a sitemap redirect?

So Vadim, is it possible to use redirect-to with POST method ? If so, please provide a code snippet. I guess not, you replied once on this... I am interested too, since I use GET for now but the url bugs me ;-) Thanks a lot, Babs -- website : www.babsfrance.fr.st ICQ #: 135868405 - Original

Re: How to change user.timezone

Hi Antonio... in your OS settings I guess ? This may be read by the JVM in the OS' settings Babs -- website : www.babsfrance.fr.st ICQ #: 135868405 - Original Message - From: "Antonio Gallardo Rivera" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 17, 2002 1:44 P

Authentication framework (sunshine in 2.0.3) and modular database actions

Hi, I am running 2.1 dev. I want to feed the result ID of an authentication by the authentication framework, into a database query. I made my own subclass of the non-modular DataseSelectAction and by using org.apache.cocoon.webapps.session.components.SessionManager, I could find the authenticati

Re: applet, module, Class.forName() - ClassNotFoundException

Do you have the pipeline for the jar? -- Ilya Gabor Bartha wrote: > It doesn't work. > A few classes are in the jar, the others are beside the jar in the > proper directories (as they are in the packages). > During the running of the applet every class is loaded by the > Class.forName(), ... m

Re: Forward POST request data in a sitemap redirect?

gv wrote: > Vadim Gritsenko wrote: > > >>> >>> >>> >>> >>value="true"/> >>> > > uri="testto"/> > >>This send respond to the browser with status 302 and > > *no* parameters. > >>Browser then will request http:///testto with > > *no* parameters > >>because *none* w

Cocoon 2.0.3 under Enhydra 3.1

I am trying to run Cocoon 2.0.3 under Enhydra 3.1. Here is my environment: Win2K jdk1.3.1_03 I get the following in my Enhydra log: 2002.09.17 10:48:02: WebQuery,INFO: DEBUG (2002-09-17) 10:48.02:619 [] (Unknown-URI) Unknown-thread/DefaultLogTargetFactoryManager: added new LogT

Sitemap redirects and request parameters

Hello all, This is a slighty different (and failry trivial) question about request parameters. Is there any way to pass parameters to a redirect or do they just have to be embedded in the URI? And I'm not wanting to do anything complex as was discussed in the "forwarding POST paramters" thread

cocoon in Oracle 9IAS

Hi Has anyone succesfully deployed cocoon in Oracle 9IAS. For me, the deployment of war file worked fine. When giving the URL in the browser, the server does pick up the cocoon servlet but throws Sax Parser error. Has anyone tried cocoon in Oracle 9IAS?   Sushil  Join the world’s largest e-mail s

Re: Forward POST request data in a sitemap redirect?

Vadim Gritsenko wrote: >> >> >> >>>value="true"/> >> >> > >This send respond to the browser with status 302 and *no* parameters. >Browser then will request http:///testto with *no* parameters >because *none* was given. > >Pls refer to http://www.ietf.org/rfc/rfc2

Re: SVG conversion with Scripting

Rob Grundel wrote: > I have a svg image that gets serialized to jpeg through the svg2jpeg > converter. In this svg i use ECMA script to format some of the text. It > displays properley when viewed through an SVG viewer but when converted to > JPEG it does not seem to be running the script. AFAIK

Re: PDF "Double Dipping" -- FOP bug?

John Austin wrote: > I have seen the same behaviour in 2.0.3. Pretty annoying when the most > resource-intensive part of our system has this flaw. Just nitpicking: it's primarily a flaw in the client (IEx), requesting the same URL twice or even thrice, *not* a flaw in Cocoon, FOP, Tomcat or whate

Re: context in sub-sitemap

I tried that way. Well I tried value="xml/getMethod.xml" because my getMethod.xml file is inside xml folder (which is at the same level as the sub-sitemap). But it does not pick up xml when I give it that way   >From: Vadim Gritsenko <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: [EMA

Re: embedding xsp in an xml document

> > >Would you consider using 2.1 in production yet if you wanted the > >new features/bugfixes? > > > > I wouldn't, but may be other people would. > > Vadim > I would, for example, with triple-checking of everything, and I know that my project won't be in production before several months so I wor

Re: XML Databases and Cocoon

Hi Raul, I personnally use Tamino from Software AG for my project, and Cocoon to redesign it. The appropriate xmldb driver to make them interact the nicest way has been partly rewritten for me since it's still a beta, so I have a version that works and it not bad in terms of efficiency. I use ve

Re: applet, module, Class.forName() - ClassNotFoundException

It doesn't work. A few classes are in the jar, the others are beside the jar in the proper directories (as they are in the packages). During the running of the applet every class is loaded by the Class.forName(), ... method. - If I use the classes which are in the jar cannot be loaded. - If I

i18n question

hi together, I'm looking for a way to substitute/translate the following statement with i18n-transformations: to: i18n:attr settings don't work in my case, do they ? I need a way to prepare the src-attribute with dynamic information. have someon a glue. can I use in some way xsl:va

Re: applet, module, Class.forName() - ClassNotFoundException

Gabor Bartha wrote: > Hi All, > > I have a java applet in a jar file and there are several class files > beside the jar, which files (modules) can be loaded by the applet with > the Class.forName() and newInstance() methods. My applet works well as > far as it has to load a module, at that tim

Re: how is the base path determined for ?

Timothy Larson wrote: >In Cocoon 2.0.3, how is the base path determined for ? >I'm confused, because in different subsitemaps it either looks for files at the >same level as the current subsitemap or all the way out at the root sitemap. > It should be current sitemap. Have you tried 2.0.4-dev, d

Re: FormValidatorAction on database

Hi How can i inlcude one xml y another? - Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: <[EMAIL PROTECTED

FormValidatorAction on database

Hello I am trying to use FormValidatorAction to check data before inserting it into a database. The key on the database is one of the values on the form, and I want to check if it already exists on the database so I can tell the user to enter a different value. I cannot work out how to do th

how is the base path determined for ?

In Cocoon 2.0.3, how is the base path determined for ? I'm confused, because in different subsitemaps it either looks for files at the same level as the current subsitemap or all the way out at the root sitemap. Tim - Please c

How to create a master-detail form with Cocoon

Please help, I am trying to make a master detail form with Cocoon. Can someone provide me some tips about how to make it with Cocoon? Many thanks in advance ;) Antonio Gallardo - Please check that your question has not alrea

applet, module, Class.forName() - ClassNotFoundException

Hi All, I have a java applet in a jar file and there are several class files beside the jar, which files (modules) can be loaded by the applet with the Class.forName() and newInstance() methods. My applet works well as far as it has to load a module, at that time ClassNotFoundException occure

Re: Forward POST request data in a sitemap redirect?

gv wrote: >Hello, > >I've been able to easily forward GET request data via >sitemap redirect by using {requestQuery}, but I can't >figure out how to redirect and forward POST data. The >following is what I've tried, to no avail: > >(HTML form sends POST request to 'testfrom', >below) > >

Re: context in sub-sitemap

Sushil Bhattarai wrote: > Hi > > I was wondering how I can use "context://" or something similar to > pick up value for my parameter from my sub-sitemap folder rather than > from servlet. I want map:parameter to pick up getMethod.xml from > folder that has it's own sub-sitemap. If I give only

Forward POST request data in a sitemap redirect?

Hello, I've been able to easily forward GET request data via sitemap redirect by using {requestQuery}, but I can't figure out how to redirect and forward POST data. The following is what I've tried, to no avail: (HTML form sends POST request to 'testfrom', below)

RE: Cocoon in multiple webapp

Title: RE: Cocoon in multiple webapp Antonio: I did read what Vadim said, and I did what says in the install docs. That doc says that u have to compile the code if u want to use JDBC, and that´s not my case. Anyway, I downloded the C2 distribution for JDK 1.4. I´m running about 20 applicati

context in sub-sitemap

Hi I was wondering how I can use "context://" or something similar to pick up value for my parameter from my sub-sitemap folder rather than from servlet. I want map:parameter to pick up getMethod.xml from folder that has it's own sub-sitemap. If I give only "xml/getMethod.xml" it doesn't find the

Re: Cocoon in multiple webapp

Mauro, Java is a memory eater. You must know that. But, Linux has a very nice memory admin. :) Antonio Gallardo. El Martes, 17 de Septiembre de 2002 07:46, Alejandro Raiczyk escribió: > Mauro, I always do that, but I guess (I'm not sure, but watching the mem > consume of my linux box I'm almost

i18n: how to translate document fragments?

[Cocoon 2.0.3, JDK 1.3.1_02, Tomcat 4.0.4] What is the suggested way to translate a document fragment with the I18nTransformer? I would like not to chunk the content in smaller i18n:text elements, as the message catalogue would get harder to understand and translate. For instance:

Re: Cocoon in multiple webapp

Read down, the guru Vadim said:: Ahem... Seems like nobody reading install docs... http://xml.apache.org/cocoon/installing/index.html *"**Java 1.4 configuration"* Have you tried to download the source code and compile it? Please read the link, that Vadim sent to you. How many application are

Re: aggregation and exception (404) handling - how to?

Barry McMullin schrieb: > On Tue, 17 Sep 2002, u15603 wrote: > > >>I think it is a known bug! You could find it in the buglist, with this link: >> >>http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12293 > > > Thanks Dirk - > > I guess it would be comforting to feel that this is a cocoon > "

Re: aggregation and exception (404) handling - how to?

u15603 schrieb: > Hello Barry, > > I think it is a known bug! You could find it in the buglist, with this > link: > > http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12293 > > I hope that help you! :-) > > Dirk > > Barry McMullin schrieb: > >> Hi - >> >> I'm attempting to configure a simp

Re: XML streaming, pipeline parallelizing

Johann Romefort wrote: > Hi, > > To reformulate my last question in a more cocoon fashion, how can I > fire parrallel "generator" steps > in my pipeline and is it possible to stream ( both transforming and > serializing) the results to generate > HTML. ... and the result will be mix of tags

RE: Cocoon in multiple webapp

Sorry! Now I understand your problem but not other ideas for the moment. On Tue, 17 Sep 2002, Alejandro Raiczyk wrote: > Mauro, I always do that, but I guess (I'm not sure, but watching the mem > consume of my linux box I'm almost sure) the jars of each context are loaded > in memory although

RE: Cocoon in multiple webapp

Title: RE: Cocoon in multiple webapp Mauro, I always do that, but I guess (I'm not sure, but watching the mem consume of my linux box I'm almost sure) the jars of each context are loaded in memory although they are links to the same files. -Mensaje original- De: Mauro Daniel Ardolino

Re: aggregation and exception (404) handling - how to?

Barry McMullin wrote: >On Tue, 17 Sep 2002, u15603 wrote: > > > >>I think it is a known bug! You could find it in the buglist, with this link: >> >>http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12293 >> >> > >Thanks Dirk - > >I guess it would be comforting to feel that this is a cocoon

RE: Cocoon in multiple webapp

If you are in a linux machine, you can make a link. ln -s So it will be the same file (only one i-node). Tell me if it works or any questions if you don't understand. Mauro On Tue, 17 Sep 2002, Alejandro Raiczyk wrote: > Well, I've tried all: > > - I put all cocoon jars under $CATALINA_HO

RE: Cocoon in multiple webapp

Title: RE: Cocoon in multiple webapp Well, I've tried all: - I put all cocoon jars under $CATALINA_HOME/common/lib - I added the extra-classpath in the web.xml of my webapps - I copied the xerces-XXX.jar, xalan-XXX.jar, and the xml-apis.jar to $JAVA_HOME/jre/lib/endorsed - I deleted the work

XML streaming, pipeline parallelizing

Hi,   To reformulate my last question in a more cocoon fashion, how can I fire parrallel "generator" steps in my pipeline and is it possible to stream ( both transforming and serializing) the results to generate HTML.   Thanks in advance,   Regards,   johann

Re: aggregation and exception (404) handling - how to?

Barry McMullin wrote: >On Tue, 17 Sep 2002, Antonio Gallardo Rivera wrote: > > > >>You need the element inside your pipeline, for example: >> >> >> >> >> >> >> >> > >I don't *think* so ... but I am open to correction. > >The problem, as I see it, is that no exceptio

Re: Integrating XML formatted information directly with navigational structures

Ugo Cei wrote: > Majcen, Kurt wrote: > >> Hi all! >> >> I'm rather new with Cocoon but I think I've got a somehow tricky >> question: >> >> In my ORACLE database XML formatted records are stored e.g. for users >> (also >> for other types of records but these are the easy ones I want to try >>

Re: Cocoon in multiple webapp

Antonio Gallardo Rivera wrote: >Try this maybe it helps you: > >If you are using 1.4 (I am using 1.4.1RC) You must to copy the following >libraries to your Java libs: > >PROBLEM: When you are trying to use sunRise and your plataform is (or >similar): > >Cocoon 2.0.3 >Tomcat 2.1.

Re: XHTML Serilization instead of HTML S.

Alexander Schatten wrote: > I use Cocoon 2 to produce HTML. I use the HMTL serializer, but have to > detect, that the output is *not* HTML as expected, but XHTML, which > makes several problems, e.g. with Mozilla. I use HTML serializer and it outputs HTML. This can be confirmed by W3C valida

Re: Integrating XML formatted information directly with navigational structures

Majcen, Kurt wrote: > Hi all! > > I'm rather new with Cocoon but I think I've got a somehow tricky question: > > In my ORACLE database XML formatted records are stored e.g. for users (also > for other types of records but these are the easy ones I want to try with) > in CLOB fields - so the reco

Re: aggregation and exception (404) handling - how to?

On Tue, 17 Sep 2002, Antonio Gallardo Rivera wrote: > You need the element inside your pipeline, for example: > > > > > > I don't *think* so ... but I am open to correction. The problem, as I see it, is that no exception or failure is being raised in the relevant

Re: aggregation and exception (404) handling - how to?

On Tue, 17 Sep 2002, u15603 wrote: > I think it is a known bug! You could find it in the buglist, with this link: > > http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12293 Thanks Dirk - I guess it would be comforting to feel that this is a cocoon "problem" (rather than just a problem of my o

Re: aggregation and exception (404) handling - how to?

Hello Barry, I think it is a known bug! You could find it in the buglist, with this link: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12293 I hope that help you! :-) Dirk Barry McMullin schrieb: > Hi - > > I'm attempting to configure a simple "toy" site with cocoon > (2.0.3). I have a

Re: aggregation and exception (404) handling - how to?

El Martes, 17 de Septiembre de 2002 05:39, Barry McMullin escribió: > Hi - > > I'm attempting to configure a simple "toy" site with cocoon > (2.0.3). I have a pipeline which delivers (almost) all pages by > aggregating a "content" xml file with a "navigation" xml file > (and doing a little transfo

How to change user.timezone

Hi, In core.log file I saw the following: DEBUG (2002-09-17) 11:38.04:392 [core] (Unknown-URI) Unknown-thread/Cocoon: user.timezone=Africa/Abidjan Where can I change this value? Antonio Gallardo - Please check that your

aggregation and exception (404) handling - how to?

Hi - I'm attempting to configure a simple "toy" site with cocoon (2.0.3). I have a pipeline which delivers (almost) all pages by aggregating a "content" xml file with a "navigation" xml file (and doing a little transformation on the result). This is matched on almost every URI I get: ht

Integrating XML formatted information directly with navigational structures

Hi all! I'm rather new with Cocoon but I think I've got a somehow tricky question: In my ORACLE database XML formatted records are stored e.g. for users (also for other types of records but these are the easy ones I want to try with) in CLOB fields - so the record could look like: -- CLOB conte

Re: Build from cvs failed

On 17 Sep 2002, Gerrit Niestijl wrote: > Hi, > > I just downloaded a snapshot from cvs, for upgrading, but the build failed. The >commandline was: > > ./build.sh -Dinclude.webapp.libs=yes -Dinstall.war=$RESIN_HOME/webapps webapp > > I am on linux with java 1.3.0. > > This is the stack trace:

Build from cvs failed

Hi, I just downloaded a snapshot from cvs, for upgrading, but the build failed. The commandline was: ./build.sh -Dinclude.webapp.libs=yes -Dinstall.war=$RESIN_HOME/webapps webapp I am on linux with java 1.3.0. This is the stack trace: BUILD FAILED java.lang.NullPointerException at o

Cocoon Distributed system

Hi,   I would like to develop a distributed system based on several Cocoon backends which will return XML to a central Cocoon portal. The portal will aggregate the answers, and will display an unified response. Now I would like to know how it is possible to control the several streams, and

Re: [C2.1] A little compile error.

Antonio Gallardo Rivera wrote: > I just one to tell that the lastest CVS has this problem: > > Constructing Javadoc information... > >/cocoon-2.1/xml-cocoon2/build/cocoon/src/org/apache/cocoon/components/pipeline/AbstractProcessingPipeline.java:76: > > package sun.tools.tree does not exist > i