RE: Pls help! not working response.encodeURL(String.valueOf(xsl:copy-of select=$href/))

2003-06-25 Thread a000
Does anybody think wrapping some other tags around xsl:copy-of select=$curSel/ could solve the problem? I was experimenting with util:include-expr, util:expr and xsp:expr but no success. Are there similar ones which I don't know yet? I'd really appreciate some help. Regards, Harry I have

RE: Pls help! not working response.encodeURL(String.valueOf(xsl:copy-of select=$href/))

2003-06-23 Thread a000
I've chosen copy-of in analogy to the example. But I assume that's not the matter. Actually mixing any tag with java code causes error. Harald do you really want copy-of for $href, or value-of? Geoff -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent:

RE: Pls help! not working response.encodeURL(String.valueOf(xsl:copy-of select=$href/))

2003-06-23 Thread a000
I have extracted the relevant information into a small-scale example. As follows I include the logicsheet, the stacktrace and the generated Java file. I'd hope that somebody can give me a hint. Regards, Harry Logicsheet: Test.htm.xsp.xsl ?xml version=1.0 encoding=ISO-8859-1? xsp:page

Re: Pls help! not working response.encodeURL(String.valueOf(xsl:copy-of select=$href/))

2003-06-22 Thread a000
Hello! Does anybody have an idea to solve this problem? I'd really appreciate your help! Harry I'm a novice cocoon user and currently changing an existing site running on cocoon 2.01 from cookie-based session management to manual URL encoding. This cocoon version doesn't yet support

Pls help! not working response.encodeURL(String.valueOf(xsl:copy-of select=$href/))

2003-06-18 Thread a000
I'm a novice cocoon user and currently changing an existing site running on cocoon 2.01 from cookie-based session management to manual URL encoding. This cocoon version doesn't yet support encodeURLTransformer and I can't upgrade to a newer version. The example found at

RE: problems with encodeURL transformer

2002-06-03 Thread a000
Hello! Are there any (working) examples available how to use encodeURL transformer? Unfortunately I my system behaves similar like described in a previous posting. Any comments are welcome! Best regards, Harald

New session is created at each response

2002-05-22 Thread a000
Hello! Is ther a different behavior regarding session management when I use Klondike WAP Browser or Nokia Mobile Internet Toolkit V 3.0? My application works normal using Klondike. However if I switch to Nokia's Toolkit on each request a new session is created. I'm redirecting to the pages in

Re: dispatch to new window in web browser possible?

2002-05-04 Thread a000
Thanks for your reply. I considered form ... target=blank as well before I posted this question. However you should know that currently my architecture utilizes only one form trag to which various user inputs (e. g. buttons) submit. On serverside I gather the information which action was

dispatch to new window in web browser possible?

2002-05-03 Thread a000
Currently my application consists of cocoon-actions that invoke xsp/xsl files upon requests. As normal the new output always refreshes the client's browser view. Based on some calculations at the actions I'm required to delegate the response not to the current browser window but to a newly

composing XML tags using contentHandler.startElement,.characters and .endElement

2002-04-19 Thread a000
Hello, A java library, I call it itemAcc produces the text of the XML-Tags I'd like to include in my XSP file for stylesheet transformation. In my XSP-File there is the following call: toXml.marshal(itemAcc, new IncludeXMLConsumer(this.contentHandler)); ToXml.java method marshal contains

dynamically composing cinclude tag

2002-04-15 Thread a000
Hello! In my xsp-page the following statemet works correctly: cinclude:include src=cocoon:/SimpleTable.htm element=xxx/ However I'm required to assign the value of src dynamically. Initially I tried this statement which did not work: cinclude:include

Re: dynamically composing cinclude tag

2002-04-15 Thread a000
Worked - Thanks a lot! Regards, Harald [EMAIL PROTECTED] wrote: Hello! In my xsp-page the following statemet works correctly: cinclude:include src=cocoon:/SimpleTable.htm element=xxx/ However I'm required to assign the value of src dynamically. Initially I tried this

RE: RE: how to marshal objects within xsp

2002-04-11 Thread a000
Hello, ad 1: Vadim, as you suggested it finally works with this expression - thanks!: util:include-exprutil:exprxsp:exprmm.marshal(mm.getSimpleItems())/xsp:expr/util:expr/util:include-expr ad 2: The contentHandler used in 2 b) is a TraxTransformer instance. Is it possible that in this case

how to marshal objects within xsp

2002-04-10 Thread a000
Whats the best way to perform marshalling from Objects to XML within XSP's? The Object is a result from a Castor OQL-Query. Here's an example what I'd like to intend: some-items anAttr=aVal xsp:logic marshalObjToXml(model.getAnItem()); /xsp:logic /some-items

RE:RE: how to marshal objects within xsp

2002-04-10 Thread a000
1. Include Object as String: xsp:page language=java xmlns:xsp=http://apache.org/xsp; xmlns:cinclude=http://apache.org/cocoon/include/1.0; xmlns:util=http://apache.org/xsp/util/2.0; some-items anAttr=aVal

RE: how to marshal objects within xsp

2002-04-10 Thread a000
2. Use Castor's marshalling capabilities: some-items anAttr=aVal xsp:logic model.marshal(this.contentHandler); /xsp:logic /some-items This sounds perfect. You can use CastorTransformer from Cocoon scratchpad instead. It looks something like this:

Re: PDF from JFC-Applications using COCOON

2002-04-09 Thread a000
Nicola, what I'd intend is to invoke pdf-creation via xsp/xsl that exist in my cocoon2 environment from JFC-Application. Once I have the generated pdf I could use the OS-specific installed pdf-viewer. I read about cocoon's command line interface but unfortunately I didn't find any examples. How

PDF from JFC-Applications using COCOON

2002-04-08 Thread a000
Hello! Is it possible to integrate pdf's that cocoon2 produced with Standard Java Applications i.e. using JFC? Currently I have a tiny web application serving HTML and WAP clients and that procuces PDF. I'd like to access the created PDF via an external JFC Application. Thanks for your

Is it possible to use the logicsheet as well within stylesheets?

2002-04-02 Thread a000
Hello! I'm new using cocoon and I just got running the example 'greeting3.xml' using 'logicsheet.greeting.xsl' as taglib transformed with the stylesheet 'greeting.xsl'. I was using cocoon 2. (http://xml.apache.org/cocoon/userdocs/xsp/logicsheet.html) This example uses the logicsheet within the