Re: Handling errors in sitemap.

2006-03-27 Thread Andrew Timberlake
[EMAIL PROTECTED] wrote: Hi all, I am trying to handle errors in sitemap. I want that the error should not be shown in a separate error page instead it should be in the center part and the header footer left and right navigation links should be there.I am putting the section at the end of t

Re: cookie help

2006-02-22 Thread Andrew Timberlake
[EMAIL PROTECTED] wrote: I am new to flowscripts and cookie.Can any one give me a sample example or any link to a site which explains how cookies work in flowscripts. Deepak Kumar Sahoo Tata Consultancy Services Limited Mailto: [EMAIL PROTECTED] Website: http://www.tcs.com Notice: The inform

Re: Cocoon as a portlet

2006-02-22 Thread Andrew Timberlake
Andrew Timberlake wrote: Frank Taffelt wrote: Hi, i'm wondering if it's possible that cocoon is able to run as a jsr168 portlet in a portal container like pluto or others? Thanks, Frank - To unsubscribe, e-ma

Re: Cocoon as a portlet

2006-02-22 Thread Andrew Timberlake
Frank Taffelt wrote: Hi, i'm wondering if it's possible that cocoon is able to run as a jsr168 portlet in a portal container like pluto or others? Thanks, Frank - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comm

Re: setting a validation error on another field

2006-02-09 Thread Andrew Timberlake
Joost Kuif wrote: Hi people, I have a formdefinition with multiple fields. For some of these fields uniqueness must be checked against a table in a database. I want to check this towards the database with the use of one stored procedure. I tried to with something like the example below, but thi

Re: 1 more auth question..

2003-08-24 Thread Andrew Timberlake
sn't very clear about the other things either. Do you have any ideas on this? Thanks again, Sonny From: Andrew Timberlake <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: 1 more auth question.. Date: Sat, 23 Aug 2003 15:34:57 +0200 Sonny Look at

Re: 1 more auth question..

2003-08-23 Thread Andrew Timberlake
Sonny Look at this snippet: value="{request-param:userName}"/> value="{request-param:password}"/> Here you are passing two parameters to the auth action named parameter_userName and parameter_password. The values of each of these parameters is coming directly from the request parameters via

Re: session:getxml not working

2003-08-23 Thread Andrew Timberlake
get: Some text here So my question is how can I, with the above example context, get the whole section, not just the contents of this tag? Thanks again, Sonny From: Andrew Timberlake <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: session:getxml not wo

Re: session:getxml not working

2003-08-22 Thread Andrew Timberlake
Sonny I doesn't store the authentication node, it stores the contents thereof so instead of using use Secondly, the URI namespace is http://apache.org/cocoon/session/1.0 which I got from SessionConstants.java This all works for me on CVS HEAD as of this morning. Hope this helps Andrew Son

Re: XML-Based Reporting Application, Design?

2003-08-21 Thread Andrew Timberlake
Jeff Just to drop an idea. If you are considering using servlets to abstract your business logic from Cocoon, why are you constraining it to servlets. Why not create standalone objects which handle the business logic and then you can call them from Cocoon, Servlets, Applets, Applications... Then y

Re: 3 questions...

2003-08-20 Thread Andrew Timberlake
ks, -- Olivier On 20/08/2003 09:21, Andrew Timberlake wrote: Sonny Try walking the programming logic. Starting with org.apache.cocoon.webapps.authentication.acting.LoginAction and follow how cocoon deals with each step of the process. One thing to watch out for is when you get code such as ma

Re: how to create object of an external class ?

2003-08-20 Thread Andrew Timberlake
Reuben Try the following using the xsp:structure and xsp:include elements full.path.to.package.of.Test Test t = new Test(); ... Andrew Reuben Christie wrote: hi all.. i m a newbie to cocoon. i m writing an xsp page..in that page i have a lines like this. Test

Re: 3 questions...

2003-08-20 Thread Andrew Timberlake
Sonny Try walking the programming logic. Starting with org.apache.cocoon.webapps.authentication.acting.LoginAction and follow how cocoon deals with each step of the process. One thing to watch out for is when you get code such as manager.lookup(XXX.Role) this is referencing an Interface to whic

Re: 3 questions...

2003-08-19 Thread Andrew Timberlake
Sonny I didn't have the answers to your questions immediately but I have done some digging throught he source code and can hopefully give you a head start on your understanding... Sonny Sukumar wrote: [2 of these questions I sent a couple days ago but got no reply and haven't figured them out.

Re: esql connection error

2003-08-18 Thread Andrew Timberlake
Peter The pool is defined for the connection, not the query. ie: http://apache.org/xsp"; xmlns:esql="http://apache.org/cocoon/SQL/v2";> directory-pool SELECT * FROM department Andr

Re: filepart

2003-08-18 Thread Andrew Timberlake
Lionel Try org.apache.cocoon.servlet.multipart.Part and the other classes in the org.apache.cocoon.servlet.multipart package. Andrew Lionel Crine wrote: I have an upload action which uses filepart and filepartarray but in 2.1 version, These classes don't exist ? Any idea which one replace them