Re: RichTextArea on IE7 insert after enter typed

2012-01-17 Thread gangurg gangurg
Any thoughts Team ?

On Thu, Jan 12, 2012 at 12:01 PM, gangurg gangurg  wrote:

>
> Thanks for pitching in . This is the Issue . I am trying to do some
> formatting as well as recognizing text .
> In firefox and chrome after you  type in a word in the rich text area and
> press enter ,  you would notice that the result html  has br tag where as
> in IE it is  tag . Basically , i just want to make sure IE also uses br
> tag after you press enter and go to a new line .I use GWT 2.4 .
>
>
>
>
>
>
> On Wed, Jan 11, 2012 at 8:51 PM, Pandy .k  wrote:
>
>>  i will help you.. what's your problem?
>>
>> --
>> 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.
>>
>
>

-- 
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.



Capturing TAB-key in RichTextArea

2012-01-17 Thread Marcus Franzen
Hi!

I would like to use the tab-character within a RichTextArea in GWT.
The usual behavior of pressing the tab-key is to switch the focus to
the next element. I am trying to capture the TAB-Key when typing text
in a RichTextArea (via KeyDownHandler) and insert the tab character at
the current cursor position. Sadly the RichTextArea has no
getCursorPos/setCursorPos like the TextArea has.

Any ideas?

Many thanks!

Marcus

-- 
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 resizing

2012-01-17 Thread Mike Dee
Just getting back to this.  Was working on something else.

I did as describe below, by Ashwin.

However, when I switch to design mode in GWTDesigner, the following
error occurs:

[ERROR] No class matching "west" in
urn:import:com.google.gwt.user.client.ui Element 

I assume that something else must be done so that GWTDesigner knows
either: 1) my class is based on SplitLayoutPanel and thus the same XML
is used to define it, 2) I have to some how tell GWTDesigner about all
the options supported by MySplitLayoutPanel so that it knows how to
interpret the uibinder code.

It seems like this would be a common practice - to extend GWT widgets
- and so I assume it isn't too difficult.  Any pointers?

Mike


On Dec 28 2011, 8:53 pm, Ashwin Desikan 
wrote:
> Mike,
>
> As long as you have a default constrictor in your derivedayout panel, you 
> should be able to use it in ui:binder like below.
>
> 
> 
> 
>
> Above m is the namespace identifier for your package.
>
> Did u try something like above?
>
> Thanks
> Ashwin
> Sent from my iPhone
>
> On Dec 28, 2011, at 10:53 PM,MikeDee wrote:
>
>
>
>
>
>
>
> > Hi Ashwin,
>
> > The SplitLayoutPanel is inside a DockLayoutPanel (in the center).  I
> > can see the DockLayoutPanel->onResize() calling SplitLayoutPanel-
> >> onResize().  However, it isn't calling the onResize() I added with
> > addHandler().  I assume addHandler() has no effect since
> > SplitLayoutPanel implements ResizeRequired.  So, now I am figuring out
> > how to get a hold of SplitLayoutPanel's onResize() to override.
>
> > I've created a derived panel, called MySplitLayoutPanel.  Currently
> > trying to figure out how to make this work with uibinder.
>
> >Mike
>
> > On Dec 28, 1:16 am, Ashwin Desikan  wrote:
> >> All layout panels implement the onResize method. So you don't Have to 
> >> extend the widget unless you are doing a custom Splitlayout panel.
>
> >> Do you use the Splitlayout panel inside other panels? Also, i trust you 
> >> are using rootlayout panel instead of rootpanel in the onModule method of 
> >> your entrypoint
>
> >> Since, I can't Access the entire thread over email I am assuming you are 
> >> having Splitlayout panel inside another layout like a htmlpanel etc and 
> >> expect it to resize on the change of view dimensions?
>
> >> If thats the case on way to fire the onResize automatically is to use a 
> >> place the splitlayoutpanel inside a ResizeLayoutPanel or for that matter 
> >> any layout panels
>
> >> ~Ashwin
>
> >> Sent from my iPhone
>
> >> On Dec 28, 2011, at 1:08 PM,MikeDee wrote:
>
> >>> Played around with this a little more and came to a few conclusions.
> >>> I am guessing that adding a ResizeHandler to SplitLayoutPanel has no
> >>> effect because SplitLayoutPanel already implements onResize() - due to
> >>> its implementing RequiresResize.  I can see SplitLayoutPanel's
> >>> onResize() being called by stepping through the code.  The
> >>> ResizeHandler I added is no where to be found.
>
> >>> That leaves the option of deriving my own subclass of SplitLayoutPanel
> >>> and then overriding onResize().  Easy enough EXCEPT how does one get
> >>> such a class to work with uibinder?
>
> >>> --
> >>> 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 
> >>> athttp://groups.google.com/group/google-web-toolkit?hl=en.
>
> > --
> > 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 
> > athttp://groups.google.com/group/google-web-toolkit?hl=en.

-- 
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 and Atmosphere .. is this the right solution for my app?

2012-01-17 Thread Captain Haddock
Newbie Q .. what is the correct approach to the following application:

- multiple client applications show an icon representing the state
(good or bad) of 1 or more resources (lets say client 1 shows resource
A, client 2 shows resources A and B, client 3 shows resources B and C)
- the state of those resources is determined on the server side
through some independent thread (not related to any client request)
- when the status of the resource changes, I want to push that change
to the clients showing that resource

At first glance, I thought Atmosphere should provide mechanisms to do
what I want .. but all the examples seem to have everything triggered
from the client (browser) side. In my case other than the client
registering interest in particular resources (A and/or B and/or C),
the client does not initiate anything.

Am I forced to make the client (long) poll? I was rather hoping for
some level of abstraction where I can set initial interest by
registering some listener against some subject and after that just
publish updates from the server without my server code having to have
an explicit handle to a client (I was assuming some toolkit would
handle that).

If appropriate, pointers to any examples would be great. All the chat
examples I can find seem to initiate stuff from the client.

Not much help from the Atmosphere code which lacks javadoc.

-- 
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.



UTF-8 in the history

2012-01-17 Thread Aladdin
I was trying to use Arabic in my token history(Fragment). I found that
GWT when using History.newItem(... Arabic word )  will encode it. I
drilled down in the code and found "encodeFragment(String fragment)"
is used to decode the token, but why is that? that removes any
possibility of using UTF-8 in the app state and gives the site an ugly
URL. A Simple URL with the word "book" in Arabic will look like this

www.mydomain.com/#%D9%83%D8%AA%D8%A7%D8%A8

But it should look like this (Not sure if you have Arabic font in your
PC to see it correctly)

www.mydomain.com/#كتاب

Any Idea ?

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.



How do I layout widgets horizontally?

2012-01-17 Thread laredotornado
Hi,

I'm using GWT 2.4 and having a problem affecting IE 8 only.  I want to
layout widgets (some having a minimum width) horizontally in a panel,
and then have those widgets wrap to the next line if there is no more
visible room on the current horizontal line.  If the number of lines
exceeds the vertical display area, I would like a scroll bar to
appear.  Is there a standard GWT way to do this?  Right now, I'm
assigning styles to widgets, for example ...

final FlowPanel panel = new FlowPanel();
for (final Widget childWidget : childWidgets) {
...

childWidget.getElement().getStyle().setProperty("display", "inline-
block");
...
panel.add(childWidget);

but evidently what I'm doing isn't jiving with IE, because those
widgets appear vertically.  GWT usually takes care of browser
differences, so I'm wondering what the right way to layout widgets in
GWT is.

Thanks, - Dave

-- 
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.



FormPanel setEncoding not working in IE(7)

2012-01-17 Thread Kai Krupka
I'm trying to upload a file working with a FormPanel and FileUpload on the 
client side (application using GWT 2.3). Before submitting the method 
(post) and the action (url) is set. With these two options it's working and 
the request reaches the servlet in the server side. However, whenever I set 
the encoding with form.setEncoding(FormPanel.ENCODING_MULTIPART) the 
request never reaches the servlet. In other browsers like Chrome and FF 
it's working without any problems, not in the Internet Explorer (7). Has 
anyone an idea fixing that problem? 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/-/kCkEK_Qu9HMJ.
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: MVP in terms of UI and View

2012-01-17 Thread Andrew Green
With regard to avoiding state in views, I've more or less followed this 
practice, but sometimes find it useful to cache re-usable DOM/Widget 
elements in views. In these cases, the view knows absolutely nothing 
about the general application state, but may keep track of a few minimal 
pieces of information that it can use to determine which, if any, cached 
Widgets it can re-use. For example, in one view I have a CellTree that I 
use for navigation, and the view caches CellTrees based on their root 
value. The activity (presenter) for that view first asks the view if it 
has an appropriate tree available in its cache. A new tree is created 
only if an appropriate one is not available.


I think this makes sense because these Widgets are very view-specific. 
Caching them elsewhere would mean other parts of the app would have to 
understand (and become in some way coupled to) view-specific code.


El 16/01/12 14:06, Thomas Broyer escribió:



On Monday, January 16, 2012 8:44:22 AM UTC+1, Qrunk wrote:

What does the following mean ??

GOALS in GWT Develeopment


We need dumb Views, not dumb UIs
(What does  View mean here and whats UI in MVP ?? its confusing, ,
please explain with a small example, a simple one)


A "dumb view" is a view that doesn't do too much (everything's 
controlled by the presenter), but that doesn't mean you UI has to be 
"dumb" too: you can have a very complex UI, with complex 
logic/behavior; the thing is: put it in the presenter, let the view be 
as "dumb" as possible.



• Avoid state within Views
(Which state is it talking about, please explain with a small
example, a simple one)


See answer in another thread.


• Swap out Views for different platforms
(What is the swapping thing here?? does he means change of
different technology, say from GWT to Flex )


E.g. use a PushButton for desktop and a plain old Button (more 
lightweight, because "native") for mobile. That doesn't change your 
presentation logic (i.e. your presenter code).

--
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/-/2NL-0Y1fGkwJ.

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.


--
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: CellTable - how to load just one page?

2012-01-17 Thread Magnus
Sorry for the delay!

I have a large list, which I do not want to load all at once. I would like 
>> to load and display just one page and let the user navigate to other pages.
>> The problem I see with CellTable is that it needs the whole list at once 
>> (setRowData). So I have to transfer all the data. Is it possible just to 
>> load the data for one page, and load the next portion if the page changes?
>>
>
> Are you kidding me? Just 2 days ago you asked how to display the whole 
> data you loaded because CellTable uses paging by default!
>

This was another question.
 

> Either you have the whole data set and you can call setRowData(List), 
> which is just a shorthand for setRowCount(list.size());setRowData(0,list);
> Or you have only a portion of the data (generally the size of a page, but 
> not necessarily) and you'll call setRowCount (either you know exactly how 
> many items the whole dataset contains, and you can call setRowCount(int), 
> or you're not sure and you'll call setRowCount(int,boolean) passing 'false' 
> as the second argument; if you really don't know, you can pass any big 
> value as the first argument, and then adjust it later when you've reached 
> the end of the dataset, ofr instance) and setRowData(int,List).
>

Ok, but these calls have to be triggered somehow, e. g. when the user 
clicks "next page". How is this done?


 Magnus

-- 
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/-/6WWk6TtrCngJ.
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: Making an RPC call from a CellTable ButtonCell in a view (MVP pattern)

2012-01-17 Thread Drew Spencer
OK, I am making some headway with this.

I realised I was going the wrong way about it needed to attach some kind of 
handler in the presenter, and found CellPreviewHandler.

So I added this in to my presenter:

display.getFilesTable().addCellPreviewHandler(new Handler()
{
@Override
public void onCellPreview(CellPreviewEvent event)
{
// if the event was a click on column with index 3
if(event.getNativeEvent().getType().equals("click") && event.getColumn() == 
3)
{
final String fileId = event.getValue().getId().toString();
 Window.alert("Deleting file " + fileId);
 deleteFile(fileId);
}
}
});

This works and does call function deleteFile when the particular cell is 
clicked. It's good enough for now, but if anyone knows any better way to do 
it that would be nice to know.

Cheers

Drew

-- 
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/-/5snm9OvhTjYJ.
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: Editor flush() not saving data

2012-01-17 Thread Aidan O'Kelly
You need to call a persist() method or similar on your request context, for
it to actually save. This should map to a service method on the service
side that will persist the object to whatever data store you are using.
(Similar to the find()/findXXX method you wrote to retrieve entities)

On Tue, Jan 17, 2012 at 2:38 AM, jmbz84  wrote:

> I have an simple editor, it works because it shows the data from the
> DB. But when I try to save nothing happens no error but also no saved
> data. I see the editordriver before flushing and it has the modified
> data. What is missing or wrong,
>
> Please Help, thank you.
>
> Here is my code.
>
>
> public class ArticuloEditor extends Composite implements
> Editor {
>
>  interface Binder extends UiBinder {
>  }
>
>public ArticuloEditor() {
>initWidget(GWT.
> create(Binder.class).createAndBindUi(this));
>}
>
>  @UiField
>  TextBox titulo;
>
>  @UiField
>  ValueBoxEditorDecorator autor;
>
>  @UiField
>  IntegerBox id;
> }
> ///
>
> public class PersonEditorWorkflow {
>  interface Binder extends UiBinder
> {
>Binder BINDER = GWT.create(Binder.class);
>  }
>
>  interface Driver extends
>  RequestFactoryEditorDriver {
>  }
>
>  @UiField
>  HTMLPanel contents;
>
>  @UiField
>  DialogBox dialog;
>
>  @UiField(provided = true)
>  ArticuloEditor articuloEditor;
>
>  private Driver editorDriver;
>
>  private ArticuloProxy articulo;
>
>  private TestRequestFactory requestFactory;
>
>  public PersonEditorWorkflow(TestRequestFactory requestFactory,
> ArticuloProxy articulo)
>  {
>this.requestFactory=requestFactory;
>this.articulo=articulo;
>
>articuloEditor = new ArticuloEditor();
>Binder.BINDER.createAndBindUi(this);
>
>  }
>
>  @UiHandler("cancel")
>  void onCancel(ClickEvent event) {
>dialog.hide();
>  }
>
>  @UiHandler("save")
>  void onSave(ClickEvent event) {
>
>RequestContext context = editorDriver.flush();
>
>if (editorDriver.hasErrors()) {
>  dialog.setText("Errors detected locally");
>  return;
>}
>
>   context.fire(new Receiver() {
>  @Override
>  public void onConstraintViolation(Set>
> errors) {
>dialog.setText("Errors detected on the server");
>editorDriver.setConstraintViolations(errors);
>  }
>
>  @Override
>  public void onSuccess(Void response) {
>  dialog.setText("SAVED");
>  }
>});
>  }
>
>  public void edit(RequestContext requestContext)
>  {
>editorDriver = GWT.create(Driver.class);
>editorDriver.initialize(requestFactory, articuloEditor);
>editorDriver.edit(articulo, requestContext);
>dialog.center();
>
>  }
>
>}
> //
> Here is where I call PersonEditorWorkflow in OnModuleLoad()
>
>void settestItemRequestMethod(ArticuloProxy articulo)
>{
>new
>
> PersonEditorWorkflow(testRequestFactory(),articulo).edit(testRequestFactory().getRequest());
>}
>
> --
> 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.
>
>

-- 
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 inspect GWT generated javascript in Internet Explorer?

2012-01-17 Thread karim duran
Hi Thomas,

As you said, there is also a Developer Toolbar for IE8 ( IE6 IE7 too).

According to the Microsoft documentation
http://msdn.microsoft.com/en-us/library/dd565628.aspx

Tools provides support for *JScript *( read the documentation from the url
above ).

As you know, JScript is a specific Microsoft extension from ECMA Script
with non-portability issues.

I met these issues during my work, it's why i advice Mozilla tools.

Mozilla developper tools always use standard compliant tools. It's why i
made suggestion about them.

Without questioning the IE tools, I do think that the Mozilla tools are
more suitable.

Regards.

Karim Duran

2012/1/16 Thomas Broyer :
>
>
> On Monday, January 16, 2012 8:46:31 AM UTC+1, karim33 wrote:
>>
>> Hi Mariyan
>>
>> Tools to inspect javascript code in IE are difficult to find.
>
> Er, starting with IE8, simply hit F12.
>
> For IE6 and IE7 (but who really cares?), Microsoft provides the "IE
> Developer Toolbar" add-on.
>
> --
> 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/-/eGHXo6-8wKkJ.
>
> 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.

-- 
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 with Layouts not showing up as expected (SplitLayoutPanel/DockLayoutPanel ...)

2012-01-17 Thread Nicolas
This is strange: If I use the  RootLayoutPanel.get().add(xxx) to add the 
Dock or SplitLayoutPanel, it works, but this is not what I want. I want to 
add it in an inner element, not the root.
Is this not possible? Should be possible to cascade Dock and 
SplitLayoutPanels too I guess? What am I doing wrong?

Any posts to the probllem are welcome

Kindest regards

Nicolas

-- 
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/-/M6fvDhoCTnQJ.
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 click dynamically submit button on load

2012-01-17 Thread Krrish
Hi,,
I have Username,password two textfields.I will be setting username and
passwor in my Java class to default values say(admin,admin),when I run
that program as username and password are admin,admin,it must navigate
to next page..

If I set those to other than admin in my Java class,then Login
incorrect message must be displayed and that Panel must be displayed
as

Enter Username :

Enter password:;

How can i achieve this?

-- 
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: GWT CellTable distorts when window is minimized or maximized...

2012-01-17 Thread Vibhas Zanpure
Thanks for the reply Drew.

Sadly I cant stop using IE7 because the project runs only on IE and
client also wants it that way :).

Anyway I could get over this problem ? Another funny thing I noticed
with IE7 is that whenever I hover over a CellTable row, the color
which is supposed to get changed takes a lot of time (nearly 2-3
seconds)... In firefox, the same takes absolutely no time at all...

-- 
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.



populating DataGrid/ ValueListBox using Editor framework

2012-01-17 Thread Qrunk
Hi,

Is it possible to populate DataGrid/ ValueListBox using Editor framework 
just as we do it for TextBox by *driver.edit(Model m) ??*
*
*
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/-/bAwue-WwSZ4J.
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: LayoutPanel and Custom Widget

2012-01-17 Thread Uemit
Either your custom widget extends 
ResizeComposite
 or 
implements RequiresResize and ProvidesResize interfaces. This will ensure 
that the onResize event is propagated to your LayoutPanel. 

You have to make sure that you put your widget in a ResizeLayoutPanel or in 
a Panel which implements ProvidesResize and make sure that there is a 
unbroken chain of ProvesResize/RequiresResize panels up to the 
RootLayoutPane.
Whenever you resize your browser LayoutPanel will resize accordingly. 


-- 
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/-/yxcKVSMLYFEJ.
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.