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
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
: 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
]
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
. 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
-
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
:[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
];
}
}
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
]
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
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 {
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
: 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
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
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
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
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
]
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
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
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
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
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
21 matches
Mail list logo