[Building Sakai] xsl transforms and sakai's session

Maurer, Christopher Wayne chmaurer at iupui.edu
Sun Sep 23 20:37:40 PDT 2012


Ok, whew!  I think I got it all working.  That was a lot harder than I
expected!  I guess that's Sakai development for you!

Chris

On 9/23/12 10:12 PM, "Maurer, Christopher Wayne" <chmaurer at iupui.edu>
wrote:

>I'm not sure how I'd do that.  Do you know the details of the "Sakai
>cookie"?
>
>Chris
>
>On 9/23/12 1:55 PM, "Mark J. Norton" <markjnorton at earthlink.net> wrote:
>
>>You might need to pass the Sakai cookie in the header of the requests.
>>This would be done normally by a browser, but if you are doing it
>>programmatically, you might need to do it yourself.
>>
>>- Mark
>>
>>On 9/23/2012 9:21 AM, Maurer, Christopher Wayne wrote:
>>> 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"
>>> _______________________________________________
>>> 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"
>>>
>>>
>>
>>_______________________________________________
>>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"
>
>_______________________________________________
>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