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 privileged information.   If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited.   If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments.  Thank you


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 and access properties and call
methods on your response variable; it will let you know at runtime if
those methods or properties don't exist.

  var response = caller.call("DoDirectPayment", request);
  var amount = response.getAVSCode(); //successful
  var oops = response.notAMethod(); //runtime error

If you're more comfortable with compile-time type checking and Java in
general you might check out the JavaFlow block which lets you write your
flow in pure Java.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 an:
> 
> *Not a Java class: [JavaPackage com.paypal.soap.api]*
> *
> *
> error message. What am I overlooking here?


The error messages are pretty clear, importClass() requires a Java class
as an argument, not a Java package or a wildcard (which is invalid
JavaScript syntax anyway).  If you need to import multiple classes from
that soap api package you must do each individually.

If you just want to avoid having to type out the verbose
"Packages.com.paypal.soap.api." every time, you can create a javascript
variable that is a reference to that package, so:

  var soap = Packages.com.paypal.soap.api;
  var myObj = new soap.SomeSOAPClass();
  var myOtherObj = new soap.SomeOtherSOAPClass();

Saves a few keystrokes.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 message. What am I overlooking here?regardsAndrew

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 by a Cocoon pipeline like this:


	src="context:/config/fido/pub_templates/{flow-attribute:templatePath}"/ 
>



In this case Saxon throws a java.io.FileNotFoundException; it's looking  
for the referenced entities in the filesystem, relative to the parent  
directory of the stylesheet.  I tried saying this in the DTD:


context://WEB-INF/entities/catalog/w3c/xhtml-lat1.ent

...but Saxon didn't like that, it says "unknown protocol".

Any ideas how I can fix this?

I actually had this app working for a long time, but I either never  
noticed or had forgotten that I had been locating the entity like this:


http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent

...and this was only exposed when a network problem cropped up on our  
server.  I don't really want to be traipsing all over the net to get  
entities every time this stylesheet is parsed! :-/


Any help appreciated :-)
—ml—




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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:// 
cocoon.apache.org/2.1/userdocs/flow/api.html#request, you can see  
what data types are returned by functions like getParameterNames() (a  
java Enumeration in that case).


Then, as flowscript lets you access any public java methods, you can  
use the standard Enumeration API to get the values.


-Bertrand



smime.p7s
Description: S/MIME cryptographic signature


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/webapps/cocoon/. I mounted this application
through the mount-table mecanism and it works fine.

This web application needs some specific jar files to run and I want these jar
files to be located in the application file hierarchy, not in the cocoon
 webapp one.

I used the extra-classpath parameter in web.xml of cocoon webapp to specify
 the path to those jars :


  
 
/var/www/webapps/visumtd/WEB-INF/lib/visuMtd-v0.0.3_j2dk_1.5.0.jar:/var/www/webapps/visumtd/WEB-INF/lib/metadata-0.0.1.jar



but this had no effect and the classes of those jars are not known 
(ClassNotFoundException)

I tried to use the ParanoidCocoonServlet instead of the CocoonServlet as 
suggested in the web.xml comments but with no effects. I also tried to set
the value of the "init-classloader" parameter to true. Still with no effects.

Of course, when I put the jar files in the WEB-INF/lib/ directory of cocoon 
webapp, everything works fine...

I've browsed the cocoon-users list archives : it seems that some people meet 
the same problem, but I didn't found any answer.

Does anyone have an idea ?


Thanks,

Gilles





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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: org/apache/cocoon/woody/formmodel/Widget
 at java.lang.Class.forName0(Native Method)
 at java.lang.Class.forName(Class.java:141)
 at 
org.apache.cocoon.components.flow.apples.ApplesProcessor.instantiateController(ApplesProcessor.java:108)
 at 
org.apache.cocoon.components.flow.apples.ApplesProcessor.callFunction(ApplesProcessor.java:52)
 at 
org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode.invoke(CallFunctionNode.java:138)

so following the ApplesProcessor.java:108 it should make a new instance 
(thru reflecting) from the "be.sofico.myApple" string "classname" but 
apparently it is trying to make a Widget object using the old woody 
package. I don't even understand why it should make a CForms widget at 
that moment.

any help is welcome,

Regards,
Gunter D'Hondt



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 form I get an “invalid content type” error next to the upload field.

It only seems to be a problem in IE – works in Firefox.

Has anyone ever experienced anything similar?

Andrew




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 to "raise" it is to fix Cocoon to use Xinha instead, and submit 
a patch. That way it is likely to happen. I'm sure at least one of the 
correspondents on this thread is up to the task.


Go for it, I say.

(I'll try to watch this thread, if I seem to miss something, ping me 
privately. My PC died, I'm using another computer, and got off a long 
haul flight to receive 1700 mails, with no mail filtering set up :-( )


Regards, Upayavira


 
Derek


  

[EMAIL PROTECTED] 2006/02/21 05:19 PM >>>




  

Is this something that needs to be taken up on the dev list?



Not sure. If you think it would I can forward it up there (though I'd have to 
join the dev list).

  
I am sure that htmlArea was the best choice at the time 
that the CForms package was first put together, but some
technology just does not last [unlike Cocoon, of course!] 
and continued reliance on (or seeming support for) a module

that is no longer actively maintained is not to Cocoon's
advantage...



I agree that using an unsupported and undeveloped unit for Cocoon wouldn't be 
in the best interest of the users. Presumably as Xinha was based on htmlArea3 
then the port would be pretty simple.

Gary

*
The information contained in this message may be confidential or 
legally privileged and is intended for the addressee only, If you 
have received this message in error or there are any problems, 
please notify the originator immediately. The unauthorised use, 
disclosure, copying or alteration of this message is 
strictly forbidden.

*


-
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 





  



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 does not work - commenting out the 
 

  var success = true;  return success; 
 

immediately allows the form to be displayed.
 
This error happens no matter which field of the form
the above code block is assigned to.
 
What obvious issue am I overlooking??
 
Thanks
Derek



-- 
This message is subject to the CSIR's copyright, terms and conditions and
e-mail legal notice. Views expressed herein do not necessarily represent the
views of the CSIR.
 
CSIR E-mail Legal Notice
http://mail.csir.co.za/CSIR_eMail_Legal_Notice.html 
 
CSIR Copyright, Terms and Conditions
http://mail.csir.co.za/CSIR_Copyright.html 
 
For electronic copies of the CSIR Copyright, Terms and Conditions and the CSIR
Legal Notice send a blank message with REQUEST LEGAL in the subject line to
[EMAIL PROTECTED]


This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 samples that show this,
or should I rather look elsewhere?
 
Thanks
Derek

>>> [EMAIL PROTECTED] 2006/02/22 02:31 PM >>>

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 your checkboxes - if all checkbox names start with a  
common prefix, you could enumerate the request parameters to find out  
which ones are checked.

The case of unchecked ones is harder, as in that case the parameter  
is simply not present. For that case, I'd add a hidden field which  
allows you to know which checkboxes exist, for example



So that your flow can have the complete list.

Or, if you have a naming convention, just knowing how many options  
there are might be enough:



There are many different tricks to handle that, and it's not specific  
to Cocoon - you might find better solutions around, but that's the idea.

Hope this helps,
-Bertrand




-- 
This message is subject to the CSIR's copyright, terms and conditions and
e-mail legal notice. Views expressed herein do not necessarily represent the
views of the CSIR.
 
CSIR E-mail Legal Notice
http://mail.csir.co.za/CSIR_eMail_Legal_Notice.html 
 
CSIR Copyright, Terms and Conditions
http://mail.csir.co.za/CSIR_Copyright.html 
 
For electronic copies of the CSIR Copyright, Terms and Conditions and the CSIR
Legal Notice send a blank message with REQUEST LEGAL in the subject line to
[EMAIL PROTECTED]


This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 it (on the other hand) be possible to get the changes
into my current version via a patch?

 

Joost

 

 








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 your checkboxes - if all checkbox names start with a  
common prefix, you could enumerate the request parameters to find out  
which ones are checked.


The case of unchecked ones is harder, as in that case the parameter  
is simply not present. For that case, I'd add a hidden field which  
allows you to know which checkboxes exist, for example


value="cb_1_1,cb_1_2,cb_1_3"/>


So that your flow can have the complete list.

Or, if you have a naming convention, just knowing how many options  
there are might be enough:




There are many different tricks to handle that, and it's not specific  
to Cocoon - you might find better solutions around, but that's the idea.


Hope this helps,
-Bertrand



smime.p7s
Description: S/MIME cryptographic signature


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 information contained in this e-mail message and/or 
attachments to it may contain confidential or privileged information. If 
you are not the intended recipient, any dissemination, use, review, 
distribution, printing or copying of the information contained in this 
e-mail message and/or attachments to it are strictly prohibited. If you 
have received this communication in error, please notify us by reply 
e-mail or telephone and immediately and permanently delete the message 
and any attachments. Thank you



>
http://cocoon.apache.org/2.1/userdocs/flow/api.html

cocoon.request.getCookies()
cocoon.response.createCookie()
cocoon.reqponse.addCookie() etc.
All on the above page

Andrew


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




http://cocoon.apache.org/2.1/userdocs/flow/api.html

cocoon.request.getCookies()
cocoon.response.createCookie()
cocoon.reqponse.addCookie() etc.
All on the above page

Andrew


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Sorry, I replied to the wrong post


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 for filling the mailing list with rubbish,

Gary

*
The information contained in this message may be confidential or 
legally privileged and is intended for the addressee only, If you 
have received this message in error or there are any problems, 
please notify the originator immediately. The unauthorised use, 
disclosure, copying or alteration of this message is 
strictly forbidden.
*


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 the initial node so something 
like:



  
   0123456789 
   Test 
  

  
  0123456789 
  Test 
  

  
   123456789A 
   Diff 
  



Do you know any reason why the repeat nodes might be occurring? I've looked at 
the form2 example (which has a good example of repeats and binding) and I 
noticed that a unique id for each row is generated (though it isn't declared 
unique in any way as far as I can see) I also noticed that it includes 
row-state="new" though again this doesn't seem to do anything in particular. 

I'm a bit stuck as to what I might be doing wrong and any pointers would be 
appreciated.

Thanks,

Gary


*
The information contained in this message may be confidential or 
legally privileged and is intended for the addressee only, If you 
have received this message in error or there are any problems, 
please notify the originator immediately. The unauthorised use, 
disclosure, copying or alteration of this message is 
strictly forbidden.
*


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 not required
to maintain any attribute order...
 
and the XML spec:
http://www.w3.org/TR/2004/REC-xml11-20040204/#sec-starttags>>> [EMAIL PROTECTED] 2006/02/22 12:13 PM >>>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 givenin the xsl stylesheet. Here are the files:### BEGIN starget.xml ## END starget.xml ## BEGIN starget.xsl ###xmlns:xsl="http://www.w3.org/1999/XSL/Transform">Testlink### END starget.xsl ## BEGIN sitemap.xmap entry ## END sitemap.xmap entry ###I get the output:### BEGIN OUTPUT ###Testlink### END OUTPUT ###But I would expect:TestlinkMany thanks for helpFrank-- 10 GB Mailbox, 100 FreeSMS/Monat http://www.gmx.net/de/go/topmail +++ GMX - die erste Adresse f*r Mail, Message, More +++-To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] 
-- 
This message is subject to the CSIR's copyright, terms and conditions and e-mail legal notice. 
Views expressed herein do not necessarily represent the views of the CSIR.
 
CSIR E-mail Legal Notice
 
CSIR Copyright, Terms and Conditions
 
For electronic copies of the CSIR Copyright, Terms and Conditions and the CSIR Legal Notice 
send a blank message with "REQUEST LEGAL" in the subject line to CSIR HelpDesk

This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.




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 file references classes from jar files, those jars
need to be in your classpath. (quote from tutorial: "Compile these two
files. I needed the following jars in my classpath:
avalon-framework-api-4.1.5.jar, excalibur-datasource-1.1.1.jar, and
hibernate2.jar.")

If you want to write an app with cocoon and hibernate, you are not going
to get really far if you don't know what the classpath is. So I suggest
you read e.g.
http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/classpath.html
or similar and try again.

Regards,
Johannes


zulhisham abu nawar schrieb:

> i'm back ;-)...now i'm using cocoon 2.1.7, hibernate 2.1.6 (same like
> tutorial). I'm still got the errors when i compiled file.java...
>
> Through this tutorial, i should download hibernate and copy some
> files.jar to /WEB-INF/lib. Here should i build hibernate file??Then
> for files.java (PersistenceFactory.java n HibernateFactory.java) i put
> at /WEB-INF/classes/hib. From tutorial i should copy
> avalon-framework-api.jar, excalibur-datasource.jar to WEB-INF/lib
> folder and compile java files..So my problem is the java file cant
> compiled and the errrors:
>
> mac:/usr/opt/tomcat/jakarta-tomcat-5.0.28/webapps/cocoon/WEB-INF/classes/hib
> root# javac PersistenceFactory.java
> PersistenceFactory.java:8: package
> org.apache.avalon.framework.component does not exist
> import org.apache.avalon.framework.component.*;
> ^
> PersistenceFactory.java:10: cannot resolve symbol
> symbol  : class Component
> location: interface hib.PersistenceFactory
> public interface  PersistenceFactory extends Component {
>  ^
> PersistenceFactory.java:13: package net.sf.hibernate does not exist
> public net.sf.hibernate.Session createSession();
>^
> 3 errors
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 ###



### BEGIN starget.xsl ###

http://www.w3.org/1999/XSL/Transform";>

  

  
 
  
Testlink
  

### END  starget.xsl ###

### BEGIN sitemap.xmap entry ###

   
   
   

### END  sitemap.xmap entry ###


I get the output:
### BEGIN OUTPUT ###
http://www.hottemax.org";>Testlink
### END OUTPUT ###


But I would expect:
http://www.hottemax.org"; target="_blank">Testlink

Many thanks for help


Frank


-- 
10 GB Mailbox, 100 FreeSMS/Monat http://www.gmx.net/de/go/topmail
+++ GMX - die erste Adresse für Mail, Message, More +++

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 commands, e-mail: [EMAIL PROTECTED]




http://cocoon.apache.org/2.1/userdocs/flow/api.html

cocoon.request.getCookies()
cocoon.response.createCookie()
cocoon.reqponse.addCookie() etc.
All on the above page

Andrew


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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: [EMAIL PROTECTED]



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-mail message and/or attachments to it may contain confidential or privileged information.   If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited.   If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments.  Thank you