You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Fabian Gorsler (JIRA)" <ji...@apache.org> on 2006/08/10 11:19:15 UTC

[jira] Commented: (OFBIZ-115) Tree-Widget reorganizes itself

    [ http://issues.apache.org/jira/browse/OFBIZ-115?page=comments#action_12427155 ] 
            
Fabian Gorsler commented on OFBIZ-115:
--------------------------------------

Hi,

first of all: Sorry, I have no patch for you.

But I've investigated the possible problem: The Tree-Widget uses a transaction during entity access and because of that the fields last_updated_stamp and last_updated_tx_stamp are updated with the transaction date. This causes the values to appear at the bottom, like all other values from entities when they are not ordered by a field.

I think a new parameter in the XML definition with the field to use for ordering should be introduced. If the parameter is not set, the pk-field should be used by default. This should be flexible enough for everybody.

I'll try to write a patch for this issue, but I'm not sure when it'll be done, because I don't have much time at the moment. I hope I could help you.

Best regards,
Fabian.

> Tree-Widget reorganizes itself
> ------------------------------
>
>                 Key: OFBIZ-115
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-115
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>         Environment: Windows XP, Java 5, Postgres, Firefox 1.5.0.4 & Internet Explorer 6, OFBiz from SVN (trunk)
>            Reporter: Fabian Gorsler
>            Priority: Minor
>
> The first click on a node in a Tree-Widget (render-style="collapse-expand") has no effect - the node doesn't show its sub-nodes, instead the order of the nodes is changed. The second click on any node opens the node and it shows its sub-nodes, the behavior is as wished then. Sometimes, if you hit "refresh" in your browser for a few times, the Tree-Widget reorganizes its order, too, but this can't be reproduced, it happens accidentally.
> An example of this behavior can be seen at Accounting --> Chart of Accounts --> Navigate Accounts (https://localhost:8443/accounting/control/GlAccountNavigate).
> The original message to ofbiz-user: http://mail-archives.apache.org/mod_mbox/incubator-ofbiz-user/200607.mbox/%3c33701.80.133.172.206.1153909386.squirrel@moloch-rz.der-moloch.de%3e
> HTH
> Best regards,
> Fabian.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira