it would be nice to configure tc/tx:in not to grab focus on load
----------------------------------------------------------------
Key: TOBAGO-615
URL: https://issues.apache.org/jira/browse/TOBAGO-615
Project: MyFaces Tobago
Issue Type: Improvement
Components: Facelets
Affects Versions: 1.0.14
Environment: jdk 1.4
facelets / templates
Reporter: Rainer Rohloff
When using facelets with templates an input field in the template should be
marked as "nofocus". So the content of the application receives the focus.
layout.xhtml
...
<tc:page>
<f:facet name="layout">
<tc:gridLayout border="0" columns="170px;*"
margin="0px" rows="50px;*" cellspacing="0" />
</f:facet>
<tx:in label="Search" value="searchBean.serach" nofocus="true">
...
<ui:insert name="Content">
</ui:insert>
...
main.xhtml
<ui:composition template="layout.xhtml">
<ui:define name="Content">
<tc:box >
<f:facet name="layout">
<tc:gridLayout columns="1*;1*"
rows="fixed;fixed;fixed;fixed;fixed;fixed;fixed;fixed;fixed;*" />
</f:facet>
should get the focus --> <tx:in label="Input" value="#{appBean.value}" />
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.