on 11-09-2007 5:03 PM
Hi Webdynpro fans,
I´m trying to get through some webdynpro examples from sap (e.g. tutwd_flightlist_init and others). When it comes to place some programming extensions in the controllers (e.g. customController FlightListCust) for method wdDoInit() in the correct place (between @@begin wdDoInit and @@end), I have to organize the imports due to missing classes or packages. That´s working - so far so good. But when I "save all metadata" the imports will be deleted and the coding for the controllers is thrown away. I have updated to Nwds 18 but it has not helped. Does anybody know what to do?
Regards
Michael
Can you open the Eclipse view named "PDE runtime -> Error Log" and check if an exception is thrown when saving the metadata.
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi out there,
I have solved the problem, by creating a new workspace and use this for webdynpro. There everything works fine.
Regards
Michael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Bala,
sorry this also has not helped.
Any other suggestions?
Regards
Michael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Armin,
that´s what I found after saving the metadata. The imports, created through "organize imports" for class FlightListCust have been removed again:
Info Mon Nov 12 09:41:34 CET 2007 refreshing<0ms>: /TutWD_FlightList_Init/src/packages/com/sap/tut/wd/flightlist/FlightListCust.wdcontroller
Info Mon Nov 12 09:41:34 CET 2007 refreshing<0ms>: /TutWD_FlightList_Init/src/packages/com/sap/tut/wd/flightlist/SearchView.wdcontroller
Info Mon Nov 12 09:41:30 CET 2007 Saving Metadata for project TutWD_FlightList_Init
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
For gettign the import classes:Open the view/Controller sourcecode.
Rightclick->go to organize Imports..
I hope it work.
I think u hav deleted some of the mapped attributes from the model.
Check the mapping in both the View/Component Controoler.
If u hav anydoubts plz revert me back.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.