Re: XSP & LDAP

2003-06-04 Thread Yury Mikhienko
error "class not found". > > > Do I need some special libs? > > > > You must have the jndi.jar or use the J2SDK 1.4.1 family > > > > >I have tomcat 4.1.24 & cocoon 2.0 > > > > > > Thanks > > > > &g

RE: XSP & LDAP

2003-06-04 Thread Maxime.Gheysen
there aren't in the cocoon.jar (org/apache/cocoon/transformation) Should I add them? Where can I find them? Thanks! -Original Message- From: Yury Mikhienko [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 2:21 PM To: [EMAIL PROTECTED] Subject: Re: XSP & LDAP

Re: XSP & LDAP

2003-06-04 Thread Yury Mikhienko
some special libs? > > You must have the jndi.jar or use the J2SDK 1.4.1 family > > >I have tomcat 4.1.24 & cocoon 2.0 > > > > Thanks > > > > -Original Message- > > From: Martin Holz [mailto:[EMAIL PROTECTED] > > Sent: Wednesday,

RE: XSP & LDAP

2003-06-04 Thread Maxime.Gheysen
June 04, 2003 2:13 PM To: [EMAIL PROTECTED] Subject: Re: XSP & LDAP On Wed, 4 Jun 2003 13:47:23 +0200 <[EMAIL PROTECTED]> wrote: > When I declare the transformer > src="org.apache.cocoon.transformation.LDAPTransformer"/> > in the sitemap I get the error "cl

Re: XSP & LDAP

2003-06-04 Thread Yury Mikhienko
he jndi.jar or use the J2SDK 1.4.1 family >I have tomcat 4.1.24 & cocoon 2.0 > > Thanks > > -Original Message- > From: Martin Holz [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 04, 2003 11:15 AM > To: [EMAIL PROTECTED] > Subject: Re: XSP & LDAP &g

getting subsitemap path in XSP

2003-06-04 Thread Mato Mira, Fernando
Hello, How can one get the absolute path to the current subsitemap in XSP? Thanks -- Fernando D. Mato Mira [EMAIL PROTECTED] Thomson Dialog www.dialog.com E-MAIL NOTICE: This message (plus any attachments) is confidential and may be subject to lawyer-client privilege. Use

RE: XSP & LDAP

2003-06-04 Thread Maxime.Gheysen
ECTED] Subject: Re: XSP & LDAP <[EMAIL PROTECTED]> writes: > Hello, > I would like to get some information about how to use the LDAP > transformer (first of all, in wich library the classes are), In cocoon-naming-block.jar. ---

Re: XSP & LDAP

2003-06-04 Thread Martin Holz
<[EMAIL PROTECTED]> writes: > Hello, > I would like to get some information about how to use the LDAP > transformer (first of all, in wich library the classes are), In cocoon-naming-block.jar. - To unsubscribe, e-mail: [EMAIL

Re: XSP & LDAP

2003-06-04 Thread Yury Mikhienko
map:transformers > > src="com.wika.cocoon.transformation.LDAPTransformer"/> > The right declaration is: > > > Hello, > > I would like to get some information about how to use the LDAP > > transformer (first of all, in wich library the classes are), and how > to > > ma

RE: Re: XSP & LDAP

2003-06-04 Thread Maxime.Gheysen
TECTED] Sent: Wednesday, June 04, 2003 9:52 AM To: [EMAIL PROTECTED] Subject: Fw: Re: XSP & LDAP > Hello, > I would like to get some information about how to use the LDAP > transformer (first of all, in wich library the classes are), and how to > make a simple XSP page with an authenti

Fw: Re: XSP & LDAP

2003-06-04 Thread Yury Mikhienko
> Hello, > I would like to get some information about how to use the LDAP > transformer (first of all, in wich library the classes are), and how to > make a simple XSP page with an authentification (from Windows Active > Directory) > Thanks for any help! > Try use new

XSP & LDAP

2003-06-04 Thread Maxime.Gheysen
Hello, I would like to get some information about how to use the LDAP transformer (first of all, in wich library the classes are), and how to make a simple XSP page with an authentification (from Windows Active Directory) Thanks for any help! Maxime

Re: inserting XML fragments in XSP

2003-06-04 Thread Christian Haul
On 03.Jun.2003 -- 02:16 PM, Mato Mira, Fernando wrote: > > 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.2

Re: XSP debugging

2003-06-04 Thread Andreas Hartmann
morten svanæs wrote: Hi, I'm wondering if there's someway to get the correct linenumber from a xsp stacktrace, when I get a error it's always on some very high number. The number is correct. You get the line number of the generated Java file (look in your tomcat/work directory to

XSP debugging

2003-06-04 Thread morten svanæs
Hi, I'm wondering if there's someway to get the correct linenumber from a xsp stacktrace, when I get a error it's always on some very high number.   Morten Svanæs  

RE: inserting XML fragments in XSP

2003-06-03 Thread Mato Mira, Fernando
> -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

Re: passing parameters to xsp files

2003-06-03 Thread Steven Noels
the owner_id of the application.xsp file that includes it. A simple test in the owner.xslt should then do the trick. I know it is possible to pass parameters through the sitemap, but in this case I want the contents of my parameter to be dependent on the contents of my xsp file. I don't

Re: inserting XML fragments in XSP

2003-06-03 Thread Christian Haul
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

RE: inserting XML fragments in XSP

2003-06-03 Thread Mato Mira, Fernando
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

Re: inserting XML fragments in XSP

2003-06-03 Thread Christian Haul
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 > > > > > >

RE: passing parameters to xsp files

2003-06-03 Thread Vindevogel - van Loco
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

Re: inserting XML fragments in XSP

2003-06-03 Thread Fernando D. Mato Mira
-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

Re: inserting XML fragments in XSP

2003-06-03 Thread Steven Cummings
>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 Mir

Re: inserting XML fragments in XSP

2003-06-03 Thread Christian Haul
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]

Re: passing parameters to xsp files

2003-06-03 Thread Alexander Schatten
the application.xsp file that includes it. A simple test in the owner.xslt should then do the trick. I know it is possible to pass parameters through the sitemap, but in this case I want the contents of my parameter to be dependent on the contents of my xsp file. I don't know how to do th

RE: inserting XML fragments in XSP

2003-06-03 Thread Mato Mira, Fernando
> 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]

Re: inserting XML fragments in XSP

2003-06-03 Thread Christian Haul
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

passing parameters to xsp files

2003-06-03 Thread Carolien . Coenen
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

Re: inserting XML fragments in XSP

2003-06-02 Thread Fernando D. Mato Mira
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: String errortext = parameters.getParameter("error-text"); errortext It ge

RE: inserting XML fragments in XSP

2003-06-02 Thread Geoff Howard
Is it a whitespace issue? Send the snippet. Geoff At 08:29 AM 6/2/2003, you wrote: There seems to be a bug in 2.1m2. It's inserting a ';' in the generated java code where it shouldn't. > xsp-util:include-expr > --

RE: inserting XML fragments in XSP

2003-06-02 Thread Mato Mira, Fernando
02, 2003 2:01 PM > To: [EMAIL PROTECTED] > Subject: Re: inserting XML fragments in XSP > > > xsp-util:include-expr > > By the way, this would have turned up in one of the first hits from > a search of the archive: > http://marc.theaimsgroup.com/?l=xml-cocoon-users&w=2&r=

Re: inserting XML fragments in XSP

2003-06-02 Thread Geoff Howard
xsp-util:include-expr By the way, this would have turned up in one of the first hits from a search of the archive: http://marc.theaimsgroup.com/?l=xml-cocoon-users&w=2&r=1&s=xsp+xml+string&q=b There are also wiki pages: http://wiki.cocoondev.org/Wiki.jsp?page=XSP http://wi

inserting XML fragments in XSP

2003-06-02 Thread Mato Mira, Fernando
Hello, I have an XML fragment in a string. How does one insert it in XSP? (If the string variable is called foo, foo inserts it as escaped text) Thanks -- Fernando D. Mato Mira [EMAIL PROTECTED] Thomson Dialog www.dialog.com E-MAIL NOTICE: This message (plus any attachments

Re: using XML String in XSP

2003-05-29 Thread Christian Haul
not work as you have xml in your string literal which will result in broken java code. Use either CDATA or entities < > Even putting the tag around xmlString doesn't work either. I've tried addeding/removing whitespace all over the place and still not working. The generated

RE: using XML String in XSP

2003-05-29 Thread Gould, Troy (ELS)
#x27;t work either. I've tried addeding/removing whitespace all over the place and still not working. The generated .java code for the .xsp file is just putting the following in the code: String xmlString = " which is where I see the errors in the log files. Seems like a definite bug.

XSP : pages auto-refreshes a hunderd time!

2003-05-29 Thread Maxime.Gheysen
I had this problem a while ago, and it comes back. But I don't know why! My page reloads itself until an error comes. If I take a tracer I can see that the page comes correctly, but once loaded it is reloaded again and again! Why? Has anybody any idea? Here is the complete XSP-page :

RE: No way to extend XSP/JSP classpath?

2003-05-29 Thread Geoff Howard
for additional classpath. > I'm not sure if this is available within xsp though. Great. I don't know if this will work for XSP but I don't care: It's bad enough I have to modify the main sitemap and add my stuff as a subdirectory of cocoon. I still haven't had t

Re: using XML String in XSP

2003-05-28 Thread Christian Haul
On 27.May.2003 -- 04:47 PM, Gould, Troy (ELS) wrote: > I'm using cocoon 2.0.4 and having difficulties with the > xsp-util:include-expr and xsp:expr tags. > > I have a method in a class that returns a XML Document as a String which I > want to utilize within an xsp page. Howev

RE: No way to extend XSP/JSP classpath?

2003-05-28 Thread Mato Mira, Fernando
> From: Geoff Howard [mailto:[EMAIL PROTECTED] > Look in cocoon.xconf and web.xml for additional classpath. > I'm not sure if this is available within xsp though. Great. I don't know if this will work for XSP but I don't care: It's bad enough I have to modify the

using XML String in XSP

2003-05-27 Thread Gould, Troy (ELS)
I'm using cocoon 2.0.4 and having difficulties with the xsp-util:include-expr and xsp:expr tags. I have a method in a class that returns a XML Document as a String which I want to utilize within an xsp page. However, I don't want the string to come back as text because the '<

XSP generating CDDATA section?

2003-05-27 Thread Mark H
Is there anyway for XSP to insert a generated CDDATA section into the SAX stream? I'm trying to modify the esql logicsheet so it outputs a string unescaped (there are HTML entities in the field's content). Mark --

Dynamic link generation in XSP...???

2003-04-12 Thread Gautam Ganguly
hi there, How do i generate a dynamic link like this in my xsp page:based on a column value(=id) returned from a database .Here edit-item.html is the sitemap match pattern which will be called when someone clicks on the link and the corresponding itemid will get passed to it as a request

mySQL xsp query - working on 2.0.3 NOT on 2.1 last CVS

2003-04-12 Thread Stavros Kounis
i try to run a simple query using an .xsp file in last [04.11.2003] cocoon CVS snapshot and i get the follow error msg i have check and re-check the code many times and i dont see something different from some examples error msg: org.apache.cocoon.ProcessingException: Language Exception

Re: Stripping space from XSP output

2003-04-04 Thread Michael Vennera
The spaces are reporduced from the XSP source page. For instance, the lines on which I declare my connection info in the XSP show up as equivalent blank lines in the XML output. I could normailze the XSP source, but I need to keep it readable... --- Lionel Crine <[EMAIL PROTECTED]> wrote:

Re: [XSP] not for int?

2003-04-04 Thread Boris Althaus
The xsp-logic tag is allowed before the page tag too. But in that section should be declared a class or a method like   String myMethod(){  return "string"; }   This declared method can used in the page section.   Boris - Original Message - From: Lionel Crin

Re: Stripping space from XSP output

2003-04-04 Thread Lionel Crine
can you tell us more . The spaces are created by the xsp page? Lionel At 12:07 03/04/2003 -0800, you wrote: Anyone know a way (besides XSLT) to strip white space from XSP output. I tried the following: However, this has no effect on whitespace in my output. Obviously, I could use XSLT to

XSP exception when running cocoon 1.8 under Tomcat 4.0.6

2003-04-03 Thread JADOUL LAURENT
hi, I'm trying to migrate an web application running under tomcat 3.2 with cocoon 1.8 to tomcat 4.0.6 still with cocoon 1.8, when I run the web server, XSP crash everytime with this exception, does anyone as an Idea or a way to go through : Error found handlin

Stripping space from XSP output

2003-04-03 Thread Michael Vennera
Anyone know a way (besides XSLT) to strip white space from XSP output. I tried the following: However, this has no effect on whitespace in my output. Obviously, I could use XSLT to strip the space, but I have performance concerns - I don't want to add an additional transformation and I wa

XSP-authentication framework related query

2003-04-03 Thread Gautam Ganguly
hi there, I am currently using the authentication framework in my Cocoon-2.1 . How do i access the authentication context info like ID,role..in my xsp page. I tried accessing the record using the getxml but i just got blanks in them. My test.xsp code looks like this

Re: XSP Problem

2003-04-03 Thread Lionel Crine
I won't be able to answer all your questions. for xalan, be careful to put the new jar in the cocoon lib directory "\webapps\cocoon\WEB-INF\lib" and remove the old one. I don't think that you need to change anything in the cocoon.xconf. Browse the mailing list to be sure. Lionel ---

Re: [XSP] not for int?

2003-04-02 Thread Lionel Crine
the tag should be between the tag. Lionel At 11:21 02/04/2003 +0200, you wrote: Hello, the following XSP causes an LanguageException: http://apache.org/xsp";> int value = 1; value = value + 1; PageTitle 1 + 1 = value The except

Re: include other xsp

2003-04-02 Thread Christian Haul
On 02.Apr.2003 -- 04:07 PM, Magne Skjeret wrote: > Hi > > I have just started to use cocoon for my web applications, and going from > jsp to xsp, there is one thing I really is missing. > > In jsp it was possible to use include statements to include other jsp into > ea

Re: AW: include other xsp

2003-04-02 Thread Magne Skjeret
. April 2003 16:08 > An: [EMAIL PROTECTED] > Betreff: include other xsp > > > Hi > > I have just started to use cocoon for my web applications, and going from > jsp to xsp, there is one thing I really is missing. > > In jsp it was possible to use include statements to i

AW: include other xsp

2003-04-02 Thread Marco Rolappe
. > -Ursprungliche Nachricht- > Von: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Auftrag von Magne Skjeret > Gesendet: Mittwoch, 2. April 2003 16:08 > An: [EMAIL PROTECTED] > Betreff: include other xsp > > > Hi > > I have just started to use cocoon for

include other xsp

2003-04-02 Thread Magne Skjeret
Hi I have just started to use cocoon for my web applications, and going from jsp to xsp, there is one thing I really is missing. In jsp it was possible to use include statements to include other jsp into each other. Now, I just have a enoumous long xsp page. Is it possible to do a include

[XSP] not for int?

2003-04-02 Thread Stephan Niedermeier
Hello, the following XSP causes an LanguageException: http://apache.org/xsp";> int value = 1; value = value + 1; PageTitle 1 + 1 = value The exception says: org.apache.cocoon.components.language.LanguageException: Error compiling xsptest_xsp: Line 69, c

Re: XSP Problem

2003-04-01 Thread cocoon user
Hi Lionel As of now I have no logic in XSP at all. The content is not very meaningful since I am only trying to learn the concepts. Actually I need to generate a legal document in PDF. The document mainly consists of "numbered" paragraphs that may or may not be displayed depending

Re: XSP Problem

2003-04-01 Thread Lionel Crine
, xercesImpl.jar in my weblogic's classpath the Xalan Extensions work, but the Cocoon's XSP fail with the following error: org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException: Error compiling source_xsp: Line 101, column 25

XSP Problem

2003-03-31 Thread cocoon user
I use Cocoon 2.0.4 for JDK1.3 on Weblogic 7.0 SP1. I need to use Xalan Extensions to write _javascript_ in my XSL. I use Xalan 2.5.D1 and the XercesImpl that comes with it. If I add the xalan.jar, xercesImpl.jar in my weblogic's classpath the Xalan Extensions work, but the Cocoon's XSP

java classes in XSP

2003-03-25 Thread Maxime.Gheysen
Hi, I want to call the funtion "subsitute" from class java.lang.Object -org.apache.oro.text.regex.Util how must I declare the class? I wrote org.apache.oro.text.regex.Util but I get the error Class org.apache.cocoon.www.workflowmanager.documents.Util not found thanks

encoding problem and xsp

2003-03-25 Thread Lionel Crine
Hello, I'm having trouble with my xsp page and ISO-8859-1 encoding. I use cocoon-2.0.4. I have an xsp which get the request object of a form and create again a link for an xsl page which redirect all to frame. All generators, transfomers and serializer have to parameter. the si

RE: transform xsp generated xml to pdf

2003-03-21 Thread Frank Daly
Thanks a million Joerg, That worked. Enjoy your weekend, Frank -Original Message- From: Joerg Heinicke [mailto:[EMAIL PROTECTED] Sent: 21 March 2003 16:40 To: [EMAIL PROTECTED] Subject: Re: transform xsp generated xml to pdf Hello Frank, it's good to hear, that at least the s

Re: transform xsp generated xml to pdf

2003-03-21 Thread Joerg Heinicke
[EMAIL PROTECTED] Sent: 21 March 2003 15:45 To: [EMAIL PROTECTED] Subject: Re: transform xsp generated xml to pdf Hello Frank, Frank Daly wrote: Hi I have worked through Leigh Dodds, IBM Developer Works, excellent tutorial showing how to use cocoon to query databases. I am able to generate t

RE: transform xsp generated xml to pdf

2003-03-21 Thread Frank Daly
Message- From: Joerg Heinicke [mailto:[EMAIL PROTECTED] Sent: 21 March 2003 15:45 To: [EMAIL PROTECTED] Subject: Re: transform xsp generated xml to pdf Hello Frank, Frank Daly wrote: > Hi > > I have worked through Leigh Dodds, IBM Developer Works, excellent > tutorial > sho

Re: transform xsp generated xml to pdf

2003-03-21 Thread Joerg Heinicke
Hello Frank, Frank Daly wrote: Hi I have worked through Leigh Dodds, IBM Developer Works, excellent tutorial showing how to use cocoon to query databases. I am able to generate the xml data and output this in IE6. My problem starts when I try to transform this data to xsl:fo and then pdf. My xm

transform xsp generated xml to pdf

2003-03-21 Thread Frank Daly
Hi I have worked through Leigh Dodds, IBM Developer Works, excellent tutorial showing how to use cocoon to query databases. I am able to generate the xml data and output this in IE6. My problem starts when I try to transform this data to xsl:fo and then pdf. My xml file contains child nodes. T

Re: Using XSP in XSL

2003-03-21 Thread Scherler
First read: http://xml.apache.org/cocoon/userdocs/concepts/index.html then: http://wiki.cocoondev.org/Wiki.jsp shankar wrote: Hello, I am new to cocoon. I need have a xsp file with element say . I like to get the value of the element in my XSL..? How to do ti? I searched the net and I didn't

Using XSP in XSL

2003-03-20 Thread shankar
Hello, I am new to cocoon. I need have a xsp file with element say . I like to get the value of the element in my XSL..? How to do ti? I searched the net and I didn't find proper examples. Thanks in Advance -- With Best Regards / Mit Freundlichen Grüßen Shankar Thulasi

Re: How to include XSP at certain places in XML?

2003-03-20 Thread Yves Vindevogel
You can only use an XSP as a generator, thus you must use that first in the pipeline. Secondly, you could use an XSL file to render that file. In that XSL you can use e.g. the document() function to include the other XML file. If you need to include two XSP in one pipeline, you must call them

Re: How to include XSP at certain places in XML?

2003-03-20 Thread Stavros Kounis
i have the same problem but i put the xml content i recieve from xsp inot a container element with specific ID i use aggregation in sitemap but one of the aggregated files is a layout.xml with placement instructions after the aggregation the first transformation is through a layout.xsl

Re: How to include XSP at certain places in XML?

2003-03-20 Thread Hubert Holtz
and >samples I think. > >Geoff > >At 11:07 AM 3/20/2003, you wrote: >>Hello, >> >>I know I can include static XML content at any place with cinclude, that >>works fine, but how can I include >>the result of an XSP file in a XML file, at a place of my choice

Re: How to include XSP at certain places in XML?

2003-03-20 Thread Scherler
Hello, Hubert Holtz wrote: Hello, I know I can include static XML content at any place with cinclude, that works fine, but how can I include the result of an XSP file in a XML file, at a place of my choice ( i need some database entries to build up the whole site, that's why I nedd XSP insi

Re: How to include XSP at certain places in XML?

2003-03-20 Thread Geoff Howard
olves relative to the root sitemap. This is in the docs and the wiki, and samples I think. Geoff At 11:07 AM 3/20/2003, you wrote: Hello, I know I can include static XML content at any place with cinclude, that works fine, but how can I include the result of an XSP file in a XML file, at a place

How to include XSP at certain places in XML?

2003-03-20 Thread Hubert Holtz
Hello, I know I can include static XML content at any place with cinclude, that works fine, but how can I include the result of an XSP file in a XML file, at a place of my choice ( i need some database entries to build up the whole site, that's why I nedd XSP inside my XML) ? I know tha

Re: Passing parameters from xsp to xsp

2003-03-18 Thread Yves Vindevogel
No, that's the same ... When the .html is called, the XSP can use the However, it calls a new match, where the values of the request are no longer available That's exactly my problem. > I don't know if it's possible but

Re: Passing parameters from xsp to xsp

2003-03-18 Thread Lionel Crine
I don't know if it's possible but why don't you try this : Lionel At 22:44 17/03/2003 +0100, you wrote: Hi, I need to pass request parameters from one XSP to another Thi

Passing parameters from xsp to xsp

2003-03-17 Thread Yves Vindevogel
Hi, I need to pass request parameters from one XSP to another This is my sitemap http

Re: XSP generated, problem with cocoon:/ prefix

2003-03-17 Thread Yves Vindevogel
tions http://www.w3.org/1999/XSL/Transform"=20 xmlns:fo=3D"http://www.w3.org/1999/XSL/Format"; xmlns:xsp-session=3D"http://apache.org/xsp/session/2.0"; xmlns:xsp-request=3D"http://apache.org/xsp/request/2.0"=20 xmlns:esq

Re: XSP generated, problem with cocoon:/ prefix

2003-03-17 Thread Joerg Heinicke
Hello Yves, that's more than strange and definitively a bug. It's a parsing exception as you can read. It's very clear and means, that a namespace declaration is missing. ou can check, whether your xsp has a namespace declaration for "xsp-request". But independent

XSP generated, problem with cocoon:/ prefix

2003-03-17 Thread Yves Vindevogel
Sorry everybody, This is not a repost, but might be a bug in cocoon. I found a solution to my other problem, but I wanted to inform this group. Consider this line in the sitemap http://web/implements/db/{1}/{2}.xsp"; type="xsp"/> This works, whereas the line gives this e

Generated XSP page cannot be used as input in generator

2003-03-17 Thread Yves Vindevogel
Repost Hi, I try to generate an XSP page by using an XSL file. I get an error when I try to use the generated page. The error is: message The namespace prefix "xsp-request" was not declared. description org.apache.cocoon.ProcessingException: Failed to execut

Re: sitemap parameter for esq connection-pool in xsp

2003-03-17 Thread Stefan Klein
Is there a xsp-tag / logicsheet to do this, as well? Just as you can do: ? Thanks in advance Stefan - Original Message - From: "Andres, Judith" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, March 14, 2003 2:59 PM Subject: AW: sitemap parameter for esq

Generating XSP from XSL fails with namespace error

2003-03-17 Thread Yves Vindevogel
Hi, I try to generate an XSP page by using an XSL file. I get an error when I try to use the generated page. The error is: message The namespace prefix "xsp-request" was not declared. description org.apache.cocoon.ProcessingException: Failed to execute

Re: xsp resulting in empty xml doc and the error ComponentSelector could not find the component for hint [serverpages] in core.log

2003-03-17 Thread Stephan Kassanke
Delis, Christopher E. wrote: > why don't you logically split up the queries? you can always > aggregate the results of many into one resulting xml file... > Dear Christopher, may be that is the soltuion, the problem is that I am not very familiar at this level of modeling with

RE: xsp resulting in empty xml doc and the error ComponentSelector could not find the component for hint [serverpages] in core.log

2003-03-15 Thread Delis, Christopher E.
why don't you logically split up the queries? you can always aggregate the results of many into one resulting xml file... -Original Message- From: Stephan Kassanke To: [EMAIL PROTECTED] Sent: 3/15/03 11:08 AM Subject: Re: xsp resulting in empty xml doc and the error ComponentSel

Re: xsp resulting in empty xml doc and the error ComponentSelector could not find the component for hint [serverpages] in core.log

2003-03-15 Thread Stephan Kassanke
Marco Rolappe wrote: > hi stephan, > > you might also want to take a look at tomcat's logs, if nothing > appears in cocoon's logs. the 'empty' page is most probably because > of 'buggy' error-handling (which I think is fixed by now). > Dear Marco,

AW: xsp resulting in empty xml doc and the error ComponentSelector could not find the component for hint [serverpages] in core.log

2003-03-15 Thread Marco Rolappe
ROTECTED] > [mailto:[EMAIL PROTECTED] > Auftrag von Stephan Kassanke > Gesendet: Freitag, 14. März 2003 09:59 > An: [EMAIL PROTECTED] > Betreff: Re: xsp resulting in empty xml doc and the error > ComponentSelector could not find the component for hint [serverpages] in > core.log >

[Summary] AW: sitemap parameter for esq connection-pool in xsp

2003-03-14 Thread Scherler, Thorsten
Hello group, hello Judith, thank you Judith for your quick reply! I had to change the old my.xsp: String pool =""; try { pool=request.getParameter("pool"); } catch( ParseException e ) { getLogger().error("XSP param POOL error: ", e); } into th

AW: sitemap parameter for esq connection-pool in xsp

2003-03-14 Thread Andres, Judith
Try: String pool = parameters.getParameter("pool", ""); -Ursprüngliche Nachricht- Von: Scherler, Thorsten [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 14. März 2003 14:55 An: Cocoon-Users (E-Mail) Betreff: sitemap parameter for esq connection-pool in xsp He

sitemap parameter for esq connection-pool in xsp

2003-03-14 Thread Scherler, Thorsten
Hello group, I try to establish a template structure for my reports. The all the same besides the pool-connection. If I use the following pipeline: How can I call the value of within my xsp? I tried it the following way (snippet from my.xsp) ... String pool ="&q

Re: xsp resulting in empty xml doc and the error ComponentSelector could not find the component for hint [serverpages] in core.log

2003-03-14 Thread Stephan Kassanke
unning here for publishing so >> called learning >> objects. these are described by metadata which is stored in a >> relational >> database (mySQL). For viewing the metadata we use the >> following approach: >> >> In an xsp I generate a temporary xml

Re: xsp resulting in empty xml doc and the error ComponentSelector could not find the component for hint [serverpages] in core.log

2003-03-13 Thread e nio
ional > database (mySQL). For viewing the metadata we use the > following approach: > > In an xsp I generate a temporary xml document with the > structure > > > > REQUEST: > /cocoon/orw/menu/studyprogram/metadata/metadata_overview.html > > CONTEX

xsp resulting in empty xml doc and the error ComponentSelector could not find the component for hint [serverpages] in core.log

2003-03-13 Thread Stephan Kassanke
Dear all, we have a coocoon application running here for publishing so called learning objects. these are described by metadata which is stored in a relational database (mySQL). For viewing the metadata we use the following approach: In an xsp I generate a temporary xml document with the

Exception when accessing RMI methods from XSP

2003-03-13 Thread Idhaya Chandran
Hi,   I am trying to access a RMI Server from an XSP page. I am looking up the remote object and invoke the method on that. When I invoke the remote method, I am getting the following exception.   "java.net.MalformedURLException: unknown protocol: jndi"   Please help me to fix th

Re: Integrate javascript into xsp

2003-03-13 Thread Yves Vindevogel
BTW, If you need to execute an SQL query, you need to go back to your server. Use a window.location for that, or a submit. Then generate the page on the server and send it back. If you need to modify only a part of your screen (like you want to show the search results under your search paramete

Re: Integrate javascript into xsp

2003-03-13 Thread Yves Vindevogel
Something like this ?? (I use it on body.onload, but it's the same for you) http://apache.org/xsp"; xmlns:esql="http://apache.org/cocoon/SQL/v2"; xmlns:xsp-request="http://apache.org/xsp/request/2.0";

Integrate javascript into xsp

2003-03-12 Thread Maxime.Gheysen
Hi, I want to create a function on a button ("OnClick" action) that executes an SQL query. Is it possible to create a function (with xsp:logic) or something like that? Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

Re: loop "for" into xsp

2003-03-12 Thread Lionel Crine
Found an answer : i use < instead of <. At 17:19 12/03/2003 +0100, you wrote: I'm trying to use a "for" loop into my xsp page but the "<" character is interpreted by the sax parser. ... for (int i = 0; i

Re: loop "for" into xsp

2003-03-12 Thread leo leonid
simply use < (> respectivly) /Leo On Mittwoch, März 12, 2003, at 05:19 Uhr, Lionel Crine wrote: I'm trying to use a "for" loop into my xsp page but the "<" character is interpreted by the sax parser. ... for (int i = 0; i

Re: loop "for" into xsp

2003-03-12 Thread Christian Haul
On 12.Mar.2003 -- 05:19 PM, Lionel Crine wrote: > I'm trying to use a "for" loop into my xsp page but the "<" character is > interpreted by the sax parser. > > > ... > for (int i = 0; i < array.length(); i++) { > ... > > > Why ? X

<    1   2   3   4   5   6   7   8   9   10   >