logo       

Adding a header and footer at runtime: msg#00015

java.enhydra.xmlc

Subject: Adding a header and footer at runtime

I want to add a header and footer to my HTML classes at runtime, for branding purposes. It's not feasible to compile new classes each time I want to create a new set of branded pages, especially since users are going to be doing this anyway.

Currently the best I've done is add some span tags to my HTML that I replace at runtime with a custom header and footer pulled from some files. This produces bad HTML because XMLC automatically adds <HTML>, <HEAD>, etc. tags if they don't exist when compiling.

Does anyone have a better suggestion?



--
Ben Sinclair
ben@xxxxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise