Re: XSP Problem

2006-02-13 Thread Derek Harmel
Update! I guess this problem was due to my lack of knowledge on Java programming. So I guess I learned something today: Casting null to String in Java still results in a null. A real forehead-smacker. Thanks for the help anyway guys. Here is the working code: http://apache.org/xsp"; xml

Re: XSP Problem

2006-02-13 Thread Derek Harmel
Ralph, I was using that method you described before and it was causing me problems somewhere, hence why I used the Java method. Anyway, I did change it as you suggested and still got the same exception. Could this have anything to do with me using JDK 1.5? -- Derek Harmel :: Web Programmer ::

Re: XSP Problem

2006-02-13 Thread Ralph Skulborstad
Derek Harmel wrote: Forgive me as I fairly new to Cocoon and have virtually no experience with Java. Don't worry, I'm not going to ask you to write something for me. Anyway, I have a problem with an XSP that I just cannot figure out. In the code below, if I do not comment out the two 'if state

Re: XSP Problem

2006-02-13 Thread Derek Harmel
John, Unfortunately, no luck. I think I did try that at one point. -- Derek Harmel :: Web Programmer :: KCI Technologies On 2/13/06, John L. Webber <[EMAIL PROTECTED]> wrote: > Derek, > > Try > if (handler.length() > 0) > > John > > Derek Harmel wrote: > > Forgive me as I fairly new

Re: XSP Problem

2006-02-13 Thread John L. Webber
Derek, Try if (handler.length() > 0) John Derek Harmel wrote: > Forgive me as I fairly new to Cocoon and have virtually no experience > with Java. Don't worry, I'm not going to ask you to write something > for me. > > Anyway, I have a problem with an XSP that I just cannot figure out.

XSP Problem

2006-02-13 Thread Derek Harmel
Forgive me as I fairly new to Cocoon and have virtually no experience with Java. Don't worry, I'm not going to ask you to write something for me. Anyway, I have a problem with an XSP that I just cannot figure out. In the code below, if I do not comment out the two 'if statements' and the 'else s

RE: Xsp problem

2005-10-10 Thread Kerstin Nordqvist
Leicester [mailto:[EMAIL PROTECTED] Sent: den 10 oktober 2005 21:06 To: users@cocoon.apache.org Subject: Re: Xsp problem Hi Kerstin, From a quick glance it looks like your matcher would match http:///cocoon/date.xsp, (not http:///cocoon/date/). Try that - I hope it helps! Mark On 10 Oct 2005

Re: Xsp problem

2005-10-10 Thread Mark Leicester
Hi Kerstin, From a quick glance it looks like your matcher would match http:///cocoon/date.xsp, (not http:///cocoon/date/). Try that - I hope it helps! Mark On 10 Oct 2005, at 17:22, Kerstin Nordqvist wrote: Hi! I want to write some xsp-pages and that is why I am using cocoon. Now for j

Xsp problem

2005-10-10 Thread Kerstin Nordqvist
Hi! I want to write some xsp-pages and that is why I am using cocoon. Now for just trying to make it to works, I am testing out an simple example from a book, but it doesn't work. I have an Apache Tomcat 5.5 installed on a sun computer, unix. I have these files: date.xsp http://apache.o

Re: , and XSP problem.

2004-11-07 Thread Jonny Pony
[EMAIL PROTECTED] Subject: Re: , and XSP problem. Date: Sat, 6 Nov 2004 14:38:40 -0600 (CST) Jonny Pony dijo: > Hi, > > is there an other way and method to insert xml into a session in an action > "by hand". > Couldn't find any methods which do this, except in the Authentica

Re: , and XSP problem.

2004-11-06 Thread Antonio Gallardo
Jonny Pony dijo: > Hi, > > is there an other way and method to insert xml into a session in an action > "by hand". > Couldn't find any methods which do this, except in the Authenticator-class > which is not suitable for my needs. > I want my action to fill the session with some xml, like the > -tag

Re: , and XSP problem.

2004-11-03 Thread Jonny Pony
anks Jonny From: "Antonio Gallardo" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: , and XSP problem. Date: Wed, 3 Nov 2004 13:25:51 -0600 (CST) Hi Jonny: Jonny Pony dijo: > Hi, > > I wanna use the , -tags in my XSP page. > Well it doesn&#x

Re: , and XSP problem.

2004-11-03 Thread Antonio Gallardo
Hi Jonny: Jonny Pony dijo: > Hi, > > I wanna use the , -tags in my XSP page. > Well it doesn't work. I read it was a unsolved bug. The bug was already fixed long time ago. The only tag implemented is the . More info: http://wiki.apache.org/cocoon/XspSessionFw The is not implemented yet. If yo

, and XSP problem.

2004-11-03 Thread Jonny Pony
Hi, I wanna use the , -tags in my XSP page. Well it doesn't work. I read it was a unsolved bug. Since there isn't a Antonio Gallardo posted in an other thread in 2003 ( http://www.mail-archive.com/[EMAIL PROTECTED]/msg27595.html ) a solution. Does anyone know if this works. And is there a s

Re: XSP problem with Sitemap

2004-08-27 Thread Derek Hohls
Pass it in as sitemap parameter... >>> [EMAIL PROTECTED] 2004/08/27 10:55:44 AM >>> Hi read this how to know ** value from an XSP we can do in site map by {1} but how can we get that in XSP file ___ Do you

XSP problem with Sitemap

2004-08-27 Thread sreenivas reddy
Hi read this how to know ** value from an XSP we can do in site map by {1} but how can we get that in XSP file ___ Do you Yahoo!? Win 1 of 4,000 free domain names from Yahoo! Enter now. http://promotions.ya

Re: XSP: problem generating computed attribute for root tag

2004-03-30 Thread Yves Vindevogel
Well, according to the documentation on cocoon.apache.org, Joerg is right. There are examples doing it without a dummy tag. However, I'm pretty sure I stumbled into bugs when I didn't use them. On 29 Mar 2004, at 20:29, Joerg Heinicke wrote: On 29.03.2004 20:12, Antonio Gallardo wrote: You shoul

Re: XSP: problem generating computed attribute for root tag

2004-03-29 Thread Joerg Heinicke
On 29.03.2004 20:12, Antonio Gallardo wrote: You should always start with an XML element, not with I've experienced strange behaviour too when I immediatly started with logic instead of an element. Hmm. It is valid observation. Will be fine to throw a exception when user as the document root? I

Re: XSP: problem generating computed attribute for root tag

2004-03-29 Thread Antonio Gallardo
Joerg Heinicke dijo: > On 29.03.2004 18:48, Antonio Gallardo wrote: >> Yves Vindevogel dijo: >> >>>You should always start with an XML element, not with >>>I've experienced strange behaviour too when I immediatly started with >>>logic instead of an element. >> >> Hmm. It is valid observation. Will

Re: XSP: problem generating computed attribute for root tag

2004-03-29 Thread Joerg Heinicke
On 29.03.2004 18:48, Antonio Gallardo wrote: Yves Vindevogel dijo: You should always start with an XML element, not with I've experienced strange behaviour too when I immediatly started with logic instead of an element. Hmm. It is valid observation. Will be fine to throw a exception when user

Re: XSP: problem generating computed attribute for root tag

2004-03-29 Thread Antonio Gallardo
Yves Vindevogel dijo: > You should always start with an XML element, not with > I've experienced strange behaviour too when I immediatly started with > logic instead of an element. Hmm. It is valid observation. Will be fine to throw a exception when user as the document root? Best Regards, Ant

Re: XSP: problem generating computed attribute for root tag

2004-03-29 Thread Yves Vindevogel
You should always start with an XML element, not with I've experienced strange behaviour too when I immediatly started with logic instead of an element On 29 Mar 2004, at 14:42, [EMAIL PROTECTED] wrote: I have experienced some problems generating xml with some computed attributes in the root

XSP: problem generating computed attribute for root tag

2004-03-29 Thread Wouter . DERUYCK
Title: Message I have experienced some problems generating xml with some computed attributes in the root element. If I try to execute this: xmlns:xsp-request="http://apache.org/xsp/request/2.0" xmlns:esql="http://apache.org/cocoon/SQL/v2" xmlns:xsp-session="http://apache.org/xsp/session/2.0"