 |
Version v10.1p_2022-05-28/EVAL Deployment (2022-05-28)
|
Contents
Please make sure you're accessing this page through the application server before trying to run these examples.
Most of these examples share the supplyItem datasource descriptor and sample data:
Built-in DataSource Integration
This example demonstrates how SmartClient UI components can be bound to DataSources.
DataSources serve as metadata for a set of similar objects, describing those objects as
consisting of a set of fields. Using a DataSource, a SmartClient UI component can
automatically configure itself for viewing and editing objects from that DataSource.
The example is available written in both JS and XML.
Using the BatchUploader component
This example demonstrates how to use the BatchUploader, a component which encapsulates the
end-to-end process of taking raw data in CSV or other import formats, and uploading, validating,
displaying, editing and finally saving that data to persistent storage.
NOTE: The BatchUploader is an Enterprise feature. If you have a Pro license, this example
will not exist in your SDK.
ListGrid/TreeGrid Load on Demand from XML source using XPath selectors
This example demonstrates load on demand using XPath selectors against an XML source.
Inline XML ListGrid databinding with JSTL
This example demonstrates simple databinding with data provided inline at component creation
time using JSTL to generate <isomorphic:XML> compatible data structures for the ListGrid
Inline XML TreeGrid databinding with JSTL
This example demonstrates simple databinding with data provided inline at component creation
time using JSTL to generate <isomorphic:XML> compatible data structures for the TreeGrid
Custom DataSource Integration
This example demonstrates how to connect the standard SmartClient DataSource operations (fetch, add,
update, remove) to an arbitrary data model, such as a Java Beans component model or web
service. This kind of integration allows all of SmartClient's rich client-side databinding behaviors
to be retained while using the SmartClient server as an RPC manager and operation dispatcher only.
Another benefit of this approach is that applications can be prototyped against the built-in
SQLDataSource functionality, then switched over to a custom data store without client-side
changes.
Custom DataSource Integration using DMI (Direct Method Invocation)
This is just like the above (Custom DataSource Integration), but uses DMI. Instead of
unwrapping the DSRequest object yourself, you declare a POJO to be auto-instantiated in the
DataSource itself and then implement the POJO for the actual bindings.
Custom DataSource Integration - Tree Load on Demand with Beans
This example demonstrates how to connect a SmartClient TreeGrid to a Java Bean model for
load-on-demand fetching of nodes.
Custom DataSource Integration with Hibernate
This example demonstrates how to connect the standard SmartClient DataSource operations (fetch, add,
update, remove) to Hibernate.
Generic RPC Integration
This example demonstrates a simple client/server communication interaction using the SmartClient RPCManager
for transparent communication over HTTP.
Generic RPC Integration using Direct Method Invocation (DMI)
This example demonstrates a simple client/server communication interaction using Direct Method
Invocation (DMI) for transparent communication over HTTP.
Spring DMI (Direct Method Invocation)
This example demonstrates a simple client/server communication interaction whereby Direct Method
Invocation (DMI) is used to invoke a method on a Spring-managed bean in the application server
container from the browser.
Spring DataSource Integration using DMI to Hibernate
This example demonstrates the binding of the 4 DataSource operations (add, remove, update,
delete) via DMI to a Spring Bean which then uses Hibernate as the persistence layer.
Secure Application
This example demonstrates securing a portion of a website with SmartClient's authentication
facilities, and the use of SmartClient UIs to log into the site. Authentication is performed
through secured DMI calls and user manipulation is performed through custom DataSource requests.
©2005 Isomorphic Software, Inc. All rights reserved. License agreement.