The views expressed on this blog are my own and do not necessarily reflect the views of Oracle.

Monday, January 25, 2010

Updating a Declarative Component in ADF 11g

I have an adf application built in 11g. It uses a custom component which I developed for this app. Recently, I got the need to add an additional attribute in the component. So, thought to blog about the way I did it without any issues.

1. Open your custom declarative component project.
2. Add the desired attribute and deploy it to your desired path.
3. Stop the running wls.
4. Open your main project ( consumer project). Go to properties.
5. From the libraries and class path delete the existing entry for the component.
6. Save the changes and close the jdeveloper completely.
7. Open the consumer project's ViewController.jpr in a text editor.
8. Remove all the entries containing any reference to your custom component library.
9. Reopen jdev and then go to resource pallet.
10. Add a file system connection and select the directory you generated the custom declarative component jar.

That's it. It should reflect your new updates component nicely.

Post a Comment