Marius is right, use with-param... That's the correct solution here.

Cheers, Tim


On 05/08/2009 22:19, "pabraham" <paulabraham...@googlemail.com> wrote:

> 
> I've added <lift:children> to my index.html file and now get:
> 
> XML Parsing Error: junk after document element
> Location: http://192.168.96.150:8080/
> Line Number 113, Column 1:<html xmlns:lift="http://liftweb.net/";
> xmlns="http://www.w3.org/1999/xhtml";>
> ^
> 
> Any ideas?
> 
> In the meantime I can look at <lift:with-param>.
> 
> Paul.
> 
> On 5 Aug, 22:08, Naftoli Gugenheim <naftoli...@gmail.com> wrote:
>> XML documents need to have a single top-level element. Surround the whole
>> index.html with lift:children.
>> 
>> -------------------------------------
>> 
>> pabraham<paulabraham...@googlemail.com> wrote:
>> 
>> Hello there,
>> 
>> Is it possible for an HTML file to have more than one lift:surround
>> tag?
>> 
>> For example, default.html contains
>> 
>> ...
>> <lift:bind name="content">
>> ...
>> <lift:bind name="sidebar">
>> ...
>> 
>> My index.html contains
>> 
>> <lift:surround with="default" at="content">
>>   <p>This is some content</p>
>> </lift:surround>
>> <lift:surround with="default" at="sidebar">
>>   <p>This is some content in the sidebar</p>
>> </lift:surround>
>> 
>> From my fruitless attempts, it seems that the answer to my question is
>> no, but is there any way that I can get this sort of thing to work?
>> 
>> Thanks.
>> 
>> Paul.
> 
> > 
> 



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to