0 Replies Latest reply: Mar 22, 2013 4:41 PM by Bunty RSS

    Query: how to make localdata available on template page

    Bunty
      I created a service with 2 actions (action1, action2) extending Service class
      action1: calls custom java method and in the end sets some local variables
      this.m_binder.putLocal("myStatusCode","99");
      this.m_binder.putLocal("myStatusMessage","balh blah blah");
      actions2: standard java method
           3:prepareRedirect:IdcService=GET_DOC_PAGE&Action=GetTemplatePage&Page=CUSTOM_TEMPLATE:0:null
      in the template file, I am trying to display the above local variables. these variabels are empty/null. And also are not present in ResponseBinder-->LocalData.
      <$myStatusCode$>
      <$myStatusMessage$>
      Any suggestions on how to read the variable in template page?

      Nevermind!
      I totally forgot about service template plage.

      Edited by: Bunty on Mar 22, 2013 4:40 PM