


  <div class='app_block_controller'
       id='div_ident_8'>
      
      
        
          
          <fieldset>
          <legend>
              Base Controller
              ( <a href='javascript:show_or_hide( "hideable_ident_8" );'>
                  edit</a>|
<a href="#" name='app_body_delete::ident_8' onclick='javascript:delete_block( this )'>delete</a>
       

              )
          </legend>
              
<div id='hideable_ident_8'
  
    style='display: none'
  
>
  
                

  

  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    
    <tr>
        <td> no_gen </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_8::no_gen'
       id='ident_8::no_gen'
       class='urgency_0'       onchange='javascript:update_tree(
           "controller_statement_bool",
           "ident_8::no_gen",
           this.checked
       )'
/>


        </td>
        <td>
            Skip this controller completely
        </td>
    </tr>
  
    
    
    <tr>
        <td> location </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_8::location'
            value=""
            class='urgency_5'
            onblur='javascript:update_tree(
                "controller_statement_text",
                "ident_8::location",
                this.value
            )'
        />
    


        </td>
        <td>
            Absolute Location of this controller [non-base controllers must have either a location or a rel_location.]
        </td>
    </tr>
  
    
    
    
    
    <tr>
        <td> controls_table </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_8::controls_table'
            value=""
            class='urgency_5'
            onblur='javascript:update_tree(
                "controller_statement_text",
                "ident_8::controls_table",
                this.value
            )'
        />
    


        </td>
        <td>
            Table this controller manages
        </td>
    </tr>
  
    
    
    <tr>
        <td> gen_uses </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
        
        <input type='text'
            name='ident_8::gen_uses'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "controller_statement_text",
                "ident_8::gen_uses",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_8::gen_uses'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "controller_statement_text",
                "ident_8::gen_uses",
                this
            )'
        />
        
        
    


        </td>
        <td>
            List of modules used gen module
        </td>
    </tr>
  
    
    
    <tr>
        <td> stub_uses </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
        
        <input type='text'
            name='ident_8::stub_uses'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "controller_statement_text",
                "ident_8::stub_uses",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_8::stub_uses'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "controller_statement_text",
                "ident_8::stub_uses",
                this
            )'
        />
        
        
    


        </td>
        <td>
            List of modules used stub module
        </td>
    </tr>
  
    
    
    <tr>
        <td> uses </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
        
        <input type='text'
            name='ident_8::uses'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "controller_statement_text",
                "ident_8::uses",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_8::uses'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "controller_statement_text",
                "ident_8::uses",
                this
            )'
        />
        
        
    


        </td>
        <td>
            List of modules used by gen and stub modules
        </td>
    </tr>
  
    
    
    <tr>
        <td> text_description </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_8::text_description'
            value=""
            class='urgency_3'
            onblur='javascript:update_tree(
                "controller_statement_text",
                "ident_8::text_description",
                this.value
            )'
        />
    


        </td>
        <td>
            Required for Gantry's AutoCRUD
        </td>
    </tr>
  
    
    
    <tr>
        <td> page_link_label </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_8::page_link_label'
            value=""
            class='urgency_1'
            onblur='javascript:update_tree(
                "controller_statement_text",
                "ident_8::page_link_label",
                this.value
            )'
        />
    


        </td>
        <td>
            Link text in navigation bar [use only for navigable controllers]
        </td>
    </tr>
  
    
    
    <tr>
        <td> autocrud_helper </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_8::autocrud_helper'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "controller_statement_text",
                "ident_8::autocrud_helper",
                this.value
            )'
        />
    


        </td>
        <td>
            Gantry::Plugins::AutoCRUDHelper for your ORM
        </td>
    </tr>
  
    
    
    <tr>
        <td> skip_test </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_8::skip_test'
       id='ident_8::skip_test'
       class='urgency_0'       onchange='javascript:update_tree(
           "controller_statement_bool",
           "ident_8::skip_test",
           this.checked
       )'
/>


        </td>
        <td>
            Skip default page hit test of this controller
        </td>
    </tr>
  
    
    
    
    
  </table>

 
  <br />

  <div class='app_block_controller_element'>
    <fieldset>
    <legend>Create Method</legend>
    <table>
      <tr><td> Name: </td>
          <td>
              <input type='text' id='new_method_ident_8' />
          </td>
          <td> Method Type: </td>
          <td>
            <select id='new_method_type_ident_8'>
              <option value='stub'>          stub          </option>
              <option value='main_listing'>  main_listing  </option>
              <option value='AutoCRUD_form'> AutoCRUD_form </option>
              <option value='CRUD_form'>     CRUD_form     </option>
              <option value='base_links'>    base_links    </option>
              <option value='links'>         links         </option>
              <option value='SOAP'>          SOAP          </option>
            </select>
          </td>
          <td colspan='2'>
              <button type='button'
                      name='new_method_ident_8_create'
                      onclick='javascript:create_method( "ident_8" )'
              > Create </button>
          </td>
          </tr>
    </table>
  </div>

  <br />

  
      
    <div class='app_block_element'
         id='div_ident_9'>
        
         <fieldset>
         <legend>Method 
            ( <a href='javascript:show_or_hide( "hideable_ident_9" );'>edit</a> |  
<a href="#" name='app_body_delete::ident_9' onclick='javascript:delete_block( this )'>delete</a>
       

            )
         </legend> 
         <table>
            <tr>
                <td>Name: </td>
                <td>
                  <input type='text'
                         id='method_name::ident_9'
                         value='do_main'
                         onblur='javascript:update_tree(
                             "name",
                             "method::ident_9",
                             this.value
                         )'
                  />
                </td>
            </tr>
            <tr>
                <td> Type: </td>
                <td>
                    <select
                        id='method_type_ident_8::ident_9'
                        onchange='javascript:type_change(
                            "ident_9",
                            this.value
                        )'
                    >
                      <option value='stub'
     >
                        stub
                      </option>
                      <option value='main_listing'
     >
                        main_listing
                      </option>
                      <option value='AutoCRUD_form'
     >
                        AutoCRUD_form
                      </option>
                      <option value='CRUD_form'
     >
                        CRUD_form
                      </option>
                      <option value='base_links'
    selected='selected' >
                        base_links
                      </option>
                      <option value='links'
     >
                        links
                      </option>
                      <option value='SOAP'
     >
                        SOAP
                      </option>
                    </select>
                </td>
            </tr>
            <tr>
                <td colspan='2'>
                  
<div id='hideable_ident_9'
  
    style='display: none'
  
>
  
                    

  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    
    <tr>
        <td> no_gen </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_9::no_gen'
       id='ident_9::no_gen'
       class='urgency_0'       onchange='javascript:update_tree(
           "method_statement_bool",
           "ident_9::no_gen",
           this.checked
       )'
/>


        </td>
        <td>
            Skip this method completely
        </td>
    </tr>
  
    
    
    <tr>
        <td> extra_args </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
        
        <input type='text'
            name='ident_9::extra_args'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_9::extra_args",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_9::extra_args'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_9::extra_args",
                this
            )'
        />
        
        
    


        </td>
        <td>
            Extra args for any method
        </td>
    </tr>
  
    
    
    
    
    
    
    
    
    <tr>
        <td> title </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_9::title'
            value=""
            class='urgency_3'
            onblur='javascript:update_tree(
                "method_statement_text",
                "ident_9::title",
                this.value
            )'
        />
    


        </td>
        <td>
            Browser title bar title for main_listing
        </td>
    </tr>
  
    
    
    <tr>
        <td> html_template </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_9::html_template'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "method_statement_text",
                "ident_9::html_template",
                this.value
            )'
        />
    


        </td>
        <td>
            Template to use for main_listing [defaults to results.tt or main.tt]
        </td>
    </tr>
  
    
    
    
    
    
    
    
  </table>

                  
</div>
 </td>
            </tr>
         </table>

        <br style='clear: both' />

    </div>



    <br />
  
      
    <div class='app_block_element'
         id='div_ident_10'>
        
         <fieldset>
         <legend>Method 
            ( <a href='javascript:show_or_hide( "hideable_ident_10" );'>edit</a> |  
<a href="#" name='app_body_delete::ident_10' onclick='javascript:delete_block( this )'>delete</a>
       

            )
         </legend> 
         <table>
            <tr>
                <td>Name: </td>
                <td>
                  <input type='text'
                         id='method_name::ident_10'
                         value='site_links'
                         onblur='javascript:update_tree(
                             "name",
                             "method::ident_10",
                             this.value
                         )'
                  />
                </td>
            </tr>
            <tr>
                <td> Type: </td>
                <td>
                    <select
                        id='method_type_ident_8::ident_10'
                        onchange='javascript:type_change(
                            "ident_10",
                            this.value
                        )'
                    >
                      <option value='stub'
     >
                        stub
                      </option>
                      <option value='main_listing'
     >
                        main_listing
                      </option>
                      <option value='AutoCRUD_form'
     >
                        AutoCRUD_form
                      </option>
                      <option value='CRUD_form'
     >
                        CRUD_form
                      </option>
                      <option value='base_links'
     >
                        base_links
                      </option>
                      <option value='links'
    selected='selected' >
                        links
                      </option>
                      <option value='SOAP'
     >
                        SOAP
                      </option>
                    </select>
                </td>
            </tr>
            <tr>
                <td colspan='2'>
                  
<div id='hideable_ident_10'
  
    style='display: none'
  
>
  
                    

  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    
    <tr>
        <td> no_gen </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_10::no_gen'
       id='ident_10::no_gen'
       class='urgency_0'       onchange='javascript:update_tree(
           "method_statement_bool",
           "ident_10::no_gen",
           this.checked
       )'
/>


        </td>
        <td>
            Skip this method completely
        </td>
    </tr>
  
    
    
    <tr>
        <td> extra_args </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
        
        <input type='text'
            name='ident_10::extra_args'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_10::extra_args",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_10::extra_args'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_10::extra_args",
                this
            )'
        />
        
        
    


        </td>
        <td>
            Extra args for any method
        </td>
    </tr>
  
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
  </table>

                  
</div>
 </td>
            </tr>
         </table>

        <br style='clear: both' />

    </div>



    <br />
  


              
</div>
 </td>
          </fieldset>
        

      

      <br style='clear: both' />

  </div>














config {
    engine CGI;
    template_engine TT;
    Init Std {  }
    SQL SQLite {  }
    SQL Postgres {  }
    SQL MySQL {  }
    CGI Gantry { gen_root 1; with_server 1; flex_db 1; }
    Control Gantry { dbix 1; }
    Model GantryDBIxClass {  }
    SiteLook GantryDefault {  }
}
app Sample {
    config {
        dbconn `dbi:SQLite:dbname=app.db` => no_accessor;
        template_wrapper `genwrapper.tt` => no_accessor;
        list_rows 20;
    }
    controller AddressControl is AutoCRUD {
        method form is AutoCRUD_form {
            all_fields_but id, created, modified;
            extra_keys
                legend => `$self->path_info =~ /edit/i ? 'Edit' : 'Add'`;
        }
        method do_alt_main is main_listing {
            paged_conf list_rows;
        }
    }
    controller is base_controller {
        method do_main is base_links {
        }
        method site_links is links {
        }
    }
}
