Description
this should be added to http://myfaces.apache.org/sandbox/focus.html
My code to generate the fields looks like
<t:dataList
var="propSubItem"
value="#
"
layout="simple"
rowCountVar="x"
rowIndexVar="y">
<h:inputText value="#
{propSubItem.name}" size="5" style="width:65px"></h:inputText>
</t:dataList>
As opposed to otherwise, I omit the inputText tag's id field. I noticed that just hardcoding the
"formName:_idJsp9:0:_idJsp13:0:_idJsp14"
appears to work in quick-and-dirty tests, but there must be a better way to focus on the first of the generated input fields and I didn't find anything in the mailing lists.
Attachments
Issue Links
- is superceded by
-
TOMAHAWK-1607 focus cannot locate targets inside UIData elements
- Resolved