Force render of CellBrowser cell(s)
I would like to be able to explicitly call the render method on a CellBrowser. The reason for this is that I am making changes to the underlying data model, and want the values to be refreshed in the display. I have a valueUpdater.update() method that is being called. My approach is to re-render all cells by iterating round them and calling render(). The problem is that I don't know how to supply to parameters that render is looking for. In particular the Context and the SafeHtmlBuilder. Questions: 1) Am I trying to achieve this the correct way? 2) If so, how do I call render? Thanks in advance. -- 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: History.replaceItem?
@zixzigma: stateful in the sense that the view (or the presenter if you're using MVP) has a private variable that keeps the last page seen and is only initialized on a new search. As a consequence, it would show the exact same page if you navigate back to it. On Feb 4, 2:08 pm, Jason jason.siem...@namsys.com wrote: Good suggestions, the reason that I've been using the URL to rewrite the list page parameters (rather than having a stateful page) is that I'm using it for both paging and the query parameters. For example, if the user is searching for customers where the name starts with 'ABC' then the URL is rewritten as something like 'list#customerNameStartsWith=ABCpage=2'. This allows the user to easily bookmark a query or page of results. You could still use the stateful view approach with the query string in the URL, letting the user bookmark the query. With that approach, the only thing you can't do is let him bookmark the page number. IMHO bookmarking a page often does not make sense, especially if you have a dynamic database where the search results change through time. -- 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: Is it possible to convert ImageResource to ImageElement?
Or, without creating an Image widget: AbstractImagePrototype.create(imageResource).createElement() -- 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: nothing visible in IE8 while it all looks good in FF and Chrome
Make sure you use !DOCTYPE html to put ie8 in standards mode and make sure the checkbox show intranet sites in compatibility view is unchecked in ie8's compatibility view settings. On 5 Feb., 07:39, doles sachin.d...@gmail.com wrote: Hello, I have a UiBinder based layout and it looks and works great in FF and chrome. However, in IE8, i cant see anything except the background. In IE8's developer tools, I can see all html and can also see borders when i hover over the HTML in those tools. however, it shows nothing except the background color. What could I have missed? Best, Sachin -- 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: Help with Google Plugin For Eclipse setup
seems like the plugin is trying to create the WEB-INF directory but apparently web-inf already exists, therefore (on Windows platform) WEB-INF can not be created either delete your web-inf, or rename it to WEB-INF (or web-inf.del or something like that), so the plugin can either create the folder it needs or it will just use yours one -- 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.
i18n properties file
i have LocalizableResource_lang.properties located at com.google.gwt.client . using uibinder ui.msg: i able to get the i18n messages. let say i programmatically creating widget. and created interface LocalizableResource extends Message in order to read in 18n messages. Is this correct proper way to do it? -- 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: Force render of CellBrowser cell(s)
1) Am I trying to achieve this the correct way? Probably not. If you use value updater to communicate a change to your data provider, then data provider can update itself, which will automatically update all attached displays. Take a look at this posthttps://groups.google.com/forum/#!msg/google-web-toolkit/yeNZX9o6G_s/zBtaNxGsyG0J. One difference is instead of RPC calls your provider would get the data from the valueUpdater. -- 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: Is it possible to convert ImageResource to ImageElement?
Hej Thomas, it´s the same with your solution. The Image won´t appear on the canvas. Maybe it is a bug since the canvas api is still experimental? Maybe I should try a different approach to implement an image preloader. On Feb 6, 11:50 am, Thomas Broyer t.bro...@gmail.com wrote: Or, without creating an Image widget: AbstractImagePrototype.create(imageResource).createElement() -- 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.
TabLayoutPanel and panel - the content doesn't appear
Hi all! I know it will be a very simple question from me, so I'm sorry in advance. My application looks like this: - the main structure is a DockLayoutPanel. In this are the other control structures, in North is the MenuBar, in West are the menu built on Tree, Center is the main data recording area which is in default case is an SimplePanel. In special case into the CenterSimplePanel I put a TabLayoutPanel with 3 tab. Every tab is an SimplePanel and I put the content about lazy load, whenever tab is become active I put the form, buttons, labels, etc. (SelectionHandler and swhitch-case structure) My problem is that, the first tab is active by default and it contains few buttons and other stuffs these elements doesn't appear by default. Even not if I'm changing the different tabs but because the lazy load the content should be loaded. My question are the next: - what is the recommended way to build a TabLayoutPanel? - which panels are recommended? - where can I find information about this? Is there any article or tutorial about this? The official Google tutorial is not enough. Thanks for any help in advance! -- - - -- Csanyi Andras (Sayusi Ando) -- http://sayusi.hu -- http://facebook.com/andras.csanyi -- Trust in God and keep your gunpowder dry! - Cromwell -- 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.
Using the Layout class
Hi, I try to use the layout class, but I have problems. It would be nice, if one could get some help here. Unfortunately, this is very limited here. I also know it's a very special problem. I try to layout my children with layer.setLeftWidth and layer.setTopBottom, but it does not work correctly. How can I get help? Thanks Magnus -- 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: Using the Layout class
Have you set your doctype to standards mode? If you post some code I can take a look at it. -- 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.
runAsync and GwtEvent
Hi, I'm having an issue with the code resulting from a code split which fires a GwtEvent. The scenario is the following: Class A - This class is runAsync'd and fires a GwtEvent for when an action is completed Class B - This class has a handler for the GwtEvent which handles the event fired by Class A The events run over an EventBus. When I run SOYC on this, I notice that a portion of Class B is being put into the Left Over code as it seems to associated the code contained in the GwtEvent handler method to Class A and Class B. Is there a way to fire the events from Class A to Class B and make the only common portion of code the EventBus and the GwtEvent with handler and not actually the Class B code located in the GwtEvent handler method? Let me know if this isn't clear, I can supplement with code snippets if necessary. Thanks, Ale -- 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.
Problem Styling CellList
Hello Everyone, I modified GWT basic CellList sample, to experiment how I can style a CellList. Unfortunately I am getting exceptions, and was not successful in styling a cell list. Below you can find my basic code sample which I posted on pastebin for easy viewing. Do you know what I am doing wrong ? Thank You my gwt.xml: http://pastebin.com/2PGYkdda my basic java class entryModule : http://pastebin.com/87ecUVTv My Css: http://pastebin.com/DmVntph0 -- 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: Problem Styling CellList
The line highlighted as the source of problem is : CellList.Resources resources = GWT.create(MyCellResources.class); and the exception can be found here: http://pastebin.com/eLLBAMLj -- 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: Problem Styling CellList
Ok, I found what I was doing wrong : ) I should have overriden all styles defined in CellList. I had left out, .cellListWidget {} and corresponding String cellListWidget(); .cellListSelectedItem {} / String cellListSelectedItem(); I added those, and it worked. though not very critical, I am curious whether its possible to inherit some of the default styles while overriding the others. Thank You -- 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.
classpathentry kind=con path=DROOLS/Drools/ refers to which jars
I hope this is the correct mailing list for the question. I have created some rules through guvnor am trying to fireAllRules(). I created a normal java class using KnowledgeAgent am calling fireAllRules() method. I have noticed that it executes fine as long as I have the following entry in my classpath: classpathentry kind=con path=DROOLS/Drools/ But when I try to call the same code from within my web app, I get the following error: 16:00:12,131 INFO [STDOUT] java.lang.RuntimeException: KnowledgeAgent exception while trying to deserialize KnowledgeDefinitionsPackage Caused by: java.io.IOException: Server returned HTTP response code: 401 for URL: http://pcbng100:18080/drools-guvnor/org.drools.guvnor.Guvnor/package/com.drools/LATEST I was wondering if I could add the jars referred to by 'DROOLS/drools' to my project manifest. But I am not sure which files/jars are referred to by it. Could anyone guide me in this regard? -- 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: send post message a PHP solved
Hi, Im working on phpCallback http://code.google.com/p/gwt-phpcallback/, It will be finished soon. using is much easier. first we made object to send public class TestObject extends PhpRpcObject { public String[] aaa = {ss,dd}; public int[] bbb = new int[2]; } then made service public class TestService implements PhpRpcService{ public void getTestObject(TestObject objTest, PhpRpcCallbackTestObject p_callBack){}; } and last we call it PhpRpcCallbackTestObject callback = new PhpRpcCallbackTestObject() { public void onFailure(Throwable caught) { Window.alert(caught.getMessage()); } public void onSuccess(TestObject result) { Window.alert(result.iii); } public void onThrowable(PhpRpcException rpcException) { Window.alert(rpcException.getExceptionJs().getMessage()); } }; service.getTestObject(string, 15, obj,callback); in php is generated service implementation, we add only a body in methods class TestServiceImpl{ public $ARGUMENTS_getTestObject=objects/TestObject; public function getTestObject( TestObject $objTest){ // if (objTest==null) throw new RpcException(Undefied object); // $objTest-iii = Generated inside PHP; // return ($objTest); } } -- 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.
[gwt-contrib] Re: Generator Result Caching implementation for ClientBundle (issue1236801)
http://gwt-code-reviews.appspot.com/1236801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Handle Validation of Cascaded Generic properties. (issue1343801)
Reviewers: rchandia, Description: Handle Validation of Cascaded Generic properties. Make GwtValidators Singletons. [JSR 303 TCK Result] 88 of 257 (34.24%) Pass with 38 Failures and 14 Errors. Please review this at http://gwt-code-reviews.appspot.com/1343801/show Affected files: M user/src/com/google/gwt/validation/client/impl/AbstractGwtValidator.java M user/src/com/google/gwt/validation/client/impl/GwtValidationContext.java M user/src/com/google/gwt/validation/rebind/AbstractCreator.java M user/src/com/google/gwt/validation/rebind/BeanHelper.java M user/src/com/google/gwt/validation/rebind/GwtSpecificValidatorCreator.java M user/src/com/google/gwt/validation/rebind/GwtSpecificValidatorGenerator.java A user/src/com/google/gwt/validation/rebind/Util.java M user/src/com/google/gwt/validation/rebind/ValidatorCreator.java A user/test/com/google/gwt/validation/RebindJreSuite.java A user/test/com/google/gwt/validation/rebind/UtilTest.java M user/test/org/hibernate/jsr303/tck/tests/constraints/constraintcomposition/ConstraintCompositionGwtTest.java M user/test/org/hibernate/jsr303/tck/tests/constraints/customconstraint/CustomConstraintValidatorGwtTest.java M user/test/org/hibernate/jsr303/tck/tests/constraints/validatorresolution/ValidatorResolutionGwtTest.java M user/test/org/hibernate/jsr303/tck/tests/validation/PropertyPathGwtTest.java M user/test/org/hibernate/jsr303/tck/tests/validation/ValidateGwtTest.java M user/test/org/hibernate/jsr303/tck/tests/validation/ValidatePropertyGwtTest.java M user/test/org/hibernate/jsr303/tck/tests/validation/graphnavigation/GraphNavigationGwtTest.java M user/test/org/hibernate/jsr303/tck/tests/validation/graphnavigation/TckTestValidatorFactory.java -- http://groups.google.com/group/Google-Web-Toolkit-Contributors