Tuesday, June 1, 2010

Making cursor focus on the first component in JSF form

<body onload="javascript:document.name.tf_NAME.focus();">
<h:form id="name"prependId="false">
<h:outputText id="lb_NAME"value="Name.:" />
<h:inputText id="tf_NAME" />
</h:form>
</body>

JSF Related topics: JCaptcha in JSF, Integrating Richfaces with JSF,Getting client and server sessionId in JSF,PopUp AlertMessagebox for JSF and more.....

No comments:

Post a Comment