hello all, hopefully someone can help me out here.
i am trying to port some simple ajax stuff over to lift from a rails app. basically it just loads an html fragment and puts it into the dom using prototype. i have set up a template which contains the fragment at src/main/ webapp/fragment.html <ul><li>item</li></ul> then i made the page available using the SiteMap and all seems good, but here comes the problem the lift response adds the xml declaration and doctype, one of which seems to cause prototype some problems <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http:// www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <ul><li>item</li></ul> so the question is, how can i make lift send back the raw html without meddling with it? i have tried out using ResourceServer to serve it statically which works, but this wouldn't allow me to generate the fragment dynamically. i would also prefer to have a separate html template file rather than embedding the markup code in a snippet. any thoughts gratefully received.. george --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---
