XSP/Java - simple? problem

2003-06-10 Thread Derek Hohls
Hi Can someone explain what is wrong with the following code: fGraphPtLabel if ((fGraphPtLabel != null) && (fGraphPtLabel.equals("name"))) { 14 } else { 1 } Gives an output of:

Re: problem with setting up cocoon in webLogic

2003-06-10 Thread David Kavanagh
Could you please post errors from the log files? They should be in your cocoon web app directory under WEB-INF/logs. The error.log usually has something useful, but I would look in core.log for this type of error. David Anne Kwong wrote: Dear all, I  followed the instruction and is

problem with setting up cocoon in webLogic

2003-06-10 Thread Anne Kwong
Dear all, I  followed the instruction and is able to set up the CocoonServlet on weblogic.  However, when I tried to bring up localhost:7001/cocoon/, I am getting the following error:   type fatal message Cocoon was not initialized. description Cocoon was not initialized. Cannot process request.

Re: Alias in database descriptor file

2003-06-10 Thread Antonio Gallardo
Amelie Cordier dijo: > I want to describe a > table in two different way and call the first one in one table-set and > the other one in a second table-set... Hi, check this: http://wiki.cocoondev.org/Wiki.jsp?page=ModularDatabaseActions Sorry, I can't explain in more detail this. I am too busy n

Alias in database descriptor file

2003-06-10 Thread Amelie Cordier
Hello ! Is anybody knows where I can find documentation about "alias" that are used in database descriptor files? I'm looking for a solution to a simple problem : I want to describe a table in two different way and call the first one in one table-set and the other one in a second table-set... Th

get parameters into Sitemap

2003-06-10 Thread Maxime.Gheysen
How is it possible to get parameters into the sitemap? I tried : but it doesn't work this way! And the second thing is how to set parameters to a transformer? I tried : but it doesn't work... thanks for your help - To unsubs

Re: New Sites

2003-06-10 Thread Steve Brackenbury
At 11:34 AM 6/10/2003 +0100, Kevin McDermott wrote: "Steve Brackenbury" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] None of the site is "static" content :) It just looks that way, due to the magic of Cocoon ;)

Re: conditions in xsl

2003-06-10 Thread Vadim Gritsenko
Conal Tuohy wrote: Hi Tim This question is best asked on the XSL List, rather than Cocoon Users, but here's an answer anyway: Completely agree with this Test to see if the report has any preceding reports. Perhaps something like: test="position() = 1" also should work Vadim

RE: conditions in xsl

2003-06-10 Thread Conal Tuohy
Hi Tim This question is best asked on the XSL List, rather than Cocoon Users, but here's an answer anyway: Test to see if the report has any preceding reports. Perhaps something like: dlgSwitchSelected ... > -Original Message- > From: Tim Bachta [m

conditions in xsl

2003-06-10 Thread Tim Bachta
Is it possible to do if statements in an xsl page. What I am trying to do is set the first value I get back as selected then set the rest as unselected. Example since it is hard to explain. I currently have this: this gives me back this: Overdue Task Report Task Status Repor

Re: OOo

2003-06-10 Thread Georges Roux
It work perfectly now, but there is some error in the ZipArchive serializer documentation the end tag is wrong. must be I am very happy cause now I can use this format to transform to OOo documents Thanks everybody Georges Geoff Howard wrote: Sounds like the zip serializer is not declared in

Re: TeX to PDF serializator

2003-06-10 Thread Peter Flynn
On Tue, 2003-06-10 at 23:57, Andre Thenot wrote: > On Tuesday, June 10, 2003, at 06:37 PM, Peter Flynn wrote: > > > In any case, it shouldn't be specific to LaTeX. All we need is an > > ability of Cocoon to spawn an external process and serve the result > > back to the user with a defined media ty

Re: Spacing issues?

2003-06-10 Thread Andre Thenot
On Tuesday, June 10, 2003, at 07:01 PM, Robert Koberg wrote: Andre was a bit off with his comments. Also he is using a long-hand version when there is a simpler way to accomplish it (attribute value templates or {} in an attribute). Joerg was showing you how to "strip" the leading and trailing

RE: Spacing issues?

2003-06-10 Thread Robert Koberg
Hi, Andre was a bit off with his comments. Also he is using a long-hand version when there is a simpler way to accomplish it (attribute value templates or {} in an attribute). Joerg was showing you how to "strip" the leading and trailing whitespace from your "report-name" element's value. This is

Re: TeX to PDF serializator

2003-06-10 Thread Andre Thenot
On Tuesday, June 10, 2003, at 06:37 PM, Peter Flynn wrote: In any case, it shouldn't be specific to LaTeX. All we need is an ability of Cocoon to spawn an external process and serve the result back to the user with a defined media type. There's a _big_ problem with this: how do I apply a transform

RE: Spacing issues?

2003-06-10 Thread Tim Bachta
I do not have a xsl:variable named "report-name" how do I declare that? I am going to get that book this evening. -Original Message- From: Andre Thenot [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 10, 2003 4:30 PM To: [EMAIL PROTECTED] Subject: Re: Spacing issues? That was an XPath exp

Re: TeX to PDF serializator

2003-06-10 Thread Peter Flynn
On Tue, 2003-06-10 at 23:03, Alexander Schatten wrote: > Andreas Kuckartz wrote: > > >>I think it's not in the the cocoon project's goals. > >> > >Why not? A good reason which I can see for such a component is that you > >could use the features of TeX to automatically create printable pages with

Re: TeX to PDF serializator

2003-06-10 Thread Alexander Schatten
Andreas Kuckartz wrote: I think it's not in the the cocoon project's goals. Why not? A good reason which I can see for such a component is that you could use the features of TeX to automatically create printable pages with high quality. I cant get the point. Cocoon is an XML publishing too

Re: Spacing issues?

2003-06-10 Thread Andre Thenot
That was an XPath expression. Use (assuming you have an xsl:variable named "report-name"): panel_sw Further reading: XML in a nutshell, published by O'Reilly, look at chapter on XSL. A. On Tuesday, June 10, 2003, at 05:19 PM, Tim Bachta wrote: Where do I put that? -Original Message

Re: Spacing issues?

2003-06-10 Thread Joerg Heinicke
replace with Joerg Tim Bachta wrote: Where do I put that? -Original Message- From: Joerg Heinicke [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 10, 2003 3:06 PM To: [EMAIL PROTECTED] Subject: Re: Spacing issues? {normalize-space(report-name)} Joerg Tim Bachta wrote: How come I

RE: Autoshape --> Rectangle

2003-06-10 Thread Yan, Charlene
Thanks for the information!! Changing transform type="xslt" to "xalan" in the sitemap solved the problem. Regards, Charlene -Original Message- From: Geoff Howard [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 10, 2003 12:31 PM To: [EMAIL PROTECTED] Subject: Re: Autoshape --> Rectangle

RE: POI --Setting logger Level

2003-06-10 Thread Mehra, Vishal
Joerg, Thanks for the pointer. As I am running a standalone java application, there is no Web/Application server available to set the configuration. Basically my java code looks like wb = new HSSFWorkbook(); sheet = wb.createSheet(fileName); HSSFRow row = sheet.createRow( (short) 0); Is there

RE: Spacing issues?

2003-06-10 Thread Tim Bachta
Where do I put that? -Original Message- From: Joerg Heinicke [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 10, 2003 3:06 PM To: [EMAIL PROTECTED] Subject: Re: Spacing issues? {normalize-space(report-name)} Joerg Tim Bachta wrote: > How come I am getting huge amounts of space between ha

Conditional pipeline processing

2003-06-10 Thread g[R]eK
<. Hi cocoon-users! .> Does exists some way to conditional pipeline processing? The condition would be a some value got by XPath from some other pipeline where was produced XML. I meant, I have some pipeline (called 'general'), and other called 'src', and some others called 'option1', 'opt

Re: POI --Setting logger Level

2003-06-10 Thread Joerg Heinicke
Hello Vishal, the HSSFSerializer has a logger in its configuration in the sitemap (at least you can set one). The log level can then be configured in the logkit.xconf. http://wiki.cocoondev.org/Wiki.jsp?page=ExploringTheLogs Joerg Mehra, Vishal wrote: I have a java application which executes

RE: conditional cincludes?

2003-06-10 Thread Nathaniel Alfred
Or cinclude another pipeline match to return a XML dummy file HTH, Alfred (preferring cinclude over xinclude). > -Original Message- > From: Joerg Heinicke [mailto:[EMAIL PROTECTED] > Sent: Dienstag, 10. Juni 2003 22:23 > To: [EMAIL PROTECTED] > Subject: Re: co

Re: conditional cincludes?

2003-06-10 Thread Joerg Heinicke
Hello Luke, you can either use the DirectoryGenerator or the new implementation of XInclude in Cocoon 2.1 having a fallback element. Joerg Luke Penca wrote: How do I check for the instance of a file before attempting to cinclude it? Basically, I don't want the pipeline to die if the file isn'

POI --Setting logger Level

2003-06-10 Thread Mehra, Vishal
I have a java application which executes dynamic SQL and based on the result set generates appropriate .XLS file. This java application internally uses cocoon and poi libraries to generate the Excel file. By default, for each cell generation approximately 10 lines are getting printed on the

conditional cincludes?

2003-06-10 Thread Luke Penca
Title: conditional cincludes? How do I check for the instance of a file before attempting to cinclude it?  Basically, I don't want the pipeline to die if the file isn't found. Thanks, Luke.

Re: XSLTC problem with IBM WebSphere

2003-06-10 Thread Joerg Heinicke
What about the cocoon.xconf? I have added it a few days ago to the Cocoon 2.0 CVS, so that XSLTC is available by default (while Xalan is still the default processor). Joerg Michael Vennera wrote: I running some pretty large XSLT transformations through Cocoon and want to use XSLTC for the perfo

Re: Spacing issues?

2003-06-10 Thread Joerg Heinicke
{normalize-space(report-name)} Joerg Tim Bachta wrote: How come I am getting huge amounts of space between hard-coded items and database items in my view source when they should be no space according to my code? Ex. Code = I would expect Source = * * Tim Bachta

Re: Re[2]: TeX to PDF serializator

2003-06-10 Thread Andre Thenot
On Thursday, June 5, 2003, at 05:35 AM, Vasil I. Yaroshevich wrote: I can make XML document such as and I want to convert it to PDF. How? Sure you can. But that defeats the whole purpose of using XML in the first place. :-) AS> what would definitly be useful is a tex generator, that generate

Unable to get 'Cocoon-Libs' attribute from the Manifest

2003-06-10 Thread Collin VanDyck
I'm running Cocoon 2.0.4 on JDK1.4. I have an EAR application that includes two WARs.  In each of my WARs I include the WEB-INF/lib jars and the WEB-INF/Manifest.mf, amongst others.  When I deploy as a flattened or exploded application, everything works perfectly.   However, when I try and d

Re: Using dynamic SVG with FOP

2003-06-10 Thread J.Pietschmann
Markus Alin wrote: We are currently building a reporting application featuring PDF generation with FOP. Within the FOP we call a url generating a jpeg image by transforming a XML into a SVG and by serializing this into a jpeg. This works perfectly for static jpegs but by the start of the jpeg match

Spacing issues?

2003-06-10 Thread Tim Bachta
How come I am getting huge amounts of space between hard-coded items and database items in my view source when they should be no space according to my code?   Ex. Code =
I would expect     Source =     Tim Bachta (913)693-0538 O

POI -- Logger --Setting log Level

2003-06-10 Thread Mehra, Vishal
> I have a java application which executes dynamic SQL and based on the result set > generates appropriate .XLS file. This java application internally uses cocoon and > poi libraries to generate the Excel file. > By default, for each cell generation approximately 10 lines are getting

Re: [Summary] Cocoon Stammtisch, Vienna, Austria

2003-06-10 Thread Andreas Hochsteger
Hi Reinhard! I don't know, if you counted some of my collegues in, as I announced some time ago that I'll take with me. Now I know it for sure and here are their Names: * Christian Burger * Thomas Haginger * Christian Hauer * Andreas Köll * Christoph Takacs With me (Andreas Hochsteger) that make

Is it possible to run other action inside xmlForm action?

2003-06-10 Thread Hill Karimov
Hi all, Is it possible to run other action that extends AbstractComplementaryConfigurableAction inside xmlForm? e.g.: run org.apache.cocoon.acting.DatabaseAddAction public Map perform () { ... } else if ( formView.equals ( VIEW_CONFIRM ) ) { if ( command.equals( CMD_NEXT ) ) { // here

How can I send sitemap param from my wizard action?

2003-06-10 Thread Hill Karimov
Hi all, How I see AbstractXMLFormAction.page(..), objectMap is creating new: protected Map page(String pageName) { Map objectModel = new HashMap(); objectModel.put(OBJECT_MAP_NEXT_PAGE, pageName); return objectModel; } What if I want send some sitemap param from my wizard action ( from

RE: Gif image

2003-06-10 Thread Geoff Howard
You probably have your relative references to the image all mixed up. What is the url of the page this img tag appears on? Where (what uri) is the sitemap cited below mounted on? Geoff At 11:52 AM 6/10/2003, you wrote: Ok, I tried this and no luck, I don't understand what I am doing wrong? Xsl:

Re: Autoshape --> Rectangle

2003-06-10 Thread Geoff Howard
http://marc.theaimsgroup.com/?l=xml-cocoon-users&w=2&r=1&s=Unable+to+get+transformer+handler&q=b At 12:18 PM 6/10/2003, you wrote: All, I'm trying to generate an Excel spreadsheet. First I tried to use Cocoon by passing the xml string into Stream Generator, go through the gnumeric formatting t

XSLTC problem with IBM WebSphere

2003-06-10 Thread Michael Vennera
I running some pretty large XSLT transformations through Cocoon and want to use XSLTC for the performance boost. No problem getting it to work in Tomcat. I dropped the xsltc.jar from the Xalan distro in WEB-INF/lib and added the following to the sitemap: false false org.apac

Autoshape --> Rectangle

2003-06-10 Thread Yan, Charlene
All, I'm trying to generate an Excel spreadsheet. First I tried to use Cocoon by passing the xml string into Stream Generator, go through the gnumeric formatting trnasformation. It was working fine intially. However, with more and more styleregion I added, it will give me the following error

RE: Gif image

2003-06-10 Thread Stavros Kounis
On Tue, 10 Jun 2003, Tim Bachta wrote: > Ok, I tried this and no luck, I don't understand what I am doing wrong? > > Xsl: > this is ok now for match pattern try something strong or something more flexible http:///images/icons/dot.gif will give you the dot.gif file from pa

RE: Gif image

2003-06-10 Thread Tim Bachta
Ok, I tried this and no luck, I don't understand what I am doing wrong? Xsl: Sitemap: The images a located in an images folder off of the root from there they have subfolders in this case icons with a subfolder called disabled. Thanks Tim -Original Message- From: Geoff Howard

Re: Gif image

2003-06-10 Thread James Schumann
Hi Tim, Could it be the way you're mixing different types of slash in the path? James On Tue, 10 Jun 2003, Tim Bachta wrote: > I am trying to show an image in my final file. I am using the following > code in my xsl file but when I go to the page as all I get is the blank > image icon. Can

Re: Gif image

2003-06-10 Thread Geoff Howard
Well, first of all that image src reference is to the image on your local computer - so even if you get it working locally, it won't work for anyone but you. Actually, it starts off that way and then ends with what was probably meant to be the reference to the server location via http. Second, b

Re: Gif image

2003-06-10 Thread Upayavira
> I am trying to show an image in my final file. I am using the > following code in my xsl file but when I go to the page as all I get > is the blank image icon. Can anyone please help me with my little > issue here, I know it is probably a stupid mistake but I have not been > able to find it any

Gif image

2003-06-10 Thread Tim Bachta
I am trying to show an image in my final file. I am using the following code in my xsl file but when I go to the page as all I get is the blank image icon. Can anyone please help me with my little issue here, I know it is probably a stupid mistake but I have not been able to find it anywhere. Th

Re: OOo

2003-06-10 Thread Geoff Howard
Sounds like the zip serializer is not declared in your sitemap or any higher level sitemaps. I don't think it's declared by default in the root sitemap in the distribution. Geoff At 10:55 AM 6/10/2003, you wrote: Ok, thanks but I get an Exception UnamedSelector: ComponentSelector could not find t

Re: OOo

2003-06-10 Thread Georges Roux
Ok, thanks but I get an Exception UnamedSelector: ComponentSelector could not find the component for int[OOo] I try the with the zip serializer but with the same exeption [zip] something is wrong georges Andreas Kühne wrote: Hi Georges, your snippet looks nice to me ! But beware of strange 'dupl

Connection problem

2003-06-10 Thread Paul Pattison
I've been getting the following error almost daily for the past week. Original exception : org.apache.cocoon.ProcessingException: Exception in ServerPagesGenerator.generate(): java.lang.RuntimeException: Could not get the datasource org.apache.avalon.excalibur.datasource.NoValidConnectionExcepti

Help: How to create sql element for dynamic queries?

2003-06-10 Thread Jin, Juping
I am new to Apache Cocoon 2 and try to generate dynamic queries based on user's parameters. My idea looks like this: In sitemap.xmap, my pipeline will be: mygenerator is a Java class following the examples in Cocoon 2: public class SQLGenerator extends AbstractG

Eclipse compiler and complex XSPs

2003-06-10 Thread Nathaniel Alfred
I am currently trying M2 to prepare our Cocoon based websites for 2.1final and came across a problem with the Eclipse compiler. Out most complex XSP+logicsheet fails with the message: = org.apache.cocoon.ProcessingException: Language Exc

Using dynamic SVG with FOP

2003-06-10 Thread Markus Alin
Hi All!! We are currently building a reporting application featuring PDF generation with FOP. Within the FOP we call a url generating a jpeg image by transforming a XML into a SVG and by serializing this into a jpeg. This works perfectly for static jpegs but by the start of the jpeg matcher the ap

Sitemap : use and get parameters

2003-06-10 Thread Maxime.Gheysen
1. How is it possible to use parameters like : and 2. How is it possible to get parameters from a previous file (in our case from the login form): The purpose of this is : Use the username & password from the login form to connect to the LDAP server (ldap:rootdn and ldap

Re: Requestparameterselector

2003-06-10 Thread Lionel Crine
ok it's working!!! sorry for the question. At 12:16 10/06/2003 +0200, you wrote: I'm trying to use RequestParameterSelector selector but it's not working : here is my pipeline : What's

Authentification HELP!!!

2003-06-10 Thread Maxime.Gheysen
Hello, I want an LDAP authentification for my portal. I generate an xml file from a ldap query. But the problem is that I can't get the password (from the ldap server)! The authentification for the user works, but not the password. How is it possible to integrate the user/password system from my l

Code offer

2003-06-10 Thread Kevin McDermott
Hi, Following on from the launch of the Cocoon driven StandardLifeInvestments.com sites, I've been given the go-ahead to offer the code that we developed in order to make our task a bit easier :) A bit of background will make it easier to understand the changes :) There are various sub-sites wit

Re: OOo

2003-06-10 Thread Andreas=20K=FChne
Hi Georges, your snippet looks nice to me ! But beware of strange 'duplicate zip entry'-Exceptions. Usually they are caused by a nonexisting or empty src-URL. I am going to check the existence of the content before calling the zip serializer. Good Luck Andrew > http://apache.org/cocoon/zip-a

OOo

2003-06-10 Thread Georges Roux
Hi, I try to transform xml files to OpenOffice.org format (.sxw) with cocoon because sxw is a zip file format, I put this in my sitemap: here is OOo.xml http://apache.org/cocoon/zip-archive/1.0";> is that correct or anybody knows other way

HSSF Generator ??

2003-06-10 Thread Andreas=20K=FChne
Hi Folks, did anyone missed a HSSF Generator, yet ? I do ! I started to hack a simle one, but it's a major task handling all strange events ... Is somewhere out there a better piece of code ? Greetings Andrew Mit der Grupppen-S

Re: New Sites

2003-06-10 Thread Kevin McDermott
"Steve Brackenbury" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > At 05:27 PM 6/9/2003 +0100, you wrote: > >Hi, > > > >On Sunday 9th June, we put live Phase One of our migration of Standard Life > >Investment's sites... > > The site looks great and the response appeared to be snapp

Requestparameterselector

2003-06-10 Thread Lionel Crine
I'm trying to use RequestParameterSelector selector but it's not working : here is my pipeline : What's wrong ? Lionel Lionel CRINE Société : 4DConcept 22 rue Etienne de Jouy 78353 JO

Re: [patched livesites.xml] Re: CVS livesites.xml - what is " couldn't

2003-06-10 Thread Stavros Kounis
steven this is my console output when i run cvs diff -u hope that's the file you need!? --stavros On Mon, 9 Jun 2003, Steven Noels wrote: > On 9/06/2003 17:41 Upayavira wrote: > > > Sounds like you have exactly what you want. Leave the file as is and send it. Don't > > remove anything. > > Y

AW: Dynamically build xmlforms

2003-06-10 Thread Marco Rolappe
yes, just create pipelines that generate xml like what you currently have in static files. something like this: ... ...

Re: Dynamically build xmlforms

2003-06-10 Thread morten svanæs
Hei Marco, maybe I'm just making it more difficult than it is. I guess I could make some xsp scripts that writes the forms on the fly. Is that what you meant ? Morten Svanaes - Original Message - From: "Marco Rolappe" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 10, 20

AW: Dynamically build xmlforms

2003-06-10 Thread Marco Rolappe
hej morten, I don't see a reason why you shouldn't be able to dynamically generate your xmlforms. write corresponding pipelines for the xmlform descriptions, apply the xmlform transformations and you should be set. -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED

Re: Calling Actions from the Flow with Javascript

2003-06-10 Thread Frank Taffelt
It has not to be the root sitemap. It works also fine for any of the ancestor Componentmanager's. Frank - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Portal LDAP Authentification

2003-06-10 Thread Maxime.Gheysen
Hello, My portal used a simple XML file for identification. Now I generate an xml file from a ldap query. But the problem is that I can't get the password (from the ldap server), I can only get user informations! How is it possible to integrate the user/password system from my ldap server into my

Link Livesites: Provincia di Lucca - Pubblica Istruzione

2003-06-10 Thread Gabriele Matteelli
http://istruzione.provincia.lucca.it - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Dynamically build xmlforms

2003-06-10 Thread morten svanæs
Hi, I'm trying to find out how to build form elements dynamically with the xmlform system. I have a xforms file describing the the form , but I have an order form that may contain over 100 lines ( 100 textboxes ) so I wan't they to be builded on demand. Is there some way to maniupulate a xml