how to reposition the popup when window gets resized
Hi All, I am using popups in my application and I am positioning them at absolute left and right of some other widget. Now the problem is that when i resize the window then the relative widget left and right are changing but the popup is still staying at the old position Is there anyway I can reposition my popup when I resize the window. Example: PushButton someButton= new PushButton(addIcon); someButton.setWidth(addIcon.getWidth() + px); someButton.setHeight(addIcon.getHeight() + px); fileListPopupPanel = new PopupPanel(); fileListPopupPanel.setStyleName(BrowserPanel-PopupPanel); fileListPopupPanel.setAutoHideEnabled(false); fileListPopupPanel.setPopupPosition(someButton.getAbsoluteLeft(), (someButton .getAbsoluteTop() + (someButton.getOffsetHeight(; I appreciate your help. Thanks, satish -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: how to reposition the popup when window gets resized
Thanks guys. I will try this ResizeHandle solution and will post it if that works well. On May 2, 9:24 pm, Ben Imp benlee...@gmail.com wrote: I believe the center() method on the dialog will re-center a dialog even if its already visible. Stick that into a resize handler and you should be good to go. -Ben -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
RequestFactory edit() fuction not working
Hi All, I am new to requestfactory and currently working on sample to understand it better. I have created simple entity at server side and trying to check create,update delete operation from the client side.I could see create and delete working as expected but when it comes to update it is failing with unique constraint error because somehow requestfactory is calling a INSERT query instead of UPDATE query.Please let m eknow if I am missing anything here. here is my code snippet: CcfSearchCriteriaRequest request = requestFactory.ccfSCRequest(); request.findCcfSearchCriteria(Long.valueOf(5L)).fire(new ReceiverCcfSearchCriteriaProxy() { @Override public void onSuccess(CcfSearchCriteriaProxy response) { CcfSearchCriteriaRequest request1 = requestFactory.ccfSCRequest(); CcfSearchCriteriaProxy editCriteria = request1.edit(response); editCriteria.setDescription(SOmething); request1.persist().using(editCriteria).fire(new ReceiverVoid() { @Override public void onSuccess(Void ignore) { Window.alert(Updated); } }); } @Override public void onFailure(ServerFailure error) { } }); Thanks in advance, satish -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
How align Cneter widget in dock layout panel
Hi All, I have created my main Panel using DockLayoutPanel where I have added MenuBar on North side and subMenu on west side and Cell table on center. Now the issue is that my cell table on default set to middle aligned (vertical) and whenever the height of the table changes then it is realigning to the middle. I have tried to set this to top alignment in CSS using vertical- align :top but no success. Please let me know how to freeze the table to the top. Thanks for your time. Satish -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
how to keep the focus on input element
Hi All, I am trying to create filters to cell table and I have implemented this by using Composite Cell in my header.As part of the solution I have added ClickableText Cell for sorting and TextInput Cell for filtering to the composite cell. The problem that I am facing is whenever I enter something in the TextInputCell and press enter I am losing the focus from input cell. I have tried calling Element.focus() function of input element in OnBrowesrEvent method of input cell after EnterKey event handling but no success. Please note that I am testing this on IE7. Please suggest me if you have any ideas. Thanks, Sat -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: how to keep the focus on input element
After testing further I observed that this problem is there only on IE but not on other browsers. Could anyone help me how to make this work for IE. I appreciate your help. Thanks, Satish On Jan 2, 2:28 pm, newbee gandhamsat...@gmail.com wrote: Hi All, I am trying to create filters to cell table and I have implemented this by using Composite Cell in my header.As part of the solution I have added ClickableText Cell for sorting and TextInput Cell for filtering to the composite cell. The problem that I am facing is whenever I enter something in the TextInputCell and press enter I am losing the focus from input cell. I have tried calling Element.focus() function of input element in OnBrowesrEvent method of input cell after EnterKey event handling but no success. Please note that I am testing this on IE7. Please suggest me if you have any ideas. Thanks, Sat -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Filtering feature on cell table
Hi All, I have a requirement from the client to provide filtering feature on the data list. I am using cell table to show up the data and trying to add filtering feature to it. I tried to add the filters to the headers but currently we could add only one header to the table it seems.I also tried to create a header with a cell that has both sorting and filters but no success. Please suggest me if anyone knows a better approch to deal with it and also let me know if GWT 2.2 has this feature. Thanks, Satish -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.