Re: XSP Logicsheet Questions...

2002-11-22 Thread jakob . dalsgaard
Not that I have that much experience on this issue, but there is a nice example of various ways to get in contact with a logicsheet in the file: src/webapp/docs/samples/xsp/logicsheet.xsp at least in my Cocoon 2.0.3 ... Jakob Dalsgaard Udvikler e-mail: [EMAIL PROTECTED] Vesterbrogade 149

Re: XSP Logicsheet Questions...

2002-11-11 Thread Geoff Howard
I've been hoping someone would answer your questions with authority - I've just started using logicsheets as well. My best answers follow: --- Andy Lewis [EMAIL PROTECTED] wrote: First, it appears that a logicsheet must declared to be used and that the only place to declare a logic sheet is

Re: XSP Logicsheet Questions...

2002-11-11 Thread Geoff Howard
An update - In looking into the issue regarding changes to logicsheets, I found the following reference: http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=102374809216737w=2 So, logicsheets declared with resource: in cocoon.xconf are not checked for updates, but other protocols are (including

Re: XSP Logicsheet Questions...

2002-11-11 Thread Christopher Painter-Wakefield
FWIW, we are using relative file paths for our logicsheets, and this is supposed to cause pages to be recompiled if we modify the logicsheet. Be warned, though, that it seems to be somewhat flaky; it often works as expected, but sometimes not. In those cases, you have to touch the main XSP

XSP Logicsheet Questions...

2002-11-08 Thread Andy Lewis
I am just starting to really get into XSP, having worked with various other parts of Cocoon since 1.3 and I have three questions regarding XPS Logicsheets: First, it appears that a logicsheet must declared to be used and that the only place to declare a logic sheet is in the xconf file. Is

XSP logicsheet for the ServletContext object

2002-08-16 Thread Werner Guttmann
Hi, just looking at the available XSP logicsheets, it seems that there is not a logicsheet for the ServletContext that would offer the kind of functionality the request logicsheet offers for interacting with the HttpServletRequest. If that's true, how does one access e.g. context parameters of

Re: XSP logicsheet for the ServletContext object

2002-08-16 Thread Vadim Gritsenko
Werner Guttmann wrote: Hi, just looking at the available XSP logicsheets, it seems that there is not a logicsheet for the ServletContext that would offer the kind of functionality the request logicsheet offers for interacting with the HttpServletRequest. They (context parameters) are not

RE: XSP logicsheet for the ServletContext object

2002-08-16 Thread Per Kreipke
I just noticed that class XSPUtil (the implementing class for util taglib) has the following function, which also shows how to get context info in Java: public static Object getContextAttribute(Map objectModel, String name) { Context context = ObjectModelHelper.getContext(objectModel);

Re: xsp logicsheet

2002-05-06 Thread KOZLOV Roman
Hi, Did you try to use apostrophs inside quotes? Something like this: String temp = xsl:value-of select='name'/; Best regards. Roman Bert Van Kets wrote: At 10:38 30/04/2002 -0300, you wrote: I guess it's String temp = xsl:value-of select=name/; or String temp

xsp logicsheet

2002-04-30 Thread Bert Van Kets
I want to use an XSP logicsheet to process the values submitted by a form. In this page I have the following code (simplified): xsl:template match=list xsl:for-each select=element xsl:sort select=name/ xsp:logic String temp = xsl:value-of select=name

Re: xsp logicsheet

2002-04-30 Thread Konstantin Piroumian
From: Bert Van Kets [EMAIL PROTECTED] I want to use an XSP logicsheet to process the values submitted by a form. In this page I have the following code (simplified): xsl:template match=list xsl:for-each select=element xsl:sort select=name/ xsp:logic String

RE: xsp logicsheet

2002-04-30 Thread Alejandro Raiczyk
Title: RE: xsp logicsheet I guess it's String temp = xsl:value-of select=name/; or String temp = new String(xsl:value-of select=name/); Alejandro -Mensaje original- De: Bert Van Kets [mailto:[EMAIL PROTECTED]] Enviado el: Martes 30 de Abril de 2002 10:37 AM Para: [EMAIL

RE: xsp logicsheet

2002-04-30 Thread Bert Van Kets
Abril de 2002 10:37 AM Para: [EMAIL PROTECTED] Asunto: xsp logicsheet I want to use an XSP logicsheet to process the values submitted by a form. In this page I have the following code (simplified): xsl:template match=list xsl:for-each select=element xsl:sort select=name

RE: xsp logicsheet

2002-04-30 Thread Bert Van Kets
At 10:38 30/04/2002 -0300, you wrote: I guess it's String temp = xsl:value-of select=name/; or String temp = new String(xsl:value-of select=name/); Alejandro Tried it, doesn't work. I guess it must be a bug. If I use String temp = xsl:value-of select=name/ I get

Re: xsp logicsheet

2002-04-30 Thread Christian Haul
On 30.Apr.2002 -- 09:50 PM, Bert Van Kets wrote: At 10:38 30/04/2002 -0300, you wrote: I guess it's String temp = xsl:value-of select=name/; or String temp = new String(xsl:value-of select=name/); Alejandro Tried it, doesn't work. I guess it must be a bug. If

RE: C2 Newbie: XSP Logicsheet in sitemap ?

2002-02-05 Thread Vadim Gritsenko
From: Derek Hohls [mailto:[EMAIL PROTECTED]] Vadim Unfortunately I only have the built version... Still no success - as I said before, I have removed the xsp:logicsheet location=derek1/logic/logicsheet.greeting.xsl/ This is right, you should use *either* xsp:logicsheet/, or register

RE: C2 Newbie: XSP Logicsheet in sitemap ?

2002-02-04 Thread Derek Hohls
Vadim Still no luck with your samples First: which URL to use to call the XSP page? When I try http://localhost:8080/cocoon/xsp/logicsheet-test it simply gives me an error, with root cause: java.lang.IllegalAccessError: try to access method

RE: C2 Newbie: XSP Logicsheet in sitemap ?

2002-02-04 Thread Derek Hohls
$XSPTransformerChainBuilderFilter Could you please try your side? Thanks! Derek [EMAIL PROTECTED] 03/02/2002 11:53:16 From: Derek Hohls [mailto:[EMAIL PROTECTED]] Vadim Thanks for clarifications. Welcome! Sample code I was referring to is in the XSP Logicsheet section of the online manual

RE: C2 Newbie: XSP Logicsheet in sitemap ?

2002-02-04 Thread Vadim Gritsenko
: which URL to use to call the XSP page? When I try http://localhost:8080/cocoon/xsp/logicsheet-test it simply gives me an error, with root cause: java.lang.IllegalAccessError: try to access method org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.addL ogicsh eetToList

RE: C2 Newbie: XSP Logicsheet in sitemap ?

2002-02-04 Thread Derek Hohls
Still no luck with your samples First: which URL to use to call the XSP page? When I try http://localhost:8080/cocoon/xsp/logicsheet-test it simply gives me an error, with root cause: java.lang.IllegalAccessError: try to access method

RE: C2 Newbie: XSP Logicsheet in sitemap ?

2002-02-04 Thread Vadim Gritsenko
You need to remove references to the logicsheet file from the XSP, and leave only namespace declaration. Also, you can delete any generated files from previous run and restart engine. PS: CVS contains this sample and runs it out-of-the-box. Vadim From: Derek Hohls [mailto:[EMAIL PROTECTED]]

RE: C2 Newbie: XSP Logicsheet in sitemap ?

2002-02-04 Thread Valentin . Chartier
: Subject: RE: C2 Newbie: XSP Logicsheet in sitemap ? 02/04/2002 04:30

RE: C2 Newbie: XSP Logicsheet in sitemap ?

2002-02-04 Thread Vadim Gritsenko
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Derek, As in map:generate type=serverpages src=docs/samples/xsp/{1}.xsp/ The source must be a xsp file. Valentin, xsp file != .xsp extension. It is not a Windows, you can use whatever extension you like. Vadim From the extension

RE: C2 Newbie: XSP Logicsheet in sitemap ?

2002-02-04 Thread Derek Hohls
Vadim Unfortunately I only have the built version... Still no success - as I said before, I have removed the xsp:logicsheet location=derek1/logic/logicsheet.greeting.xsl/ from the XSP and also cleared the cache (not that I could find any references to the file). Also did restart. Still

RE: C2 Newbie: XSP Logicsheet in sitemap ?

2002-02-03 Thread Vadim Gritsenko
Derek, From: Derek Hohls [mailto:[EMAIL PROTECTED]] Vadim Thanks for the sample code - both of these look quite a bit more complicated than the samples in the XSP Logicsheet, but I will work through them to try and understand both the grammar and logic. Ahem... I have not seen

RE: C2 Newbie: XSP Logicsheet in sitemap ?

2002-02-03 Thread Derek Hohls
Vadim Thanks for clarifications. Sample code I was referring to is in the XSP Logicsheet section of the online manual: http://xml.apache.org/cocoon/userdocs/xsp/logicsheet.html and especially the section Using Logicsheets (Taglibs) (as in the various 'greeting' samples that, as I said, do

RE: C2 Newbie: XSP Logicsheet in sitemap ?

2002-02-03 Thread Derek Hohls
Vadim Thanks for clarifications. Sample code I was referring to is in the XSP Logicsheet section of the online manual: http://xml.apache.org/cocoon/userdocs/xsp/logicsheet.html and especially the section Using Logicsheets (Taglibs) (as in the various 'greeting' samples that, as I said, do

RE: C2 Newbie: XSP Logicsheet in sitemap ?

2002-02-03 Thread Vadim Gritsenko
From: Derek Hohls [mailto:[EMAIL PROTECTED]] Vadim Thanks for clarifications. Welcome! Sample code I was referring to is in the XSP Logicsheet section of the online manual: http://xml.apache.org/cocoon/userdocs/xsp/logicsheet.html and especially the section Using Logicsheets (Taglibs

C2 Newbie: XSP Logicsheet in sitemap ?

2002-02-02 Thread Derek Hohls
shown in the XSP Logicsheet Guide, in the C2 documentation, but have got stuck. The first point I noticed was that the namespace for XSP was incorrect; its shown as http://www.apache.org/199/XSP/Core and should actually be http://apache.org/xsp (maybe someone can update this?) The second point

RE: C2 Newbie: XSP Logicsheet in sitemap ?

2002-02-02 Thread Vadim Gritsenko
PROTECTED] Cc: Derek Hohls Subject: C2 Newbie: XSP Logicsheet in sitemap ? As an ex-Cocoon1 user, I am trying to move all my applications across to C2. I can see that there are a lot of conceptual chnages that I need to understand to make full use of C2's functionality. Right now I am

RE: C2 Newbie: XSP Logicsheet in sitemap ?

2002-02-02 Thread Derek Hohls
Vadim Thanks for the sample code - both of these look quite a bit more complicated than the samples in the XSP Logicsheet, but I will work through them to try and understand both the grammar and logic. Please excuse my ignorance, but I am still unclear as to how these are actually *used

[C2] Help: Unexpected bad XSP/Logicsheet behavior

2001-10-19 Thread Adrian Geissel
Hi, My logicsheetprovides XSP support templates, for controllingthe structure of the generated XML. A typical template generates an XML fragment, including the local 'root' (top-level) element, attributes, content and child elements. The strange behavior is that my 'root' element is not