cancel
Showing results for 
Search instead for 
Did you mean: 

how to make iBrowser applet ( drop down mode ) read only??

HariCS23
Contributor
0 Kudos

Hi xMIIers,

I got a requirement to make readonly ( grey out ) the iBroswer.

I didn't see any method of applet that i can acheive.

Any work around??

Plz help me.

Thanks

Vansi

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Vamsi,

What you are describing is not "Read-Only" mode...it is disabled....just set the initial update of the applet to false or restrict the data query powering the browser to only return a single value.

Hope this helps.

Sam

HariCS23
Contributor
0 Kudos

Thanks Sam.

I had set the initial update to false on some event. But i didn't get the proper result. ( like that dropdown is still editable)

the code i have used is document.<applet>.setInitialUpdate(false);

Any other ideas??

Vansi.

0 Kudos

Vamsi,

Yes, add the following line to the applet definition on your web page:

<Param name="InitialUpdate" value="false">

This way when the applet loads onto the page the value is set, rather than after the applet loads on the page setting it via JavaScript as you were previously.

Hope this helps.

Sam

jcgood25
Active Contributor
0 Kudos

Vamsi,

Instead of guessing at the methods it would be beneficial for you to use the script assistant. InitialUpdate is a boolean property in the display template, so to reference it with JavaScript you would first need to get the browser object.

Sam's recommendation will be cleaner than scripting it after it shows up on the screen, since the APPLET parameter overload will be effective immediately and give the same effect as turning it off in your display template.

Regards,

Jeremy