Re: [xmlc] Headers and footers

Erik Rasmussen <[email protected]> Thu, 1 Sep 2005 08:47:07 -0700 (PDT)
Newsgroups gmane.comp.java.enhydra.xmlc
Message-ID <[email protected]>
This is a multi-part message in MIME format...

------------=_1125589664-4880-150
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit


--- James Rochford <[email protected]> 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 
 


------------=_1125589664-4880-150
Content-Type: text/plain; name="message-footer.txt"
Content-Disposition: inline; filename="message-footer.txt"
Content-Transfer-Encoding: 8bit


--
You receive this message as a subscriber of the [email protected] mailing list.
To unsubscribe: mailto:[email protected]
For general help: mailto:[email protected]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

------------=_1125589664-4880-150--