Some of my other Tapestry web applications.
I am looking for a job (preferably permanent) as a financial software/Tapestry/Java developer in London. My CV is available here.Below are some demonstrations on Tapestry 5.
- Custom Components
-
Components and Mixins
Components Documentation Online Demos CheckboxGroup CheckboxGroup page ColorPicker ColorPicker page Dynamic Select Dynamic Select page
(only tested in FireFox 3 in IE 6)N2WTextField N2WTextField page PageLinkPopup PageLinkPopup page SyntaxHighlighter SyntaxHighlighter page Tab A lightweight tab component. TitlePane TitlePane page Tooltip Tooltip page
Mixins Documentation Online Demos Confirm Confirm page GridRowHighlighter MaxLength MaxLength page MaskedInput OnSelectChangeActionLink OnSelectChangeActionLink page SubmitOnChangeOfSelect Watermark Watermark
All the above components and mixins are in lombok-5.3.4.0.jar which could be downloaded from Google code. To inform Tapestry the above components are avilable, you need to add the following to your AppModule.java.public static void contributeComponentClassResolver(Configuration<LibraryMapping> configuration) { // Creates a virtual root pacakge for pages,components. configuration.add(new LibraryMapping("lombok", "net.sf.lombok")); } - Sample code and technique
-
Examples on core components and mixins
- @ActivationRequestParameter
- ActionLink
- AjaxFormLoop
- Autocomplete mixin
- Block
- Block Demo 2 Retrieve blocks from another page.
- Checklist
- DateField
- FormFragment Demo one
- FormFragment Demo two
- Grid
- Kaptcha component
- Palette
- ProgressiveDisplay
- Radio and RadioGroup .
- @RequestParameter .
- Select with an inline model
- Select with an inline model with value-label pairs
- Select with an inline Map model
- Select with an EumSelectModel
- Select with an OptionModel
- Select with Zone Update a zone using Select.
- Tree Demo
- Zone with ActionLink Update a zone using ActionLink
- ZoneRefresh Mixin
- ZoneRefresh mixin and AjaxResponseRenderer. A port of Stockwatcher example from GWT using ZoneRefresh mixin and AjaxResponseRenderer.
Sample codes and technique- An example on Parent Child Window. The entered information in the child window is used to refresh the parent window.
- A demo on integrating GWT with Tapestry 5.
- A tapestry page to sum up to five numbers. An example use of the Loop component.
- An example on submit component with context parameter.
- A CRUD example on Tapestry-Hibernate.
- A CRUD example on Tapestry-JPA.
- A CRUD example on Tapestry-Spring and Hibernate.
- An example on using the Yahoo! User Interface Library (YUI) Menu component .
- An example on validation on a TextField in a Loop component.
- An example on cross validation on two TextFields in a Loop component, and the Loop component is inside another component.
- An example on creating a validator for a TextField at runtime.
- Others
-
Example on Tapx componentsThe 1.2-SNAPSHOTS version of Tapx is used in the following example.
Example on Tapestry5-HighChartsBelow are a few examples on using Tapestry5-HighCharts, which integrates HighCharts with Tapestry. The following examples uses Tapestry5-HighCharts version 1.2.1-SNAPSHOT and Tapestry5-JQuery version 3.3.3. A summary on how to set up Tagestry5-HighCharts and Tapestry5-JQuery in a Tapestry5 application is given below. More details could be found on Tagestry5-HighCharts and Tapestry5-JQuery's websites.
- Add HighchartsModule to your Tapestry application module.
- Add the following to your application module.
public static void contributeApplicationDefaults( MappedConfiguration< String, String> configuration) { configuration.add(JQuerySymbolConstants.SUPPRESS_PROTOTYPE, "false"); configuration.add(JQuerySymbolConstants.JQUERY_ALIAS, "$j"); }
- Example of a chart which is entirely specified in JavaScript.
- Example of a chart which is entirely specified in Java.
- Example of a chart which is specified in Java and JavaScript.
Html5 ExamplesIn Tapestry 5.3, a template without a <!DOCTYPE> is parsed as if it had the HTML Doctype <!DOCTYPE html>> (please see here). Hence no special set up is required to use Html 5 in Tapestry template.
Tapestry and Spring Security - Tapestry IOC