From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

NAME

CatalystX::Controller::ExtJS::ImageChooser - Controller for the ExtJS ImageChooser class

VERSION

version 2.1.3

SYNOPSIS

__PACKAGE__->config(
{
image_chooser_dir => 'root/static/images',
image_chooser_url => '/static/images'
}
);
# use a JSON view
# output is available at /images
1;

Example at http://www.extjs.com/deploy/dev/examples/view/chooser.html.

DESCRIPTION

This module generates an object which can be serialized to a json string. The ImageChooser class of ExtJS expects the data in this way.

You can even look in subdirectories by simply adding the directory name to the url. Example: /images/subdir gives you the files from root/static/images/subdir. You cannot access directories, which are parents of the base directory.

AUTHOR

Moritz Onken <onken@netcubed.de>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2011 by Moritz Onken.

This is free software, licensed under:

The (three-clause) BSD License