On the dirichlet problem for vectorial Hamilton-Jacobi equations