Tag Archives: HTML

Customizing HTML file input style

Styling an HTML file input control is very cumbersome and the number of available options is quite limited. Moreover, each web browser renders this control differently which makes it difficult to have consistent view of the application between browsers. Here … Continue reading

Posted in HTML | Tagged , | 1 Comment

Charts with jqPlot, Spring REST, AJAX and JQuery

One of the most notable features of HTML5 is Canvas API which provides a rectangular region for custom drawing. There are several uses of it like: building games, image compositions, animations but this time we will see how to use … Continue reading

Posted in AJAX, Java, Spring | Tagged , , , , , , | 1 Comment

Accessing local files from a web browser using HTML5 File API

HTML5 introduced a standard interface called File API which lets programmers access meta-data and read contents of local files selected by a user. The selection is typically done using input element but the recent browsers also allow using drag and … Continue reading

Posted in HTML, JavaScript | Tagged , , | 1 Comment

Facelets ui:repeat tag

Facelets ui:repeat tag can be used as a substitute of h:dataTable tag from JSF HTML library or c:forEach tag from JSTL core library. While using h:dataTable tag is still the preferred method to create tables, ui:repeat tag gives developer more … Continue reading

Posted in Java, Java EE, JSF | Tagged , , , | Leave a comment

Data tables in JSF

Data table is one of the most advanced UI components provided by JSF. This component is used to represent data in a table form and can contain multiple rows and columns and optionally header, footer and caption. In this post … Continue reading

Posted in Java, Java EE, JSF | Tagged , , , , | 4 Comments

JSF Facelets: templates

Facelets were introduced in JSF 2.0 to resolve common inefficiencies in JSF when creating large-scale sites. Two most useful additions provided by facelets were the ability to reuse the code through templating and to create custom composite components conveniently. In … Continue reading

Posted in Java, Java EE, JSF | Tagged , , , | Leave a comment