PHOCOA PHP Framework

Select

Multiple Select



.tpl file

{WFView id="city"}
{WFView id="cityMultiple"}

.yaml file


cityForm:
  class: WFForm
  children:
    submitForm:
      class: WFSubmit
    city: 
      class   : WFSelect
      bindings: 
        contentLabels: 
          controllerKey: arrangedObjects
          instanceID   : cities
          modelKeyPath : name
        contentValues: 
          controllerKey: arrangedObjects
          instanceID   : cities
          modelKeyPath : id
    cityMultiple: 
      class   : WFSelect
      properties:
        multiple: true
      bindings: 
        contentLabels: 
          controllerKey: arrangedObjects
          instanceID   : cities
          modelKeyPath : name
        contentValues: 
          controllerKey: arrangedObjects
          instanceID   : cities
          modelKeyPath : id

Examples

Cookbook
  Widgets
  Bindings
  Pagination
  Formatters

Basic Examples
  Email
  Skin Browser
  Forms
  Regex Tester

AJAX Examples
  Infrastructure

  (YUI Examples)
  AutoComplete
  ColorPicker
  Menu
  Tree View
  Tab View
  Container

Appcelerator Integration
  Demo
Copyright (c) 2017 Alan Pinstein. All Rights Reserved.