EditWithCombo - keyboard actions affected by a prior browse list
6 views
Skip to first unread message
Sreenivas Kothapalli
unread,
Nov 11, 2010, 7:34:13 AM11/11/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jmatter
I have used jmatter framework to develop a data-entry application that
is used in the implementation phase of another product. I am able to
develop 90% of functionality (100 screens) in 1 week's time by reverse
engineering from the main product's tables. Thank you Eitan!
I have seen a mention of the "EditWithCombo" feature in the forums and
used it for displaying associations (from transactions to master
tables).
Found a curious bug during testing. If we use the 'New' command from
class-bar, the combo-boxes on the resulting transaction screen work
fine. But if we use the 'New' command from context menu in the Browse
List screen, the combo boxes do not work--though the popup is visible,
down-key does not select any item; there is no response. Mouse can be
used to select an item though.
And this behavior persists across login sessions for the same user
id. And the combo boxes for the same associations in other objects'
screens also get affected (i.e. Combo box for association to object B
will not work in view for object A as well object C).
Tried setting a key selection manager on the combo box (in
BaseComboView). But it does not get called!
What could be the issue? Can anyone give me a pointer on how to
identify the cause?
Sreenivas Kothapalli
unread,
Nov 11, 2010, 8:41:25 AM11/11/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jmatter
I have to add that only the first item in the combo list is non-
selectable (either with key stroke or mouse click). And this happens
only if we browse the objects first.
Sreenivas Kothapalli
unread,
Nov 12, 2010, 3:36:15 AM11/12/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jmatter
After further testing, I noticed that the issue is not that we cannot
the first item in the list. It is that we cannot select an item that
has already been associated with another object.
And I could reproduce this issue in MyTunes project with the following
sequence of actions.
1. Put the @EditWithCombo annotation on Artist class.
2. Compile and run
3. Create two artists A1 and A2.
4. Create a song S1 sung by artist A1
5. Close the application
6. Open the application
7. Browse Songs.
8. Hit 'Ctl-N' to create a new song
You will not be able to select artist A1 for the new song.