2 Replies Latest reply: Oct 7, 2013 10:01 AM by Gautam Singh RSS

    how atg picks new properties

    967909

      Hi

       

      If i change any component properties througt dyn/admin

      how atg will pick those properties next time it i hit applicataion server?

       

      please give me the clearification

        • 1. Re: how atg picks new properties
          PrincessPoonam

          @967909

           

          The property values that you change in Dyn/Admin wont be available if you restart the server. This is just a feature available for ease of use ,with out having to restart the server.

           

          Regards

          • 2. Re: how atg picks new properties
            Gautam Singh

            ATG Nucleus is responsible for instantiating and initializing components classes. For global components it creates a single class instance per component per JVM. When you change a property value of the component through Dynamo admin, it essentially gets hold of the running instance and call its set method passing your changes value.

            Using dynamo admin you can only set the values for global scoped components. Also Bravo mentioned the changed values will be lost on server restart as it only alter the in memory object and not the underlying properties file. To change the properties permanently or to change request scoped property you can use ACC which writes the changed values into a properties file.