Re: What Major Companies Use GWT???

2011-11-16 Thread Santosh kumar
My company uses GWT, Objectify, Google App Engine, it is an online
accounting application.
www.AccountingGuru.in 

On Thu, Oct 28, 2010 at 10:41 PM, Harpal Grover wrote:

> Ok so it seems like GWT has major use internally for companies, but so
> far is not a choice product to build commercial applications for
> general consumer use yet. I like the framework as well and hopefully
> it can make a push into consumer web applications, not just for
> internal corporate use or android phone apps.
>
> On Thu, Oct 28, 2010 at 11:51 AM, gcstang  wrote:
> > We use it within our company Micros-Retail, we use GWT, SmartGWT, gwt-
> > log, and gwt-visualizations.
> >
> > On Oct 27, 8:46 am, markM  wrote:
> >> We use it within the Pfizer corporation.  It's also been used within
> >> Toyota U.S.  You may also want to visit the smart-soft web site as
> >> many of the companies listed there have probably taken GWT training.
> >>
> >> It's a beautiful thing to no longer have to deal with JSP's.  Even
> >> with facilities like JSF, which was a huge advance, I still spent half
> >> my time figuring out some screwy way to, say, display a dialog in
> >> conjunction with making numerous necessary callbacks to the server.  I
> >> felt like I was spending half my time on non-requirements related
> >> technical issues.  I used to constantly have to do illogical and
> >> unintuitive things to fix problems.  In addition to the fact that most
> >> JSP tools still don't do a good job of type checking leaving you
> >> staring at your screen wondering why something isn't working or having
> >> to chase through a stack trace to figure it out.  When I moved to GWT
> >> I felt like someone took the handcuffs off.  It ain't perfect, not
> >> technology is, but it's quite a bit better than anything I was using
> >> before this.  I use Spring on the back end and tools like incubator
> >> for more complex ui work.  All open source.  No licenses.  Thank you
> >> Google! and don't become evil, at least as developers on the bottom
> >> rung you have a choice!
> >>
> >> On Oct 26, 11:25 am, PhilBeaudoin  wrote:
> >>
> >> > VMWare uses it in its new Code2Cloud project:
> http://tasktop.com/blog/tasktop/springsource-vmware-code2cloud
> >>
> >> > Google do use it in many products, in particular adwords. There is a
> >> > question on the topic in Quora, might be a good place to add some
> >> > answers:
> https://www.quora.com/What-web-applications-use-Google-Web-Toolkit-(GWT)
> >>
> >> >   Philippe
> >>
> >> > On Oct 26, 6:42 am, Stefan Bachert  wrote:
> >>
> >> > > Hi,
> >>
> >> > > On 25 Okt., 11:06, Sir Codealot  wrote:
> >>
> >> > > > What major companies are already using GWT?  I'm a little
> surprised
> >> > > > that this sort of info is not available and obvious, front and
> center,
> >> > > > on the GWT FAQs, but I can't find it.
> >>
> >> > > I agree the business position of GWT is to weak in spite of its
> >> > > strength.
> >> > > Google itself does not earn with GWT so the incentives are weak.
> >>
> >> > > Another point is, there are a lot of GUI technology out there. It is
> >> > > very hard for companies to decide
> >>
> >> > > JSP, JSF, Iceface, ASF, Wicket, Qt, jquery,
> >> > > Flash, Flex, SilverLight, JX,
> >> > > GWT with smartClient, GWT with GXT, GWT with Mosaic, GWT pure,
> >> > > CaptianCasa,
> >> > > Vaadin
> >> > > Swing, SWT, AWT
> >> > > Eclipse RCP, Eclipse RAP,
> >> > > quoxdoo
> >> > > JAXX,
> >> > > XUL.
> >>
> >> > > I am surely missed the most.
> >> > > Some of them are doing just half the way.
> >>
> >> > > I know companies that are using GWT in some way
> >> > > - RedHat
> >> > > - IBM, Lombardi
> >> > > - Google (quite sure)
> >>
> >> > > However, sometimes a tool uses GWT but this is not really published.
> >> > > XWiki, Magnolia CMS for example
> >>
> >> > > Stefan Bacherthttp://gwtworld.de-Hide quoted text -
> >>
> >> > - Show quoted text -
> >>
> >>
> >
> > --
> > 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.
> >
> >
>
>
>
> --
> Harpal Grover
> President
> Harpal Grover Consulting Inc
>
> --
> 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.
>
>


-- 
*Thanks  &  **Regards*
*S*antosh *K*umar *K* **

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolki

Updating a single row (or a cell) in a DataGrid with a ListProvider

2011-11-16 Thread Maero Polo
Hello,

I am using a DataGrid and sadely, I have to display many rows in the
same page(at least 300 lines).
I am using a ListProvider that is filled by a RPC service.

For the moment, when an update occurs, I do a "refresh" on the
ListProvider. It updates my DataGrid but it may take a long time (for
the user feeling) of two or three seconds. During that time the
DataGrid is "freezed".

I would like to know if there is a way of updating only a single row
to avoid this "freeze".

Regards,

M.

-- 
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: What Major Companies Use GWT???

2011-11-16 Thread Jaroslav Záruba
Process management framework used by a major US bank operating in Central 
Europe is based on GWT.

-- 
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/-/gy-9QP_CZtsJ.
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 Running DynaTableRf sample app in Eclipse Indigo: No source code is available for type javax.validation.ConstraintViolation

2011-11-16 Thread Nicolas
Well it works after manually adding the 
javax.validation-validation-api-1.0.0.GA-sources.jar to the classpath.
Don't understand it, since it should already have been to the classpath 
throught maven

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



URL Not FOUND

2011-11-16 Thread learning coding
Hi
i am trying to learn gwt. i have created a rpc program with the help
of the tutorial.
But When I run the web application i cant found the URL to run see the
output.

Plz Help
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: DataGrid, Activity/Place don't work on IE7

2011-11-16 Thread Juan Pablo Gardella
Anyone?

2011/11/15 Juan Pablo Gardella 

> Hi folks!
>
> I spent hours to try to resolve an error that only happen in IE7. In IE9,
> Chome and Firefox works fine, so I think perhaps is a bug. Is related with
> DataGrid and change places.
> The error happen when you change via placeController.goTo(place) to a
> place where I have a datagrid.
>
> I make a sample to reproduce, it have 2 places, a default place and
> another place. I put in the sample a menu with an option to go to the
> second place. If you start the application (mvn jetty:deploy-war) you put
> in the browser the next URL: http://localhost:8080/myapp-web/ to start
> the application.
>
> Then click View with Datagrid -> Go to place in menu to go to the place
> where have the datagrid. If press the link, in the url show
> http://localhost:8080/myapp-web/#ConsultarDDJJPlace: but nothing show. If
> refresh the page the datagrid shows. Same steps in another browser show the
> datagrid, so I suppose is a bug. IE7 doesn't show an error.
>
> I attach the sample. It doesn't have any dependency, only GWT 2.4. To run
> do mvn package the first time, then mvn jetty:deploy-war.
>
> Can someone help me with this error? I try and I can't see what happen,
> becouse it works when refresh or start the application with:
> http://localhost:8080/myapp-web/#ConsultarDDJJPlace.
>
> I put relevant code:
>
> 1) Presenter
> public class Presenter extends AbstractActivity {
>
> public interface Display extends IsWidget {
>  DataGrid getResultTable();
> }
>
> private final Display vista;
>
> public ConsultarDDJJPresenter(Display vista) {
> this.vista = vista;
>  }
>
> @Override
> public void start(final AcceptsOneWidget panel, EventBus eventBus) {
>  configurarColumnasDeTabla();
> panel.setWidget(vista.asWidget());
> }
>
> private void configurarColumnasDeTabla() {
> TextColumn id = new TextColumn() {
>  @Override
> public String getValue(String s) {
> return s;
>  }
> };
> vista.getResultTable().addColumn(id, "col");
>
> }
>
> View:
> public class ConsultarDDJJVista extends Composite implements Display {
>
>  interface DeclaracionesJuradasListaUiBinder extends
> UiBinder {
>  }
>
> private static DeclaracionesJuradasListaUiBinder uiBinder = GWT
>  .create(DeclaracionesJuradasListaUiBinder.class);
>
> @UiField(provided = true)
>  final DataGrid resultTable = new DataGrid();
>
> public ConsultarDDJJVista() {
>  initWidget(uiBinder.createAndBindUi(this));
> }
>  public DataGrid getResultTable() {
> return resultTable;
> }
> }
>
> http://dl.google.com/gwt/DTD/xhtml.ent";>
>   xmlns:g="urn:import:com.google.gwt.user.client.ui"
> xmlns:c="urn:import:com.google.gwt.user.cellview.client">
> 
>  .grid {
> height: 450px;
> }
>  
> 
>  
> 
>  
> 
>  
> 
> 
>
>
> PD: Sorry my english.
>
>
>

-- 
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: URL Not FOUND

2011-11-16 Thread Juan Pablo Gardella
When you run the application inside Eclipse appear the URL inside the
*Development
Mode*.

2011/11/16 learning coding 

> Hi
> i am trying to learn gwt. i have created a rpc program with the help
> of the tutorial.
> But When I run the web application i cant found the URL to run see the
> output.
>
> Plz Help
> 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.
>
>

-- 
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: URL Not FOUND

2011-11-16 Thread Ajay Kumar3
The url out will be  displayed in  Development model of eclispe IDE

or just write down
http://127.0.0.1:/index.html?gwt.codesvr=127.0.0.1:9997

change index with your html file

On Wed, Nov 16, 2011 at 4:30 PM, learning coding <
learning.codin...@gmail.com> wrote:

> Hi
> i am trying to learn gwt. i have created a rpc program with the help
> of the tutorial.
> But When I run the web application i cant found the URL to run see the
> output.
>
> Plz Help
> 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.
>
>


-- 

Thanks & Regards

*Ajay Shah *
(*Software Engineer*)
*Mob :- **+918800322460*

-- 
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 CELLTABLE : How to unchecked header check-box on pagination ?

2011-11-16 Thread vaibhav bhalke
Hi

How to uncheck header checkbox from Grid(Celltable) ?

I used following  CustomHeaderCheckBox and passed checkboxcell to it.

Whenever I am checked/unchecked headerCheckbox then all checkbox present in
that columns are checked/unchecked accordingly

public class CustomHeaderCheckBox extends Header implements
> HasText{
> private boolean value;
> private ChangeValue changeValue;
> private String text = "";
>
> public CustomHeaderCheckBox(CheckboxCell cell) {
> super(cell);
> }// end constructor
>
> @Override
> public Boolean getValue() {
> return value;
> }// end getValue
>
> @Override
> public void setText(String text) {
> if (text == null)
> text = "";
> this.text = text;
> }
>
> @Override
> public String getText() {
> return text;
> }
>
> public void setChangeValue(ChangeValue changeValue) {
> this.changeValue = changeValue;
> }
>
> @Override
> public void onBrowserEvent(Context context, Element elem,
> NativeEvent event) {
> Event evt = Event.as(event);
> int eventType = evt.getTypeInt();
> switch (eventType) {
> case Event.ONCHANGE:
> value = !value;
> if (changeValue != null)
> changeValue.changedValue(context.getColumn(), value);
> break;
> }// end switch
> super.onBrowserEvent(context, elem, event);
> }// end onBrowserEvent
>
> @Override
> public void render(Context context, SafeHtmlBuilder sb) {
> super.render(context, sb.appendEscaped(text));
> }// end render
>
> // Checkbox changed Handler
>
> public interface ChangeValue {
> void changedValue(int columnIndex, Boolean value);
> }
> }
>


Column checkBoxColumn = new Column(new
> CheckboxCell(true, false)) {
> @Override
> public Boolean getValue(Record object) {
> // Did some operation here
> }
>

CheckboxCell cell = new CheckboxCell();
>
 CustomHeaderCheckBox customHeaderCheckBox = new CustomHeaderCheckBox(cell);
>  customHeaderCheckBox.setChangeValue(new HeaderCheckBoxValueChange()); //
> handler
>
> cellTable.addColumn(checkBoxColumn, customHeaderCheckBox);
>

I want to uncheck header checkbox on pagination.

Is there any way to do it? How to ?

-- 
Best Regards,
Vaibhav Bhalke




-- 
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: Updating a single row (or a cell) in a DataGrid with a ListProvider

2011-11-16 Thread Juan Pablo Gardella
Check here:
http://stackoverflow.com/questions/6202982/how-to-programmatically-update-specific-row-in-gwt-celltable

Again Thomas Broyer help. Is about CellTable, but I think is similar to
DataGrid.

2011/11/16 Maero Polo 

> Hello,
>
> I am using a DataGrid and sadely, I have to display many rows in the
> same page(at least 300 lines).
> I am using a ListProvider that is filled by a RPC service.
>
> For the moment, when an update occurs, I do a "refresh" on the
> ListProvider. It updates my DataGrid but it may take a long time (for
> the user feeling) of two or three seconds. During that time the
> DataGrid is "freezed".
>
> I would like to know if there is a way of updating only a single row
> to avoid this "freeze".
>
> Regards,
>
> M.
>
> --
> 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: What Major Companies Use GWT???

2011-11-16 Thread Juan Pablo Gardella
Google use GWT.

2011/11/16 Santosh kumar 

> My company uses GWT, Objectify, Google App Engine, it is an online
> accounting application.
> www.AccountingGuru.in 
>
> On Thu, Oct 28, 2010 at 10:41 PM, Harpal Grover 
> wrote:
>
>> Ok so it seems like GWT has major use internally for companies, but so
>> far is not a choice product to build commercial applications for
>> general consumer use yet. I like the framework as well and hopefully
>> it can make a push into consumer web applications, not just for
>> internal corporate use or android phone apps.
>>
>> On Thu, Oct 28, 2010 at 11:51 AM, gcstang  wrote:
>> > We use it within our company Micros-Retail, we use GWT, SmartGWT, gwt-
>> > log, and gwt-visualizations.
>> >
>> > On Oct 27, 8:46 am, markM  wrote:
>> >> We use it within the Pfizer corporation.  It's also been used within
>> >> Toyota U.S.  You may also want to visit the smart-soft web site as
>> >> many of the companies listed there have probably taken GWT training.
>> >>
>> >> It's a beautiful thing to no longer have to deal with JSP's.  Even
>> >> with facilities like JSF, which was a huge advance, I still spent half
>> >> my time figuring out some screwy way to, say, display a dialog in
>> >> conjunction with making numerous necessary callbacks to the server.  I
>> >> felt like I was spending half my time on non-requirements related
>> >> technical issues.  I used to constantly have to do illogical and
>> >> unintuitive things to fix problems.  In addition to the fact that most
>> >> JSP tools still don't do a good job of type checking leaving you
>> >> staring at your screen wondering why something isn't working or having
>> >> to chase through a stack trace to figure it out.  When I moved to GWT
>> >> I felt like someone took the handcuffs off.  It ain't perfect, not
>> >> technology is, but it's quite a bit better than anything I was using
>> >> before this.  I use Spring on the back end and tools like incubator
>> >> for more complex ui work.  All open source.  No licenses.  Thank you
>> >> Google! and don't become evil, at least as developers on the bottom
>> >> rung you have a choice!
>> >>
>> >> On Oct 26, 11:25 am, PhilBeaudoin  wrote:
>> >>
>> >> > VMWare uses it in its new Code2Cloud project:
>> http://tasktop.com/blog/tasktop/springsource-vmware-code2cloud
>> >>
>> >> > Google do use it in many products, in particular adwords. There is a
>> >> > question on the topic in Quora, might be a good place to add some
>> >> > answers:
>> https://www.quora.com/What-web-applications-use-Google-Web-Toolkit-(GWT)
>> >>
>> >> >   Philippe
>> >>
>> >> > On Oct 26, 6:42 am, Stefan Bachert  wrote:
>> >>
>> >> > > Hi,
>> >>
>> >> > > On 25 Okt., 11:06, Sir Codealot  wrote:
>> >>
>> >> > > > What major companies are already using GWT?  I'm a little
>> surprised
>> >> > > > that this sort of info is not available and obvious, front and
>> center,
>> >> > > > on the GWT FAQs, but I can't find it.
>> >>
>> >> > > I agree the business position of GWT is to weak in spite of its
>> >> > > strength.
>> >> > > Google itself does not earn with GWT so the incentives are weak.
>> >>
>> >> > > Another point is, there are a lot of GUI technology out there. It
>> is
>> >> > > very hard for companies to decide
>> >>
>> >> > > JSP, JSF, Iceface, ASF, Wicket, Qt, jquery,
>> >> > > Flash, Flex, SilverLight, JX,
>> >> > > GWT with smartClient, GWT with GXT, GWT with Mosaic, GWT pure,
>> >> > > CaptianCasa,
>> >> > > Vaadin
>> >> > > Swing, SWT, AWT
>> >> > > Eclipse RCP, Eclipse RAP,
>> >> > > quoxdoo
>> >> > > JAXX,
>> >> > > XUL.
>> >>
>> >> > > I am surely missed the most.
>> >> > > Some of them are doing just half the way.
>> >>
>> >> > > I know companies that are using GWT in some way
>> >> > > - RedHat
>> >> > > - IBM, Lombardi
>> >> > > - Google (quite sure)
>> >>
>> >> > > However, sometimes a tool uses GWT but this is not really
>> published.
>> >> > > XWiki, Magnolia CMS for example
>> >>
>> >> > > Stefan Bacherthttp://gwtworld.de-Hide quoted text -
>> >>
>> >> > - Show quoted text -
>> >>
>> >>
>> >
>> > --
>> > 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.
>> >
>> >
>>
>>
>>
>> --
>> Harpal Grover
>> President
>> Harpal Grover Consulting Inc
>>
>> --
>> 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: URL Not FOUND

2011-11-16 Thread learning coding
When i am running the application
I got this msg.
Failed:500 The call failed on the server; see server log for details

what is server log and how to rectify it??

On Nov 16, 12:21 pm, Ajay Kumar3  wrote:
> The url out will be  displayed in  Development model of eclispe IDE
>
> or just write downhttp://127.0.0.1:/index.html?gwt.codesvr=127.0.0.1:9997
>
> change index with your html file
>
> On Wed, Nov 16, 2011 at 4:30 PM, learning coding <
>
>
>
>
>
> learning.codin...@gmail.com> wrote:
> > Hi
> > i am trying to learn gwt. i have created a rpc program with the help
> > of the tutorial.
> > But When I run the web application i cant found the URL to run see the
> > output.
>
> > Plz Help
> > 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.
>
> --
>
> Thanks & Regards
>
> *Ajay Shah *
> (*Software Engineer*)
> *Mob :- **+918800322460*- Hide quoted text -
>
> - Show quoted text -

-- 
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: DataGrid, Activity/Place don't work on IE7

2011-11-16 Thread Juan Pablo Gardella
I open an issue. 
http://code.google.com/p/google-web-toolkit/issues/detail?id=6996



On 16 nov, 04:14, Juan Pablo Gardella 
wrote:
> Anyone?
>
> 2011/11/15 Juan Pablo Gardella 
>
>
>
>
>
>
>
> > Hi folks!
>
> > I spent hours to try to resolve an error that only happen in IE7. In IE9,
> > Chome and Firefox works fine, so I think perhaps is a bug. Is related with
> > DataGrid and change places.
> > The error happen when you change via placeController.goTo(place) to a
> > place where I have a datagrid.
>
> > I make a sample to reproduce, it have 2 places, a default place and
> > another place. I put in the sample a menu with an option to go to the
> > second place. If you start the application (mvn jetty:deploy-war) you put
> > in the browser the next URL:http://localhost:8080/myapp-web/to start
> > the application.
>
> > Then click View with Datagrid -> Go to place in menu to go to the place
> > where have the datagrid. If press the link, in the url show
> >http://localhost:8080/myapp-web/#ConsultarDDJJPlace:but nothing show. If
> > refresh the page the datagrid shows. Same steps in another browser show the
> > datagrid, so I suppose is a bug. IE7 doesn't show an error.
>
> > I attach the sample. It doesn't have any dependency, only GWT 2.4. To run
> > do mvn package the first time, then mvn jetty:deploy-war.
>
> > Can someone help me with this error? I try and I can't see what happen,
> > becouse it works when refresh or start the application with:
> >http://localhost:8080/myapp-web/#ConsultarDDJJPlace.
>
> > I put relevant code:
>
> > 1) Presenter
> > public class Presenter extends AbstractActivity {
>
> > public interface Display extends IsWidget {
> >  DataGrid getResultTable();
> > }
>
> > private final Display vista;
>
> > public ConsultarDDJJPresenter(Display vista) {
> > this.vista = vista;
> >  }
>
> > @Override
> > public void start(final AcceptsOneWidget panel, EventBus eventBus) {
> >  configurarColumnasDeTabla();
> > panel.setWidget(vista.asWidget());
> > }
>
> > private void configurarColumnasDeTabla() {
> > TextColumn id = new TextColumn() {
> >  @Override
> > public String getValue(String s) {
> > return s;
> >  }
> > };
> > vista.getResultTable().addColumn(id, "col");
>
> > }
>
> > View:
> > public class ConsultarDDJJVista extends Composite implements Display {
>
> >  interface DeclaracionesJuradasListaUiBinder extends
> > UiBinder {
> >  }
>
> > private static DeclaracionesJuradasListaUiBinder uiBinder = GWT
> >  .create(DeclaracionesJuradasListaUiBinder.class);
>
> > @UiField(provided = true)
> >  final DataGrid resultTable = new DataGrid();
>
> > public ConsultarDDJJVista() {
> >  initWidget(uiBinder.createAndBindUi(this));
> > }
> >  public DataGrid getResultTable() {
> > return resultTable;
> > }
> > }
>
> > http://dl.google.com/gwt/DTD/xhtml.ent";>
> >  >  xmlns:g="urn:import:com.google.gwt.user.client.ui"
> > xmlns:c="urn:import:com.google.gwt.user.cellview.client">
> > 
> >  .grid {
> > height: 450px;
> > }
> >  
> > 
> >  
> > 
> >  
> > 
> >  
> > 
> > 
>
> > PD: Sorry my english.

-- 
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: What is the impact of *.cache.html size

2011-11-16 Thread Palo G.
Hi,
this is one of reason why usage of open source libraries for GWT is
very painful. There is lots of code.

So some hints:
- use only parts of third code libraries that you really need
- did you compiled your project with argument -style OBF ? <- this
really helps
- use code split for forms that your users don't need in every time
use - settings forms
- and propably the most important think, compile your project with
compilation report and see where and what is source of your
troubles ... 
http://code.google.com/intl/cs/webtoolkit/doc/latest/DevGuideCompileReport.html

Goog luck, mate..maybe you can write libraries that you used?

On 16 lis, 00:41, News Club  wrote:
> Hi:
>
> We have relatively a large GWT project. Our compiled code size (i.e
> *.cache.html) used to be 4.5 MB.
>
> I have recently included a couple of gwt open source libraries. After that,
>
> a) The compiler permutations gone from 5 to 59.
> b) The compile time went from 3 mins to 18 mins.
> c) The total size of *.cache.html files went up from 4.5 MB to 40MB.
>
> I like the benefits of this open source library. But, I would like to know
> what is the impact of *.cache.html file size during runtime?
>
> Thanks
>
> Nara

-- 
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 Gallery over quota :(

2011-11-16 Thread Debasish
hi guys,

if anyone is paying attentions http://gwtgallery.appspot.com seems to
be over quota and doesn't serve details anymore. I am sure Google can
afford more than that :) ... Can anyone fix it ?

thanks..

-- 
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: Possible to get rendered HTML for a CellTree?

2011-11-16 Thread qwertz
Hi,

cellTree.getElement().getInnerHTML() should work.

-- 
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/-/lLFUb0NjSEEJ.
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 the session needed?

2011-11-16 Thread Filippo De Luca
Thank you to both,
I looked deeply into the code. My application use the session to store 
login data and other stuffs. I am going to remove the session dependency 
step by step.

-- 
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/-/EiXorBG0VC8J.
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 custom datepicker css issue with weekend dates on month navigation

2011-11-16 Thread Waqas Sadiq
0 down vote favorite
share [fb] share [tw]


I have developed the code to change the gwt datepicker CSS for a week
for a selected date.

i am able to change the whole week colour, but i move to next week or
previous week and return back to current date, then the css on
weekends is removed but on remaining 5 days, it there.

I am attaching both the classes and css-classes which i am using.

custom datepicker class

import java.util.Date;

import com.google.gwt.event.dom.client.ChangeEvent;
import com.google.gwt.event.dom.client.ChangeHandler;
import com.google.gwt.event.logical.shared.ShowRangeHandler;
import com.google.gwt.event.logical.shared.ValueChangeEvent;
import com.google.gwt.event.logical.shared.ValueChangeHandler;
import com.google.gwt.event.shared.HandlerRegistration;
import com.google.gwt.i18n.client.LocaleInfo;
import com.google.gwt.i18n.client.constants.DateTimeConstants;
import com.google.gwt.user.client.Window;
import com.google.gwt.user.datepicker.client.DatePicker;

/**

public class CustomeDatePicker extends DatePicker {
private Date date;
public Date getDate() {
return date;
}

public void setDate(Date date) {
this.date = date;
}

@Override
public HandlerRegistration addShowRangeHandler(
ShowRangeHandler handler) {

if(getDate()!=null){
 setWeekStyle(getDate());
}



return super.addShowRangeHandler(handler);
}

public CustomeDatePicker() {

}

@Override
public void addStyleToDates(String styleName, Date date) {

super.addStyleToDates("customeDatePicker", date);

}


@Override
public HandlerRegistration addValueChangeHandler(
ValueChangeHandler handler) {
if(getDate()!=null){
setWeekStyle(getDate());
}
return super.addValueChangeHandler(handler);
}

public void setWeekStyle(Date date) {

setDate(date);
  DateTimeConstants constants =
LocaleInfo.getCurrentLocale().getDateTimeConstants();
  int firstDay =
Integer.parseInt(constants.firstDayOfTheWeek()) - 1;

  int offset = firstDay - date.getDay();
  date.setDate(date.getDate() + offset);


// hun tak
/*  this.removeStyleFromDates(this.getStyleName(), date);*/

Window.alert("setWeekStyle");

/*this.removeStyleFromDates("datePickerDayIsWeekend", date);*/
this.addStyleToDates("customeDatePicker", date);
date.setTime(date.getTime() + (1 * 24 * 60 * 60 * 1000));

/*  this.removeStyleFromDates("datePickerDayIsWeekend", date);
*/  this.addStyleToDates("customeDatePicker", date);
this.getElement().getStyle().setBackgroundColor("red");

this.removeStyleFromDates("datePickerDayIsWeekend", date);
date.setTime(date.getTime() + (1 * 24 * 60 * 60 * 1000));

this.addStyleToDates("customeDatePicker", date);
this.getElement().getStyle().setBackgroundColor("red");

this.removeStyleFromDates("datePickerDayIsWeekend", date);
date.setTime(date.getTime() + (1 * 24 * 60 * 60 * 1000));

this.addStyleToDates("customeDatePicker", date);
this.getElement().getStyle().setBackgroundColor("red");

this.removeStyleFromDates("datePickerDayIsWeekend", date);
date.setTime(date.getTime() + (1 * 24 * 60 * 60 * 1000));

this.addStyleToDates("customeDatePicker", date);
this.getElement().getStyle().setBackgroundColor("red");

this.removeStyleFromDates("datePickerDayIsWeekend", date);
date.setTime(date.getTime() + (1 * 24 * 60 * 60 * 1000));

this.addStyleToDates("customeDatePicker", date);
this.getElement().getStyle().setBackgroundColor("red");
this.removeStyleFromDates("datePickerDayIsWeekend", date);
date.setTime(date.getTime() + (1 * 24 * 60 * 60 * 1000));

this.addStyleToDates("customeDatePicker", date);
this.getElement().getStyle().setBackgroundColor("red");
this.removeStyleFromDates("datePickerDayIsWeekend", date);
date.setTime(date.getTime() + (1 * 24 * 60 * 60 * 1000));
Window.alert("itjay rakh");


}


}

the entry class

import java.util.Date;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.core.client.GWT;
import com.google.gwt.event.logical.shared.ShowRangeEvent;
import com.google.gwt.event.logical.shared.ShowRangeHandler;
import com.google.gwt.event.logical.shared.ValueChangeEvent;
import com.google.gwt.event.logical.shared.ValueChangeHandler;
import com.google.gwt.user.client.Window;
import com.google.gwt.user.client.ui.RootPanel;
import com.google.gwt.user.client.ui.VerticalPanel;
import com.google.gwt.user.datepicker.client.DatePicker;

/**
 * Entry point classes define onModuleLoad().
 */
public class Gwtproj implements EntryPoint {



/**
 * The message displayed to the user when the server cannot be
reached or
 * returns an error.
 */
private static fi

android requestfactory requestcontext "A request is already in progress"

2011-11-16 Thread JonJon
Hello,
  I have spent alot of time trying to get this working to no avail
not sure if this is the right group, as it touch android / GAE / GWT

What's the correct way to "edit" a proxy entity after you fetch entity
from GAE using AsyncTask
using a new requestcontext to .edit(proxy) does not work
using the same one that was used to fetch it gives the beloved "A
request is already in progress"

no combination of before AsyncTask, in it's onPreExecute,
doInBackground, onPostExecute works either.
The only thing left to "try" is using the same PersistenceManager on
the server side or recreating the project

This must be something that is do-able

help.

-- 
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 TabPanel and Frame problem

2011-11-16 Thread Darko
I want to set up TabPanel to occupy whole browser page area. I set
width and height to 100%, it works for width, but not for height. Does
anyone have an idea how to solve this problem?

My code:

final Frame frame1 = new Frame("http://localhost:8080/
SemanticServiceDescription/SalesForceServices?Tester");
final Frame frame2 = new Frame("http://localhost:8080/
SemanticServiceDescription/GoogleAppEngineServices?Tester");
final Frame frame3 = new Frame("http://localhost:8080/
SemanticServiceDescription/");

   frame1.setWidth("100%");
frame2.setWidth("100%");
frame3.setWidth("100%");

frame1.setWidth("100%");
frame2.setWidth("100%");
frame3.setWidth("100%");

  TabPanel panel = new TabPanel();


FlowPanel flowpanel;

flowpanel = new FlowPanel();
flowpanel.add(frame1);
flowpanel.setHeight("100%");
flowpanel.setWidth("100%");
panel.add(flowpanel, "SalesForce Cloud");

flowpanel = new FlowPanel();
flowpanel.add(frame2);
flowpanel.setHeight("100%");
flowpanel.setWidth("100%");
panel.add(flowpanel, "Google AppEngine Cloud");

flowpanel = new FlowPanel();
flowpanel.add(frame3);
flowpanel.setHeight("100%");
flowpanel.setWidth("100%");
panel.add(flowpanel, "Semantic Cloud annotations");

panel.setWidth("100%");
panel.setHeight("100%");
panel.setAnimationEnabled(false);

panel.selectTab(0);

RootPanel root = RootPanel.get();
root.add(panel);


Thank you,
Darko

-- 
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: What Major Companies Use GWT???

2011-11-16 Thread Deepak Singh
My company is using GWT, Objectify and google app engine to build a travel
search engine which is very interactive to user.
This is in progress yet and soon to be released as
www.yatrafinder.comdomain name.

On Wed, Nov 16, 2011 at 4:52 PM, Juan Pablo Gardella <
gardellajuanpa...@gmail.com> wrote:

> Google use GWT.
>
>
> 2011/11/16 Santosh kumar 
>
>> My company uses GWT, Objectify, Google App Engine, it is an online
>> accounting application.
>> www.AccountingGuru.in 
>>
>> On Thu, Oct 28, 2010 at 10:41 PM, Harpal Grover 
>> wrote:
>>
>>> Ok so it seems like GWT has major use internally for companies, but so
>>> far is not a choice product to build commercial applications for
>>> general consumer use yet. I like the framework as well and hopefully
>>> it can make a push into consumer web applications, not just for
>>> internal corporate use or android phone apps.
>>>
>>> On Thu, Oct 28, 2010 at 11:51 AM, gcstang  wrote:
>>> > We use it within our company Micros-Retail, we use GWT, SmartGWT, gwt-
>>> > log, and gwt-visualizations.
>>> >
>>> > On Oct 27, 8:46 am, markM  wrote:
>>> >> We use it within the Pfizer corporation.  It's also been used within
>>> >> Toyota U.S.  You may also want to visit the smart-soft web site as
>>> >> many of the companies listed there have probably taken GWT training.
>>> >>
>>> >> It's a beautiful thing to no longer have to deal with JSP's.  Even
>>> >> with facilities like JSF, which was a huge advance, I still spent half
>>> >> my time figuring out some screwy way to, say, display a dialog in
>>> >> conjunction with making numerous necessary callbacks to the server.  I
>>> >> felt like I was spending half my time on non-requirements related
>>> >> technical issues.  I used to constantly have to do illogical and
>>> >> unintuitive things to fix problems.  In addition to the fact that most
>>> >> JSP tools still don't do a good job of type checking leaving you
>>> >> staring at your screen wondering why something isn't working or having
>>> >> to chase through a stack trace to figure it out.  When I moved to GWT
>>> >> I felt like someone took the handcuffs off.  It ain't perfect, not
>>> >> technology is, but it's quite a bit better than anything I was using
>>> >> before this.  I use Spring on the back end and tools like incubator
>>> >> for more complex ui work.  All open source.  No licenses.  Thank you
>>> >> Google! and don't become evil, at least as developers on the bottom
>>> >> rung you have a choice!
>>> >>
>>> >> On Oct 26, 11:25 am, PhilBeaudoin 
>>> wrote:
>>> >>
>>> >> > VMWare uses it in its new Code2Cloud project:
>>> http://tasktop.com/blog/tasktop/springsource-vmware-code2cloud
>>> >>
>>> >> > Google do use it in many products, in particular adwords. There is a
>>> >> > question on the topic in Quora, might be a good place to add some
>>> >> > answers:
>>> https://www.quora.com/What-web-applications-use-Google-Web-Toolkit-(GWT)
>>> >>
>>> >> >   Philippe
>>> >>
>>> >> > On Oct 26, 6:42 am, Stefan Bachert  wrote:
>>> >>
>>> >> > > Hi,
>>> >>
>>> >> > > On 25 Okt., 11:06, Sir Codealot  wrote:
>>> >>
>>> >> > > > What major companies are already using GWT?  I'm a little
>>> surprised
>>> >> > > > that this sort of info is not available and obvious, front and
>>> center,
>>> >> > > > on the GWT FAQs, but I can't find it.
>>> >>
>>> >> > > I agree the business position of GWT is to weak in spite of its
>>> >> > > strength.
>>> >> > > Google itself does not earn with GWT so the incentives are weak.
>>> >>
>>> >> > > Another point is, there are a lot of GUI technology out there. It
>>> is
>>> >> > > very hard for companies to decide
>>> >>
>>> >> > > JSP, JSF, Iceface, ASF, Wicket, Qt, jquery,
>>> >> > > Flash, Flex, SilverLight, JX,
>>> >> > > GWT with smartClient, GWT with GXT, GWT with Mosaic, GWT pure,
>>> >> > > CaptianCasa,
>>> >> > > Vaadin
>>> >> > > Swing, SWT, AWT
>>> >> > > Eclipse RCP, Eclipse RAP,
>>> >> > > quoxdoo
>>> >> > > JAXX,
>>> >> > > XUL.
>>> >>
>>> >> > > I am surely missed the most.
>>> >> > > Some of them are doing just half the way.
>>> >>
>>> >> > > I know companies that are using GWT in some way
>>> >> > > - RedHat
>>> >> > > - IBM, Lombardi
>>> >> > > - Google (quite sure)
>>> >>
>>> >> > > However, sometimes a tool uses GWT but this is not really
>>> published.
>>> >> > > XWiki, Magnolia CMS for example
>>> >>
>>> >> > > Stefan Bacherthttp://gwtworld.de-Hide quoted text -
>>> >>
>>> >> > - Show quoted text -
>>> >>
>>> >>
>>> >
>>> > --
>>> > 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.
>>> >
>>> >
>>>
>>>
>>>
>>> --
>>> Harpal Grover
>>> President
>>> Ha

Re: What is the impact of *.cache.html size

2011-11-16 Thread jusio
The total size of all *.cache,html is not so important. What is
important is an average size of singli *.cache,html file, because it
is basically the amount of data users will have to download. In your
case it should be somewhere around 700kb. What it means, is that in
order for user to start using your app they have to wait until those
700kb is downloaded. You decide how bad is it for you=)

On Nov 16, 2:31 pm, "Palo G."  wrote:
> Hi,
> this is one of reason why usage of open source libraries for GWT is
> very painful. There is lots of code.
>
> So some hints:
> - use only parts of third code libraries that you really need
> - did you compiled your project with argument -style OBF ? <- this
> really helps
> - use code split for forms that your users don't need in every time
> use - settings forms
> - and propably the most important think, compile your project with
> compilation report and see where and what is source of your
> troubles 
> ...http://code.google.com/intl/cs/webtoolkit/doc/latest/DevGuideCompileR...
>
> Goog luck, mate..maybe you can write libraries that you used?
>
> On 16 lis, 00:41, News Club  wrote:
>
>
>
>
>
>
>
> > Hi:
>
> > We have relatively a large GWT project. Our compiled code size (i.e
> > *.cache.html) used to be 4.5 MB.
>
> > I have recently included a couple of gwt open source libraries. After that,
>
> > a) The compiler permutations gone from 5 to 59.
> > b) The compile time went from 3 mins to 18 mins.
> > c) The total size of *.cache.html files went up from 4.5 MB to 40MB.
>
> > I like the benefits of this open source library. But, I would like to know
> > what is the impact of *.cache.html file size during runtime?
>
> > Thanks
>
> > Nara

-- 
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: Datebox customisation

2011-11-16 Thread Deepak Singh
Any help on this pls...

On Wed, Nov 16, 2011 at 12:42 AM, Deepak Singh wrote:

> Hi,
>
> I am using gwt Datebox widget.
>
> By default it shows the current month calender in datepicker.
> Now i need to customise it in two ways,
>
> 1) Date values before current date(i.e. date in past) should appear
> disabled in datepicker and user should not be able to select date in past.
> 2) I need to show current month + next month calander together in
> datepicker pop up.
>
> Can you guide me how can i achieve this.
>
> --
> Thanks
> Deepak Singh
>



-- 
Deepak Singh

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



abstract classes in a different package and compile error

2011-11-16 Thread András Csányi
Dear All,

There is a beautiful idea in my mind to split my application to
different, logical parts. According to this idea I have a
DiLibWebClient, an EJB, a Lib and a SAGWTLib module in my maven
project. The DiLibWebClient contiains everything which is needed to
build a web application but my small common stuff based on GWT. EJB
project contains the EJB part and the Lib contains the DTOs. I'm using
GWT-RPC.

I made an abstract class which is describe a field, basically a grid
to list and manipulate data, and I would like to use this grid heavily
through my applications. So, I placed it in the SAGWTLib project. To
use this grid I have to extend 2 abstract classes (1 for the field and
another for RPC calls) and an abstract method in DiLibWebClient
project. To put in simplier form:

DiLibWebClient project
public class ListOfSources extends GridAbstract{}

SAGWTLib project:
public abstract class GridAbstract extends Composite {}

When I would like to compile the WebClient project it fails always.
The output is attached to end of this letter.

According to my java developer friend the java part of my code is ok
and he said that It could have been something gwt specific thing.

Before I'm going to do something with this problem I would like to ask
your help. Should I reorganize my project? If so, what is the
recommended way? Have to be in the same project the abstract classes
and the extending classes?

The DiLibWebClient is compiled as a gwt project. The SAGWTLib project
is compiled as a simple java project, sources are attached. Should I
compile it as a gwt project?

I've searched on the internet and I found a ticket in the bugtracker
system of GWT and according to this I should change my code but there
was no further information about this.

Thank you very much any help in advance or suggestions!


auto discovered modules [com.sayusiando.java.dilib.DiLibWebClient]
Compiling module com.sayusiando.java.dilib.DiLibWebClient
   Validating newly compiled units
  Ignored 4 units with compilation errors in first pass.
Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.
   [ERROR] An internal compiler exception occurred
com.google.gwt.dev.jjs.InternalCompilerException: Failed to get JNode
at com.google.gwt.dev.jjs.impl.TypeMap.get(TypeMap.java:140)
at com.google.gwt.dev.jjs.impl.TypeMap.get(TypeMap.java:71)
at 
com.google.gwt.dev.jjs.impl.BuildTypeMap.getType(BuildTypeMap.java:730)
at 
com.google.gwt.dev.jjs.impl.BuildTypeMap.process(BuildTypeMap.java:814)
at 
com.google.gwt.dev.jjs.impl.BuildTypeMap.access$700(BuildTypeMap.java:99)
at 
com.google.gwt.dev.jjs.impl.BuildTypeMap$BuildDeclMapVisitor.process(BuildTypeMap.java:325)
at 
com.google.gwt.dev.jjs.impl.BuildTypeMap$BuildDeclMapVisitor.visit(BuildTypeMap.java:244)
at 
org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.traverse(TypeDeclaration.java:1198)
at 
org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.traverse(CompilationUnitDeclaration.java:687)
at 
com.google.gwt.dev.jjs.impl.BuildTypeMap.createPeersForNonTypeDecls(BuildTypeMap.java:637)
at com.google.gwt.dev.jjs.impl.BuildTypeMap.exec(BuildTypeMap.java:514)
at com.google.gwt.dev.jjs.impl.BuildTypeMap.exec(BuildTypeMap.java:523)
at 
com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:599)
at 
com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:33)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:284)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:233)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:145)
at com.google.gwt.dev.Compiler.run(Compiler.java:232)
at com.google.gwt.dev.Compiler.run(Compiler.java:198)
at com.google.gwt.dev.Compiler$1.run(Compiler.java:170)
at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:88)
at 
com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:82)
at com.google.gwt.dev.Compiler.main(Compiler.java:177)
  [ERROR] : public abstract class
com.sayusiando.java.gwt.lib.salib.grid.abstracts.GridAbstract
extends com.google.gwt.user.client.ui.Composite
/*   fields   */
private [unresolved] java.lang.Integer amountOfContentColumn
private [unresolved] java.lang.Integer colspanOfGridTitle
private [unresolved] java.lang.Integer firstColumnOfGrid
private [unresolved] java.lang.Integer firstRowOfGrid
private [unresolved] Unresolved type
com.sayusiando.java.gwt.lib.salib.grid.dto.GridSetupDTO gridSetupDTO
private [unresolved] java.lang.Integer positionOfCheckboxesColumn
private [unresolved] java.lang.Integer positionOfCommonsButtonRow
private [unresolved] java.lang.Integer positionOfDropDownFilterRow
private [unresolved] java.lang.Integer positionOfFirstButtonColumn
private [unresolved] java.lang.Intege

Re: Datebox customisation

2011-11-16 Thread Juan Pablo Gardella
Point 1 you can use showRangeHandler:


getMyDatePicker().addShowRangeHandlerAndFire(...);

Then there you can enable disable dates.

@Override
public void onShowRange(ShowRangeEvent event) {

  Ranges rangos =
  buildRanges(event.getStart(), event.getEnd()); //here you have
start/end dates.
  datePicker.setTransientEnabledOnDates(true, rangos.getValidDates());
  datePicker.setTransientEnabledOnDates(false,
rangos.getInValidDates());
}

Juan







2011/11/16 Deepak Singh 

> Any help on this pls...
>
> On Wed, Nov 16, 2011 at 12:42 AM, Deepak Singh 
> wrote:
>
>> Hi,
>>
>> I am using gwt Datebox widget.
>>
>> By default it shows the current month calender in datepicker.
>> Now i need to customise it in two ways,
>>
>> 1) Date values before current date(i.e. date in past) should appear
>> disabled in datepicker and user should not be able to select date in past.
>> 2) I need to show current month + next month calander together in
>> datepicker pop up.
>>
>> Can you guide me how can i achieve this.
>>
>> --
>> Thanks
>> Deepak Singh
>>
>
>
>
> --
> Deepak Singh
>
> --
> 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: abstract classes in a different package and compile error

2011-11-16 Thread Juan Pablo Gardella
"  [ERROR] : public abstract class
com.sayusiando.java.gwt.lib.salib.grid.abstracts.GridAbstract"

Add you source files to your classpath?

2011/11/16 András Csányi 

> Dear All,
>
> There is a beautiful idea in my mind to split my application to
> different, logical parts. According to this idea I have a
> DiLibWebClient, an EJB, a Lib and a SAGWTLib module in my maven
> project. The DiLibWebClient contiains everything which is needed to
> build a web application but my small common stuff based on GWT. EJB
> project contains the EJB part and the Lib contains the DTOs. I'm using
> GWT-RPC.
>
> I made an abstract class which is describe a field, basically a grid
> to list and manipulate data, and I would like to use this grid heavily
> through my applications. So, I placed it in the SAGWTLib project. To
> use this grid I have to extend 2 abstract classes (1 for the field and
> another for RPC calls) and an abstract method in DiLibWebClient
> project. To put in simplier form:
>
> DiLibWebClient project
> public class ListOfSources extends GridAbstract{}
>
> SAGWTLib project:
> public abstract class GridAbstract extends Composite {}
>
> When I would like to compile the WebClient project it fails always.
> The output is attached to end of this letter.
>
> According to my java developer friend the java part of my code is ok
> and he said that It could have been something gwt specific thing.
>
> Before I'm going to do something with this problem I would like to ask
> your help. Should I reorganize my project? If so, what is the
> recommended way? Have to be in the same project the abstract classes
> and the extending classes?
>
> The DiLibWebClient is compiled as a gwt project. The SAGWTLib project
> is compiled as a simple java project, sources are attached. Should I
> compile it as a gwt project?
>
> I've searched on the internet and I found a ticket in the bugtracker
> system of GWT and according to this I should change my code but there
> was no further information about this.
>
> Thank you very much any help in advance or suggestions!
>
>
> auto discovered modules [com.sayusiando.java.dilib.DiLibWebClient]
> Compiling module com.sayusiando.java.dilib.DiLibWebClient
>   Validating newly compiled units
>  Ignored 4 units with compilation errors in first pass.
> Compile with -strict or with -logLevel set to TRACE or DEBUG to see all
> errors.
>   [ERROR] An internal compiler exception occurred
> com.google.gwt.dev.jjs.InternalCompilerException: Failed to get JNode
>at com.google.gwt.dev.jjs.impl.TypeMap.get(TypeMap.java:140)
>at com.google.gwt.dev.jjs.impl.TypeMap.get(TypeMap.java:71)
>at
> com.google.gwt.dev.jjs.impl.BuildTypeMap.getType(BuildTypeMap.java:730)
>at
> com.google.gwt.dev.jjs.impl.BuildTypeMap.process(BuildTypeMap.java:814)
>at
> com.google.gwt.dev.jjs.impl.BuildTypeMap.access$700(BuildTypeMap.java:99)
>at
> com.google.gwt.dev.jjs.impl.BuildTypeMap$BuildDeclMapVisitor.process(BuildTypeMap.java:325)
>at
> com.google.gwt.dev.jjs.impl.BuildTypeMap$BuildDeclMapVisitor.visit(BuildTypeMap.java:244)
>at
> org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.traverse(TypeDeclaration.java:1198)
>at
> org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.traverse(CompilationUnitDeclaration.java:687)
>at
> com.google.gwt.dev.jjs.impl.BuildTypeMap.createPeersForNonTypeDecls(BuildTypeMap.java:637)
>at
> com.google.gwt.dev.jjs.impl.BuildTypeMap.exec(BuildTypeMap.java:514)
>at
> com.google.gwt.dev.jjs.impl.BuildTypeMap.exec(BuildTypeMap.java:523)
>at
> com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:599)
>at
> com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:33)
>at com.google.gwt.dev.Precompile.precompile(Precompile.java:284)
>at com.google.gwt.dev.Precompile.precompile(Precompile.java:233)
>at com.google.gwt.dev.Precompile.precompile(Precompile.java:145)
>at com.google.gwt.dev.Compiler.run(Compiler.java:232)
>at com.google.gwt.dev.Compiler.run(Compiler.java:198)
>at com.google.gwt.dev.Compiler$1.run(Compiler.java:170)
>at
> com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:88)
>at
> com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:82)
>at com.google.gwt.dev.Compiler.main(Compiler.java:177)
>  [ERROR] : public abstract class
> com.sayusiando.java.gwt.lib.salib.grid.abstracts.GridAbstract
>extends com.google.gwt.user.client.ui.Composite
> /*   fields   */
> private [unresolved] java.lang.Integer amountOfContentColumn
> private [unresolved] java.lang.Integer colspanOfGridTitle
> private [unresolved] java.lang.Integer firstColumnOfGrid
> private [unresolved] java.lang.Integer firstRowOfGrid
> private [unresolved] Unresolved type
> com.sayusiando.java.gwt.lib.salib.grid.dto.GridSetupDTO 

tool pallet

2011-11-16 Thread R!H@B S@!D!
hii,
if someone can help me plzzz, I'm new in GWT, I want to create a draggable
tool pallet that I make all my objects to draw !
some one have an idear to proced?
thxx

-- 
*Rihab SAIDI*

-- 
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: tool pallet

2011-11-16 Thread Juan Pablo Gardella
See http://code.google.com/p/gwt-dnd/

2011/11/16 R!H@B S@!D! 

> hii,
> if someone can help me plzzz, I'm new in GWT, I want to create a draggable
> tool pallet that I make all my objects to draw !
> some one have an idear to proced?
> thxx
>
> --
> *Rihab SAIDI*
>
>  --
> 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: abstract classes in a different package and compile error

2011-11-16 Thread Juan Pablo Gardella
At first try copy sources to another project only to verify if this is the
error. If compile, you don't have in the compile classpath the sources of
the libs. You can generate mylib-sources.jar and add to the pom.

For example a source dependency with maven that I use:


javax.inject
javax.inject
1
sources
provided
jar


See provided scope.


2011/11/16 András Csányi 

> On 16 November 2011 15:46, Juan Pablo Gardella
>  wrote:
> > "  [ERROR] : public abstract class
> > com.sayusiando.java.gwt.lib.salib.grid.abstracts.GridAbstract"
> > Add you source files to your classpath?
>
> I think I did. The dependencies of the DiLibWebClient project there is
> the SAGWTLib project (I use NetBeans) and the pom.xml file of SAGWTLib
> project contains this:
>
> 
>
>src/main/java
>
>**/*.java
>**/*.gwt.xml
>
>
>
>
> As far as I know this would be enough to use external libs for gwt.
> Should I double-check again the whole stuff?
>
> --
> - -
> --  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.
>
>

-- 
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: abstract classes in a different package and compile error

2011-11-16 Thread András Csányi
On 16 November 2011 15:46, Juan Pablo Gardella
 wrote:
> "  [ERROR] : public abstract class
> com.sayusiando.java.gwt.lib.salib.grid.abstracts.GridAbstract"
> Add you source files to your classpath?

I think I did. The dependencies of the DiLibWebClient project there is
the SAGWTLib project (I use NetBeans) and the pom.xml file of SAGWTLib
project contains this:



src/main/java

**/*.java
**/*.gwt.xml




As far as I know this would be enough to use external libs for gwt.
Should I double-check again the whole stuff?

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



Re: tool pallet

2011-11-16 Thread R!H@B S@!D!
thx

2011/11/16 Juan Pablo Gardella 

> See http://code.google.com/p/gwt-dnd/
>
> 2011/11/16 R!H@B S@!D! 
>
>> hii,
>> if someone can help me plzzz, I'm new in GWT, I want to create a
>> draggable tool pallet that I make all my objects to draw !
>> some one have an idear to proced?
>> thxx
>>
>> --
>> *Rihab SAIDI*
>>
>>  --
>> 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.
>



-- 
*Rihab SAIDI*

-- 
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 Designer update url does not work

2011-11-16 Thread Attila
Hi,

I hope it's the right group to post this. Apologies if not.
I am just starting with GWT. I wanted to install the GWT Designer
plugin for my Eclipse (3.7 Indigo, SR1).

According to
http://code.google.com/webtoolkit/tools/download-gwtdesigner.html
I should use this update url:
http://dl.google.com/eclipse/inst/d2gwt/latest/3.7

But my Eclipse had problem with that:

The first error is:
Unknown Host: http://dl.google.com/eclipse/plugin/3.7/content.xml

(see full stack trace below).

Also when I just enter this update url (http://dl.google.com/eclipse/
inst/d2gwt/latest/3.7) to my browser, it redirects to
http://code.google.com/webtoolkit/tools/gwtdesigner/installation/updatesite_3.6.html
. So I guess that there is some problem here. Could someone please fix
this?

With the same Eclipse I just successfully installed another plugin.

Regards,
Attila


java.net.UnknownHostException: dl.google.com
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at
org.eclipse.ecf.provider.filetransfer.events.socket.SocketEventCreateUtil.createSocket(SocketEventCreateUtil.java:
43)
at
org.eclipse.ecf.internal.provider.filetransfer.httpclient.ECFHttpClientProtocolSocketFactory.createSocket(ECFHttpClientProtocolSocketFactory.java:
81)
at
org.eclipse.ecf.internal.provider.filetransfer.httpclient.ECFHttpClientProtocolSocketFactory.createSocket(ECFHttpClientProtocolSocketFactory.java:
73)
at
org.eclipse.ecf.internal.provider.filetransfer.httpclient.ECFHttpClientProtocolSocketFactory.createSocket(ECFHttpClientProtocolSocketFactory.java:
65)
at
org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:
707)
at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:
1361)
at
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:
387)
at
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:
171)
at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:
397)
at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:
346)
at
org.eclipse.ecf.provider.filetransfer.httpclient.HttpClientFileSystemBrowser.runRequest(HttpClientFileSystemBrowser.java:
227)
at
org.eclipse.ecf.provider.filetransfer.browse.AbstractFileSystemBrowser
$DirectoryJob.run(AbstractFileSystemBrowser.java:69)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

-- 
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: What Major Companies Use GWT???

2011-11-16 Thread Christian Goudreau
oVirt use GWT and Gwt-Platform: http://www.ovirt.org/

On Wed, Nov 16, 2011 at 9:15 AM, Deepak Singh wrote:

> My company is using GWT, Objectify and google app engine to build a travel
> search engine which is very interactive to user.
> This is in progress yet and soon to be released as www.yatrafinder.comdomain 
> name.
>
>
> On Wed, Nov 16, 2011 at 4:52 PM, Juan Pablo Gardella <
> gardellajuanpa...@gmail.com> wrote:
>
>> Google use GWT.
>>
>>
>> 2011/11/16 Santosh kumar 
>>
>>> My company uses GWT, Objectify, Google App Engine, it is an online
>>> accounting application.
>>> www.AccountingGuru.in 
>>>
>>> On Thu, Oct 28, 2010 at 10:41 PM, Harpal Grover >> > wrote:
>>>
 Ok so it seems like GWT has major use internally for companies, but so
 far is not a choice product to build commercial applications for
 general consumer use yet. I like the framework as well and hopefully
 it can make a push into consumer web applications, not just for
 internal corporate use or android phone apps.

 On Thu, Oct 28, 2010 at 11:51 AM, gcstang  wrote:
 > We use it within our company Micros-Retail, we use GWT, SmartGWT, gwt-
 > log, and gwt-visualizations.
 >
 > On Oct 27, 8:46 am, markM  wrote:
 >> We use it within the Pfizer corporation.  It's also been used within
 >> Toyota U.S.  You may also want to visit the smart-soft web site as
 >> many of the companies listed there have probably taken GWT training.
 >>
 >> It's a beautiful thing to no longer have to deal with JSP's.  Even
 >> with facilities like JSF, which was a huge advance, I still spent
 half
 >> my time figuring out some screwy way to, say, display a dialog in
 >> conjunction with making numerous necessary callbacks to the server.
  I
 >> felt like I was spending half my time on non-requirements related
 >> technical issues.  I used to constantly have to do illogical and
 >> unintuitive things to fix problems.  In addition to the fact that
 most
 >> JSP tools still don't do a good job of type checking leaving you
 >> staring at your screen wondering why something isn't working or
 having
 >> to chase through a stack trace to figure it out.  When I moved to GWT
 >> I felt like someone took the handcuffs off.  It ain't perfect, not
 >> technology is, but it's quite a bit better than anything I was using
 >> before this.  I use Spring on the back end and tools like incubator
 >> for more complex ui work.  All open source.  No licenses.  Thank you
 >> Google! and don't become evil, at least as developers on the bottom
 >> rung you have a choice!
 >>
 >> On Oct 26, 11:25 am, PhilBeaudoin 
 wrote:
 >>
 >> > VMWare uses it in its new Code2Cloud project:
 http://tasktop.com/blog/tasktop/springsource-vmware-code2cloud
 >>
 >> > Google do use it in many products, in particular adwords. There is
 a
 >> > question on the topic in Quora, might be a good place to add some
 >> > answers:
 https://www.quora.com/What-web-applications-use-Google-Web-Toolkit-(GWT)
 >>
 >> >   Philippe
 >>
 >> > On Oct 26, 6:42 am, Stefan Bachert  wrote:
 >>
 >> > > Hi,
 >>
 >> > > On 25 Okt., 11:06, Sir Codealot  wrote:
 >>
 >> > > > What major companies are already using GWT?  I'm a little
 surprised
 >> > > > that this sort of info is not available and obvious, front and
 center,
 >> > > > on the GWT FAQs, but I can't find it.
 >>
 >> > > I agree the business position of GWT is to weak in spite of its
 >> > > strength.
 >> > > Google itself does not earn with GWT so the incentives are weak.
 >>
 >> > > Another point is, there are a lot of GUI technology out there.
 It is
 >> > > very hard for companies to decide
 >>
 >> > > JSP, JSF, Iceface, ASF, Wicket, Qt, jquery,
 >> > > Flash, Flex, SilverLight, JX,
 >> > > GWT with smartClient, GWT with GXT, GWT with Mosaic, GWT pure,
 >> > > CaptianCasa,
 >> > > Vaadin
 >> > > Swing, SWT, AWT
 >> > > Eclipse RCP, Eclipse RAP,
 >> > > quoxdoo
 >> > > JAXX,
 >> > > XUL.
 >>
 >> > > I am surely missed the most.
 >> > > Some of them are doing just half the way.
 >>
 >> > > I know companies that are using GWT in some way
 >> > > - RedHat
 >> > > - IBM, Lombardi
 >> > > - Google (quite sure)
 >>
 >> > > However, sometimes a tool uses GWT but this is not really
 published.
 >> > > XWiki, Magnolia CMS for example
 >>
 >> > > Stefan Bacherthttp://gwtworld.de-Hide quoted text -
 >>
 >> > - Show quoted text -
 >>
 >>
 >
 > --
 > 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 unsubsc

Re: GWT 2.5, when?

2011-11-16 Thread Sean
Yeah, merging branches is never simple. I would try just using the trunk 
and try out what you're looking into. I'm guessing Google has a good SVN 
discipline and keeps the TRUNK stable.

-- 
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/-/YlN1W5G3FUsJ.
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 Designer update url does not work

2011-11-16 Thread Eric Clayberg (Google)
Looks like some sort of local communication failure on your end. I just 
tried the update site and it was fine.

Try restarting Eclipse and trying it again.

-- 
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/-/L7HKfKR183YJ.
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: abstract classes in a different package and compile error

2011-11-16 Thread András Csányi
On 16 November 2011 15:55, Juan Pablo Gardella
 wrote:
> At first try copy sources to another project only to verify if this is the
> error. If compile, you don't have in the compile classpath the sources of
> the libs. You can generate mylib-sources.jar and add to the pom.
> For example a source dependency with maven that I use:
> 
> javax.inject
> javax.inject
> 1
> sources
> provided
> jar
> 
> See provided scope.

Ahhh... for some reason I commented out the module inheriting in the
gwt.xml file. The problem is solved! Juan, thank you for your time! :)

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



Re: Updating a single row (or a cell) in a DataGrid with a ListProvider

2011-11-16 Thread Thomas Broyer
Using a ListDataProvider, setting the item to itself in the list should do 
it:

dataProvider.getList().set(index, dataProvider.getList().get(index));

though I'm not sure whether it'll redraw the whole table or only the needed 
rows.

-- 
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/-/1zBq6-kHwiIJ.
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 2.5, when?

2011-11-16 Thread Thomas Broyer
They build all their projects from trunk, so yes, trunk is relatively 
stable.

-- 
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/-/Z-6sLVxW1t4J.
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 beanutils in my maven project

2011-11-16 Thread András Csányi
Dear All,

I would like to ask some help because I'm a little bit confused.
There is my project where apache beanutils is used and dependencies
are managed by Maven. The whole project looks like this:
-WebClient project - gwt project
- GWTLib - external project and a few abstract classes are placed here
and they are used in the WebClient gwt project

In the GWTLib project beanutils are used. I'm able to compile this
project without any error. But when I start to compile the WebClient
project I got an error and it says that there is no source for
BeanUtils class. Here are a few facts:
- GWTLib has the common-beanutils as dependency and the source is downloaded.
- WebClient has the common-beanutils as dependency and the source is downloaded.

If I see correctly in my local maven repository every item has 2 jars,
one contains the compiled files and the other for the sources. Despite
the fact the sources are downloaded  gwt compiler is not able to
compile the source. My question is that whether this is the proper
behavior of the compiler or not? If so, than what should I do to use
beanutils in my project? Should I download the source code of
beanutils and compile it that way one jar will contains the compiled
files and the sources as well? Is there any lighter way to do it or I
missed something?

Thanks for any help in advance!

András

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



Re: IE not downloading external scripts included in UiBinder

2011-11-16 Thread frostedsugar
I have gotten a little farther but still haven't quite fixed it.

It was suggested that I use ScriptInjector because HTMLPanel inserts
using innerHTML and that doesn't update correctly in IE.

We're not on 2.4 yet but just to try I copied in the source files
needed for ScriptInjector and attempted to use that. The JS files
download correctly in both browsers, but I get the '$wnd. is
undefined exception' indicating that the references in the external
script can't be found. I don't try to load my widget until the
onSuccess call returns from the script inject - so my code looks
something like this:

ScriptInjector.fromUrl("http://example.com/foo.js";).setCallback(
  new Callback() {
 public void onFailure(Exception reason) {
   Window.alert("Script load failed.");
 }
 public void onSuccess(Void result) {
   Window.alert("Script load success.");
   MyWidget widget = new MyWidget();
   client.onSuccess(widget); // adds the widget to the view
 }
  }).inject();

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



Error :No source available ..

2011-11-16 Thread learning coding
Hi i have added some external jar file in  web application
When i compile it its show me eror related to all the jar file which i
am using in application
error Line 12: No source code is available for type ...;
did you forget to inherit a required module?

how to rectify it.?

thanks in advanace.

-- 
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 beanutils in my maven project

2011-11-16 Thread Juan Pablo Gardella
You need to add dependency jar in your pom.xml (with classifier) and define
a xml module. For example I add jsr330 to my project in this way:

Add sources to classpath:


javax.inject
javax.inject
1
sources
provided
jar


Indicate to GWT that use them:

In your module:
   


And I generate this file
javax/JSR330.xml






Juan
2011/11/16 András Csányi 

> Dear All,
>
> I would like to ask some help because I'm a little bit confused.
> There is my project where apache beanutils is used and dependencies
> are managed by Maven. The whole project looks like this:
> -WebClient project - gwt project
> - GWTLib - external project and a few abstract classes are placed here
> and they are used in the WebClient gwt project
>
> In the GWTLib project beanutils are used. I'm able to compile this
> project without any error. But when I start to compile the WebClient
> project I got an error and it says that there is no source for
> BeanUtils class. Here are a few facts:
> - GWTLib has the common-beanutils as dependency and the source is
> downloaded.
> - WebClient has the common-beanutils as dependency and the source is
> downloaded.
>
> If I see correctly in my local maven repository every item has 2 jars,
> one contains the compiled files and the other for the sources. Despite
> the fact the sources are downloaded  gwt compiler is not able to
> compile the source. My question is that whether this is the proper
> behavior of the compiler or not? If so, than what should I do to use
> beanutils in my project? Should I download the source code of
> beanutils and compile it that way one jar will contains the compiled
> files and the sources as well? Is there any lighter way to do it or I
> missed something?
>
> Thanks for any help in advance!
>
> András
>
> --
> - -
> --  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.
>
>

-- 
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: What is the impact of *.cache.html size

2011-11-16 Thread NR
Thank you all for the helpful answers. The library that is increasing
the permutation is gwt-cal. As pointed out by Thomas, it looks like it
is building a separate .cache.html for each language.

Thanks again.

Nara

On Nov 16, 9:03 am, jusio  wrote:
> The total size of all *.cache,html is not so important. What is
> important is an average size of singli *.cache,html file, because it
> is basically the amount of data users will have to download. In your
> case it should be somewhere around 700kb. What it means, is that in
> order for user to start using your app they have to wait until those
> 700kb is downloaded. You decide how bad is it for you=)
>
> On Nov 16, 2:31 pm, "Palo G."  wrote:
>
>
>
>
>
>
>
> > Hi,
> > this is one of reason why usage of open source libraries for GWT is
> > very painful. There is lots of code.
>
> > So some hints:
> > - use only parts of third code libraries that you really need
> > - did you compiled your project with argument -style OBF ? <- this
> > really helps
> > - use code split for forms that your users don't need in every time
> > use - settings forms
> > - and propably the most important think, compile your project with
> > compilation report and see where and what is source of your
> > troubles 
> > ...http://code.google.com/intl/cs/webtoolkit/doc/latest/DevGuideCompileR...
>
> > Goog luck, mate..maybe you can write libraries that you used?
>
> > On 16 lis, 00:41, News Club  wrote:
>
> > > Hi:
>
> > > We have relatively a large GWT project. Our compiled code size (i.e
> > > *.cache.html) used to be 4.5 MB.
>
> > > I have recently included a couple of gwt open source libraries. After 
> > > that,
>
> > > a) The compiler permutations gone from 5 to 59.
> > > b) The compile time went from 3 mins to 18 mins.
> > > c) The total size of *.cache.html files went up from 4.5 MB to 40MB.
>
> > > I like the benefits of this open source library. But, I would like to know
> > > what is the impact of *.cache.html file size during runtime?
>
> > > Thanks
>
> > > Nara

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



Default Right Click Context Menu doesn't appear for GWT pages in IE.

2011-11-16 Thread Swapna
I haven't worked in GWT at all ,but i have a GWT issue to fix. I would
be glad if i could get some help.

When we open normal pages in application and right clicking on drop
down list of Main menu , IE default right click context menu options
pop- up.That is required.

But when we are in GWT pages and when we right click on drop down list
of Main menu options,IE default right click context menu options
doesn't show up.

This is how the hyperlink is included in JSP page for GWT pages:

 

 


When i googled ,i found this piece of code :

 addDomHandler(new ContextMenuHandler()
{
@Override
public void onContextMenu(ContextMenuEvent event)
{
showMenu();
event.preventDefault();
}
}, ContextMenuEvent.getType());


But i'm not sure how to link this code with the JSP page.Hoping to see
some response.

-- 
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 to connect a non-gwt xmlrpc-client to a xmlrpc-server created by GWT.

2011-11-16 Thread Johannes Held
Hello group,

I have a small application programmed with GWT beeing deployed to a jetty 
as root.war (thus serving "/").
Assume I have a Servlet named "UserServlet" mapped to "/user/user" 
providing a method "getString()". On the server side, this method is 
implemented in the class "TestImpl".

Now I want to connect to the server not only via a GWT client but also via 
an external XMLRPC client.
Using the code (attached as ClientCode.java - stripped down version, won't 
compile), the jetty server logs this:
2011-11-16 17:08:12.379:WARN:root:Exception while dispatching incoming RPC 
call
javax.servlet.ServletException: Content-Type was 'text/xml'. Expected 
'text/x-gwt-rpc'.

May someone give me a hint, how I can connect to a GWT-created servlet via 
a normal XMLRPC client?
I saw a project called xmlrpc-gwt, but that includes a lot of GWT related 
stuff and I want to try to keep the XMLRPC client really simple.
Next, looking into the code of xmlrpc-gwt, it sends a header "text/xml", 
too.


Looking forward to your answers,
Johannes


  

-- 
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/-/15nZfSNuBTIJ.
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.

XmlRpcClientConfigImpl config = new XmlRpcClientConfigImpl();
config.setServerURL(new URL("http://127.0.0.1:8080/user/user";));
config.setConnectionTimeout(60 * 1000);
config.setReplyTimeout(60 * 1000);
XmlRpcClient client = new XmlRpcClient();
client.setConfig(config);
String result = (String) client.execute("TestImpl.getString", new Object[0]);
System.out.println(result);



Confusion about excluding/including source files for a GWTTestCase

2011-11-16 Thread laredotornado
Hi,

I'm using GWT 2.4 and trying to write a GWTTestCase, but must be
missing something fundamental.  In my test case, I use an Apache
library

public void testParsingNodeWithAttributes() throws IOException,
ParserConfigurationException, SAXException {

But upon running the test, I get errors like

   [ERROR] Line 36: No source code is available for type
javax.xml.parsers.ParserConfigurationException; did you forget to
inherit a required module?
   [ERROR] Line 36: No source code is available for type
org.xml.sax.SAXException; did you forget to inherit a required module?
   [ERROR] Line 39: No source code is available for type
org.junit.Assert; did you forget to inherit a required module?
   [ERROR] Line 92: No source code is available for type
javax.xml.xpath.XPathExpressionException; did you forget to inherit a
required module?

Here is my test module file ...



  
  

  
  




If I add this line to my .gwt.xml module ...

  

Then I get below error when I try and run my test case ...

com.google.gwt.junit.JUnitFatalLaunchException: The test class
'com.myco.clearing.product.client.commons.xml.XMLNodeTest' was not
found in module 'com.myco.clearing.product.ProductPlusJUnit'; no
compilation unit for that type was seen
at
com.google.gwt.junit.JUnitShell.checkTestClassInCurrentModule(JUnitShell.java:
743)
at com.google.gwt.junit.JUnitShell.runTestImpl(JUnitShell.java:1346)
at com.google.gwt.junit.JUnitShell.runTestImpl(JUnitShell.java:1309)
at com.google.gwt.junit.JUnitShell.runTest(JUnitShell.java:653)
at com.google.gwt.junit.client.GWTTestCase.runTest(GWTTestCase.java:
441)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at com.google.gwt.junit.client.GWTTestCase.run(GWTTestCase.java:296)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:
83)
at
org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:
50)
at
org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:
38)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:
467)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:
683)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:
390)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:
197)


Any ideas?  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.



Re: Using beanutils in my maven project

2011-11-16 Thread András Csányi
Dear Juan,

Thank you very much, but I'm still confused. I think I need more clarification.

> You need to add dependency jar in your pom.xml (with classifier) and define
> a xml module. For example I add jsr330 to my project in this way:
> Add sources to classpath:
> 
> javax.inject
> javax.inject
> 1
> sources
> provided
> jar
> 

Done!

> Indicate to GWT that use them:
> In your module:
>        
> 

Is there any naming convention? Beanutils looks like this in pom.xml

commons-beanutils
commons-beanutils
1.8.3
sources

Following your example I should create something like this in the
WebClient.gwt.xml file

 

> And I generate this file
> javax/JSR330.xml
> 
> 
> 
> 

At this point I feel lost. :)
Summarize what I understand from this.
My project gwt.xml file placed here:
com/sayusiando/java/dilib/DiLibWebClient.gwt.xml
Following your example I should create a directory named "commons"
something like this:
com/sayusiando/java/dilib/commons

And create a beanutils.gwt.xml file in this directory something like this
com/sayusiando/java/dilib/commons/beanutils.gwt.xml

And this file has to be contain something like this:




According to this the whole beanutils source must be placed under the
"com/sayusiando/java/dilib/commons/beanutils/"
directory.

I don't understand why should I do the last two steps. My project has
a dependency to apache beanutils managed by maven, but my problem is
that according to gwt compiler there is no available source code of
apache beanutils. But this is not true because maven already
downloaded the source code but it's stored in a different file. I
assume the compiler doesn't know that

The whole case looks like for me a little bit hellish... because I
think the whole problem is rooted in that the maven repository doesn't
have that kind of jar which contains the compiled files and the source
code files as well which is deprecated for gwt compiler.

I think I have to watch an episod of Futurama to clear my mind!

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



Re: Using beanutils in my maven project

2011-11-16 Thread Juan Pablo Gardella
Here you can see a sample (browse the source):

gwt-sample (Spring,
JPA2)

In this site you can check how configure the module.

And some answers:

>I don't understand why should I do the last two steps. My project has
>a dependency to apache beanutils managed by maven, but my problem is

   Yes, maven know, but GWT compiler needs the information that where it
can find sources. This kind of information is defined in your modules.

Juan

2011/11/16 András Csányi 

> Dear Juan,
>
> Thank you very much, but I'm still confused. I think I need more
> clarification.
>
> > You need to add dependency jar in your pom.xml (with classifier) and
> define
> > a xml module. For example I add jsr330 to my project in this way:
> > Add sources to classpath:
> > 
> > javax.inject
> > javax.inject
> > 1
> > sources
> > provided
> > jar
> > 
>
> Done!
>
> > Indicate to GWT that use them:
> > In your module:
> >
> > 
>
> Is there any naming convention? Beanutils looks like this in pom.xml
> 
>commons-beanutils
>commons-beanutils
>1.8.3
>sources
>
> Following your example I should create something like this in the
> WebClient.gwt.xml file
>
>  
>
> > And I generate this file
> > javax/JSR330.xml
> > 
> > 
> > 
> > 
>
> At this point I feel lost. :)
> Summarize what I understand from this.
> My project gwt.xml file placed here:
> com/sayusiando/java/dilib/DiLibWebClient.gwt.xml
> Following your example I should create a directory named "commons"
> something like this:
> com/sayusiando/java/dilib/commons
>
> And create a beanutils.gwt.xml file in this directory something like this
> com/sayusiando/java/dilib/commons/beanutils.gwt.xml
>
> And this file has to be contain something like this:
> 
> 
> 
>
> According to this the whole beanutils source must be placed under the
> "com/sayusiando/java/dilib/commons/beanutils/"
> directory.
>
> I don't understand why should I do the last two steps. My project has
> a dependency to apache beanutils managed by maven, but my problem is
> that according to gwt compiler there is no available source code of
> apache beanutils. But this is not true because maven already
> downloaded the source code but it's stored in a different file. I
> assume the compiler doesn't know that
>
> The whole case looks like for me a little bit hellish... because I
> think the whole problem is rooted in that the maven repository doesn't
> have that kind of jar which contains the compiled files and the source
> code files as well which is deprecated for gwt compiler.
>
> I think I have to watch an episod of Futurama to clear my mind!
>
> --
> - -
> --  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.
>
>

-- 
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: Error :No source available ..

2011-11-16 Thread Hilco Wijbenga
On 16 November 2011 08:58, learning coding  wrote:
> Hi i have added some external jar file in  web application
> When i compile it its show me eror related to all the jar file which i
> am using in application
>        error Line 12: No source code is available for type ...;
> did you forget to inherit a required module?
>
> how to rectify it.?

Did you try including the source?

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

2011-11-16 Thread David
chrome app looks nice.  Am I missing something or is there no support
for drag and drop?

On Nov 15, 9:32 am, Jeffrey Chimene  wrote:
> On 11/15/2011 7:21 AM,  B wrote:
>
>
>
>
>
>
>
> > Hi All,
>
> > I am new to GWT Gantt and am trying to develop a sample gantt project.
> > I got the sample from the link
> >http://code.google.com/p/gwtgantt/downloads/list. I am getting an
> > error in the entrypoint class when i try to add the GanttChart widget
> > to Rootpanel.
> > * This UIObject's element is not set; you may be missing a call to
> > either Composite.initWidget() or UIObject.setElement().*
> > *
> > *
> > Tried to debug but was unable to find anything. *
> > *
> > can anyone please help.
>
> > --
> > Regards
>
> Hi Deepak:
>
> I recently completed a project using jsgantt/gwtgantt. See
> code.google.com/p/gwt-sked
>
> Start with view/GanttView.java and work downward from there.
>
>
>
>
>
>
>
> > --
> > 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.



Google Plugin for Eclipse (GPE) is Now Open Source

2011-11-16 Thread Eric Clayberg (Google)
Today is quite a milestone for the Google Plugin for Eclipse (GPE). Our 
team is very happy to announce that all of GPE (including GWT Designer) is 
open source under the Eclipse Public License (EPL) v1.0. 

See...

http://googlewebtoolkit.blogspot.com/2011/11/google-plugin-for-eclipse-gpe-is-now.html

-- 
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/-/yq6jPQm5SJ0J.
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: Google Plugin for Eclipse (GPE) is Now Open Source

2011-11-16 Thread Alain Ekambi
Now this is a GREAT news.
I ve been waiting for this for so long.
Another great contrib to the open source community from Google.

Thx.

2011/11/16 Eric Clayberg (Google) 

> Today is quite a milestone for the Google Plugin for Eclipse (GPE). Our
> team is very happy to announce that all of GPE (including GWT Designer) is
> open source under the Eclipse Public License (EPL) v1.0.
>
> See...
>
> http://googlewebtoolkit.blogspot.com/2011/11
> /google-plugin-for-eclipse-gpe-is-now.html
>
> --
> 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/-/yq6jPQm5SJ0J.
> 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 API for  non Java based platforms
http://www.emitrom.com/ 
http://gwt4touch.appspot.com/
http://gwt4flex.appspot.com/ 
http://code.google.com/p/gwt4air/
http://www.gwt4air.appspot.com/

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



What happens when I enter an issue report?

2011-11-16 Thread Jim Douglas
I'm not sure how to interpret the issue status flags.  I entered this
one just over a year ago to summarize some usability issues I
encountered with several standard GWT Widgets in Mobile Safari:

http://code.google.com/p/google-web-toolkit/issues/detail?id=5539

Does the status of New, with no assigned owner, indicate that it
completely slipped through the cracks?

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



Different GWT compilation from Eclipse and command line

2011-11-16 Thread jogo
Hi,

I'm getting really frustrated from this, so any advice is highly
appreciated.

In my GWT project, there is a java native method that calls eval
function inside. All worked fine till I updated from 2.3.0 to 2.4.0
(on Windows XP in Eclipse). After that, when I compiled the project in
Eclipse (GWT 2.4.0) the native method stopped working and I spent
quite a lot of time figuring out what was the cause of this problem.

It turned out, that the update form 2.3.0 to 2.4.0 caused it. Then I
downgraded back to GWT SDK 2.3.0, re-configured Eclipse and then again
all worked fine.

Today I created a simple ant build script (generated from
webAppCreator app using SDK 2.3.0) and used it. And again, the problem
re-surfaced, the native method doesn't work! The ant script uses SDK
2.3.0.

The surprising thing is, that when I compile the project from Eclipse
with SDK 2.3.0 all works fine. When I compile the project from command
line using the same SDK and JRE compiled code is different and doesn't
work.

Any idea where the problem might be? Thanks.

-- 
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 2.4, IE and the Google Chrome Frame Plugin

2011-11-16 Thread MacWiz
Word of warning to others that haven't stumbled across this yet, but
using GWT 2.4, the startup code that sniffs the browser to determine
which permutation to load gets confused for IE users that have the
Google Chrome Frame plugin installed and end up loading the wrong
permutation.  In our case, having this plugin installed caused the
'safari' user.agent permutation to load instead of the correct IE
permutation.  The incorrect permutation promptly dies with a
JavaScript error to the affect that an "object doesn't support this
property or method" error.  We had a small subset of our IE users that
were hitting this JavaScript error and it's the Google Chrome Frame
plugin that has been causing their grief.

-- 
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: Google Plugin for Eclipse (GPE) is Now Open Source

2011-11-16 Thread Juan Pablo Gardella
Thx!!

2011/11/16 Alain Ekambi 

> Now this is a GREAT news.
> I ve been waiting for this for so long.
> Another great contrib to the open source community from Google.
>
> Thx.
>
> 2011/11/16 Eric Clayberg (Google) 
>
> Today is quite a milestone for the Google Plugin for Eclipse (GPE). Our
>> team is very happy to announce that all of GPE (including GWT Designer) is
>> open source under the Eclipse Public License (EPL) v1.0.
>>
>> See...
>>
>> http://googlewebtoolkit.blogspot.com/2011/11
>> /google-plugin-for-eclipse-gpe-is-now.html
>>
>> --
>> 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/-/yq6jPQm5SJ0J.
>> 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 API for  non Java based platforms
> http://www.emitrom.com/ 
> http://gwt4touch.appspot.com/
> http://gwt4flex.appspot.com/ 
> http://code.google.com/p/gwt4air/
> http://www.gwt4air.appspot.com/
>
>
>  --
> 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: Road Map for GWT?

2011-11-16 Thread Jenson
Why isn't there a roadmap for GWT?  App Engine has a roadmap:
http://code.google.com/appengine/docs/roadmap.html

On Oct 26, 7:27 am, Thomas Broyer  wrote:
> There has never been any roadmap.

-- 
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: Error :No source available ..

2011-11-16 Thread frostedsugar
Your jar file needs to include the *.java files for the classes you
want to use with GWT.

-- 
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: Google Plugin for Eclipse (GPE) is Now Open Source

2011-11-16 Thread Eric Clayberg (Google)
A nice follow-up...

http://community.jboss.org/en/tools/blog/2011/11/16/thoughts-on-google-eclipse-plugins-going-open-source

-- 
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/-/9GVfS3lPCFsJ.
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 SOAP - an easier way?

2011-11-16 Thread David Vree
The documentation on GWT wrt SOAP states that we should use
RequestBuilder to make the call and process the XML that is returned.
However, Apache CXF's SOAP framework (and others) will generate Java
client proxies for us.  Is there some way to use these within GWT?
Has anyone done this so as to avoid writing a ton of XML processing
code?

I ask because my company is building a commercial enterprise webapp
and we are considering GWT for the UI.  However, we also need to
provide a web services API to our backend.  Because our application is
mostly about running various operations on complex, cyclic object
graphs, we are inclined to go with SOAP instead of REST.

-- 
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 and SOAP - an easier way?

2011-11-16 Thread Luis Montes
GWT is to generate client code.  I'm not sure why you'd want to access SOAP
services directly from a webpage.  You can make simple calls from the
client with GWT-rpc, or AJAX REST or even JSON-RPC.   SOAP is really heavy
for this, and isn't built to work cross-domain.

If you just need server-server SOAP calls, then you can use anything you'd
like.

Luis


On Wed, Nov 16, 2011 at 2:54 PM, David Vree  wrote:

> The documentation on GWT wrt SOAP states that we should use
> RequestBuilder to make the call and process the XML that is returned.
> However, Apache CXF's SOAP framework (and others) will generate Java
> client proxies for us.  Is there some way to use these within GWT?
> Has anyone done this so as to avoid writing a ton of XML processing
> code?
>
> I ask because my company is building a commercial enterprise webapp
> and we are considering GWT for the UI.  However, we also need to
> provide a web services API to our backend.  Because our application is
> mostly about running various operations on complex, cyclic object
> graphs, we are inclined to go with SOAP instead of REST.
>
> --
> 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: Google Plugin for Eclipse (GPE) is Now Open Source

2011-11-16 Thread Gal Dolber
sooo nice to hear! thanks!!

On Wed, Nov 16, 2011 at 6:52 PM, Eric Clayberg (Google)  wrote:

> A nice follow-up...
>
>
> http://community.jboss.org/en/tools/blog/2011/11/16/thoughts-on-google-eclipse-plugins-going-open-source
>
> --
> 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/-/9GVfS3lPCFsJ.
>
> 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.
>



-- 
Guit: Elegant, beautiful, modular and *production ready* gwt applications.

http://code.google.com/p/guit/

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



EmpAdmin with Activities and places.

2011-11-16 Thread sampath sai
Hi,

I am planning to design below functionality using Activities,places.
 http://employeeadm.appspot.com/

Any suggestions?

Thanks,
Sai.

-- 
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 and SOAP - an easier way?

2011-11-16 Thread David Vree
Thanks for your feedback.  As an enterprise webapp, I don't need cross-
domain capabilities.  I would also like to only design one API if I
can...and SOAP is a better fit for our application than REST.  Finally
I am concerned that GWT-RPC would be too granular, too chatty and
result in a UI that is too coupled to our domain model.

On Nov 16, 4:59 pm, Luis Montes  wrote:
> GWT is to generate client code.  I'm not sure why you'd want to access SOAP
> services directly from a webpage.  You can make simple calls from the
> client with GWT-rpc, or AJAX REST or even JSON-RPC.   SOAP is really heavy
> for this, and isn't built to work cross-domain.
>
> If you just need server-server SOAP calls, then you can use anything you'd
> like.
>
> Luis
>
>
>
>
>
>
>
> On Wed, Nov 16, 2011 at 2:54 PM, David Vree  wrote:
> > The documentation on GWT wrt SOAP states that we should use
> > RequestBuilder to make the call and process the XML that is returned.
> > However, Apache CXF's SOAP framework (and others) will generate Java
> > client proxies for us.  Is there some way to use these within GWT?
> > Has anyone done this so as to avoid writing a ton of XML processing
> > code?
>
> > I ask because my company is building a commercial enterprise webapp
> > and we are considering GWT for the UI.  However, we also need to
> > provide a web services API to our backend.  Because our application is
> > mostly about running various operations on complex, cyclic object
> > graphs, we are inclined to go with SOAP instead of REST.
>
> > --
> > 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: GWT 2.5, when?

2011-11-16 Thread Mariano Ortega

1. Is there any place where the roadmap can be seen?

2. If not (1), then does anyone know where I can find what the 2.5 release 
would include?

3. I'm particularly interested in a featured mentioned by Ray Cromwell on a 
Google+ 
post about "Super Draft 
Mode". 
Does anyone have any idea/news about it? how it will work? when is it gonna 
be released?

thanks in advance,
Mariano

-- 
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/-/bUiD7Fm7O_4J.
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: Different GWT compilation from Eclipse and command line

2011-11-16 Thread Gal Dolber
I'm compiling projects using gwt trunk from ant without problem

this is my base ant script http://pastebin.com/prRQEETz

and this is how I extend it for each project http://pastebin.com/t7RLmd29

the script asume you are using lombok and it support annotation processors,
but you should be able to extract the gwt compilation part.

Hope it helps

On Wed, Nov 16, 2011 at 4:48 PM, jogo  wrote:

> Hi,
>
> I'm getting really frustrated from this, so any advice is highly
> appreciated.
>
> In my GWT project, there is a java native method that calls eval
> function inside. All worked fine till I updated from 2.3.0 to 2.4.0
> (on Windows XP in Eclipse). After that, when I compiled the project in
> Eclipse (GWT 2.4.0) the native method stopped working and I spent
> quite a lot of time figuring out what was the cause of this problem.
>
> It turned out, that the update form 2.3.0 to 2.4.0 caused it. Then I
> downgraded back to GWT SDK 2.3.0, re-configured Eclipse and then again
> all worked fine.
>
> Today I created a simple ant build script (generated from
> webAppCreator app using SDK 2.3.0) and used it. And again, the problem
> re-surfaced, the native method doesn't work! The ant script uses SDK
> 2.3.0.
>
> The surprising thing is, that when I compile the project from Eclipse
> with SDK 2.3.0 all works fine. When I compile the project from command
> line using the same SDK and JRE compiled code is different and doesn't
> work.
>
> Any idea where the problem might be? Thanks.
>
> --
> 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.
>
>


-- 
Guit: Elegant, beautiful, modular and *production ready* gwt applications.

http://code.google.com/p/guit/

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



Converting GWT menuitem into hyperlink

2011-11-16 Thread Swapna Reddy
How do we convert GWT menuitem into hyperlink. As menuitem sends the data
in terms of text,the rightclick context menu options doesn't appear in IE.
We want rightclick context menu options like "Open In New Tab" to appear
for menu items in GWT pages.Please let me know how do we convert following
code ,such that menuitems behave like hyperlink:

*private* MenuItem getInventoryTargetAdminMenuItem()

  {

MenuItem menuItem = *new* MenuItem( *MESSAGES*
.siteNavigatorInventoryTargetAdmin(),

  *new* Command()

  {

*public* *void* *execute()*

{

  *navigateInventoryTargetAdmin**()*;

}

  } );

menuItem.getElement().setId( Constants.*MNU_INVENTORY_TARGET_ADMIN* );**
**

*return* menuItem;

  }

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



Is it possible to get Client Machine name in GWT?

2011-11-16 Thread jloved
I just want to get client computer name in GWT. Is there anyone know
how to do that?

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.



parameter passing in gwt

2011-11-16 Thread Bhavesh
Hi,
I am using activity and places in my application and i need to pass
parameter from one place to another. So please provide me the solution
for the same.

I am passing parameter using method and i am successfully able to
recevie the parameter. But when I refresh the same page the parameter
will lost. So please provide me the solution for the same...

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



Google Apps Provisioning Api

2011-11-16 Thread murray
Team,

I am using the following code (at the bottom of post) in in GWT ..
access all users from the a given googlepps domain.
I keep getting the this error

- error -

Initializing App Engine server
Nov 17, 2011 4:15:32 AM com.google.apphosting.utils.jetty.JettyLogger
info
INFO: Logging to JettyLogger(null) via
com.google.apphosting.utils.jetty.JettyLogger
Nov 17, 2011 4:15:32 AM
com.google.apphosting.utils.config.AppEngineWebXmlReader
readAppEngineWebXml
INFO: Successfully processed C:\development\n5fix\n6\war\WEB-INF/
appengine-web.xml
Nov 17, 2011 4:15:32 AM
com.google.apphosting.utils.config.AbstractConfigXmlReader
readConfigXml
INFO: Successfully processed C:\development\n5fix\n6\war\WEB-INF/
web.xml
Nov 16, 2011 11:15:35 PM
com.google.appengine.tools.development.DevAppServerImpl start
INFO: The server is running at http://localhost:/
Nov 16, 2011 11:16:00 PM
com.google.appengine.repackaged.org.apache.http.impl.client.DefaultRequestDirector
handleResponse
WARNING: Authentication error: Unable to respond to any of these
challenges: {googlelogin=WWW-Authenticate: GoogleLogin realm="http://
www.google.com/accounts/ClientLogin", service="apps"}



note: consumer key and secret  .. provided globally,

- code -
public List GetAllUserForDomain(String domain) {
List userlst = null;
UserInfo u;

try {
LOGGER.log(Level.INFO, "Get all user in domain  - " + 
domain);
this.domain = domain; // set global value

// Credential set the oAuth to accomodate the app market
GoogleOAuthParameters oauthParameters = new
GoogleOAuthParameters();
oauthParameters.setOAuthConsumerKey(consumerKey);
oauthParameters.setOAuthConsumerSecret(consumerSecret);

// Create a new Apps Provisioning service
UserService myService = new UserService("n6");

myService.setOAuthCredentials(oauthParameters,new
OAuthHmacSha1Signer());

URL metafeedUrl = new 
URL("https://www.google.com/a/feeds/"+ domain
+ "/user/2.0");

LOGGER.log(Level.INFO, "Getting user entries...\n");

List entries = new ArrayList();

while (metafeedUrl != null) {
// Fetch page
UserFeed resultFeed =
myService.getFeed(metafeedUrl,UserFeed.class);
entries.addAll(resultFeed.getEntries());
// Check for next page
Link nextLink = resultFeed.getNextLink();
if (nextLink == null) {
metafeedUrl = null;
} else {
// metafeedUrl = nextLink.getHref();
}
}

userlst = new ArrayList();
// Handle results
for (int i = 0; i < entries.size(); i++) {
UserEntry entry = entries.get(i);
u = new UserInfo(); // initialize serinfo
entry.getLogin();
u.setLastName(entry.getName().getFamilyName());
u.setFirstName(entry.getName().getGivenName());
u.setUsername(entry.getLogin().getUserName());
if (entry.getEmail() != null)
u.setEmail(entry.getEmail().toString());
userlst.add(u);
// userlst.add(entry.getTitle().getPlainText());
LOGGER.log(Level.INFO, "\t" + 
entry.getTitle().getPlainText());
}
// ystem.out.println("\nTotal Entries: 
"+entries.size());
LOGGER.log(Level.INFO, "\nTotal Entries: " + 
entries.size());

} catch (Exception e) {
e.getLocalizedMessage();
}

return userlst;

}

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