Opening a browser in development mode in Eclipse
Hi there, I'm having some problems with my Eclipse, GWT settings. When I try to run my code in development mode, clicking the URL opens up my code in a text editor. Currently it's set to Open with default system browser. - I tried to Add a new browser and added Chrome with the location: /opt/google/chrome/google-chrome but with that setting, double-clicking the development mode url did not open anything at all. - I also tried setting the gwt external browser: export GWT_EXTERNAL_BROWSER=/opt/google/chrome/google-chrome but that did not seem to have any effect. This started happening when I switched to Indigo from Galileo. I'm using Ubuntu 10.04 Lucid Lynx. Thanks for any suggestions. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/KxDaEcQTh5IJ. 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 to get combobox from handler change event method?
I have several GXT SimpleComboBoxes to which I've added a ValueChangeHandler. combo1.addValueChangeHandler( new ValueChangeHandlerString() { @Override public void onValueChange( ValueChangeEventString event ) { ... } }); Is there a way to get the combo box (here, combo1) that the handler is responding to from within onValueChange() ? Basically, I'm going to be adding the same handler to many combo boxes, and I want to be able to figure out which one I have and do stuff to them after the user makes a selection. Thanks for any suggestions. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/vu12MjvH4LAJ. 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 get combobox from handler change event method?
Perfect, thanks! On Thursday, August 30, 2012 3:02:00 PM UTC-7, Jens wrote: What about something like: Object source = event.getSource(); if(source == combo1) { . } else if(source == combo2) { . } -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/PJAl5iBojoMJ. 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: Problems with paging using Sencha GXT grid and paging tool bar
I fixed the problem. For anyone who's interested, you have to tell the list store the chunk of rows you want. Giving it a PageLoadConfig with an offset is not enough. This was where my mistake was, I thought that with the config, it would magically give me the correct number of rows per page. Instead, I was loading all of my rows at once. To fix this, the servlet has to read the limit and offset from the config and only send the correct items back. Once this was fixed, the thick toolbar issue was also fixed. See this helpful reply in the Sencha thread: http://www.sencha.com/forum/showthread.php?235846-Paging-doesn-t-work :) On Tuesday, August 7, 2012 1:37:14 PM UTC-7, glascaleia wrote: I don't understand your problem. May you ecplain better?? Regards Giuseppe Inviato da iPhone Il giorno 07/ago/2012, alle ore 19:22, CF michelle.k...@gmail.com ha scritto: Hi there, I was wondering if anyone here uses Sencha GXT and could help me. The Sencha GXT forums are not very active... I followed the PagingGridExample.java from the Explorer demo: http://www.sencha.com/examples/#ExamplePlace:paginggrid. The code I use is exactly the same, except that I am using my own DataItem instead of Post. As well, instead of a separate PagingGridExample class, I just have a method createTable() inside another class that runs the code found inside PagingGridExample.java asWidget() . I'm having a few problems with it though. The grid loads, however paging doesn't work. I set: final PagingToolBar pagingToolBar = new PagingToolBar(10); However, even though the toolbar shows and shows the text: Displaying 11 - 20 of 28, etc, the grid shows all 28 rows. When I click the buttons in the paging toolbar, the grid refreshes, but still shows all 28 rows on each page. Also, the paging tool bar is unusually thick. I have to change the parameters of the VerticalLayoutData in order for it to show at all: VerticalLayoutContainer con = new VerticalLayoutContainer(); con.setBorders(true); con.add(grid, new VerticalLayoutData(1, 0.80)); con.add(pagingToolBar, new VerticalLayoutData(1, 0.20)); The overall layout is a DockLayoutPanel with a gxt TabPanel in the center. The grid is placed on a tab within a gwt VerticalPanel. All the other code is the same as in the example, except as noted above. I have attached a screenshot. Would appreciate any help! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/CW07r5imxcQJ. 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. Screenshot_grid.png -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/dSYzF71NZrMJ. 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.
Merging column entries in CellTable
Hi all, I have a table where each row is an individual. For certain searches, the results might be related and as such, the link at the end of each row is the same for all. In these cases, I would like there to be only one link for all of those rows. So in the example I've included, I'd like there to be one UCSC button instead of 3. Is there a way to do this? Thanks. https://lh4.googleusercontent.com/-h0UY1YJML9s/UBl7rhKAC_I/AFo/pJGnZYwNjkw/s1600/example_table.png -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/1wPHqPKbOSkJ. 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: Setting content for HeaderPanel
Thanks! I tried using the @UiField to access the HeaderPanel and change the content, but when the searchButton is clicked, the content area becomes blank and doesn't show my label. Any ideas why? @UiField HeaderPanel headerPanel; @UiField TextBox queryInput; @UiField Button searchButton; @UiField UListElement results; public MyHeaderPanel() { headerPanel = ( HeaderPanel ) uiBinder.createAndBindUi( this ); initWidget(headerPanel); queryInput.getElement().setId(queryInput); } @UiHandler(searchButton) void buttonClick(ClickEvent event) { headerPanel.setContentWidget( new Label( new results blah blah blah ) ); } On Friday, July 13, 2012 11:58:14 AM UTC-7, Jens wrote: In your java file you can call getWidget() to get the HeaderPanel, so you would probably define: private HeaderPanel getHeaderPanel() { return (HeaderPanel) getWidget(); } Alternatively you could assign a ui:field to your HeaderPanel and use @UiField in your java file to access it. Or you could change your UiBinder interface definition and constructor a bit so you have: interface MyUiBinder extends UiBinderHeaderPanel, MyHeaderPanelWidget {} private static MyUiBinder uiBinder = GWT.create(MyUiBinder.class); public MyHeaderPanelWidget() { HeaderPanel headerPanel = uiBinder.createAndBindUi(this); initWidget(headerPanel); } -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/DO93uAxyJz4J. 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.
gwt template mechanism
Hi all, Is there a templating mechanism that is typically used in GWT? I am asked to produce one, similar to how JSP does it ( http://java.sun.com/developer/technicalArticles/javaserverpages/jsp_templates/) for a GWT project. Links to examples or tutorials would be great. Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/7JLodTUXU5sJ. 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: gwt template mechanism
Thanks. So just making sure I understand, I can just swap in the panel that I want for content? Is there a benefit to using UiBinder? On Wednesday, July 11, 2012 11:20:13 AM UTC-7, Joseph Lust wrote: Yes. https://developers.google.com/web-toolkit/doc/latest/DevGuideUiPanels Sincerely, Joseph -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/id0WQtIXNaYJ. 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: Using GWT with UCSC Genome Browser
I had tried a POST request but perhaps I formatted it incorrectly. Would you have an example by any chance? What I had tried was: RequestBuilder builder = new RequestBuilder(RequestBuilder.POST, URL.encode(http://genome.ucsc.edu/cgi-bin/hgCustom;)); try { builder.sendRequest(http://genome.ucsc.edu/goldenPath/help/regulatory.txt;, new RequestCallback() { public void onError(Request request, Throwable exception) { ... } public void onResponseReceived(Request request, Response response) { ... } I got a status code of 0 back and an empty response. On Friday, June 15, 2012 3:17:43 AM UTC-7, PhiLho wrote: On 12/06/2012 23:58, CF wrote: I have a basic GWT setup and we want to be able to use this: http://genome.ucsc.edu/cgi-bin/hgCustom from the UCSC genome browser group. No luck when I tried it, all I get is an error message: hashMustFindVal: 'db' not found Basically, the form lets you upload a file or a url pointing to a file and you end up with a visualization of genomic data which can be found at a formatted url, eg: http://genome.ucsc.edu/cgi-bin/hgTracks?org=humanposition=chr22hgt.customText=http://genome.ucsc.edu/goldenPath/help/regulatory.txt http://genome.ucsc.edu/cgi-bin/hgTracks?org=humanposition=chr22hgt.customText=http://genome.ucsc.edu/goldenPath/help/regulatory.txt where the hgt.customText parameter gives the location of your file. Is there a way of doing this from GWT? Can I create the file in java and send it to the UCSC website somehow? The end goal is to have the user provide information about chromosome number, start and end locations, etc., then create the file, and then send it to UCSC to show a visualization on their website in a new tab. You can create a file on your server, then provide it to the form you point to. Actually, you can send directly a POST request with the form information and the content of your file (Mime-encoded) to the URL referenced in the form. -- Philippe Lhoste -- (near) Paris -- France -- http://Phi.Lho.free.fr -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/FKji4EuCtlgJ. 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.
Using GWT with UCSC Genome Browser
I'm hoping someone might have suggestions or point me in the right direction. The UCSC group was unsure when I asked. I have a basic GWT setup and we want to be able to use this: http://genome.ucsc.edu/cgi-bin/hgCustom from the UCSC genome browser group. Basically, the form lets you upload a file or a url pointing to a file and you end up with a visualization of genomic data which can be found at a formatted url, eg: http://genome.ucsc.edu/cgi-bin/hgTracks?org=humanposition=chr22hgt.customText=http://genome.ucsc.edu/goldenPath/help/regulatory.txt where the hgt.customText parameter gives the location of your file. Is there a way of doing this from GWT? Can I create the file in java and send it to the UCSC website somehow? The end goal is to have the user provide information about chromosome number, start and end locations, etc., then create the file, and then send it to UCSC to show a visualization on their website in a new tab. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/5mWntiv16JQJ. 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.