Changeset 1451


Ignore:
Timestamp:
2010-03-12 15:46:46 (2 years ago)
Author:
freya
Message:

show example of layout templates defined in the fconf

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/samples/kauri-forms-sample/src/main/kauri/pages/collection-control-autolayout.html.xml

    r1193 r1451  
    1515          ] 
    1616      } 
    17  
     17    <![CDATA[ 
    1818      var fconf = { 
    1919          "members": { 
     
    2121                  "base": "collection", 
    2222                  "label": "Countries", 
     23                  "control": { 
     24                      "base": "collection-control", 
     25                      "templates" : { 
     26                          "layout": "<div style='border-style: dashed; border-width: 1px; ;margin: 10px; padding: 10px;'><div ><span kauri-role='label'/><span kauri-role='control'/><span kauri-role='messages'/><span kauri-role='delete'/></div></div>", 
     27                          "control": "<div kauri-role='container' ></div>"                   
     28                      } 
     29                  }, 
    2330                  "child": { 
    2431                      "members": { 
     
    3138          } 
    3239      } 
    33  
     40    ]]> 
    3441      $(function() { 
    3542          var form1 = new jQuery.org.kauriproject.forms.Form("form1", fconf); 
Note: See TracChangeset for help on using the changeset viewer.