1
0
-1

Hello all Master, i want to get current Record Id on hash plugin without using nested param. is it possible and how?

    CommentAdd your comment...

    2 answers

    1.  
      1
      0
      -1

      Im using hash on Ajax Subform and i already trying nested like this #dynamic.query{requestParam.primaryKey} | {requestParam.id}#. When page loaded the id is valid but when there change on selectbox which i linked it, the id change to ajax elements id.
      I've been thinking to use webservice plugin as setter value to my Model but when i get the model value on hash its null.

        CommentAdd your comment...
      1.  
        1
        0
        -1

        Hi, if it is expected in the URL as a URL parameter, then you can try to obtain it from the HttpServletRequest. Otherwise, where will this Record ID come from if not from a nested param? 

          CommentAdd your comment...