I am not sure I understand your scenario. If you have a header/footer
defined at the same time in a layout
and a view
, then the header/footer
defined within the view
will override the ones defined in the layout
Can you please send us a code snippet so I can better understand your implementation. Also, I would recommend instead of trying to add two headers through the data-role="header" attribute, styling your inner header appropriately.