Greate, Thanks for your help.!
2011/7/13 [email protected] [via Apache Pivot - Users] < [email protected]> > OK. You should override close(boolean) in your dialog or add a > DialogStateListener. That will allow you to prevent the dialog from closing > until the login has succeeded, or if the user has not provided the required > data. > G > > On Jul 12, 2011, at 10:17 PM, epontes wrote: > > > Yes, > > 'Because I'm doing a login screen , and when the user press "Enter" the > > screen will disappear. > > The Right way is : > > - User fill The userName and password fields , then search in Database > > whether exist or not. > > positive return true and close de dialog modal, negative, set the message > > > that User invalid. > > > > -- > > View this message in context: > http://apache-pivot-users.399431.n3.nabble.com/ENTER-IN-A-DIALOG-MODAL-tp3161006p3164511.html > > Sent from the Apache Pivot - Users mailing list archive at Nabble.com. > > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://apache-pivot-users.399431.n3.nabble.com/ENTER-IN-A-DIALOG-MODAL-tp3161006p3166220.html > To unsubscribe from "ENTER" IN A DIALOG MODAL, click > here<http://apache-pivot-users.399431.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3161006&code=ZHVjYTg2QGdtYWlsLmNvbXwzMTYxMDA2fDIwMTAzNjQ3NjY=>. > > -- *Analista Desenvolvedor Java * -- View this message in context: http://apache-pivot-users.399431.n3.nabble.com/ENTER-IN-A-DIALOG-MODAL-tp3161006p3167978.html Sent from the Apache Pivot - Users mailing list archive at Nabble.com.
