5 Replies Latest reply on Nov 8, 2010 10:59 PM by Tim Evers

    s:fragment and ui:include says duplicate ids!!!

    Dean Hiller Expert

      so I have two fragments that include the same player.xhtml which has controls on a page and integrates soundmanager 2 component into player.xhtml.  the issue is these fragments are meant so the javascript works when it uses the ids to reference the components BUT for some reason, even though the fragment's rendered clause is the exact opposite(same but with not in front), it parses player.xhtml for both and claims I have a duplicate id when I definitely don't.

      Is this supposed to happen(parsing of player.xhtml twice)?  I thought s:fragment would not process children if rendered was false but it seems it is doing the opposite?