Skip to Content
Former Member
Oct 29, 2004 at 08:23 PM

Dynamic Event Creation and Handling the events


Hi All

I am using WAS 6.4.

I have two components say Component A and Component B in which Component A is a reusable component and is used by other components say for e.g the Component B.

The following is the requirement.

Component A should create buttons for other components dynamically.

As an example, Component B specifies to Component A the buttons required say button B1 and button B2.

Component B also contains methods M1 and M2 for the buttons created by the component A.

Now I would like to associate these buttons created by component A with the methods created in Component B

The number of buttons that are to be created may vary from component to component.

If any one as any suggestion or solution, help me out.