p:parameters

Hello guys and gals.

I have a question about usage of p:parameters.

Is it possible to use the p:parameters in a p:variable?


<p:parameters name="params">
    <p:input port="parameters">
      <p:pipe step="run-pipe" port="par"/>
    </p:input>
  </p:parameters>

  <p:variable name="pipeline"
select="/c:param-set/c:param[@name='pipeline']/@value">
    <p:pipe step="params" port="result"/>
  </p:variable>

This causes this error.

SEVERE: it is a static error for a variable's document connection to
refer to the output port of any step in the surrounding container's
contained steps


but if I wrap the p:variable in a p:group, with the usages of that
variable, then it works.

Is there any other way of extracting a parameter from the p:parameters
pipe?


Thanks.

-- 
Erlend Hamnaberg
Systems developer                       + 47 908 26 329  (Mobile)
Escenic AS                              + 47 950 73 440  (switchboard)
Sommerogt. 13-15 Solli                  + 47 22 56 32 16 (fax)
N-0255 OSLO                             http://www.escenic.com/
NORWAY 

Received on Wednesday, 21 July 2010 07:49:55 UTC