You can customize your application as you want ! You can can use both, that's one of the purposes of having expressions, they can be very versatile. Besides that feel free tu use as well javascript if you feel the need to and you can do it in many different ways.