Re: Cocoon in Tomcat5

2005-04-20 Thread Adam Ratcliffe
Hi Tibor I've successfully run Cocoon in these configurations: - Tomcat 5.5.4 with JDK 1.5 on Windows XP (Cocoon 2.1.6) - Tomcat 5.0.28 with JDK 1.4.2_03 on Windows Server 2003 (Cocoon 2.1.6) - Tomcat 5.5.9 with JDK 1.4.2_05 on Mac OSX (Cocoon 2.1.7) HTH Adam On 20 Apr, 2005, at 9:47 AM, oceatoon w

RE: Using Hibernate via Java, not Flow

2005-04-18 Thread Adam Ratcliffe
Hi Brent Yes this is possible, I'm doing it this way with an existing project, for similar reasons to yours. Longer term you should probably look at moving to Spring however for your hibernate support. I'm using the Avalon Hibernate library (which I believe is now deprecated) to do the work that'

RE: Redirect within block

2005-04-14 Thread Adam Ratcliffe
Goers [mailto:[EMAIL PROTECTED] > Sent: Friday, 15 April 2005 10:49 a.m. > To: users@cocoon.apache.org > Subject: Re: Redirect within block > > > FWIW > > http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=105231353428562&w=2 > > Ralph > > Adam Ratclif

Redirect within block

2005-04-14 Thread Adam Ratcliffe
Hi I'd like to redirect from within an error handler for certain types of exception. The cocoon user docs illustrate this example using a redirect action: >From what I can see this action isn't included with recent cocoon releases and the site

RE: Email Capability

2005-04-11 Thread Adam Ratcliffe
he 10th of February. Have a look. regards, Tony Adam Ratcliffe wrote: > Hi Phillippe > > Like you I'm working with flow so neither the sendmail logicsheet or > action seemed a natural fit.  Most of the messages I'll be generating > will be in HTML forma

RE: Opening html in a different web browser

2005-04-07 Thread Adam Ratcliffe
Hi Anna By different web browser do you mean a new web browser window? You would need to do that on the client using some javascript: window.open("myCocoonURL", "windowTitle", "width=400, height=300, resizable=yes"); Cheers Adam > -Original Message- > From: Anna Bikkina [mailto:[EMAIL P

Re: Authorization (not Authentication) in Cocoon Auth. framework

2005-04-06 Thread Adam Ratcliffe
Hi Elad I've integrated the Sun XACML library into a cocoon project recently for handling authorization. It provides policy-based access for resources, where policy rules are evaluated using subject, resource, and environment attributes. Let me know if you'd like further information. Cheers Ada

Re: "redirect-to" result of a transformation

2005-04-06 Thread Adam Ratcliffe
ow of any other approaches to achieve what you're trying to do other than what we've talked about already. Cheers Adam On 6 Apr, 2005, at 8:47 PM, [EMAIL PROTECTED] wrote: Adam Ratcliffe wrote: Yes the uri that gets passed to processPipelineTo() does need to reference a pipeline that w

Re: Email Capability

2005-04-06 Thread Adam Ratcliffe
to be able to pass i18n transformation before in the pipeline. Cheers, Phil Adam Ratcliffe wrote: Hi, I need to add email support to a cocoon application and am wondering what the preferred way of doing this is these days. The sendmail action seems to support all of the features of the Java Ma

Email Capability

2005-04-05 Thread Adam Ratcliffe
Hi, I need to add email support to a cocoon application and am wondering what the preferred way of doing this is these days. The sendmail action seems to support all of the features of the Java Mail API that I need to use, would this be my best option? Cheers Adam -

RE: "redirect-to" result of a transformation

2005-04-05 Thread Adam Ratcliffe
Original Message- > From: news [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED] > Sent: Wednesday, 6 April 2005 3:16 a.m. > To: users@cocoon.apache.org > Subject: Re: "redirect-to" result of a transformation > > > Adam Ratcliffe wrote: > > Try coc

RE: "redirect-to" result of a transformation

2005-04-04 Thread Adam Ratcliffe
TECTED] Behalf Of [EMAIL PROTECTED] > Sent: Tuesday, 5 April 2005 4:52 a.m. > To: users@cocoon.apache.org > Subject: Re: "redirect-to" result of a transformation > > > Adam Ratcliffe wrote: > > You could do this from flowscript. Basically what you'd need to do &

RE: "redirect-to" result of a transformation

2005-04-03 Thread Adam Ratcliffe
You could do this from flowscript. Basically what you'd need to do is process the request in the flow layer and use the cocoon object's processPipelineTo() method to retrieve the output of the pipeline and redirect from there. function processLinks() { var uri = cocoon.request.

RE: [FINS] is this still alive? JFreeChart option?

2005-04-03 Thread Adam Ratcliffe
Hi Antonio Are you aware of xReporter http://cocoondev.org/xreporter/index.html? Out of the box this is likely to handle your report linking requirements and will output reports in HTML, PDF, Excel, or CSV formats. >From memory there has been some discussion of FINS integration on the xReporter

Re: mysql error

2005-04-01 Thread Adam Ratcliffe
I wasn't aware that the mysql driver was included with the Cocoon distro. To add a new driver put the driver JAR file in your /WEB-INF/lib directory, declare the driver in web.xml and define the datasource in cocoon.xconf if you haven't done so already. HTH Adam On 1 Apr, 2005, at 11:19 PM,

RE: "Can this be done with Cocoon" question / database related

2005-03-29 Thread Adam Ratcliffe
Hi Stefan Yes Cocoon can do these things, it's both flexible and extensible. > What little I understand so far, high, high-level: > - Input > 1) I create XML/XSLT files that define the input pages > for the user (web-based for now only), e.g. for a > summary input page and a detail input page Ta

RE: Using database pool from java object for flow

2005-03-29 Thread Adam Ratcliffe
er; import org.apache.avalon.framework.service.ServiceException; import org.apache.avalon.framework.service.ServiceManager; import org.apache.avalon.framework.service.ServiceSelector; import org.apache.avalon.framework.service.Serviceable; /** * @author Adam Ratcliffe */ public class AbstractDB implements Initializable, Disposable,

RE: Replacing HTTP-header value

2005-03-23 Thread Adam Ratcliffe
Hi Jorg Setting the 'Vary' response header implicitly when the 'expires' parameter is not provided is not IMO correct behaviour. I submitted a patch for this: http://issues.apache.org/bugzilla/show_bug.cgi?id=33319 which was applied in February. HTH Adam > -Original Message- > From: new

RE: Schemes supported by SourceResolver

2005-03-21 Thread Adam Ratcliffe
ction defining which Java classes are used to resolve which URI > schemes, as specified by the "name" attribute. > > Hope that helps! > > Brian > > Adam Ratcliffe wrote: > > I've been looking for some documentation describing the schemes > &

Schemes supported by SourceResolver

2005-03-21 Thread Adam Ratcliffe
I've been looking for some documentation describing the schemes supported by Cocoon's SourceResolver, can someone point me in the right direction? Cheers Adam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

RE: browser's back button and authentication framework

2005-03-17 Thread Adam Ratcliffe
n't send the right answer... at least i think so :-) > > do you have any specific browser cache configuration on the login page ? > > Marc > > Adam Ratcliffe a écrit : > > >Hi Marc > > > >Are you using flowscript based authentication or actions? > > &

RE: browser's back button and authentication framework

2005-03-16 Thread Adam Ratcliffe
Hi Marc Are you using flowscript based authentication or actions? In my application I use the flowscript authentication functions, see the flow samples in the authentication-fw block. My login function, called when the login form is submitted, looks like this: function login() { var handler =

RE: Resources

2005-03-13 Thread Adam Ratcliffe
Hi Petko Although resources are not inherited you can still reuse resource declarations by declaring them in a separate file and including that in each sitemap as an XML entity: ]> http://apache.org/cocoon/sitemap/1.0";> ... &resources; ... Cheers Adam > -Original Message- > From: Pe

RE: external-graphics tag problem in Cocoon

2005-03-12 Thread Adam Ratcliffe
Hi Omer   Do you see the images in the documents created in the fop samples block?   Cheers Adam -Original Message-From: Omer Kamal [mailto:[EMAIL PROTECTED]Sent: Sunday, 13 March 2005 10:09 a.m.To: users@cocoon.apache.orgSubject: fo:external-graphics tag problem in Cocoon

RE: TextSerializer and UTF-8

2005-03-10 Thread Adam Ratcliffe
Hi Andreas Have you tried setting the encoding configuration parameter for the serializer in your sitemap configuration? For example: UTF-8 Cheers Adam > -Original Message- > From: news [mailto:[EMAIL PROTECTED] Behalf Of Andreas Hartmann > Sent: Friday, 11 March 2005 3:02

RE: [FLOWSCRIT] Equivalent Action to processPipeline

2005-03-10 Thread Adam Ratcliffe
lowscript but I don't want to complicate things > because I won't develop. > So I was wondering if the same things exist with action . > Moreover, I can't use a because I put > something else in the flow. > > If there is another way, let me know. > > > Lionel >

RE: [FLOWSCRIT] Equivalent Action to processPipeline

2005-03-09 Thread Adam Ratcliffe
Hi Lionel I don't know of such an action, what are you trying to do with the output of the pipeline? Maybe there's another way of doing this that will meet your needs. Cheers Adam > -Original Message- > From: Lionel Crine [mailto:[EMAIL PROTECTED] > Sent: Thursday, 10 March 2005 5:00 a.m

[repost] Problem with flow-based authentication

2005-03-02 Thread Adam Ratcliffe
I've been re-implementing some code to use the flow functions in place of actions for authentication and have run into a problem with redirecting vs invoking an internal pipeline once the user has successfully logged in. I have a protected pipeline declared in my sitemap:

RE: WebService Proxy

2005-03-01 Thread Adam Ratcliffe
You might also want to take a look at the work that I did on calling SOAP services from flowscript, http://wiki.apache.org/cocoon/FlowAndWebServices. By interacting with services in the flow layer you have more choices in how the response from the remote server is handled. Cheers Adam > -Ori

RE: Building cocoon

2005-02-28 Thread Adam Ratcliffe
Hi Sharon   Are you still having problems with this?   I'm not intimately familiar with the build process, however you could try removing the STX block from the build if you don't intend upon using it.   Uncomment the line: #include.block.stx=false from /blocks.properties, type 'build clea

[auth-fw] Problem with flow-based authentication

2005-02-28 Thread Adam Ratcliffe
I've been re-implementing some code to use the flow functions in place of actions for authentication and have run into a problem with redirecting vs invoking an internal pipeline once the user has successfully logged in. I have a protected pipeline declared in my sitemap:

RE: No pipeline matched request - but it's there?

2005-02-27 Thread Adam Ratcliffe
p://apache.org/cocoon/include/1.0"/>The whole point is to return the src-attribute to the sitemap and break it up into parameters inside the templateBuilder match.Kjell ArneOn Mon, 2005-02-28 at 10:58 +1300, Adam Ratcliffe wrote: ï Hi Kjell How are you requesting the

RE: No pipeline matched request - but it's there?

2005-02-27 Thread Adam Ratcliffe
ï Hi Kjell   How are you requesting the 'templateBuilder' resource, from the browser, a sitemap redirect, or flowscript?   Cheers Adam -Original Message-From: Kjell Arne BrÃdreskift [mailto:[EMAIL PROTECTED]Sent: Monday, 28 February 2005 6:48 a.m.To: users@cocoon.apache.orgSub

RE: Source Resolving Problem

2005-02-27 Thread Adam Ratcliffe
Hi Claus   Here's an example of what you would like to do in flowscript:   /** * Returns a file representation of the resource identified by the uri * parameter, or null if uri can not be resolved to a * file resource. * * @param uri the uri of the resource to be returned as a file */func

RE: Cocoon 2.1.6 on Tomcat 4.1.31

2005-02-27 Thread Adam Ratcliffe
Hi Arsen It's very straight-forward. If you simply wish to deploy the standard Cocoon distribution with sample apps build the Cocoon WAR file by invoking cocoon.bat or cocoon.sh with the 'war' target, for example: ./cocoon.sh war Deploy the WAR file as you would any other webapp, Cocoon will be

[job] Cocoon Developer Position in New Zealand

2005-02-23 Thread Adam Ratcliffe
My company GeoSmart, www.geosmart.co.nz, is looking to hire another developer to work on the development of our Location Based Services platform. Our software provides intelligent mapping and routing services through multiple channels and to multiple devices. The system is, of course, implemented u

RE: Creating a global object for my application ?

2005-02-11 Thread Adam Ratcliffe
Hi Lionel I have a class AbstractDB, an Avalon component, that manages the lifecycle of a connection. It implements these Avalon interfaces: Initializable, Disposable, Recyclable, Serviceable. In initialize() I look up the datasource: ServiceSelector selector = (ServiceSelector) this

RE: Cookie in flowscript: changing cookie attributes.

2005-02-11 Thread Adam Ratcliffe
Hi Aurelien Try machin.maxAge = maxAgeInSeconds; maxAge is a property of the cookie object, not a function. Cheers, Adam > -Original Message- > From: Aurélien DEHAY [mailto:[EMAIL PROTECTED] > Sent: Saturday, 12 February 2005 9:38 a.m. > To: users@cocoon.apache.org > Subject: Cookie in

RE: integrate Cocoon and Tomcat with eclipse

2005-02-07 Thread Adam Ratcliffe
Hi Sanket The best recommendation I can offer you is to use a build process that separates resources from the Cocoon distro from your project's resources. See http://wiki.apache.org/cocoon/YourCocoonBasedProjectAnt16 on the Cocoon wiki as a good starting point for this. I set up my Eclipse projec

RE: sunBow Cocoon IDE or is there another convenient way to debug Cocoon apps?

2005-02-06 Thread Adam Ratcliffe
Hi Jaka Your debugging strategy will require different tools for debugging the various component types in Cocoon. For debugging Java you can use the Sysdeo Tomcat plugin for Eclipse. Debugging Java classes in Cocoon works just the same way as debugging any other webapp, set a breakpoint and invok

RE: How to set HTTP response status code

2005-02-01 Thread Adam Ratcliffe
t HTTP response status code > > > Adam Ratcliffe wrote: > > I'm implementing a REST style web service using Cocoon. In the > event that a > > consumer of the service > > requests a resource that doesn't exist the service should return a 404 > > erro

RE: Cocoon development on Mac OSX

2005-02-01 Thread Adam Ratcliffe
> Performance is acceptable if: > > a) you have lots of RAM > b) you have a fast CPU > c) you use a 3.1 milestone instead of a 3.0 release > > Having said that, I occcasionally use Eclipse on a 1.25GHz, 15" > PowerBook with 512MB RAM. I can stand it, but I wouldn't use it as my > primary developmen

Cocoon development on Mac OSX

2005-02-01 Thread Adam Ratcliffe
Hi, I'm switching to Mac OSX as my primary development platform. Does anyone have any tips relating to Cocoon development on the mac? In particular I'm interested in recommendations on an IDE, I've been a devoted Eclipse user for some time on Windows and Linux and would probably stick with it if

How to set HTTP response status code

2005-01-31 Thread Adam Ratcliffe
I'm implementing a REST style web service using Cocoon. In the event that a consumer of the service requests a resource that doesn't exist the service should return a 404 error. Ideally I would do this from within the flow layer, something like: cocoon.sendError(404, "No resource exists for URI:

RE: browser for wml

2005-01-22 Thread Adam Ratcliffe
Opera supports WML out of the box. Cheers Adam > -Original Message- > From: Andres Taborda [mailto:[EMAIL PROTECTED] > Sent: Sunday, 23 January 2005 12:08 p.m. > To: cocoon-u > Subject: browser for wml > > > some users can help. > > I need test wml generated in cocoon. > > some can show/r

RE: [flow] global variable values lost between invocations - more info

2005-01-19 Thread Adam Ratcliffe
2005 5:47 p.m. > To: users@cocoon.apache.org > Subject: Re: [flow] global variable values lost between invocations > > > > On Jan 19, 2005, at 8:31 PM, Adam Ratcliffe wrote: > > > I have a flowscript where I set the value of a global variable, call > > cocoon.sess

RE: [flow] global variable values lost between invocations

2005-01-19 Thread Adam Ratcliffe
hursday, 20 January 2005 5:47 p.m. > To: users@cocoon.apache.org > Subject: Re: [flow] global variable values lost between invocations > > > > On Jan 19, 2005, at 8:31 PM, Adam Ratcliffe wrote: > > > I have a flowscript where I set the value of a global variable, call &g

[flow] global variable values lost between invocations

2005-01-19 Thread Adam Ratcliffe
I have a flowscript where I set the value of a global variable, call cocoon.session to create a session, but find that it's value is undefined when I next invoke a top-level function in the script.   An excerpt from the script where the variable's value is set is:       var mapContext;    

RE: Conversion of complex form to cforms

2005-01-17 Thread Adam Ratcliffe
> That's pretty much what document.load() does, and you can create a > document using document.implementation.createDocument... except > Internet Exploder used to not be able to do this, maybe it does now... > see http://www.quirksmode.org/dom/importxml.html for how to do it > differently in IE if

RE: Using business objects instead of XML

2005-01-17 Thread Adam Ratcliffe
> This point is moot. Hibernate can use Apache DBCP or a pooled > DataSource provided by your container, there's no reason to use either > Hibernate's pooling or Excalibur's. Thanks for clarifying this point Ugo. Cheers Adam

RE: Conversion of complex form to cforms

2005-01-17 Thread Adam Ratcliffe
quist [mailto:[EMAIL PROTECTED] Sent: Tuesday, 18 January 2005 10:50 a.m. To: users@cocoon.apache.org Subject: Re: Conversion of complex form to cforms On Jan 16, 2005, at 3:51 PM, Adam Ratcliffe wrote: > Hi, >   > I have a reasonably complex form design that I'd like to convert t

RE: Using business objects instead of XML

2005-01-17 Thread Adam Ratcliffe
yself, see http://new.cocoondev.org/main/117/43.html Cheers Adam -Original Message- From: beyaRecords [mailto:[EMAIL PROTECTED] Sent: Tuesday, 18 January 2005 10:00 a.m. To: users@cocoon.apache.org Subject: Re: Using business objects instead of XML On 17 Jan 2005, at 20:32, Adam Ratcliffe wrote:

RE: Using business objects instead of XML

2005-01-17 Thread Adam Ratcliffe
Hi Brian, Building on Mark's code snippets, if bizObject was an instance of a persistable object you would retrieve it using a Java class that created Hibernate sessions, this class should implement the appropriate Avalon lifecycle interfaces so that it can be managed by the Cocoon component manag

RE: flowscript accessing forms object

2005-01-17 Thread Adam Ratcliffe
Hi Murray I'm assuming you're using CForms in which case your flowscript would look something like this: var form = new Form("forms/formModel.xml"); form.showForm("form-display-pipeline"); if(form.isValid) { var model = form.getModel(); var field1 = model.field1; var fiel

RE: Help with redestructuring of sitemaps and URI space

2005-01-17 Thread Adam Ratcliffe
A typo, but it might come to that yet ;-) Cheers Adam -Original Message- From: Mark Lundquist [mailto:[EMAIL PROTECTED] Sent: Monday, 17 January 2005 7:49 p.m. To: users@cocoon.apache.org Subject: Re: Help with redestructuring of sitemaps and URI space BTW, I like your Subject: line...

RE: Help with redestructuring of sitemaps and URI space

2005-01-17 Thread Adam Ratcliffe
n Jan 16, 2005, at 2:18 PM, Adam Ratcliffe wrote: > > Another issue occurs with sendPageAndWait() and showForm() calls where > the pipeline matching the continuation URI in the customer > sitemap needs to redirect to a pipeline in the top-level sitemap where > the fl

Conversion of complex form to cforms

2005-01-16 Thread Adam Ratcliffe
Hi,   I have a reasonably complex form design that I'd like to convert to cforms. Being new to cforms I'm not sure how much work is involved in doing this, can anyone give me an idea as to A) whether this is possible using cforms; and B) if using cforms is a good choice for this use case. 

Help with redestructuring of sitemaps and URI space

2005-01-16 Thread Adam Ratcliffe
I'm looking to restructure my application URI space/sitemap hierarchy to address some of the more awkward features of the existing design.  As it's possible I'm not the first person to come up against these issues I'm sharing them with the list in the hope of getting some comment on refac

RE: Using Cocoon's build system for my webappThanks Ada,

2005-01-13 Thread Adam Ratcliffe
ff. Thanks again, Justin On Thursday 13 January 2005 19:05, Adam Ratcliffe wrote: > Hi Justin > > The Cocoon wiki has some good resources on tailoring the Cocoon webapp and > developing your project > against it, see http://wiki.apache.org/cocoon/YourCocoonBasedProjectAnt16 > an

RE: Using Cocoon's build system for my webapp

2005-01-13 Thread Adam Ratcliffe
Hi Justin The Cocoon wiki has some good resources on tailoring the Cocoon webapp and developing your project against it, see http://wiki.apache.org/cocoon/YourCocoonBasedProjectAnt16 and http://wiki.apache.org/cocoon/ProjectBuilding The first doc has a link to an Ant build script that will help w

RE: Auth-Protect and wildcard matcher

2005-01-12 Thread Adam Ratcliffe
Hi Bhaskar Because the variable that you're trying to access within your action belongs to the enclosing matcher and not the action itself you need to reference it as {../1}. HTH Adam -Original Message- From: Bhaskar Rathod [mailto:[EMAIL PROTECTED] Sent: Thursday, 13 January 2005 12:00

RE: Initialization Problem

2004-12-30 Thread Adam Ratcliffe
It looks like you are missing the Cocoon/Avalon jar files, they should be in your application's WEB-INF/lib directory.   Can you run the webapp in your Cocoon build directory, using the command 'cocoon servlet' on Windows or './cocoon.sh servlet' on *nix?   Cheers Adam -Original Messa

RE: set variable in jx generator file

2004-12-30 Thread Adam Ratcliffe
Hi Stavros Try this: or alternatively you could use the '+' operator which is overloaded by the Jexl expression language to be used for String concatenation. Jexl allows you to access bean properties using dot notation, the String concatenation expression needs to be contained within the curly

RE: Session lost on authentication [SOLVED]

2004-12-23 Thread Adam Ratcliffe
The problem was all mine.  I was trying to access the FOM object in a jx template when the pipeline it belonged to was not being called from flowscript, hence the object was not in context.   Cheers Adam -Original Message-From: Adam Ratcliffe [mailto:[EMAIL PROTECTED]Sent

RE: Unwanted tab characters appearing in output after 2.1.6 upgrade [SOLVED]

2004-12-22 Thread Adam Ratcliffe
e XML namespace???). It has the advantage of serializing a lot of special characters as entities (i.e. £ instead of £ - good for Mac IE), but, these characters include ' which IE renders as ', not '. Hope this helps, Mark On 22 Dec 2004, at 23:09, Adam Ratcliffe wrote: > Hi, >

Unwanted tab characters appearing in output after 2.1.6 upgrade

2004-12-22 Thread Adam Ratcliffe
Hi,   I've just upgraded from Cocoon 2.1.5 to 2.1.6.  I now have a problem with the output of a pipeline that uses the XML serializer including tab character references,   The pipeline that generates the output looks like this:         The pipeline is called

RE: Custom authenticator HELP

2004-12-21 Thread Adam Ratcliffe
Does your login form action specify your login pipeline 'do-register'? The login pipeline's auth-login action needs to be invoked so that the handler's authentication resource, your custom Authenticator, can be called. If the login pipeline is being triggered and you're having problems within you

Session lost on authentication

2004-12-16 Thread Adam Ratcliffe
I've got a problem with the user session being lost after successful with authentication via a custom Java authenticator. In my authenticator class I create a user bean and put it in the user's session like this:       SessionManager sm = (SessionManager) manager.lookup(org.apache.coco

RE: Cocoon session context load URIs -- Need help!

2004-12-12 Thread Adam Ratcliffe
Hi Julien ! In your stylesheet you overlooked a step, it should look like: dop! For a fuller explanation take a look at the session docs at the URL you provided. Cheers Adam -Original Message- From: Julien, Heryk [mailto:[EMAIL PROTECTED] Sent: Frida

RE: Sorting elements before jx:forEach ?

2004-12-12 Thread Adam Ratcliffe
Hi Laurent You can use the java.util.Collections class to sort a list using either the natural ordering of the elements or by supplying a Comparator. You just need to import these classes into your flowscript to use them. Cheers Adam -Original Message- From: Laurent Perez [mailto:[EMAIL

RE: Cocoon-centric approach to customer configuration

2004-12-08 Thread Adam Ratcliffe
n your view. Cheers Adam -Original Message- From: Jorg Heymans [mailto:[EMAIL PROTECTED] Sent: Tuesday, 7 December 2004 6:11 a.m. To: [EMAIL PROTECTED] Subject: Re: Cocoon-centric approach to customer configuration Adam Ratcliffe wrote: > Hi there, > > I'm working on a

RE: Cocoon 2.1.2 sitemap

2004-12-06 Thread Adam Ratcliffe
ng on but not for my target. Any suggestion?   Thanx in advance Ciao ROb - Original Message - From: Adam Ratcliffe To: [EMAIL PROTECTED] Sent: Saturday, December 04, 2004 9:31 PM Subject: RE: Cocoon 2.1.2 sitemap IIUC you'd lik

RE: Concatenation of variables in JXTemplate

2004-12-05 Thread Adam Ratcliffe
Hi Laurent Your problem is likely due to ${lang} not referencing a string type. Have a look at this post and see if it helps http://www.mail-archive.com/users@cocoon.apache.org/msg21031.html Cheers Adam -Original Message- From: Laurent Perez [mailto:[EMAIL PROTECTED] Sent: Thursday, 2

RE: NotSerializableException - cocoon 2.1.6 on tomcat 5.5.4

2004-12-04 Thread Adam Ratcliffe
Hi Dani ! I have the same issue on both cocoon 2.1.5 and 2.1.6. Someone else has earlier suggested adding the following declaration to your web application context entry in the Tomcat server.xml I haven't tried this yet myself but it's worth a shot. Cheers Adam -Original Message-

RE: use flow logger in my java functions

2004-12-04 Thread Adam Ratcliffe
Hi Paul ! Avalon specifies component interfaces for separating the concerns of the system, for example configuration, logging, execution etc. The lifecycle of components implementing these interfaces is managed by the container and the container is responsible for providing the component with its

RE: Cocoon 2.1.2 sitemap

2004-12-04 Thread Adam Ratcliffe
Title: Cocoon 2.1.2 sitemap IIUC you'd like to write the output of a pipeline to a file before sending the response to the browser.   You could try the Log Transformer for this purpose: http://cocoon.apache.org/2.1/userdocs/transformers/log-transformer.html   Cheers Adam -Original Mess

Cocoon-centric approach to customer configuration

2004-12-03 Thread Adam Ratcliffe
Hi there,   I'm working on a Cocoon application that will be a hosted solution. I need to maintain independent configuration data for each customer related to such things as datasources, feature set etc. Because of the need to keep customer specific configuration separate from general syste

NotSerializableException when reloading Context

2004-11-16 Thread Adam Ratcliffe
Hi, I've been procrastinating on sorting out a NotSerializableException that comes up in the server logs whenever I reload the application context: - Cannot serialize session attribute FOM JavaScript GLOBAL SCOPE for session 52496799933AC84574840800D502E25E java.io.NotSerializableException: org.a

Re: URL encoding problem [SOLVED]

2004-11-01 Thread Adam Ratcliffe
Looks like I confused the function of the EncodeURLTransformer with my need for urlencoding of url parameter values :( - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

URL encoding problem

2004-11-01 Thread Adam Ratcliffe
Hi, I've run into some difficulty with URL encoding some URL parameters using the EncodeURLTransformer. The transformer is being invoked but the produced document contains unencoded URLs. I've tried using the java.net.URLEncoder to explicity encode the URLs in my stylesheet which works, however

Re: JXTemplate: Expressions not evaluated with mixed attribute content

2004-10-31 Thread Adam Ratcliffe
Hi Leszek, You were right about the whole statement needing to be inside the curly braces. The more verbose Jexl example works as does the JXPath one :) Cheers Adam [EMAIL PROTECTED] wrote: > Hi, > > I have a JXTemplate document that uses the element to set a variable > that is the concatenat

Setting Content-Length

2004-07-09 Thread Adam Ratcliffe
Title: Message I'm writing a Pocket PC application where I need to provide a progress bar for the user while an image file is being loaded.  Cocoon is not setting the Content-Length header so I'm unable to determine the loading percentage.   I extended XMLSerializer to return true for the s

XML-RPC like request using CInclude?

2004-06-04 Thread Adam Ratcliffe
Title: Message My Cocoon application needs to request an XML document from a remote server.  The server has an XML-RPC like interface in that it accepts parameters to the request as a structured XML document. A valid request to the server has the following characteristics: - The request C