cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pascal Davoust" <davou...@yahoo.com>
Subject [C2] Content/Layout separation
Date Tue, 26 Feb 2002 22:24:09 GMT
Hi all,

Here's my current situation.
I'm using XSP pages to provide dynamic content (static content + content
logic) which are then transformed using stylesheets (layout tranform).
Nothing special.

Now, I'd like to enhance my layout. I'm trying to make it contextual: for
instance, I'd like to display browsing information (based on previously
visited pages, for instance). Example:
   [Img1] Welcome > [Img2] List of records > [Img3] Edit record

Obviously, the (dynamic) content should be made contextual, probably using
the Session object (an action, like the SessionStateAction would do the
trick), to store the previously visited URIs and titles. But it also
includes layout information (the associated images, in my example). I can
also store it in the Session object... my problem is here.

I don't see how to retrieve this piece of information without mixing content
and layout information: it would mean that my XSP generated pages (content)
would hold images URIs (layout related).
I would need some kind of "layout logic" (similar to "content logic")... And
I don't see how I could do this.

Any suggestion?

			Pascal.


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message