(on Thursday, 31 July 2008, 12:11 PM -0700):
> Matthew Weier O'Phinney-3 wrote:
> > http://framework.zend.com/issues/browse/ZF-3819
> >
> >
>
> Thank you. Would it be fixed in ZF1.6?
I'm going to try. :)
> May I ask another question?
>
> How the order of elements is calculated in relation to display groups or
> subforms?
> I have trubble get two elements in one row. My solution is to use display
> groups to have two elements in one html container. But with that, the
> elements are not any longer at there place.
Element order is determined either by order of registration with the
form, or by the order attribute of the element. When the elements are
part of a display group, they are rendered in the relative order in
which they would have appeared in the form.
A display group is definitely the way to go if you want two elements in
a row; use the order attribute of each element to determine the order in
which they appear relative to eachother.
--
Matthew Weier O'Phinney
Software Architect | matthew@zend.com
Zend Framework | http://framework.zend.com/
没有评论:
发表评论