J.D. Williams scrisse:
> <sql:execute-query xmlns:sql="http://apache.org/cocoon/SQL/2.0";>
>   <sql:query>
>     select name from user where name = 
>         '<sql:substitute-value name="${request:param:username}"/>'
>   </sql:query>
> </sql:execute-query>

That looks wrong.

Try name="request-param:username", with a dash in request-param and
without the ${ } construct.  If that doesn't work, you will have to pass
the parameter to the SQL transformer from the sitemap:

        <map:transform type="sql">
          <map:parameter name="username" value="{request-param:username}"/>
        </map:transform>

and then use the plain name:

        <sql:substitute-value name="username"/>


Tobia

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to