cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geoff Howard" <coc...@leverageweb.com>
Subject RE: handing an XML doc (in memory) to the sitemap
Date Sat, 01 Feb 2003 03:24:24 GMT
I have zero knowledge (well, very little) of the Sunrise process you're
trying to use, but it sounds like you should be able to place the
xmldocument into the session as a session attribute, and call the
SessionAttributeGenerator on it.  The javadocs are pretty good for that one.
For the xsl you may need to call it via cocoon:/ pseudo protocol from
another pipeline set up to use the same generator.  pretty sure that
protocol preserves all session info and attributes.

Be sure to let me know what happens.

By the way, I seem to recall that you are local to DC - did you notice the
DC CHUG information brewing earlier today?  Would you be interested in that
if it gets off the ground?

Geoff

> -----Original Message-----
> From: Ray Martin [mailto:raymartin@aci-hq.com]
> Sent: Friday, January 31, 2003 7:02 PM
> To: cocoon-users@xml.apache.org
> Subject: handing an XML doc (in memory) to the sitemap
>
>
> Using the SunRise instructions found at
> http://radio.weblogs.com/0103021/stories/2002/02/28/usingTheSunris
> eComponent
> s.html
>
> The example has a pipeline named foo-authuser
> In this pipeline, i call an action named checkCredentials.  This action
> accesses several tables in a database.  If a match is found, for username
> and password, a vector of roles available to that user is
> created.  Then an
> XML document is produced in the action that conforms to the Sunrise
> example's authentication XML.
>
> Now i want to hand that XML to the sitemap in place of foo-user.xml and
> foo-user.xsl
>
> Please help me.
>
> I will be glad to share how this entire process works after i bridge this
> final gap.  I will provide the action and all info how to set the
> database.
> You would be able to modify this process to meet your data store needs.
>
> Would anyone be so kind as to give me some assistance? please.
>
>
>
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>
>
>
>


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.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