on 05-08-2008 10:45 AM
Hi,
I Need To simple Samples how to use classes in WebDynpro.
Regards
hi,
U can have the Java Classes in the Src -- packages in the web dynpro component .
Finally in the controller classes u can instantiate the class and throught the object of the class , invoke the methods present in the Class.
If u need the Sample i think u can refer the table filter and the table sorter class.
[https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/5439] [original link is broken] [original link is broken] [original link is broken];
Thanks and regards
Fazal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If u need to import the Model Classes to the Component , then import the model classes , and finally instantiate the model classes and execute the class .for more infromation u can follow this link.(please be more specific with ur requirements )
[http://help.sap.com/saphelp_nw04/helpdata/en/7a/74d43fb9490e65e10000000a114b1d/frameset.htm]
Thanks and Regards
fazal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Continued....
and in the model
right click->create model
select the radio button import java bean .
next ADD jars option will be seen
Browse the jar on the dekstop.
now add this model to the used models by right clicking on it.
Now if you go to Data Modeler.
You will find the used model.
From there map to the component controller->view Controller.
And continue with ur coding.
Hope this helps you.
Thanks & Regards,
Lokesh.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
if you want to crete the class file and use it in your web dynpro project there are 2 ways.
1st and the simple way is
File->New->Other
a window will be opened select javain the left
and calss in the right.
Another window will be displayed
source Folder select the wd project.
and give the package
And go to the navigator explorer u can fing the class file.
How to use is you crae a class file with some getter methods & setter methods.
And make it a jar and keep it on the desktop.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Refer this ..
https://help.sap.com/javadocs/NW04s/current/wd/allclasses-noframe.html
GS
Edited by: Sathishkumar GS on May 8, 2008 12:00 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
71 | |
26 | |
10 | |
9 | |
7 | |
6 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.