Menu

#866 Implement zoom to detail tab

open-fixed
Heng Sin
None
5
2009-12-29
2009-10-28
Heng Sin
No

Typical use case:
* zoom from sales order to the corresponding partner location record at business partner location tab
* zoom from shipment line to the corresponding sales order line record at sales order line tab

Discussion

  • Heng Sin

    Heng Sin - 2009-10-28
    • status: open --> pending-fixed
     
  • Mario Calderon

    Mario Calderon - 2009-11-09

    Hi,
    checked out revision 10910, which includes rev. 10799. I got an error in Eclipse: " The method findADTabpanel(GridTab gTab) of type CompositeADTab must override a superclass method".

    As quick fixes are proposed creating the method findADTabpanel() in one of the super classes or to eliminate the "@Override" annotation.

    Doing the last the error disappeared. I haven't checked whether it works or it is the correct fix, but it compiles.

    Best regards,

    Mario Calderon

     
  • FreePath

    FreePath - 2009-11-10

    Hi,

    please check if your compiling with java 1.5 source. As of 1.6 its possible to use @Override if a function implements an interface function, while with 1.5 this is not legal. If im not wrong Adempiere 354 targets 1.6, to that may explain your problem.

    Regars,

    Silvano

    www.freepath.it

     
  • SourceForge Robot

    • status: pending-fixed --> closed-fixed
     
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 15 days (the time period specified by
    the administrator of this Tracker).

     
  • Mario Calderon

    Mario Calderon - 2009-11-19

    Hi Silvano,

    thanks for the hint.

    You were right: though I had switched Eclipse's installed JRE to 1.6, I had not switched the "Compiler Compliance Level" to 1.6 in Preferences (Java/Compiler). Once done, the error messages disappeared.

    Best regards,
    Mario Calderon

     
  • Carlos Ruiz

    Carlos Ruiz - 2009-12-29

    Hi, found a probable wrong behavior with zoom to detail.

    I think when the field is empty zoom must navigate to the parent tab (as it was before this change).

    At this moment zooming from an empty field is opening the detail tab without parent in edit mode (swing) or read-only mode (zkwebui).

    As there is no record to navigate I think is best to navigate to the first tab of the window.

    WDYT?

    Regards,

    Carlos Ruiz

     
  • Carlos Ruiz

    Carlos Ruiz - 2009-12-29
    • status: closed-fixed --> open-fixed
     

Log in to post a comment.