Skip to Content
author's profile photo Former Member
Former Member

Reusing of custom developed portal components

Hi, what are the main rules and methods when you want to reuse custom developed portal components from scratch.

We have at least 10 components that will use the same skeleton when we develop them. An example would be a portal application that has 2 states in common with other three components, but the third state is different.

I hope I was clear.

Lucian.

Add comment
10|10000 characters needed characters exceeded

1 Answer

  • Posted on Aug 04, 2004 at 03:50 PM

    One method would be to have all components within the same par file. This will allow you to have a generic constants.java file which contains all of the available states.

    Another method would be to use the SharingReference property as part of the component. This would mean creating the initial component with all of the available states. Make sure that this component is shared. Then, every other component can share the classes of the initial component. This works in a similar fashion to using the HTMLb service and classes.

    I hope this helps

    Darrell

    Add comment
    10|10000 characters needed characters exceeded