> Erik,
>
> I tried to use:
>
> <p:processor name="oxf:xforms-submission">
> <p:input name="submission">
> <xforms:submission
> serialization="application/x-www-form-urlencoded"
> omit-xml-declaration="true"
> method="post"
> replace="none"
> action="
http://localhost/some.jsp">
> <xforms:setvalue ev:event="response-headers" ref="dummy" value="/
> header[name = 'Content-Type']/value"/>
> </xforms:submission>
> </p:input>
>
> <p:input name="request">
> <parameters xmlns="">
> <id>40156095</id>
> <dummy/>
> </parameters>
> </p:input>
> <p:output name="response" id="xhtml" debug="xhtml"/>
> &nb sp; &nbs >
>
> ...but the xhtml does not show anything in the dummy element.
>
> Thanks
>
> A.
>
> P.S. Sorry I misspelled your name before.
>
> On Jul 4, 2008, at 10:23 PM, Alexander Zatko wrote:
>
>> Eric,
>>
>> Is it possible to use the event in the oxf:xforms-submission
>> processor? Could you please show an example or point me to
>> documentation?
>>
>> Thank you.
>>
>> A.
>>
>> On Jul 4, 2008, at 8:59 PM, Erik Bruchez wrote:
>>
>>> You can use the event('response-headers') function. E.g. something
>>> like:
>>>
>>> event('response-headers')/header[name = 'Set-Cookie']/value
>>>
>>> This may return several elements as more than one co okie may
>>>>
>>>>
>>>> -Erik
>>>>
>>>> On Jul 3, 2008, at 10:03 PM, Alexander Zatko wrote:
>>>>
>>>>> I need to do a POST request to a web site and then extract
>>>>> cookie info from the response. Is there any way to use
>>>>> oxf:request togehter with oxf:xforms-submission to achieve this?
>>>>> I am not sure if the oxf:request processor can be coaxed to
>>>>> process response returned by the oxf:xforms-submission.
>>>>>
>>>>> Possibly I can acheive what I need differently?
>>>>>
>>>>> Thanks
>>>> blockquote type="cite">
>>>> A.
>>>>
>>>> --
>>>> You receive this message as a subscriber of the
[hidden email]
>>>> mailing list.
>>>> To unsubscribe: mailto:
[hidden email]
>>>> For general help: mailto:
[hidden email]?subject=help
>>>> OW2 mailing lists service home page:
http://www.ow2.org/wws< br>
>>>> --
>>>> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
>>>>
http://www.orbeon.com/>>>>
>>>>
>>>> --
>>>> You receive this message as a subscriber of the
[hidden email]
>>>> mailing list.
>>>> To unsubscribe: mailto:
[hidden email]
>>>> For general help: mailto:
[hidden email]?subject=help
>>>> OW2 mailing lists service home page:
http://www.ow2.org/wws>>>
>>> -- age as a subscriber of the
[hidden email] mailing list.
>>> To unsubscribe: mailto:
[hidden email]
>>> For general help: mailto:
[hidden email]?subject=help
>>> OW2 mailing lists service home page:
http://www.ow2.org/wws>
>
> --
> You receive this message as a subscriber of the
[hidden email]
> mailing list.
> To unsubscribe: mailto:
[hidden email]
> For general help: mailto:
[hidden email]?subject=help
> OW2 mailing lists service home page:
http://www.ow2.org/wws