'How to clone specific elements from a visualforce page to another visualforce page

Hello community I'm having an issue, i'm trying to render visualforce pages for a CV but i dont know how o render specific elements, from page 1 to page 2.

For example: I have a blue column at the left of the CV but i dont know how to repeat only that column in the 2nd VF page.

If someone can give me a help it would be great!.



Solution 1:[1]

Are both Visualforce pages using the same Apex controller?

You could pass the data from one 1st page controller to 2nd page controller, then use:

<apex:repeat value="{!blueRows}" var="string" id="blueColumn">

    <apex:outputText value="{!blueRowValue}" id="blueValue"/><br/>

</apex:repeat>

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Mark Hartnady