on 09-14-2007 1:43 PM
Hi
I had a requirement to capture Keyboard Events. After searching lot I found out that, it is not possible in Web Dynpro JAVA.
Is there any document which specifies
What are the things possible with Web Dynpro?
What are the things missing/not possible with Web Dynpro?
Thanks in Advance,
Apurva
Hi
Refer the following but I dont to what extent it will help you
1 . http://help.sap.com/erp2005_ehp_02/helpdata/en/b1/968ddbded811d3b561006094b9440a/frameset.htm
2 . http://help.sap.com/erp2005_ehp_02/helpdata/en/b1/968dd8ded811d3b561006094b9440a/frameset.htm
also go through the following
Using the FunctionKey
Use
The FunctionKey allows you to trigger a Web Dynpro action using a specific key on the mobile device. In the following example, this UI element is used to navigate to another view via a specific key.
Prerequisites
● The SAP NetWeaver Developer Studio is installed on your computer, and you can use it to create your mobile Web Dynpro application
● You have access to a SAP NetWeaver Application Server, where you are running the Web Dynpro application
● You are using a Pocket PC with special scanning equipment manufactured by Intermec Technologies or Symbol Technologies
● You have created two views in a Web Dynpro project and called them StartingView and TargetView.
Procedure
...
1. Navigate to the StartingView and double-click the view or choose Edit from the context menu.
2. Insert the mobile UI element FunctionKey.
3. Switch to the Plugs tab, create an outbound plug with the name fromFunctionKey and define the navigation link to the TargetView.
4. Switch to the Actions tab page and define an action called NavigateToAnotherView.
5. Assign the value IBrowse_OnKey49 to the keyCode property of the FunctionKey.
6. Assign the NavigateToAnotherView action to the onAction event of UI element NavigateToAnotherView.
7. Switch to the Implementation tab and add the following source code to the implementation of the view controller. The read data is passed to the context and the relevant context attribute is set.
public void onActionNavigateToAnotherView(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
{
//@@begin onActionNavigateToAnotherView(ServerEvent)
wdThis.wdFirePlugFromFunctionKey();
//@@end
}
Result
By pressing press key 1 on the mobile device, you navigate to the TargetView.
Regards
Abhijith YS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
good
go through these links
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/f01e44f0-426e-2910-e5be-b40d0... [original link is broken]
thanks
mrutyun^
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.