Eelco, it is because the path is userPanel.enclosure-3.signed_in_as. All containers count for the path. The problem now is that enclosures usually don't have wicket:id and users don't know which id has been assigned. Unfortunately it looks like you can not assign your on id. Wicket will a unique identifier at the end which renders your own id useless.
I've no solution so that so far except don't use wicket:message inside wicket:enclosure Juergen
