Changes between Version 30 and Version 31 of S3/S3ReusableField


Ignore:
Timestamp:
06/12/14 11:57:22 (10 years ago)
Author:
Dominic König
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • S3/S3ReusableField

    v30 v31  
    6868== Multiple Widgets ==
    6969
    70 Besides the normal "widget" attribute, it is also possible to specify multiple possible widget alternatives in the S3ReusableField, and then apply them in the instances by name.
     70Besides the normal "widget" attribute to specify a form widget for the resuable field, it is also possible to specify multiple possible widget alternatives, and then apply them in the instances by name.
    7171
    72 To do so, use the "widget'''s'''" (plural) attribute.
     72To do so, use the "widget'''s'''" (plural!) attribute.
    7373
    7474Example:
     
    9090}}}
    9191
    92 Without override or explicit choice, the "default" widget would be used in Field instances. 
     92Without override or explicit choice, the "default" widget would be used in Field instances.
    9393
    94     ''NB The "widget" attribute can co-exist with a "widgets" attribute, and where it does, it overrides the "default" alternative. However, that is confusing and should be avoided.''
     94    ''NB: one should avoid having both "widget" and "widgets" in the same S3ReusableField. However, where both are present, "widget" overrides the "default" alternative in "widgets".''
    9595
    9696To choose a widget by name: