Hey Greg, I mean from a UI perspective, a default button/action is simply a keyboard binding triggered by 'ctrl-enter'. Usually in most applications this is the same as hitting the ok button. Is there no way to assign a kind of 'form-wide' keyboard binding? (Sorry if I'm missing something obvious but I don't see how this is possible without assigning the listener to the entire window...)
On Sun, Nov 21, 2010 at 4:21 PM, Greg Brown <[email protected]> wrote: > No - Pivot doesn't have any concept of a "default button", nor does it have > any notion of "submitting a form". In a Java application, form submission > can be handled in any number of ways (e.g. it's not always an HTTP POST to > the server), so we have intentionally left this to the application > developer. > > G > > On Nov 21, 2010, at 3:59 PM, ocean ocean wrote: > > > Hey all, > > > > Is it possible to assign a default button/action on forms? For example, > in most Swing or RCP applications, hitting Ctrl-Enter will automatically > trigger the 'OK' button and submit the form. Is this possible in pivot-land? > >
