I tried to access query parameters using property mediators in
both query.param and uri.var ways, but only uri.var gives me an output.

What i thought was syntax like
<resource uri-template="/view/{symbol}" methods="GET"> use uri.var
and syntax like
<resource uri-template="/view?Symbol={symbol}" methods="GET"> uses
query.param but i was not able to use query.param in second syntax

Neither
<property name="Val" expression="$ctx:query.param.val"></property> nor
<property name="Val" expression="get-property('query.param.val')"></property
>

syntax gave me an output. Where i might have gone wrong or is this a bug?



-- 
*Susinda Perera*
Software Engineer
Mobile:(+94)716049075

WSO2 Inc. http://wso2.com/
Tel : 94 11 214 5345 Fax :94 11 2145300
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to