on 09-29-2009 4:06 PM
hello to all, first i want to say im sorry because i know that the majority of my questions arent very related with Mii, then i have more one question...after insert the information in the DB i want that my dropboxes return to is initial values that is - - - , i already tried this: document.brs_Tare.updateBrowser(true)...and worked but then for example the user could choose the data to insert in dropbox 2 before choose the data in dropbox 1 and i dont want that...
regards and thanks in advance
Mário
Mário,
If you dont want the user to choose drop Box 2 before selecting the data in Drop Box 1, then use
<Param name="initialUpdate" Value="false">
for Drop Box 2. Activate it only on selection event of DropBox 1.
document.brs_Tare.updateBrowser(true) is the best option.If you just want ur iBrowser to return to initial value use
document.brs_Tare.setSelectedItemByIndex(0)
or use
document.brs_Tare.setSelectedItem('----')
Hope this help
Regards
Muzammil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mario,
I would set InitialUpdate to false in the applet. Then use your javascript to turn it on when you were ready for it to load.
If you tried to set it to false in the javascript (triggered by Body OnLoad?), you would have a timing issue where the applet and the onload were executing concurrently. Sometimes the applet would already be loading by the time the javascript told it not to do an initial update. Your results would be inconsistent.
Good luck,
Mike
Mario,
if you are looking for existing functions that you can use in JavaScript, you should consider downloading the SAP MII Productivity Wizards. In the Productivy Wizards collection you will find the Script Assistant which will show you all applet functions available for your scripting.
Use this link:
[xMII 12.0 Sample Projects and Tools|https://www.sdn.sap.com/irj/scn/downloads?rid=/library/uuid/801e9072-ae80-2a10-5e90-8ee2e4f703ca]
Or
Click Downloads from the horizontal menu above, click Manufacturing tools from the left side navigation, and finally click xMII 12.0 Sample Projects and Tools.
Michael
User | Count |
---|---|
11 | |
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.