There is parent window, which has a Panel. When user clicks on a button from parent window then a popup opens up. On popup user populates some fields and clicks on OK button then a new row should be created on parent window's panel and set values from popup window and close it.
Any Idea how to do this in GWT? Please post some example if you have. Thanks in advance for your help.
You must create a class representing the Popup and add a field to it referencing the Parent Window. In the constructor of the Popup, you pass the Parent Window as a parameter. When the user clicks ok in the popup, you call the PArent window and ask it to add a row via a method present in the ParentWindow
Related
I want to test a wicket component which shows a context menu on click with the secondary mouse button.
With WicketTester.click(Component) I can click obviously simulate a click on a component. But how do I simulate a click with the secondary mouse button?
WicketTester does not provide means to test JavaScript!
If the context menu is being shown with Wicket Ajax call to the server to make it visible then you can do tester.executeAjaxBehavior(...).
If the menu is shown via JavaScript in the browser then WicketTester cannot check whether it is visible or not. But in that case you should be able to test selecting a menu item, i.e. sending an Ajax call with the appropriate value for the item.
I'm using Jubula to automate a JavaFX application. The problem is that, when I selected a tabbed component, I want to click right on this component. However, this component isn't mapped cause I selected it with index.
Is there a way to click on it with the right button?
If the mouse in in the component, Jubula does not change the position for the next action(except it is specified in the action).
This means if you select the tab with the select tab action. You could do another action e.g. "select context menu" at the exact same position.
I am using this EA_OnNotifyContextItemModified method for tracing the changes in the properties window of an element in EA.
I need to know is there any event on click of “OK/Cancel/Apply” buttons in the properties window of EA.
As shown in the image, i need to know is there any event that will be called particularly on click of "OK/Cancel/Apply" buttons of that window
It's either EA_OnPostNewElement if the element has been created newly or EA_OnNotifyContextItemModified if you have modified an existing element.
Btw. you find both in the help in this chapter and this one.
I have a full-screen form (using popup) which contains a button that launches a child form. I read that I have to set the child form as popup to make it stay on top. I've done that, but it is still not working. After more googling around, I found out that it's not working because the parent form is also set to popup. How to solve this problem with maintaining the parent form in full screen mode?
As I understood, you need to open child form and it should stay above main form. Both forms should be popup, but if the size of child form will be less than main form, user can click on main form and child form disappears under main one even if child form has Modal property. If you don't want this, just open child form with acDialog WindowMode parameter.
I have a navigational Form e.g. MainNavigationForm. It has multiple navigational tabs and one of the tabs have a form e.g. "MainForm". This MainForm have a comboBox where user selects a value. MainForm also has a subform e.g. "SubForm" which is hidden initially. Once user selects something from the comboBox..a Popup form pops up e.g. "PopupForm". User fills in the details on the PopupForm and once the user hits Create button on PopupForm, he should be redirected to MainForm. But this time, the SubForm should be made visible and shown the updated data using requery. So, my question is How can I requery the SubForm from the OnClick event of the Create button which is on the PopupForm??
I hope I am clear in explanation..if not..please ask more..thanks in advance
Got it working..Thanks to SmileyCoder
http://bytes.com/topic/access/answers/907826-how-requery-subform-closing-popup-form
IF your opening your form from code you can simply do:
docmd.OpenForm "frm_Popup",acNormal,,,acFormPropertySettings,acDialog
Me.subFrm.Requery