9 Replies Latest reply on Dec 19, 2008 4:42 PM by Mikael Andersson

    Best practice for using page request parameter in query restrictions

    Gábor Sift Newbie

      This way requestTypeId is null..


      <framework:entity-query ejbql="select r from Request r"
        name="myRequestList" order="createdAt">
        <framework:restrictions>
         <value>requestType=#{requestTypeId}</value>
        </framework:restrictions>
       </framework:entity-query>



      How should I bind a page request parameter to a query restriction properly?


      I couldn't find any examples at this one..