Re: Is this project active?

2019-04-11 Thread Craig Mitchell

>
> This may be true running the TodomvcProd.gwt.xml but if you run 
> TodomvcDev.gwt.xml it should be fine. We don't use Maven at work so I may 
> have misconfigured the tooling :/
>

I did try to run the TodomvcDev.gwt.xml, however, I needed to remove 
TodomvcProd from GWT General Settings (using Eclipse).  Now works great!  
Thanks!

Also, thanks for the heads up on reusing existing React components.  :-)

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Is this project active?

2019-04-11 Thread Peter Donald
On Fri, Apr 12, 2019 at 1:04 PM Craig Mitchell 
wrote:

> You can use both of them together ;) We use react+GWT and absolutely love
>> it. We use a state management library Arez (https://arez.github.io/)
>> which is very similar conceptually to Mobx done in Java style. You can see
>> a sample application @
>> https://github.com/react4j/react4j-todomvc/tree/arez_maven/src/main/java/react4j/todomvc
>>
>
> That is very cool!  I couldn't get Super Dev Mode working due to:
>
> [ERROR] linkers other than CrossSiteIFrameLinker aren't supported. Found:
> com.google.gwt.core.linker.SingleScriptLinker
>
>
This may be true running the TodomvcProd.gwt.xml but if you run
TodomvcDev.gwt.xml it should be fine. We don't use Maven at work so I may
have misconfigured the tooling :/


> However, the GWT compile worked fine, and it ran on my Tomcat server.
> Going to dive into the code to see how easy/hard it would be to use
> existing React components.
>

We *used* to use existing react components but due to differences between
the different environments it always felt a bit clunky and I am not sure
how easy it would be to do at this stage. You would probably need to use
jsinterop to get the react component type and write a custom builder to
create the component and it should be possible but we don't do this
anymore. We found it is easier to just port the component and keep in java
land.

-- 
Cheers,

Peter Donald

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Is this project active?

2019-04-11 Thread Craig Mitchell

>
> You can use both of them together ;) We use react+GWT and absolutely love 
> it. We use a state management library Arez (https://arez.github.io/) 
> which is very similar conceptually to Mobx done in Java style. You can see 
> a sample application @ 
> https://github.com/react4j/react4j-todomvc/tree/arez_maven/src/main/java/react4j/todomvc
>

That is very cool!  I couldn't get Super Dev Mode working due to:

[ERROR] linkers other than CrossSiteIFrameLinker aren't supported. Found: 
com.google.gwt.core.linker.SingleScriptLinker

However, the GWT compile worked fine, and it ran on my Tomcat server.  
Going to dive into the code to see how easy/hard it would be to use 
existing React components.

Thanks sharing the project!  :-)

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] (Unofficial) Elemental2 1.0.0-b21-6a027d2 release

2019-04-11 Thread Juan Pablo Gardella
Thanks Peter!

On Sun, 7 Apr 2019 at 23:41, Peter Donald  wrote:

> Elemental2 provides type checked access to browser APIs for Java
> code. This is done by using closure extern files and generating
> JsTypes, which are part of the new JsInterop specification that
> is both implemented in GWT and J2CL.
>
> https://github.com/google/elemental2
>
> This is an unofficial release to Maven Central under a different groupId.
> Please don't bug the original authors. Versions are released on demand.
>
> API Changes relative to Elemental2 version 1.0.0-b20-bfe6e22
>
> elemental2-core: Full details at
> https://diff.revapi.org/?groupId=org.realityforge.com.google.elemental2=elemental2-core=1.0.0-b20-bfe6e22=1.0.0-b21-6a027d2
>   4 non breaking changes.
>   4 potentially breaking changes.
> elemental2-dom: Full details at
> https://diff.revapi.org/?groupId=org.realityforge.com.google.elemental2=elemental2-dom=1.0.0-b20-bfe6e22=1.0.0-b21-6a027d2
>   38 non breaking changes.
>   149 potentially breaking changes.
>   49 breaking changes.
> elemental2-media: Full details at
> https://diff.revapi.org/?groupId=org.realityforge.com.google.elemental2=elemental2-media=1.0.0-b20-bfe6e22=1.0.0-b21-6a027d2
>   3 non breaking changes.
>   3 potentially breaking changes.
>   8 breaking changes.
> elemental2-promise: Full details at
> https://diff.revapi.org/?groupId=org.realityforge.com.google.elemental2=elemental2-promise=1.0.0-b20-bfe6e22=1.0.0-b21-6a027d2
>   1 non breaking changes.
>   2 breaking changes.
> elemental2-svg: Full details at
> https://diff.revapi.org/?groupId=org.realityforge.com.google.elemental2=elemental2-svg=1.0.0-b20-bfe6e22=1.0.0-b21-6a027d2
>   137 breaking changes.
> elemental2-webgl: Full details at
> https://diff.revapi.org/?groupId=org.realityforge.com.google.elemental2=elemental2-webgl=1.0.0-b20-bfe6e22=1.0.0-b21-6a027d2
>   8 non breaking changes.
>   4 potentially breaking changes.
>   8 breaking changes.
>
> The Maven dependencies can be added to your pom.xml via
>
> 
>   org.realityforge.com.google.elemental2
>   ${artifact-id}
>   1.0.0-b21-6a027d2
> 
>
> where artifact-id is one of
>
> * elemental2-core
> * elemental2-dom
> * elemental2-promise
> * elemental2-indexeddb
> * elemental2-svg
> * elemental2-webgl
> * elemental2-media
> * elemental2-webstorage
> * elemental2-webassembly
>
> Hope this helps,
>
> Peter Donald
>
> --
> You received this message because you are subscribed to the Google Groups
> "GWT Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-web-toolkit+unsubscr...@googlegroups.com.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> Visit this group at https://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: display using DataListProvider

2019-04-11 Thread Hugo Haas
Hi,

Try this link:
http://www.gwtproject.org/javadoc/latest/com/google/gwt/user/client/ui/FlexTable.html


Is very simple and intuitive to write code to Flextable!


Em qui, 11 de abr de 2019 às 09:38, Nanditha Nandu 
escreveu:

> Thanks. But how to display the contents using FlexTable can you please
> elaborate.
>
> I have a List result as my query output.
> where Hardware contains function like getName(), setName().. etc.
>
> I'm new to GWT :)
>
>
>
>
> On Thursday, April 11, 2019 at 12:05:43 AM UTC+5:30, Hugo Haas wrote:
>>
>> Run out of this component... try FlexTable, your life will be wonderfull.
>>
>>
>>
>> Em qua, 10 de abr de 2019 15:26, Nanditha Nandu 
>> escreveu:
>>
>>> Currently I'm Display the data in the following Format:
>>>
>>>
>>> Is there any way , where I will be able to display Data like:
>>>
>>> Component : ICS
>>> Material : value
>>> Serial : value
>>> Comments : value
>>>
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "GWT Users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to google-web-toolkit+unsubscr...@googlegroups.com.
>>> To post to this group, send email to google-we...@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/google-web-toolkit.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
> You received this message because you are subscribed to the Google Groups
> "GWT Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-web-toolkit+unsubscr...@googlegroups.com.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> Visit this group at https://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Hugo Haas
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-

Mobile: +55 (41) 99162-9439

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


initialize the object using flex Table contents

2019-04-11 Thread Nanditha Nandu
Hi,

Im new to GWT
I have a fields in Custom class as,
getName(), setName, getCity(), setCity() etc.

Im using Flex table to read the values from the user:

   FlexTable t = new FlexTable();
t.setText(0, 0, "Name");
t.setText(0, 1, "City"); 

t.setWidget(1, 0, new TextBox()); 
t.setWidget(1, 1, new TextBox());

And using flex table addrow() , so that mutiple details can be entered at 
the same time.

Now how to store the data entered by user to the object of my class..like 
c.setName() ..so that it can be easy to store in the database.

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: display using DataListProvider

2019-04-11 Thread Nanditha Nandu
Thanks. But how to display the contents using FlexTable can you please 
elaborate.

I have a List result as my query output.
where Hardware contains function like getName(), setName().. etc.

I'm new to GWT :)




On Thursday, April 11, 2019 at 12:05:43 AM UTC+5:30, Hugo Haas wrote:
>
> Run out of this component... try FlexTable, your life will be wonderfull.
>
>  
>
> Em qua, 10 de abr de 2019 15:26, Nanditha Nandu  > escreveu:
>
>> Currently I'm Display the data in the following Format:
>>
>>
>> Is there any way , where I will be able to display Data like:
>>
>> Component : ICS
>> Material : value
>> Serial : value
>> Comments : value
>>
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "GWT Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to google-web-toolkit+unsubscr...@googlegroups.com .
>> To post to this group, send email to google-we...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/google-web-toolkit.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


How to get the SuggestBox value

2019-04-11 Thread Nanditha Nandu
final SuggestBox  suggestionBox = new SuggestBox(suggestions);

where suggestions is the custom suggest words passed using 
MultiWordSuggestOracle

Im trying to get the value selected from the suggestions in the SuggestBox 
using below line:

 String text = suggestionBox.getTextBox().getValue();

But the value of text is " "

Please help.Thanks.

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.