logo       

Re: [xmlc] Headers and footers: msg#00004

java.enhydra.xmlc

Subject: Re: [xmlc] Headers and footers


--- James Rochford <jrochford@xxxxxxxxx> wrote:
> I am currently using a dynamic header and footer.
> My approach is a
> little different but perhaps it will work for you.
> I'm using a custom
> framework but the premise is the same. All the
> pages in our site are
> passed to a handler that inspects the XMLObject for
> a particular div in
> this case <div id="header">. Sort of a "post
> processor" for the view
> where content that is the same across all pages gets
> added. Hope this
> helps.

Aha! My problem was that I thought that importNode()
was a method on Document, so I was calling
xmlObject.getDocument().importNode(), when I needed to
be calling xmlObject.importNode().

It's still not working 100% smoothly, but you've
gotten me over that exception. Thanks!

Erik



____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs



--
You receive this message as a subscriber of the xmlc@xxxxxxxxxxxxx mailing list.
To unsubscribe: mailto:xmlc-unsubscribe@xxxxxxxxxxxxx
For general help: mailto:sympa@xxxxxxxxxxxxx?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise