Changes between Version 1 and Version 2 of Documentation/Community/Document/Development/Tutorial/Version5

Show
Ignore:
Timestamp:
12/22/11 00:24:40 (17 months ago)
Author:
mburillo@… (IP: 95.18.185.76)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/Community/Document/Development/Tutorial/Version5

    v1 v2  
    289289 
    290290Build and install the package as usual. Click on the Apache2 menu folder entry and you will see something like this: 
     291 
     292[[Image(virtual-host-1.png)]] 
    291293 
    292294Now we would like to let the user to enable and disable any virtual host. Your first thought should be just adding a new boolean field as we did with the ''Modules'' model. This is not necessary as Zentyal does it automatically for you under the hood if you set the ''enableProperty'' value to true. By doing this you are telling the framework to automatically add a new boolean field. 
     
    327329Build, install and check it out now: 
    328330 
     331[[Image(virtual-host-2.png)]] 
     332 
    329333== Fetching the stored values == 
    330334