cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Varga Zsombor" <varga.zsom...@gmail.com>
Subject Re: Passing parameters to a soap:call in an xsp:logic?
Date Thu, 04 Dec 2008 20:41:55 GMT
Hi!

Try this way:
<soap:call>
  <soap:url><xsp:expr>request.getParameter("SOAP_URL");</xsp:expr></soap:url>

or you should use the xsp-request taglib:
<soap:call>
  <soap:url><xsp-request:get-parameter name="SOAP_URL"/></soap:url>

Zsombor

On Thu, Dec 4, 2008 at 10:06, Smigge <jogilius@hotmail.com> wrote:
>
> Hi!
>
> I'm trying to pass a URL to a soap:call. I know how to pass parameters to a
> xsp that contains of plain java code, but this doesn't seem to work:
>
> <xsp:logic>
>      <soap:call>
>             <soap:url>request.getParameter("SOAP_URL");</soap:url>
>
> How can I get the parameter? Of course I could create the xsp file
> dynamically, but there has to be a simpler way to do this, right?
> --
> View this message in context: http://www.nabble.com/Passing-parameters-to-a-soap%3Acall-in-an-xsp%3Alogic--tp20829665p20829665.html
> Sent from the Cocoon - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message