RE: Urgent :break statement in xsl

2006-06-28 Thread Seth Foss
If you move your inner if-test into another template called with an apply-templates or call-template, you will be able to use the position() function. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 28, 2006 3:31 AMTo: users@cocoon.apache.orgSubject: Urgent :break

RE: Flowscript and Sitemap Logic

2006-06-13 Thread Seth Foss
What are you trying to do Pasha? Often there is a way around what is "impossible." -Original Message- From: Antonio Gallardo [mailto:[EMAIL PROTECTED] Sent: Monday, June 12, 2006 11:51 PM To: users@cocoon.apache.org Subject: Re: Flowscript and Sitemap Logic Pasha Minallah escribió: > H

RE: source-writing - then redirect?

2006-06-12 Thread Seth Foss
What I have found works best for me is to use flowscript, and call the pipeline using the processPipelineTo() function instead of the sendPage or sendPageAndWait. processPipelineTo does not send it's output to the screen, but sends the output stream back to flowscript. This allows you to follow the

Filename with HSSF Serializer

2006-06-06 Thread Seth Foss
Does anyone know how to set the name of the file produced by the HSSF Serializer? Currently, a generated file recieves a name like v7ca5jo5.xls, with the characters being randomly generated each time the pipeline is run.   Thanks in advance, Seth

RE: Restrict users to flow

2006-06-05 Thread Seth Foss
= node.getAttributes();                     var idAttribute = attributes.getNamedItem(attrName);                     if (idAttribute != null){                         if (idAttribute.getNodeValue().equals(attrValue)) {                             return node;                         }                

passing full file path

2006-05-31 Thread Seth Foss
I'm trying to pass the full path of a file from a form into the Sendmail transformer, but by the time the uploaded file is written into the xml to be transformed, the path has been cropped down to include only the filename. Is there any way to fix this without using _javascript_?   If not,

RE: help please

2006-05-31 Thread Seth Foss
Johnson, This is a javascript detail, but if your ssaved=false, both alerts should return false. However, if ssaved="false", the boolean will return true. When you add the quotations, false si a string, without it is the boolean value. If you need it as a string, make the bs.alert(Boolean(ssaved==

RE: Restrict users to flow

2006-05-31 Thread Seth Foss
users manually enter a pipeline into the address bar, how do I redirect them into my flowscript. I plan on using continuations, so Submits and Nexts will not direct to the correct pages without the flowscript running.   Seth Foss --This email is from Civica Pty Limited an

Restrict users to flow

2006-05-30 Thread Seth Foss
, so Submits and Nexts will not direct to the correct pages without the flowscript running.   Seth Foss