AW: File existence

2003-09-23 Thread Mustafa Ali, Halgurt
You are right, I am sorry; I will try to solve it alone. Regards, Schoene Gruesse, -Ursprüngliche Nachricht- Von: Joerg Heinicke [mailto:[EMAIL PROTECTED] Gesendet: Samstag, 20. September 2003 20:29 An: [EMAIL PROTECTED] Betreff: Re: File existence Sorry for my impatience - but how

Re: AW: File existence

2003-09-23 Thread Joerg Heinicke
Mustafa Ali, Halgurt wrote: You are right, I am sorry; I will try to solve it alone. Regards, Schoene Gruesse, Please don't take it personally. As you can see many people on this list are willing to help. But: you must ask the right questions. Regards, Joerg PS: Where are you situated? I

Re: AW: AW: AW: AW: File existence

2003-09-19 Thread Olivier Billard
: AW: AW: AW: File existence it is *{request-param:ID}* instead of {request-parameter:ID} -- Olivier Billard On 17/09/2003 09:41, Mustafa Ali, Halgurt wrote: Oh it seems no to work, I got an Error, her eis it: Invalid pattern '{request-parameter:ID}' Do you have an idea

Re: AW: File existence

2003-09-19 Thread Olivier Billard
] Gesendet: Freitag, 19. September 2003 09:19 An: [EMAIL PROTECTED] Betreff: Re: AW: AW: AW: AW: File existence Can you send the exact error and the stack trace you got ? -- -- Olivier BILLARD - To unsubscribe, e-mail: [EMAIL

Re: AW: File existence

2003-09-19 Thread Upayavira
. September 2003 09:19 An: [EMAIL PROTECTED] Betreff: Re: AW: AW: AW: AW: File existence Can you send the exact error and the stack trace you got ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

AW: AW: File existence

2003-09-19 Thread Mustafa Ali, Halgurt
- Von: Upayavira [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 19. September 2003 11:08 An: [EMAIL PROTECTED] Betreff: Re: AW: File existence You seem to be having a lot of trouble with this. Have you considered using flow? With the below, if the file exists, the pattern=exists pipeline will be shown

Re: AW: AW: File existence

2003-09-19 Thread Upayavira
:[EMAIL PROTECTED] Gesendet: Freitag, 19. September 2003 11:08 An: [EMAIL PROTECTED] Betreff: Re: AW: File existence You seem to be having a lot of trouble with this. Have you considered using flow? With the below, if the file exists, the pattern=exists pipeline will be shown, otherwise the pattern

AW: AW: AW: File existence

2003-09-19 Thread Mustafa Ali, Halgurt
]; } } Have I forgotten anything? regards -Ursprüngliche Nachricht- Von: Upayavira [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 19. September 2003 13:08 An: [EMAIL PROTECTED] Betreff: Re: AW: AW: File existence Mustafa Ali, Halgurt wrote: Hello, I did it as you said, but I got this error

Re: AW: AW: AW: File existence

2003-09-19 Thread Upayavira
] Betreff: Re: AW: AW: File existence Mustafa Ali, Halgurt wrote: Hello, I did it as you said, but I got this error message: (Exists is not a function) Note that Javascript is case sensitive. Have you got it as Exists or as exists? Another question, when I call the Pipeline handling

Re: AW: AW: AW: File existence

2003-09-19 Thread Geoff Howard
Mustafa Ali, Halgurt wrote: Hello, I've got it as exists, her ist he content of my exists.js: function exists() { var file = new java.io.File(cocoon.parameters[test-uri]); if (file.exists()) { cocoon.sendPage(cocoon.parameters[exists-uri]; } else {

AW: AW: AW: AW: File existence

2003-09-19 Thread Mustafa Ali, Halgurt
You are right, but that was even not the reason, I changed it and am still getting the same error. -Ursprüngliche Nachricht- Von: Geoff Howard [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 19. September 2003 14:08 An: [EMAIL PROTECTED] Betreff: Re: AW: AW: AW: File existence Mustafa Ali

AW: AW: AW: File existence

2003-09-17 Thread Mustafa Ali, Halgurt
: Re: AW: AW: File existence Try to pass the value of {request-param:ID} to the stylesheet or debug it in another way and tell us if this works correctly. Joerg Mustafa Ali, Halgurt wrote: But I am using different stylesheets, I made a mistake, I corrected my pipeline and now the Otherwise part

Re: AW: AW: AW: File existence

2003-09-17 Thread Olivier Billard
Nachricht- Von: Joerg Heinicke [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 16. September 2003 15:11 An: [EMAIL PROTECTED] Betreff: Re: AW: AW: File existence Try to pass the value of {request-param:ID} to the stylesheet or debug it in another way and tell us if this works correctly. Joerg Mustafa

AW: File existence

2003-09-17 Thread Mustafa Ali, Halgurt
My files are in the same directory like my sitemap.xmap, I do not even now how to use the Action, can you please tell me how to write my pipeline with this action? Many thanks -Ursprüngliche Nachricht- Von: Olivier Billard [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 17. September

Re: AW: File existence

2003-09-17 Thread Olivier Billard
map:pipeline map:match pattern=handling map:act type=resource-exists map:parameter name=url value=context://{request-param:ID}.xml/ !-- if resource exists : -- map:generate type=file src=default.xml / map:transform type=xslt src=form2data.xsl map:parameter

AW: AW: File existence

2003-09-17 Thread Mustafa Ali, Halgurt
seeing it worng? Thanks, -Ursprüngliche Nachricht- Von: Olivier Billard [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 17. September 2003 12:20 An: [EMAIL PROTECTED] Betreff: Re: AW: File existence map:pipeline map:match pattern=handling map:act type=resource-exists map:parameter

Re: AW: AW: File existence

2003-09-17 Thread Olivier Billard
] Betreff: Re: AW: File existence map:pipeline map:match pattern=handling map:act type=resource-exists map:parameter name=url value=context://{request-param:ID}.xml/ !-- if resource exists : -- map:generate type=file src=default.xml / map:transform type=xslt src=form2data.xsl

AW: File existence

2003-09-16 Thread Mustafa Ali, Halgurt
Thank you very much, I will try it and let you know whether it works or not. -Ursprüngliche Nachricht- Von: Antonio Gallardo [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 16. September 2003 13:37 An: [EMAIL PROTECTED] Betreff: Re: File existence Mustafa Ali, Halgurt dijo: Hi, I

Re: AW: File existence

2003-09-16 Thread Antonio Gallardo
Hi: I never used it. From your pipeline, it looks like your are always generating from the same source no matter if the fileexists or not. map:generate type=file src=default.xml / Then you use a tranformer in both cases, the only diference is when you the file exists, you send parameters to the

AW: AW: File existence

2003-09-16 Thread Mustafa Ali, Halgurt
PROTECTED] Gesendet: Dienstag, 16. September 2003 14:56 An: [EMAIL PROTECTED] Betreff: Re: AW: File existence Hi: I never used it. From your pipeline, it looks like your are always generating from the same source no matter if the fileexists or not. map:generate type=file src=default.xml / Then you

Re: AW: AW: File existence

2003-09-16 Thread Joerg Heinicke
if the file exists or not, I think there is an error in the red line. Thanks, Halgurt -Ursprüngliche Nachricht- Von: Antonio Gallardo [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 16. September 2003 14:56 An: [EMAIL PROTECTED] Betreff: Re: AW: File existence Hi: I never used it. From your