cookie expiration

2006-02-22 Thread deepakkumar . sahoo
can any one specify the way to set the age of a cookie in flowscript. Deepak Kumar Sahoo Tata Consultancy Services Limited Mailto: [EMAIL PROTECTED] Website: http://www.tcs.com Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privilege

Re: Cast type in flowscript

2006-02-22 Thread Jason Johnston
Andrew Madu wrote: > Hi, > can someone remind me how to cast types in flowscript? What I have is: > > var response = (DoDirectPaymentResponseType) > caller.call("DoDirectPayment", request); Javascript does not do compile-time type checking, so "casting" is completely unnecessary. Just go ahead a

Cast type in flowscript

2006-02-22 Thread Andrew Madu
Hi,can someone remind me how to cast types in flowscript? What I have is:var response = (DoDirectPaymentResponseType) caller.call("DoDirectPayment", request);regardsAndrew

Re: flowscript importClass problem

2006-02-22 Thread Andrew Madu
 Jason,The error messages are pretty clear, importClass() requires a Java class as an argument,  my bad! Yes I should have simply stated importPackage(). Time for some sleep me thinks!!!regardsAndrew

Re: flowscript importClass problem

2006-02-22 Thread Jason Johnston
Andrew Madu wrote: > > When I try and import the following class into my flowscript: > > importClass(Packages.com.paypal.soap.api.*); > > I get an: > > '*missing name after . operator*' > > > error message. If I do the following: > > > importClass(Packages.com.paypal.soap.api); > > I get

flowscript importClass problem

2006-02-22 Thread Andrew Madu
When I try and import the following class into my flowscript:importClass(Packages.com.paypal.soap.api.*);I get an: 'missing name after . operator' error message. If I do the following:importClass(Packages.com.paypal.soap.api);I get an: Not a Java class: [JavaPackage com.paypal.soap.api]error messag

Need help w/ entity resolution

2006-02-22 Thread Mark Lundquist
Hi, I have this in some XSLT stylesheets: %HTMLlat1; %HTMLspecial; ]> ...and this works fine for stylesheets where the TraxTransformer source is hardcoded in the sitemap. But I have one case where the stylesheet is served

Re: Proccesing "normal" form data with flow

2006-02-22 Thread Bertrand Delacretaz
Le 22 févr. 06 à 13:40, Derek Hohls a écrit : ...I assume that I then need an array in flowscript to iterate through the parameters... are there any Cocoon samples that show this, or should I rather look elsewhere?... I don't have a sample handy. but if you look at the API under http:// cocoo

extra-classpath issue ?

2006-02-22 Thread gilles
Hi, I'm using cocoon 2.1.8 deployed under tomcat 5.5.15 My jdk is 1.5.0_06, my OS is Red Hat Enterprise Linux ES release 4 I wrote a cocoon based application whose files are located in a directory /var/www/webapps/visumtd/ apart from the cocoon webapp directory which is located in /var/www/webap

map:call function

2006-02-22 Thread Gunter D'Hondt
I'm currently upgrading from 2.1.4 to 2.1.8 and converted all Woody stuff to CForms stuff but when calling the following sitemap snippet I'm getting the error below. sitemap snippet: ... ... the stacktrace snippet: java.lang.NoClassDefFoundError:

Re: Cocoon as a portlet

2006-02-22 Thread Ralph Goers
You should be able to use Cocoon's ManagedCocoonPortlet to accomplish that. 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 --

Problem uploading zip files in IE

2006-02-22 Thread Andrew Le Quesne
Title: Problem uploading zip files in IE Hello, I am using cocoon 2.1.8 running in jetty and I have been experiencing problems uploading .zip files in CForms using the upload widget. The initial upload seems ok and the file is even placed in the destination directory but when I submit the fo

Re: CForms: HTMLArea Documentation

2006-02-22 Thread Upayavira
Derek Hohls wrote: Gary Well, I think the issue does need to get raised... maybe someone has thought about it before, but just not gotten aroud to dealing with it. And version 2.1.9 is about to be released A Switch to Xinha is one of those things that really should happen. Best way

Error when adding in Javascript for form validation

2006-02-22 Thread Derek Hohls
(Cocoon 2.1.5) I get the dreaded java.lang.NullPointerException when I try and introduce Javascript validation into a form. I strippped all the logic out down to an abolsutely basic: var success = true; return success; but this do

Re: Proccesing "normal" form data with flow

2006-02-22 Thread Derek Hohls
Bertrand This helps tremendously - fortunately I only have to worry about processing the checked items... although the trick of putting the names into a hidden field is really neat! I assume that I then need an array in flowscript to iterate through the parameters... are there any Cocoon sample

Ajax and upload widget

2006-02-22 Thread Joost Kuif
Hi,   I read that in version 2.1.8 of cocoon it’s not possible to upload with an ajax enabled form. Searching the mailinglist I see the functionality is (being) changed in the 2.1.9 and 2.2 development versions. I wonder when the 2.1.9 version will be released… Does anyone know?   Would

Re: Proccesing "normal" form data with flow

2006-02-22 Thread Bertrand Delacretaz
Le 22 févr. 06 à 08:14, Derek Hohls a écrit : ...The problem, though, is how to get all the IDs of all checkboxes that have been checked, where the total number of checkeboxes and their IDs, vary from case to case... If you cannot use CForms, the easiest IMHO is to use naming conventions for

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-mail: [EMAIL PROT

Re: Flowscript continuation from external reply: SOLVED!

2006-02-22 Thread Andrew Madu
Derek,Could you perhaps add some sample code to the wiki site to help the next poor bloke that has to attempt this?! as soon as I get a spare moment I will upload all relevant class files and flowscript code to the wiki.regardsAndrew

RE: Duplicate Results on CForms Repeat Bind

2006-02-22 Thread Stewart, Gary
> -Original Message- > By me: > > I'm a bit stuck as to what I might be doing wrong and any > pointers would be appreciated. Oops! Sorry about this question I noticed the log file saying that it had rows to delete but no action specified. I needed for it to work. Sorry again f

Duplicate Results on CForms Repeat Bind

2006-02-22 Thread Stewart, Gary
Hi there, I've trying to bind a form to an XML document for both loading and saving and it works ok loading a document (including the one initial repeat item) but if you create more items in the repeat and use on-insert-row insert-node to create the XML I get the extra result plus a repeat of t

Re: Order of attributes in XSL Transformation

2006-02-22 Thread Derek Hohls
Order of attributes is not part of the XML specification - do a quick search on Google for   xml "order of attributes"   and you see will many discussions on this topic.   Also look a the XSLT spec: http://www.w3.org/TR/xslt#section-XML-Output-Method which basically says that XSLT processors are

Re: cocoon&hibernate tutorial

2006-02-22 Thread Johannes Textor
hi abu, this is more a basic java question since you did not yet get to the point where the "real" problems arise, but let's see ... First of all, are you using Hiberrnate 2 or 3 ? Might finally update the tutorial since I don't know how many people still use Hibernate 2 ... Next, if your java fil

Order of attributes in XSL Transformation

2006-02-22 Thread Frank Rocholl
Dear all, I'ld like to generate a simple xml/html page with a xsl transformation. I wondering that I get the atrributes in an other order than I've given in the xsl stylesheet. Here are the files: ### BEGIN starget.xml ### http://www.hottemax.org"; target="_blank"/> ### END starget.xml ###

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

Cocoon as a portlet

2006-02-22 Thread Frank Taffelt
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 commands, e-mail: [EMAI

cookie help

2006-02-22 Thread deepakkumar . sahoo
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 information contained in this e-mai