Changes between Version 2 and Version 3 of TracFormsPlugin/Expert


Ignore:
Timestamp:
May 1, 2011 8:48:05 PM (3 years ago)
Author:
hasienda
Comment:

add debug operation example

Legend:

Unmodified
Added
Removed
Modified
  • TracFormsPlugin/Expert

    v2 v3  
    1717}}} 
    1818Here we set ''subcontext'' to the ID 'different_form'. 
    19 This helps the form markup parser/processor to find saved field values and to know where to put field update information for this form. 
     19This hint is used by the form markup parser/processor to find saved field values and to know where to put field update information for this form. 
    2020You'll notice, if you failed to comply with this demand for distinct form IDs: 
    2121Each update of one form will reset other form fields within the same (unset) subcontext. 
     22No surprise, not being distinguishable they behave like one form with ever changing values. 
    2223 
    2324== Debug print == 
    2425There is a debug operation to reveal any value of the corresponding !TracForm environment. 
     26Append a criteria expression for filtering the list of 'key = value' pairs. 
     27I.e. {{{'*'}}} will show everything. 
     28{{{ 
     29{{{ 
     30#!TracForm 
     31 
     32... field definitions ... 
     33 
     34[tf.env_debug:] 
     35 
     36... field definitions ... 
     37 
     38}}} 
     39}}} 
     40Note: For versions before [10146], including !TracForms 0.3, the argument is '''mandatory''', in contrast to what the [wiki:TracFormsPlugin/Syntax#DebuggingOperations syntax docs] suggest.