nijogeorgep / smartgwt

Automatically exported from code.google.com/p/smartgwt
0 stars 0 forks source link

Ctrl+c and Ctrl+v not working when intigrating gwt with smart gwt. #615

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
My application developed in GWT now for tabset i used smart gwt its working 
fine but Ctrl+C and Ctrl+v is not working on any textbox and even in grid also.

lz help me in resolving the above issue.
Thanks in advance.

Original issue reported on code.google.com by kvenu.j...@gmail.com on 3 Aug 2011 at 5:52

GoogleCodeExporter commented 8 years ago
Do not post questions here, this tracker is for confirmed issues.  Post 
questions to the SmartGWT Forums (forums.smartclient.com) and read the FAQ 
first.

Original comment by smartgwt...@gmail.com on 3 Aug 2011 at 5:54

GoogleCodeExporter commented 8 years ago
i have the same issue , and dont find any thing about it i forums ???

Original comment by Arkan.D...@exalt.ps on 24 Jan 2012 at 12:41

GoogleCodeExporter commented 8 years ago
//resolved by adding tab in following way to TabSet
private Tab getTab(String tabName, Widget widget, boolean closable) {

            Tab tab = new Tab(tabName);
            tab.setCanClose(closable);

            WidgetCanvas lay1 = new WidgetCanvas(widget);
            //for Ctrl+c and Ctrl+v   
            lay1.setCanSelectText(true);
            //to hide right click menu
            lay1.addShowContextMenuHandler(new ShowContextMenuHandler() {
                  @Override
                  public void onShowContextMenu(ShowContextMenuEvent event) {
                        event.cancel();

                  }
            });
              tab.setPane(lay1);

        TabSet tset=new TabSet();
        tset.add(tab);

      }

Original comment by kvenu.j...@gmail.com on 13 Feb 2012 at 5:45

GoogleCodeExporter commented 8 years ago
This is not a runnable test case, issue still invalid.  See also FAQ (in 
forums) about mixing GWT and SmartGWT widgets.

Original comment by smartgwt...@gmail.com on 13 Feb 2012 at 6:09