Grails Custom TextField Tag: Dynamically adding Domain level Field Constraints

Recently in my project, I came across a requirement to add a custom grails textfield in the application. The application is primarily a Web based application with multiple domain classes having numerous nested level associations with each other. Corresponding to the domain classes, there are multiple view pages like Create, Edit, Show, Search, etc. The [...]

Create a Custom Component using HTML and Javascript in SalesForce

In this post, I will describe the creation of a ‘Numeric Stepper’ custom component using basic HTML tags and JavaScript. This Numeric Stepper will be binded to a salesforce apex component using simple JavaScript. After that you should be able to create any html based custom component in salesforce and tie it to your visualforce [...]

Scrolling text in JavaFx

If you want to have Marquee effect i.e automatic scrolling of text from left to right or down to up in JavaFx, you need to write a custom component of your own. Using a Marquee tag of HTML doesn’t work, if you try to use directly in a label text or a swing component in [...]

Tips & Tricks For Cross Browser Compatible CSS Development

In web development, Cascading Style Sheets (CSS) is a stylesheet language used to describe the presentation of a document written in a markup language. It has a simple syntax, and uses a number of English keywords to specify the names of various style properties. Its specifications were maintained by W3C. It still hasn’t became a [...]