Changes between Version 3 and Version 4 of TracFormsPlugin/Expert


Ignore:
Timestamp:
May 1, 2011 9:35:53 PM (3 years ago)
Author:
hasienda
Comment:

add env_debug example

Legend:

Unmodified
Added
Removed
Modified
  • TracFormsPlugin/Expert

    v3 v4  
    2424== Debug print == 
    2525There is a debug operation to reveal any value of the corresponding !TracForm environment. 
    26 Append a criteria expression for filtering the list of 'key = value' pairs. 
     26Append a criteria expression to filter the list of 'key = value' pairs. 
    2727I.e. {{{'*'}}} will show everything. 
     28 
    2829{{{ 
    2930{{{ 
    3031#!TracForm 
    31  
    32 ... field definitions ... 
     32choose combinations 
     33|| ||a||b||c|| 
     34||1||[tf:check1a]||[tf:check1b]||[tf:check1c]|| 
     35||2||[tf:check2a]||[tf:check2b]||[tf:check2c]|| 
     36||3||[tf:check3a]||[tf:check3b]||[tf:check3c]|| 
    3337 
    3438[tf.env_debug:] 
    35  
    36 ... field definitions ... 
    37  
    3839}}} 
    3940}}} 
     41 
     42rendered result:[[BR]] 
     43 [[Image(forms_example_debug-printout.png)]] 
     44 
    4045Note: For versions before [10146], including !TracForms 0.3, the argument is '''mandatory''', in contrast to what the [wiki:TracFormsPlugin/Syntax#DebuggingOperations syntax docs] suggest.