|
Signatures problem: msg#00217java.dwr.user
Hi all, I have come across a bizarre (they always seem bizarre when you cant solve them!) issue. I have the following object model class Campaign(){ List<Page> landingPages; .... } class Page(){ ... String path; ... } I return a 'Campaign' object after each of my ajax calls and rewrite the page using callback methods. I access the 'landingPages' list as below, function updateLandingPages(campaign) { var lps = new Array(); lps = campaign.landingPages; ..... } This code has been working fine for a while until i realised that if any of my 'Page' path members are set to 'xxxx.htm' DWR returns an undefined 'Page' object. I.e. I can return any 'Page' where the value of path contains a '/' symbol To sum up, Works: 'blah/blah.htm' Fails: 'blah.htm' I am completely stumped, have checked my server code and I have the correct objects for DWR to return. Is DWR getting confused somehow with the string i use in the 'path' variable? does it maybe think they are uris and try and do something clever with them? Do i need a signature? if so how do i go about writing one of these? Thanks in advance for your help everyone. Ta Matt -- View this message in context: http://www.nabble.com/Signatures-problem-tf3307889.html#a9201216 Sent from the DWR - Users mailing list archive at Nabble.com.
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re:[dwr-user] begginers spring integration, Keneida Jakoito Niemago |
|---|---|
| Next by Date: | DWR giving error in https env, Leena Kulkarni |
| Previous by Thread: | Re:[dwr-user] begginers spring integration, Keneida Jakoito Niemago |
| Next by Thread: | Re: DWR and uri patterns?, oblongman |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |