Page Features

"Anthony Eden" <[email protected]>
Newsgroups gmane.comp.java.jpublish.devel
Message-ID <000001c2762e$c5f73180$01000001@mobile1>
I would like to summarize my thoughts on how the Page management will be
modified to handle request-specific features.  I am going to change the
current Page class to an interface and then implement that with two
different classes.  The first class will be the PageInstance class which
will be the current Page class.  The second will be a PageWrapper class
which is what will actually be exposed to actions and Velocity pages.
There will only be one PageInstance in memory which is shared among all
requests.  There will be one PageWrapper per request, allowing for
Page.setTemplate() to be applied as well as localization features.  What
do you think?

Sincerely,
Anthony Eden

-----------
Aetrion LLC
http://www.aetrion.com/
[email protected]

Reduce. Reuse. Relax.



-------------------------------------------------------
This sf.net email is sponsored by: viaVerio will pay you up to
$1,000 for every account that you consolidate with us.
http://ad.doubleclick.net/clk;4749864;7604308;v?
http://www.viaverio.com/consolidator/osdn.cfm
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.