|
Re: DWR and uri patterns?: msg#00224java.dwr.user
I am starting to think this is a bug as I have tested it to death... oblongman wrote: > > 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/DWR-and-uri-patterns--tf3307889.html#a9204775 Sent from the DWR - Users mailing list archive at Nabble.com.
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | spring-dwr-2.0.xsd: No include/exclude on create & convert?, Michael Monette |
|---|---|
| Next by Date: | RE: Java side Util.setValue problem after upgrading to DWR 2.0 RC1, Nemanja Kostic |
| Previous by Thread: | Signatures problem, oblongman |
| Next by Thread: | DWR giving error in https env, Leena Kulkarni |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |