I suspect there are multiple solutions, depending on your needs.  You could
write a logicsheet (taglib) which defined custom tags that supply the
static data you want.  Since you have all of Java at your disposal, you
could write a flat file and parse it in Java, or use some kind of object
streaming thingy (you can tell I don't know much Java).  Etc.

-Christopher




Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:

Subject:  Static data access in xsp


Hello,

I did not get a reply on my previous email about this topic so I assume I
have ask the question wrong.

I use C1.8.2.

I know this issue must have been addressed in cocoon, but I can not find
info in the mailing archives/faq's about this.

I have static data that I need to access in xsp pages.  Typically stuff
like
URL's that I need to use in <util:include-uri> tags.  Since you can not
chain xsp processes how would I access this information to use in other xsp
tags on the same xsp page ?

Please help.


My previous email:

How do one access static data (for example configuration data in a xml
file)
in a xsp page to use in xsp instructions ?

<util:include-file> reads a xml file into dom, but you can not access this
data to use in xsp tags in the rest of the xsp page, only to pass on for
xsl
processing later on.

The problem is that I have different xsp pages sharing common information
(example: server address) which all of them use in <util:include-uri> tags.

Any suggestions ?


Truhann





---------------------------------------------------------------------
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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to