Re: Cocoon and WAP problems

2004-06-30 Thread Oro smith
The problem continues to exist even after correcting the wml being generated.I used nokia's toolkit to validate and correct the wml. I tried examining the http header and got the following results. The inbox page is displayed and has the following url http://:/mail/mail/mail.wml The

Re: Cocoon and WAP problems

2004-06-30 Thread Oro smith
The problem continues to exist even after correcting the wml being generated.I used nokia's toolkit to validate and correct the wml. I tried examining the http header and got the following results. The inbox page is displayed and has the following url http://:/mail/mail/mail.wml The

Re: Cocoon and WAP problems

2004-06-30 Thread Oro smith
The problem continues to exist even after correcting the wml being generated.I used nokia's toolkit to validate and correct the wml. I tried examining the http header and got the following results. The inbox page is displayed and has the following url http://:/mail/mail/mail.wml The

Re: Cocoon and WAP problems

2004-06-25 Thread defe
Quoting Oro smith [EMAIL PROTECTED]: i tried map:match pattern=test.wml map:read src=test.wml/ /map:match and it works for url mail/test.wml in both the phone and the emulator ! What does this mean? Now im trying to debug the wml pages using Nokia's nmit. Im

Re: Cocoon and WAP problems

2004-06-24 Thread Oro smith
Oro smith schrieb: Actually when i found that i got the message invalid wml code i tried to test if it was not valid. I saved the wml being generated to disk ie.cocoon 'mail' directory and tried to display it using sitemap. map:match pattern=test.wml map:generate src=test.wml/

Re: Cocoon and WAP problems

2004-06-24 Thread defe
Quoting Oro smith [EMAIL PROTECTED]: Oro smith schrieb: Actually when i found that i got the message invalid wml code i tried to test if it was not valid. I saved the wml being generated to disk ie.cocoon 'mail' directory and tried to display it using sitemap. map:match

Re: Cocoon and WAP problems

2004-06-24 Thread Oro smith
i tried map:match pattern=test.wml map:read src=test.wml/ /map:match and it works for url mail/test.wml in both the phone and the emulator ! What does this mean? Now im trying to debug the wml pages using Nokia's nmit. Im wondering if the problem has something to do with

Re: Cocoon and WAP problems

2004-06-23 Thread Oro smith
I tried this: map:match pattern=test(2).wml map:generate src=test.wml/ map:serialize type=wml/ /map:match It works. test.wml is displayed. Does that mean that the WAP gateway accepts characters like '(' and ')' ? Smith Quoting [EMAIL PROTECTED]: Oro smith schrieb:

Re: Cocoon and WAP problems

2004-06-23 Thread Oro smith
try to change the url pattern so that it doesn't contain parentheses, e.g.: mail/mail/mail_2_.wml some gateways don't like certain characters in URLs, e.g. commas. and as already mentioned check/compare HTTP headers. I tried mail/mail/mail_2_.wml Doesnt work!! again the error invalid wml

Re: Cocoon and WAP problems

2004-06-23 Thread Marco Rolappe
Oro smith schrieb: I tried this: map:match pattern=test(2).wml map:generate src=test.wml/ map:serialize type=wml/ /map:match It works. test.wml is displayed. Does that mean that the WAP gateway accepts characters like '(' and ')' ? seems like that. easiest would be if you

Re: Cocoon and WAP problems

2004-06-23 Thread Oro smith
Quoting [EMAIL PROTECTED]: seems like that. easiest would be if you described what you use (emulator, gateway, etc.) and posted an archive containing the minimum to reproduce the problem (i.e. a minimum sitemap and accompanying wml files). I have the necessary tools installed and could

Re: Cocoon and WAP problems

2004-06-23 Thread defe
The wml generated is here: ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE wml PUBLIC -//WAPFORUM//DTD WML 1.1//EN http://www.wapforum.org/DTD/wml_1.1.xml; wmlcard title=Wap mail id=maillink href=../main.css title= media=screen type=text/css rel=stylesheet/link href=../favicon.ico rel=icon/table

Re: Cocoon and WAP problems

2004-06-23 Thread Skip Carter
The wml generated is here: ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE wml PUBLIC -//WAPFORUM//DTD WML 1.1//EN http://www.wapforum.org/DTD/wml_1.1.xml; wmlcard title=Wap mail id=maillink href=../main.css title= media=screen type=text/css rel=stylesheet/link href=../favicon.ico

RE: Cocoon and WAP problems

2004-06-21 Thread Conal Tuohy
/mail.wml?cmd=cat-message-by-idid=3 ... you could change your sitemap to handle URLs like: mail/mail/cmd/cat-message-by-id/3/mail.wml Cheers Con -Original Message- From: Oro smith [mailto:[EMAIL PROTECTED] Sent: Monday, 21 June 2004 5:02 p.m. To: [EMAIL PROTECTED] Subject: Re: Cocoon

Re: Cocoon and WAP problems

2004-06-21 Thread Jörg Heinicke
I saved the wml code to disk and accessed it through cocoon. This works fine. The problem occurs only when i go through clicking on the links for the query string: mail/mail/mail.wml?cmd=cat-message-by-idid=3 If there was anything wrong with the wml page generated by cocoon, then why

RE: Cocoon and WAP problems

2004-06-21 Thread Oro smith
Quoting [EMAIL PROTECTED]: Hey Oro, maybe the problem is your WAP client doesn't like query strings in the URL? I know it sounds weird, but it could be. You have a matcher for test.wml - try accessing it with some (dummy) parameters, e.g. test.wml?foo=bar If that IS your problem then

Re: Cocoon and WAP problems

2004-06-21 Thread Marco Rolappe
Oro smith schrieb: Quoting [EMAIL PROTECTED]: Hey Oro, maybe the problem is your WAP client doesn't like query strings in the URL? I know it sounds weird, but it could be. You have a matcher for test.wml - try accessing it with some (dummy) parameters, e.g. test.wml?foo=bar If that IS your

Re: Cocoon and WAP problems

2004-06-21 Thread Oro smith
On comparing the http headers, The content type of the response header seems to be text/vnd.wap.wml for the login page. However for all the pages after that the content type is text/html, even though it is a wml page. is this right? Smith. Quoting [EMAIL PROTECTED]: Oro smith

Re: Cocoon and WAP problems

2004-06-21 Thread Marco Rolappe
Oro smith schrieb: On comparing the http headers, The content type of the response header seems to be text/vnd.wap.wml for the login page. However for all the pages after that the content type is text/html, even though it is a wml page. is this right? Smith. well, I guess that's the problem.

Re: Cocoon and WAP problems

2004-06-21 Thread Oro smith
the content type is text/html for all the pages after login page. but this is probably because i tested the pages without logging in. there is no session and the server is returning a text response which shows something like cannot get store connect null. Quoting [EMAIL PROTECTED]: Oro

Re: Cocoon and WAP problems

2004-06-20 Thread Marco Rolappe
Joerg Heinicke schrieb: On 19.06.2004 11:12, Oro smith wrote: snip/ I fear it would not help as saving the page to disk and reading it from there does not make the page valid, but it works though. Another problem could then be a missing or wrong content-type header. In which way do you read

Re: Cocoon and WAP problems

2004-06-20 Thread Oro smith
I saved the wml code to disk and accessed it through cocoon. the sitemap snippet for accesing test.wml is : map:match pattern=test.wml map:generate src=test.wml/ map:serialize type=wml/ /map:match This works fine. The problem occurs only when i go through clicking on the links

Re: Cocoon and WAP problems

2004-06-19 Thread Oro smith
Dear Mr.joerg, As you had suggested, i saved the wml file to disk and tested it in the TTemulator. however, unexpectedly, the page was displayed without error !! The same page ie mail/mail/mail.wml?cmd=cat-message-by-idid=3 which gave invalid wml code previously works fine now ie. after being

Re: Cocoon and WAP problems

2004-06-19 Thread Joerg Heinicke
On 19.06.2004 11:12, Oro smith wrote: Dear Mr.joerg, As you had suggested, i saved the wml file to disk and tested it in the TTemulator. however, unexpectedly, the page was displayed without error !! The same page ie mail/mail/mail.wml?cmd=cat-message-by-idid=3 which gave invalid wml code

Re: Cocoon and WAP problems

2004-06-18 Thread Oro smith
I get the error invalid wml code when i tested it in the wap emulator available at tagtag.com.On the mobile phone i get the error Unable to fetch response. I get no error with the opera web browser though. This is actual flow: 1. login page is displayed for mail/login.wml. 2. After logging in

Re: Cocoon and WAP problems

2004-06-18 Thread Joerg Heinicke
On 18.06.2004 09:39, Oro smith wrote: There seems to be some problem when using cocoon webmail with wap. After i login and the inbox is displayed, i try to click on the mail link. However i get the message invalid wml code. Does this have something to do with the cocoon sitemap and wap. If anyone

Re: Cocoon and WAP problems

2004-06-17 Thread Joerg Heinicke
On 17.06.2004 06:22, Oro smith wrote: There seems to be some problem when using cocoon webmail with wap. After i login and the inbox is displayed, i try to click on the mail link. However i get the message invalid wml code. Does this have something to do with the cocoon sitemap and wap. If