PHOCOA PHP Framework

The WFJumpSelect is a subclass of WFSelect that adds "redirect on select" functionality via javascript.


.tpl file

{WFJumpSelect id="city"}

.instances file

$__instances = array(
	'city' => array('class' => 'WFJumpSelect', 'children' => array()),
);

.config file

$__config = array(
	'city' => array(
		'properties' => array(
			'baseURL' => 'http://google.com/search?q=',
		),
		'bindings' => array(
			'contentLabels' => array(
				'instanceID' => 'cities',
				'controllerKey' => 'arrangedObjects',
				'modelKeyPath' => 'name',
				'options' => array(
					'NullPlaceholder' => 'Select a city to search for...',
					'InsertsNullPlaceholder' => 'true',
				),
			),
			'contentValues' => array(
				'instanceID' => 'cities',
				'controllerKey' => 'arrangedObjects',
				'modelKeyPath' => 'name',
				'options' => array(
					'InsertsNullPlaceholder' => 'true',
				),
			),
		),
	),
);

Module Code

none

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) 2014 Alan Pinstein. All Rights Reserved.