My JSP pages are using the following to set tabindex values:
// This appears once at the top of the page.
<% int currentTabIndex = 300; %>
//This appears within each form element.
tabindex="<%=currentTabIndex++%>"
I can pass this "currentTabIndex" value to a JSP fragment like so:
<jsp:include page="../../public/common/captcha.jspf">
<jsp:param name="captchaTabIndex" value="<%= currentTabIndex %>"/>
</jsp:include>
The "captcha.jspf" will increment the tab index for use on it's own fields. Is there anyway for the main page to obtain that updated value?