I need the full id for javascript, now I have to use (in viewscript) tricky
way as
$id = $this->form->getSubForm('foo')->getName() . '-' .
$this->form->getSubForm('foo')->getElement('myElement')->getId();
I think the right way is to create new method: eg. getFullyQualifiedId()
Jurian Sluiman w
Op Thursday 10 September 2009 11:42:05 schreef Václav Vaník:
> Hi,
>
> I see now, if I have an element in subform (ZF 1.9.2), getId() method
> returns only partial id, it means id is not in subformName-elementName
> style.
>
> In 1.8.2 version is id correct. Is it a bug or new feature?
Hi,
Using b
Hi,
I see now, if I have an element in subform (ZF 1.9.2), getId() method
returns only partial id, it means id is not in subformName-elementName
style.
In 1.8.2 version is id correct. Is it a bug or new feature?
--
View this message in context:
http://www.nabble.com/SubForm-and-Element%3A%3Age