Re: Another newby question :)

Jacob Kjome <[email protected]>
Newsgroups gmane.comp.java.enhydra.barracuda.general
Organization Springfield Nuclear Plant
Message-ID <[email protected]>
Hello Anatol,

The way I share content between pages is to use SSI's for my XMLC
templates.  XMLC can then inline those at compile time.  See the
BConfig app or Diez' contrib app for examples.

Jake

Monday, February 10, 2003, 11:31:45 AM, you wrote:

AP> Hi folks,

AP>   There are some questions.

AP>   I want to avoid comments <!-- --> in page which sends to client.
AP>   what i must to do for that. (i look at XMLC options list but i don't find
AP>   answer)

AP>   Barracuda seems good but the documentation is not clear for me.
AP>   And i don't understand how to implement decorator pattern for my
AP>   application.

AP>   It means i have set of page with very similar content - there can be
AP>   navigation bar, menu, footer. And i want to put into this 'wrapper' my own content

AP>    /  <html>                                          <<
AP>    /  <head>                                          << application
AP>    /    <title>[Title]</title>                        << specific
AP>    /    <meta http-equiv="content-type"               << content
AP>    /         content="text/html; charset=UTF-8">      <<
AP>    /  </head>                                         <<
AP>    /  BLAH....BLAH                                    <<
AP>    /
AP>    /

AP>       Hello, world!         <--- event specific content


AP>    / </html>                                          <<


AP>    What is the best solution??


AP>    BTW.
AP>      Previos problem was solve with putting xerces-1.4.4-xmlc-2.1.jar
AP>      into jre/lib/endorsed folder. But in docs was written that in
AP>      1.4+ JDK it is no need to do. (I'm using 1.4.1_01 Sun JDK)


AP>   Sorry for my bad english.



-- 
Best regards,
 Jacob                            mailto:[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.