onAction in a portal

hmm that shouldn’t even work in the first place ;)
(because portal components aren’t acessible yet through javascript, but with elementName they almost are)

i fixed this that it will return always the right name.

But because of this i will also try to fix that portal component fields are accesible in the method editor (added under the element node of the form)