i have a component A.
Now i should create a component B. The requirement is there will be image in Component B. when you click on it ComponentA should pop out
Can some one suggest me efficient way to do it !!!
Maybe try something like this
Do not this as assume permanent include.
You have two separate component A and component B.
Once you include B in A using code shared above. When ever you get component A on page you will see B will be included in it.
But still Component B will be rendered by it's own resource type and Component A will be rendered by it's own resource type.