Re: Tree-Widget reorganzies itself

Posted by David E Jones-2 on
URL: http://ofbiz.116.s1.nabble.com/Tree-Widget-reorganzies-itself-tp140945p140946.html


Fabian,

Yes, chances are it is a bug. Al Byers is the main guy on the Tree Widget and might have some ideas, but if you have time to look into it please feel free to do so.

-David


Fabian Gorsler wrote:

> Hi,
>
> I've discovered a strange behavior with Tree-Widgets. If a tree widget
> with render-style "expand-collapse" is defined, the first click on a
> branch isn't recognized correctly: The widget doesn't show the sub-nodes,
> but it changes its order. The next click on a trunk-node is recognized
> correctly and the sub-nodes are shown.
>
> On the one hand you have a growing count of hits because of the need for
> clicking twice (even this is just needed one time) and having the server
> to render the page again (Javascript for the HTML-rendering would be nice,
> but I think this would be a lot of work and on big entities the customers
> wouldn't be so glad about the cpu and memory consumption of their
> browsers. ;)) and on the other hand you have a big decrease in usability.
>
> I couldn't discover a reported bug for that in JIRA, but I think this is
> really one. Shall I report it there, too?
>
> An example of this behavior can be seen at Accounting --> Chart of
> Accounts --> Navigate Accounts
> (https://localhost:8443/accounting/control/GlAccountNavigate).
>
> Best regards,
> Fabian.
>

smime.p7s (4K) Download Attachment