Re: Image from resource in SafeHtmlTemplate

2011-08-13 Thread Ioan Agopian
You don't have to run the result of AbstractImagePrototype.create through the template, just add it to the SafeHtmlBuilder: String imageHtml = AbstractImagePrototype.create(Resources.sSingleton.getMyImage()).getHTML(); safeHtmlBuilder.appendHtmlConstant(imageHtml); On Aug 13, 7:12 pm, Steen Laur

Re: Image from resource in SafeHtmlTemplate

2011-08-13 Thread Ioan Agopian
You can use the following code to build the html for the image: AbstractImagePrototype.create(Resources.Singleton.GetMyImage()).getHTML(); Regards, Ioan On Aug 13, 12:25 am, Micah Caldwell wrote: > I have an image from a ClientBundle resource: > final String myImageUrl = new > Image(Resources.

Re: Application written using GWT 2.1.1 goes belly up in 2.3 dev mode -- please help me to understand

2011-08-04 Thread Ioan Agopian
Hi, It seems that GWT is no longer in the build path. Try setting it again in the project settings under Google / Web toolkit. Regards, Ioan On Aug 4, 8:20 pm, Rob Tanner wrote: > Hi, > > I have a production application built using GWT 2.1.1 and the Eclipse > plugin.  I've just installed Eclips

Re: GWT CELLTABLE How to restore old value in cell if validation fails

2011-08-03 Thread Ioan Agopian
checkbox > (All or selected chkbox only i.e selectionModel.isSelected(object) ) > > My Grid contain (2-N) column so I am asking this question ? > > On Aug 2, 5:42 pm, Ioan Agopian wrote: > > > > > > > > > Hi Vaibhav, > > > Youcando it like this: > > /

Re: GWT CELLTABLE Editable value not persisted when user clicked cell twice or thrice

2011-08-02 Thread Ioan Agopian
Hi, You have to update the value stored in your dataprovider to the new value. If not, when user clicks repeatedly the cell, it will revert to the old value. Regards, Ioan On Aug 2, 1:01 pm, vaibhav bhalke wrote: > Hi, > > Editable value not persisted when user clicked cell twice or thrice. Is

Re: GWT CELLTABLE How to restore old value in cell if validation fails

2011-08-02 Thread Ioan Agopian
Hi Vaibhav, You can do it like this: // clear incorrect data cell.clearViewData(KEY_PROVIDER.getKey(object)); cellTable.redraw(); Where cell is the TextEditCell that you're using for that column. Regards, Ioan On Aug 2, 12:59 pm, vaibhav bhalke wrote: > Hi all, > > PFA WebEx recording for Iss

Re: Web-/Server Management Tool with GWT

2011-08-02 Thread Ioan Agopian
Hi any, Pretty big project to start with :). I think you're looking at it wrong as the main task will be to handle all the configuration for the server services, and GWT can only provide the user interface. All the background server work has to happen on the server, and GWT only runs on the clien

Re: CellTable with SimplePager displaying GAE datastore data in async

2011-07-07 Thread Ioan Agopian
What framework are you using to connect to the datastore? I've not used JDO or JPA, but in Objectify you can set an offset and a limit on a query. In onRangeChanged you can get them like this: Range range = display.getVisibleRange(); Integer offset = range.getStart(); Integer limit = range.getLeng

Re: problems using ScrollPanel and layout panels

2011-07-04 Thread Ioan Agopian
Williame, thanks for your response, I really hope we can find an elegant solution. I don't think that your approach works well for dynamic content. I don't really know the size of the cell tree in advance so I can't adjust the size of the containing panel when placing the cell tree in it. At firs

problems using ScrollPanel and layout panels

2011-07-01 Thread Ioan Agopian
Hi all, I have the following code: Header This DockLayoutPanel is in turn attached to other layout panel who is attached to the root layout