on 08-11-2008 2:40 PM
Hello there!!
I've just installed the developer studio 7.0.11 in a computer, then I imported a project but I try to change some things while moving between tabs (for example from the source to context tab and back to the source tab) then I lose the changes to the code... I'm sure it's not normal
I thought I could be because of RAM lack, but I've checked the task manager and it says that the computer has more memory than it requieres (the computer has 1GB of RAM and is using 700MB)
Do you have any idea of what could be happening?
Thanks a lot!
hi,
firstly as said above always code between //@@begin and //@@end. webdyn pro doesnt permit writing the code outside these. secondly if ur adding some private methods add it at the end that is
/*
* The following code section can be used for any Java code that is
* not to be visible to other controllers/views or that contains constructs
* currently not supported directly by Web Dynpro (such as inner classes or
* member variables etc.). </p>
*
* Note: The content of this section is in no way managed/controlled
* by the Web Dynpro Designtime or the Web Dynpro Runtime.
*/
//@@begin others
//@@end
inthis part add the code within the begin others and end then changing of tabs wont erase ur codin i had faced the same problms earlier when i had tried adding an private method but my probblm was solved..
hope this helps u..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
Are you sure that you are writing the code in right place in the methods?
e.g. if //@@end is missed in the method then your code wiped out.Check once everything is correct.
Regards,
Siva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Then try copying it if you have the backup of the project which was working properly.
Copy the folder of the project into your workspace. Open .project file in some editor and rename the <name> tag with modified(copied) folder name.
Import the project from the studio.
Lets see if this resolves the strange behavior.
thanks & regards,
Manoj
Hi,
I guess its normal. I think you are trying to add code where you are not supposed to do. It should be inside the methods and event handlers only, braces should be properly paired and create methods using the wizard only.
thanks & regards,
Manoj
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.