Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Following Bruno's suggestion about Compiere UI. We could put a link to https://localhost:8443/partymgr/control/createnew everywhere we have a party lookup, using the party label at left of the field. Actually we could generalising generalize everywhere we have a lookup for something.
It's easy to click on the Party tab and then on "Create New". But after reading BJ's reading suggestion, it's also an easy way to teach newbies how to do it. Easy for us to introduce, and easy for newbies to use, maybe with a tooltip "click on party to create". This would fill the Condition #2 of the article above.
Of course being able to show the screen where the choice of the type of party to create is done, and then the screen where data are entered in a CSS hidden/shown window like the calendar would be great and Ajax filled could be our next target. This would allow to not leave the page the user is on and would create a less disturbing environment. But I know that this would also mean to preload these windows in memory and is maybe out of reach at the moment (from a memory POV, without speaking of the code needed). Else we could do the same thing for all the lookups, having them poping up as fast as the calendar. From a code POV, perhaps generalising from the calendar code could be a way (this last suggestion is more a dream for the future - sometimes not so far - than anything else) (smile)

For a first effort, it was suggested that tools tips that direct the user to the necessary steps would be sufficient. Like "create new ($whatever) by clicking on ($whatever1) tab and click on ($whatever2) link" could make the tooltip a template and ($whaterver1-2) is the only things that is a variable. Of course then you can enhance the tool tip to handle links. Then you could just modify the I8N files without touching code "Click here to ($whatever)"
The tooltips labels could be in there own file for an entity. A class that would bes similar to the one that maintains the DB tables can be hooked into Create of the file to add the tooltips. This could be set to defaults based on the Field type.

Now we have the ability to put parms into the label in the I8N files, so the tooltips would have the same ability. Like "Click here to ($whatever)" would turn into "Click here to see the productlist" as a tool tip. You would just have the fieldname like in the labels file.
Barring having a seperate file, then having the tooltip_$fieldname like tooltip_$Phonenumber would work.

...