cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing an iBrowser applet via tab key

Former Member
0 Kudos

Hello colleagues,

does somebody know, if it is possible to access an iBrowser applet via the tab key, like it is done with the fields in a normal HTML form?

The whole application should be controllable only by keyboard (without a mouse).

Best Regards,

Roland

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello,


function focus_b()
{
	document.teste.getBrowserObject().setSelectedItemByIndex(0);
	document.teste.focus();
}

Input text you add method onblur calling focus_b()

Danilo

Answers (1)

Answers (1)

jcgood25
Active Contributor
0 Kudos

If the iBrowser applet is largely static (meaning you don't need to interact with it more than simply getting the user chosen option and the initial query provides you what you need) then you can simply use a <SERVLET/> call on an irpt page and have the resultset rendered as a pure html select/option box, which then will allow tab indexing.

Here is a simple example (the PARAMs for Server and Mode are for the example, but not necessary if your query template delivers the data you need):

<SERVLET NAME="Illuminator">
<PARAM NAME="QueryTemplate" VALUE="Defaults/TagQuery">
<PARAM NAME="Server" VALUE="Simulator">
<PARAM NAME="Mode" VALUE="TagList">
<PARAM NAME="Content-Type" VALUE="text/xml">
<PARAM NAME="ListSize" VALUE="1">
<PARAM NAME="StyleSheet" VALUE="/XMII/Stylesheets/IllumList.xsl">
</SERVLET>

You can easily download and adjust the contents of this xsl file, storing it into your project web location for reuse. Ideas to consider would be css related control, tab index, id/name control for form level access, etc. All done within the content of the xsl that effectively becomes your display template in the web page.

Regards,

Jeremy

Former Member
0 Kudos

Hello Roland,

You can use Servlet to do this as Jeremy said.

You should save your file with a extension .irpt

Regards,

Danilo