[Building Sakai] xsl transforms and sakai's session

Maurer, Christopher Wayne chmaurer at iupui.edu
Sun Sep 23 06:21:43 PDT 2012


So a bit more background, the normal xsl that generates html works just
fine.  But Ive got a second one that then turns it in to a pdf.  That's
the part that when retrieving the images doesn't have a session.

Chris

On 9/23/12 12:54 AM, "Earle Nietzel" <earle.nietzel at gmail.com> wrote:

>Hi Chris,
>
>My first thoughts are:
>
>As long as your doing your processing in a request you should have the
>Session available.
>
>If this not the case then you will probably need to get/create a
>session retrieve whatever information you need and then perform any
>xsl transformations.
>
>Earle
>
>On Sat, Sep 22, 2012 at 11:46 PM, Maurer, Christopher Wayne
><chmaurer at iupui.edu> wrote:
>> I'm doing some xslt stuff and am having problems when my xsl has
>>references
>> (images) to either things from /access or /direct.  The short story
>>seems to
>> be that the transformer doesn't have a session, so when it tries to
>>process
>> those urls, I've got no session/user and those calls fail.  Is there
>>some
>> way that I can pass my current session to the transformer with some
>>sort of
>> handler or something?  Anyone done anything like this before?
>>
>> Chris
>>
>> _______________________________________________
>> sakai-dev mailing list
>> sakai-dev at collab.sakaiproject.org
>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>
>> TO UNSUBSCRIBE: send email to
>>sakai-dev-unsubscribe at collab.sakaiproject.org
>> with a subject of "unsubscribe"



More information about the sakai-dev mailing list