Request Parameters in XPL

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Request Parameters in XPL

Piotr Świgoń
Hi Everyone,

Is there a way to obtain request parameters in XPL? I tried using
oxf:request processor, and printed whole "/request" but there were no
parameters. Maybe it's a problem with refreshing XPL program after
action of portlet? I know that processAction method of OPSPortlet is
called and it's request argument includes parameters which I would like
to read in XPL.

regards,
Peter


--
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
Reply | Threaded
Open this post in threaded view
|

RE: Request Parameters in XPL

Ryan Puddephatt-3
Peter,
        If there are no parameters, it is likely no request was formed, how are you calling the XPL?

Ryan

-----------------------------------------------
Ryan Puddephatt
FIX Developer
Fidessa LatentZero
1 Alfred Place
London WC1E 7EB
Office: +44 (0) 20 7462 4200
Direct: +44 (0) 20 7323 6112
Blackberry: +44 (0) 79 8539 2458
Fax: +44 (0) 20 7462 4242
Email: [hidden email]
Web: http://www.latentzero.com


-----Original Message-----
From: Piotr Świgoń [mailto:[hidden email]]
Sent: 27 June 2008 10:28
To: [hidden email]
Subject: [ops-users] Request Parameters in XPL

Hi Everyone,

Is there a way to obtain request parameters in XPL? I tried using oxf:request processor, and printed whole "/request" but there were no parameters. Maybe it's a problem with refreshing XPL program after action of portlet? I know that processAction method of OPSPortlet is called and it's request argument includes parameters which I would like to read in XPL.

regards,
Peter


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email ______________________________________________________________________

_______________________________________________________________________
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

_____________________________________________________________________
This e-mail has been scanned for viruses by Verizon Business Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.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
Reply | Threaded
Open this post in threaded view
|

Re: RE: Request Parameters in XPL

Piotr Świgoń
Well, I have this line in page-flow-portlet.xml

    <page id="reader" path-info="/" model="apps/reader/reader.xpl"
view="apps/reader/reader.xsl"/>

and reader.xpl is:

<p:config xmlns:oxf="http://www.orbeon.com/oxf/processors"
xmlns:p="http://www.orbeon.com/oxf/pipeline">
    <p:param type="output" name="data"/>
    <p:processor name="oxf:request">
        <p:input name="config">
            <config>
                <include>/request</include>
            </config>
        </p:input>
        <p:output name="response" ref="data"/>
    </p:processor>
</p:config>

and I get the right page with lot of data from request.

but, when next request comes (from another portlet) with some parameters
I would like to read in XPL, I do not see any change in request printed
by XPL, but I see that XSL transformation was called, because I print
also current time (in XSL).

thanks for response,
Peter

Ryan Puddephatt pisze:

> Peter,
> If there are no parameters, it is likely no request was formed, how are you calling the XPL?
>
> Ryan
>
> -----------------------------------------------
> Ryan Puddephatt
> FIX Developer
> Fidessa LatentZero
> 1 Alfred Place
> London WC1E 7EB
> Office: +44 (0) 20 7462 4200
> Direct: +44 (0) 20 7323 6112
> Blackberry: +44 (0) 79 8539 2458
> Fax: +44 (0) 20 7462 4242
> Email: [hidden email]
> Web: http://www.latentzero.com
>
>
> -----Original Message-----
> From: Piotr Świgoń [mailto:[hidden email]]
> Sent: 27 June 2008 10:28
> To: [hidden email]
> Subject: [ops-users] Request Parameters in XPL
>
> Hi Everyone,
>
> Is there a way to obtain request parameters in XPL? I tried using oxf:request processor, and printed whole "/request" but there were no parameters. Maybe it's a problem with refreshing XPL program after action of portlet? I know that processAction method of OPSPortlet is called and it's request argument includes parameters which I would like to read in XPL.
>
> regards,
> Peter
>
>
> ______________________________________________________________________
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email ______________________________________________________________________
>
> _______________________________________________________________________
> The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.
>
> _____________________________________________________________________
> This e-mail has been scanned for viruses by Verizon Business Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.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
Reply | Threaded
Open this post in threaded view
|

RE: Re: RE: Request Parameters in XPL

Ryan Puddephatt-3
Peter,
        What are you doing in the XSL? Just displaying the results? I take by passing parameters you mean /?param1=fds&param2=dshjsdhak

Ryan

-----------------------------------------------
Ryan Puddephatt
FIX Developer
Fidessa LatentZero
1 Alfred Place
London WC1E 7EB
Office: +44 (0) 20 7462 4200
Direct: +44 (0) 20 7323 6112
Blackberry: +44 (0) 79 8539 2458
Fax: +44 (0) 20 7462 4242
Email: [hidden email]
Web: http://www.latentzero.com


-----Original Message-----
From: Piotr Świgoń [mailto:[hidden email]]
Sent: 27 June 2008 11:22
To: [hidden email]
Subject: [ops-users] Re: RE: Request Parameters in XPL

Well, I have this line in page-flow-portlet.xml

    <page id="reader" path-info="/" model="apps/reader/reader.xpl"
view="apps/reader/reader.xsl"/>

and reader.xpl is:

<p:config xmlns:oxf="http://www.orbeon.com/oxf/processors"
xmlns:p="http://www.orbeon.com/oxf/pipeline">
    <p:param type="output" name="data"/>
    <p:processor name="oxf:request">
        <p:input name="config">
            <config>
                <include>/request</include>
            </config>
        </p:input>
        <p:output name="response" ref="data"/>
    </p:processor>
</p:config>

and I get the right page with lot of data from request.

but, when next request comes (from another portlet) with some parameters I would like to read in XPL, I do not see any change in request printed by XPL, but I see that XSL transformation was called, because I print also current time (in XSL).

thanks for response,
Peter

Ryan Puddephatt pisze:

> Peter,
> If there are no parameters, it is likely no request was formed, how are you calling the XPL?
>
> Ryan
>
> -----------------------------------------------
> Ryan Puddephatt
> FIX Developer
> Fidessa LatentZero
> 1 Alfred Place
> London WC1E 7EB
> Office: +44 (0) 20 7462 4200
> Direct: +44 (0) 20 7323 6112
> Blackberry: +44 (0) 79 8539 2458
> Fax: +44 (0) 20 7462 4242
> Email: [hidden email]
> Web: http://www.latentzero.com
>
>
> -----Original Message-----
> From: Piotr Świgoń [mailto:[hidden email]]
> Sent: 27 June 2008 10:28
> To: [hidden email]
> Subject: [ops-users] Request Parameters in XPL
>
> Hi Everyone,
>
> Is there a way to obtain request parameters in XPL? I tried using oxf:request processor, and printed whole "/request" but there were no parameters. Maybe it's a problem with refreshing XPL program after action of portlet? I know that processAction method of OPSPortlet is called and it's request argument includes parameters which I would like to read in XPL.
>
> regards,
> Peter
>
>
> ______________________________________________________________________
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email 
> ______________________________________________________________________
>
> ______________________________________________________________________
> _ The information transmitted is intended only for the person or
> entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.
>
> _____________________________________________________________________
> This e-mail has been scanned for viruses by Verizon Business Internet
> Managed Scanning Services - powered by MessageLabs. For further
> information visit http://www.mci.com
>  


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email ______________________________________________________________________

_______________________________________________________________________
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

_____________________________________________________________________
This e-mail has been scanned for viruses by Verizon Business Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.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