| Welcome to the JET examples! | ||||
|
This site is also a jet example showing you how to use resources provided by jars to the war.
(To see how the css file and the image is referenced via the resource servlet view the source of this html page)
Login example:
The following link points to home.jet but as you are not logged in you get redirected to teh login mask. with login "testuser" and password "test" you should be able to login. login example The configuration for this complete login process looks as follows: The action can you view here: [show action source] FileUpLoad: The file upload example shows you how you can handle file uploads. Uploads and displays the content of the file fileupload example [show action source] [show form template] [show result template] Registration example Example with server side validation register example [show action source] [show form template] [show result template] Taglibrary Example For all Who miss taglibs ;) you can use them also as well as in jsp pages ajax tabs example (example with ajaxtags used) [show page template] Database Example This examples shows how to access a database within a jet action using WebSql tool and displaying the content of the table. database access example [show page template] [show action source] Client side localization Nowadays all pages get delivered within the requested language, but you could also localize the page at client side with javascript fetching strings for selected language: Client side localization example [show page template] JSES - javascript event sheets Add javascript events Simple as css, that's the idea behind this. Definition is simple as css, you just need to define javscript function like following "onmouseover" event: To include/activate you need to load ss, jses separate and include the jses javascript code: Javascript event sheet example [show page template] [show css/jses template] |
|
|||