How srinivv/datagrid-jquery-plugin works
This repository is a small legacy Java web application tree whose visible product behavior is a browser-side, server-backed data grid. A user initializes the grid, receives a JSON page, sees template-rendered rows and pagination, then navigates or reloads pages. The tree also includes jQuery and jQuery UI browser libraries, plus Underscore templating/utilities. The web descriptor and exception JSPs indicate additional web/error handling, but the empty README and unsampled files do not establish their runtime wiring, so those relationships are omitted.
Main entry points: datagrid-jquery-plugin.js Grid plugin · exception-templates.jsp Exception templates · jquery-1.7.1.js jQuery core · underscore-min.js Underscore
Components 12
Data grid
- Grid plugin
WebRoot/js/datagrid-jquery-plugin.js - JSON endpoint
- Row template
- Rendered grid
- Page navigation
WebRoot/js/datagrid-jquery-plugin.js
Browser libraries
- jQuery core
WebRoot/js/jquery-1.7.1.js - jQuery UI
WebRoot/js/jquery-ui.js - Underscore
WebRoot/js/underscore-min.js
Web error handling
- Web descriptor
WebRoot/WEB-INF/web.xml - Exception templates
WebRoot/jsp/common/exception-templates.jsp - Partner exception
WebRoot/jsp/partner-exception.jsp
Other components
- Grid user
Connections 11
- Grid user → Grid plugin: initializes
WebRoot/js/datagrid-jquery-plugin.js - Grid plugin → JSON endpoint: requests JSON
WebRoot/js/datagrid-jquery-plugin.js - JSON endpoint → Grid plugin: returns rows
WebRoot/js/datagrid-jquery-plugin.js - Grid plugin → Row template: reads template
WebRoot/js/datagrid-jquery-plugin.js - Grid plugin → Underscore: renders template
WebRoot/js/datagrid-jquery-plugin.js - Grid plugin → Rendered grid: updates markup
WebRoot/js/datagrid-jquery-plugin.js - Grid plugin → Page navigation: builds controls
WebRoot/js/datagrid-jquery-plugin.js - Grid user → Page navigation: navigates pages
WebRoot/js/datagrid-jquery-plugin.js - Page navigation → Grid plugin: refreshes page
WebRoot/js/datagrid-jquery-plugin.js - Grid plugin → jQuery core: uses API
WebRoot/js/datagrid-jquery-plugin.js - Exception templates → Partner exception