protected final String getFacetName(FaceletContext ctx, UIComponent parent)
    {
        // TODO: REFACTOR - "facelets.FACET_NAME" should be a constant somewhere, used to be in FacetHandler
        //                  from real Facelets
        return (String) parent.getAttributes().get("facelets.FACET_NAME");
    }
protected final String getFacetName ( FaceletContext ctx , UIComponent parent ) { return ( String ) parent . getAttributes ( ) . get ( "facelets.FACET_NAME" ) ; }
Return the Facet name we are scoped in, otherwise null

@param ctx
@return