1 Reply Latest reply on Feb 11, 2010 8:04 AM by Stan Silvert

    Code reusing

    Cristian Mastrantono Newbie



      I´m trying to reuse some portion of code within the same page, with the <@ include file="path"> tag.


      Everything went well until I realized that if I have some Id on the reusable code, it will generate some problems of duplicated id.


      For example, this is my reusable code:


      "<t:div styleClass="someClass">

            <t:div id="someId">





      The problem is with the id="someId" because I have to include this portion of code twice in the same page (like a navigation bar for example) at the begining and at the end.


      Any suggestions?


      Thanks in advance!