onfocus « IceFaces « JSF Q&A

3. IceInputText - OnFocus and OnBlur    icefaces.org

Hello. I've created a special Javascript Popup which should be displayed below an ice:inputText. This popup provides a view inputs to generate a special Date-Format. (dd:MM.yyyy hh:mm:ss,sss). This popup should be displayed as the ice:inputText gets focused and hide on blur. So I've added the two JS-Handlers as I've done in plain HTML: Code:

4. How to use onfocus to render a component?    icefaces.org

Hi all, I'm trying to set the render for a component by when another component has focus. (In this case when a textinput gets focus, I want it to set the render property of a selectinputDate /Calendar to rendered) So I have created a boolean bean called calendarVisable. I have binded it to the rendered field of the calendar. How to ...

5. window.onfocus function    icefaces.org

8. selectInputDate onblur onfocus    icefaces.org

I set an onblur and an onfocus Event handler on a selectInputDate field with the goal to change color of the field: function setBGColor (field) { var mycolor = '#F1F5DC'; if (field) { if (field.style) { field.style.backgroundColor=mycolor; } } } This ist called in When I look at the generated html code the onfocus handler ...