on 12-10-2009 11:11 AM
Hi Experts,
I have a java bean model which is already created with my webdynpro project. Now i have added an extra varibale to one of the bean and i want to use it in webdynpro.
Do i need to reimport the entire model again or i can modify an existing model and use it in my application?
Thanks in advance.
Hi Friend,
Do i need to re import the entire model again or i can modify an existing model and use it in my application?
The Answer is Yes and No, You do need to re-import the model again, and If You have mapped that model node to different views then you have to edit context mapping of each view again but in our case you already know the changed or newly created attribute you can avoid the editing context mapping for whole model node by simply re-mapping (Or editing the context mapping ) only for the particular model sub node in which that particular value exist.
Hope it will help.
Regards
Jeetendra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vinay,
You need not reimport the Model..
Double click on the model class which is generated from the Java bean. Click on the Properties tab.
In this we can find all the Attributes in the model class. Here we can add the newly added Attribute by pressing the New button. Here the name needs to be same as in the Java class .
Thanks,
Raju Bonagiri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
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.