Thursday, March 28, 2019

Re: How to Constrain the Width of a FlexTable

Hi JAppetta,

Just use below styling for flexTable and your issue would be solved:

table-layout:fixed; //Fixed table layout thus it would be restricted to max set table width like 100% of screen.
word
-wrap:break-word; //Wrap the text without truncating any string which would be inside table layout.

Thanks & BR,
Shubham Sonawane.

On Friday, 21 January 2011 20:46:21 UTC+5:30, JAppetta wrote:
John:
  Thank you for taking the time to examine my post. The suggestion you
offered works well for truncating the text. However, I
was looking to simply wrap the text onto the next line and that
doesn't happen when I set the tabel-layout property to fixed for the
FlexTable
and change the width to 100%. After noting that I experienced
truncation instead of wrap, I resumed my original settings and tried
setting the cell width to an exact value. The solution works if a
space occurs in the text before the column width is exceeded. However,
if I type a continuous stream of characters without a space, the table
grows to accommodate the characters instead of wrapping to the next
row.


On Jan 19, 10:13 am, John LaBanca <jlaba...@google.com> wrote:
> Set the "table-layout" CSS property to "fixed", then set the width of the
> table to 100%.  The content should be truncated.  You can also set the width
> of each column to an exact value.
>
> Thanks,
> John LaBanca
> jlaba...@google.com
>
>
>
> On Wed, Jan 19, 2011 at 9:30 AM, JAppetta <Jennifer.Appe...@sas.com> wrote:
> > I am attempting to limit the size of a FlexTable and its cell.
> > However, whenever an exceptionally large piece of text is added to the
> > cell, the table grows to accommodate this. Not a desirable action. I
> > want to limit the size of the table and have additional text be
> > displayed on following lines similar to as if I had newlines in the
> > text string.
>
> > Following the code that creates the main panel as well as the panels
> > added to the main panel. Note that an attempt is made to constrain the
> > width of the table (650 px) in the method and constrain the width of
> > the panel that contains the table in the .css (700 px).
>
> > Thanks for your help!
>
> > (Working with GWT 1.6)
>
> > ---------------------------------------------------------------------------­---------------------------------------------------------------------------­------------
>
> > private Panel createCommentsPanel() {
> > // create comments main panel
> > VerticalPanel mainCommentPanel = new VerticalPanel();
> > mainCommentPanel.setStyleName("mainCommentPanel");
>
> > Label commentsLabel = new Label("Comments:", false);
> > commentsLabel.setStyleName("createBuildLabel");
>
> > Label addCommentLabel = new Label("Add Comment:", false);
> > addCommentLabel.setStyleName("boldLabel90");
>
> > // comments table
> > String[] commentTypeHeaders = {"Comments" };
> > commentsTable = new FlexTable();
> > createFlexTable(commentsTable, commentTypeHeaders);
> > commentsTable.setWidth("650px");
>
> > // add button
> > VerticalPanel buttonPanel = new VerticalPanel();
> > buttonPanel.setStyleName("addCommentsButtonPanelPadding");
> > addCommentButton = new Button("Add Comment");
> > addCommentButton.setStyleName("addEditButtons");
> > addCommentButton.addClickHandler(this);
>
> > //call method to add the comments to the table
> > addCommentsToTable(buildModel.getCommentsList());
>
> > //add components to the panels
> > VerticalPanel Panel = new VerticalPanel();
> > Panel.setStyleName("commentsPanel1");
> > Panel.add(commentsTable);
> > Panel.add(addCommentButton);
>
> > mainCommentPanel.add(commentsLabel);
> > mainCommentPanel.add(Panel);
> > mainCommentPanel.add(buttonPanel);
>
> > return mainCommentPanel;
>
> > }
>
> > Following is the relevant .css
>
> > //the main panel that contains the labels and the panel that contains
> > the FlextTable. Width set to 100%
> > so as to be in sync with other panels of the application
> > .mainCommentPanel {
> >   border: 2px solid inset silver;
> >   width: 100%;
> >   height: 100%;
> >   background-color: #F0F0F0;
> > }
>
> > //the panel that contains the FlexTable. Note that the width is set to
> > 700px (slightly larger than the flex table width setting)
>
> > .commentsPanel1 {
> >  padding-top: 10px;
> >  padding-left: 25px;
> >  padding-bottom: 15px;
> >  width: 700px;
> >  height: 100%;
>
> > }
>
> > //padding around the button. Can't see how this would affect the table
> > but including for completeness
> > .addCommentsButtonPanelPadding {
> >   padding-bottom:10px:
> >   padding-left: 25px;
>
> > }
>
> > --
> > 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-we...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-web-toolkit+unsubscribe@googlegroups.com<google-web-toolkit%2Bunsubs­cribe@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.- Hide quoted text -
>
> - Show quoted text -

--
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+unsubscribe@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?

Java 11 language/syntax support has just been committed: https://gwt.googlesource.com/gwt/+/205b88a4d88cc0c23b2cd0df681a18d114443a7c

Currently in the GWT 2.x versions only minimal work will be done. Contributors focus their work on splitting GWT SDK into smaller pieces and make them J2CL compatible (new Java -> JS compiler from Google). This work is happening on Github and CI builds for most of these projects can be found at ci.vertispan.com.

GWT depends on contributors these days, so amount of commits can vary greatly, depending on the free time contributors have.

-- J.

--
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+unsubscribe@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?

It's very active. See https://gitter.im/gwtproject/gwt

-Nick

On 28 Mar 2019, at 13:28, carl.hostrander00@gmail.com wrote:

Hello all!  I am wondering how active this project is?  Don't see much action on the releases and comments. 

Another question I have is if this project is still active, when will Java 11 support be released?

Thanks  in advance,

Carl

--
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+unsubscribe@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.

Wednesday, March 27, 2019

Is this project active?

Hello all!  I am wondering how active this project is?  Don't see much action on the releases and comments. 

Another question I have is if this project is still active, when will Java 11 support be released?

Thanks  in advance,

Carl

--
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+unsubscribe@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: Migrating a css file into gwt uibinder

I never figured out how to add the @keyframes in the GWT resources.  As a workaround, you can add the CSS like you would a standard site.  Eg, in your index.html like this:
<style type="text/css">
 
@keyframes fadeIn {
   
0% { opacity: 0 }
   
100% { opacity: 1 }
 
}
</style>

Then in your ui.xml, you can just refer to it as normal.  Eg:
<div style="animation: fadeIn 1.5s linear;">blah</div>

Not an idea solution.  If anyone knows how to add @
keyframes to the resources, that would be very helpful.

--
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+unsubscribe@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.

Tuesday, March 26, 2019

Migrating a css file into gwt uibinder

I have a Display panel that contains an image that displays a gif spinner, however the spinner just doen't look great.
So want to replace the gif spinner with something else, well I found a css file that looks a lot more like what we expect. Question is how do I migrate the css spinner into my panel?

Existing code snippets
Panel.ui.xml
<ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder'
                         
xmlns:g='urn:import:com.google.gwt.user.client.ui'>
  <ui:style type='com.domain.Panel.Style'>
    .apwidth {
      width: 100%
    }
    .
    .
    .
  </ui:style>
  <g:HTMLPanel>
   
<g:HorizontalPanel addStyleNames='{style.apWidth}'>
     
<g:cell>
       
<g:Image ui:field='SpinnerUp'></g:Image>
     
</g:cell>
     
<g:Label ui:field='HardwareStat'>Sys 1</g:Label>
   
</g:HorizontalPanel>
  </g:HTMLPanel>
</ui:UiBinder>

Panel.java
class Panel extends Composite
{
   
private static final PanelUiBinder uiBinder = GWT.create(PanelUiBinder.class);

   
interface PanelUiBinder extends UiBinder<Widget, Panel>
   
{ }

   
interface Style extends CssResource
   
{
       
String grey();
       
String red();
       
String yellow();
   
}

   
@UiField
   
Style style;
   
@UiField
   
Image   SpinnerUp;
   
@UiField
   
Label   HardwareStat;

   
Panel
   
{
        initWidget
(uiBinder.createAndBindUi(this));

       
SpinnerUp.setUrl("images/load16.gif");
       
.
       
.
       
.
   
}
   
.
   
.
   
.
}



Want to integrate this:
from https://projects.lukehaas.me/css-loaders/
.loader {
  font-size: 10px;
  margin: 50px auto;
  text-indent: -9999em;
  width: 11em;
  height: 11em;
  border-radius: 50%;
  background: #ffffff;
  background: -moz-linear-gradient(left, #ffffff 10%, rgba(255, 255, 255, 0) 42%);
  background: -webkit-linear-gradient(left, #ffffff 10%, rgba(255, 255, 255, 0) 42%);
  background: -o-linear-gradient(left, #ffffff 10%, rgba(255, 255, 255, 0) 42%);
  background: -ms-linear-gradient(left, #ffffff 10%, rgba(255, 255, 255, 0) 42%);
  background: linear-gradient(to right, #ffffff 10%, rgba(255, 255, 255, 0) 42%);
  position: relative;
  -webkit-animation: load3 1.4s infinite linear;
  animation: load3 1.4s infinite linear;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
}
.loader:before {
  width: 50%;
  height: 50%;
  background: #ffffff;
  border-radius: 100% 0 0 0;
  position: absolute;
  top: 0;
  left: 0;
  content: '';
}
.loader:after {
  background: #0dc5c1;
  width: 75%;
  height: 75%;
  border-radius: 50%;
  content: '';
  margin: auto;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}
@-webkit-keyframes load3 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes load3 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}


I understand how to integrate up until the @-webkit

Any help is appreciated

--
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+unsubscribe@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.

Thursday, March 21, 2019

Re: [GWT] [ERROR] Hint: Check that your module inherits 'com.google.gwt.core.Core'

I know, it's been a while, did you find solution to this issue?

On Monday, May 4, 2015 at 1:55:23 PM UTC-7, Danish Khan wrote:
Thanks for your reply, I tried it, but it didn't fix the issue.

On Thursday, April 30, 2015 at 11:16:54 AM UTC-7, Nature Boy wrote:

When you are importing com.google.gwt.user.User in gwt.xml you are using single quote instead of double quote. This may be the reason.

On Apr 30, 2015 9:12 PM, "Danish Khan" <danishu...@gmail.com> wrote:
Hi guys, 

Any ideas/help with the following issue? 

Thanks. 

On Thursday, April 23, 2015 at 12:06:15 AM UTC-7, Danish Khan wrote:
Hi all, 

I am upgrading to GWT 2.7.0 / Smartgwt 5, and I am seeing the following error when I try to build it through maven: 

[GWT]    [ERROR] Hint: Check that your module inherits 'com.google.gwt.core.Core' either directly or indirectly (most often by inheriting module 'com.google.gwt.user.User')

Here is my gwt.xml. Please let me know if you have any suggestions to fix this error. 

<?xml version="1.0" encoding="UTF-8"?>
<module rename-to='dregtool'>
<inherits name='com.google.gwt.user.User'/> 
<inherits name="com.google.gwt.core.Core" />
<inherits name="com.google.gwt.user.History"/> 
<inherits name="com.dreg.tools.ui.GWTFramework" />
<inherits name="com.dreg.at.atcommon.ATCommon" />
<inherits name="com.dreg.at.atcommon.smartgwt.Components" />
<inherits name="com.gwtext.GwtExt" />
<inherits name="com.dreg.ajax.smartgwt.dregSmartGwt" />
<inherits name="com.googlecode.gchart.GChart" />
<inherits name="com.dreg.i18n.dregI18n" />

  <source path='ui'/>
  <stylesheet src='css/dreg-tool.css'/>
  <entry-point class='com.dreg.at.ui.Main'/>
 
  <set-property name="gwt.suppressNonStaticFinalFieldWarnings" value="true" />
  <add-linker name="xsiframe"/>
</module>

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-we...@googlegroups.com.
Visit this group at http://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+unsubscribe@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.

Sunday, March 17, 2019

[ANN] (Unofficial) Elemental2 1.0.0-b20-bfe6e22 release

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.


This is an unofficial release to Maven Central under a different groupId.
Please don't bug the original authors. Versions are released on demand.

The changes primarily involved
* Renaming some parameters to event callbacks
* Addition of some more modern javascript methods (i.e String.trimStart())
* A cleanup of the WebSocket API to align add all the features present standard WebIDL.

API Changes relative to Elemental2 version 1.0.0-b19-fb227e3

  3 non breaking changes.

  10 non breaking changes.
  12 potentially breaking changes.
  4 breaking changes.

The Maven dependencies can be added to your pom.xml via

    <dependency>
      <groupId>org.realityforge.com.google.elemental2</groupId>
      <artifactId>${artifact-id}</artifactId>
      <version>1.0.0-b20-bfe6e22</version>
    </dependency>

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+unsubscribe@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.

Friday, March 15, 2019

Snail Mail: Stop employee performance management

Slow Ventures Snail Mail

Stop Employee Performance Management


Friday, March 15, 2019

Happy new year and welcome to another edition of Snail Mail! Today we have an awesome piece from Founder & CEO of 15Five, David Hassel on what to do instead of employee performance management. 

Got forwarded this and want to subscribe? Go to https://slow.claims. 
🥇Stop Doing Employee Self Performance & Do This Instead! 

David Hassell is co-founder and CEO of 15Five, industry leading continuous performance management software that helps leaders and managers drive high performance by bringing out the best in their people. He also co-created the Best-Self Management methodology to help today's organizations create an environments where people can thrive and put their unique strengths and talents to work in service of a mission they believe in. Follow David him on Twitter @dhassell.

As the co-founder and CEO of 15Five, an employee performance management software platform, it may sound strange to hear me advocate against doing performance management. Let me explain.

Most organizations continue to do what's always been done, performance management practices like annual reviews that were developed over a century ago and came into vogue decades ago. But the world of work has changed dramatically and the most commonly practiced methods of leadership and management haven't kept pace.

These performance management practices are not merely ineffective, but have become increasingly counterproductive at producing the level of high performance and engagement companies are striving so hard to achieve. Companies continue struggling to attract, retain and maximize their people.

What isn't working

Today's environment is dramatically different. Josh Bersin, a key analyst in the HR technology space recently summed it up by saying, "Today more than 85% of stock market capitalization is intellectual property, brand, services, and software so every person matters." What organizations need most are people who are tapped into their greatest gifts and strengths, who are passionate, committed to the mission, loyal and who are able to express genius-level performance through their work.

One of the tools I often share is the concept of ELTV (Employee Lifetime Value, which was introduced to me by Greenhouse).  We all have fixed and sunk costs for recruiting each new employee.  Each time someone leaves, there's a disruption to the business while we have to go out and recruit a replacement, and negative value that's being created if there's any gap before we find that replacement and while they're ramping up.

What if we were able to shorten the time to ramp, increase the contribution each person is able to make during their tenure, and retain them much, much longer?  I believe that not only is this possible, but the very same thing that would have someone contribute more is what has them want to stick around longer.

Don't just manage performance, inspire greatness

By supporting people in being and becoming their best selves, higher and ever increasing performance becomes a natural by-product, not to mention uncommon levels of passion, commitment, and loyalty — qualities less and less often associated with the average person's experience of work.

The Best-Self Management philosophy and methodology allows you to address the hidden factors that stimulate sustainable growth and development in each employee to in turn help your company become far more successful than you had ever thought possible. What do I mean by hidden factors? Every individual and every group of people have both a being state (which is largely internal/invisible) and a doing state (which is largely external/visible).  Here are some examples:

 


We define Best-Self Management in two parts. First, it's about creating a culture that brings out the best in who your people are today. This is an important distinction, because there's nowhere anyone needs to get to. Your people are already great. They have natural talents and strengths, and positive qualities that can be more readily expressed given the right environment.

Second, it's about supporting people in learning, growing, developing, evolving and becoming their best over time. We're all works in progress. We all have a unique set of talents, passions and perspectives. When we take the time to understand what those are, and give someone the opportunity to align their work with those talents and passions such that they're able to make the greatest contribution possible, they can't help but grow quickly.

In the interest of brevity, I'll cut to the chase around what you can start doing to implement each of the key Best-Self Management practices below, which act like an iterative loop to continually support each employee on their journey during their tenure at your company. You can also read the entire manifesto here, and sign up for our management trainings when they become available later in 2019.

 
  1. Managers need to initiate a Best-Self Discovery process with each of their direct reports. This helps employees self-reflect and get reflections from peers and other assessments to better understand what drives them, what their strengths are, and then clarify this into a statement for themselves around their potential Unique Ability or Zone of Genius.
  1. Managers support each employee in setting at least one Personal Development Objective alongside their business Objectives (OKRs) during each quarter, or other period of time for which you set goals. Learning and growth never ends, and everyone needs to be focused on leaning into their next growth edge.
  1. Managers engage in some form of weekly check-in. This can be done asynchronously and in a lightweight manager but it is essential. Employees need a place to regularly share their successes, challenges, progress on goals/OKRs, weekly priorities, and peer appreciation, and receive coaching and feedback along the way. This is the core of the 15Five product, and whether you use 15Five or not, this piece is critical.
  1. Managers perform regular 1-on-1 meetings (ideally in person, or via video with distributed teams) to go deeper on key issues that are often surfaced through the weekly check-in. I personally like a cadence of every other week, but these can range from as frequently as weekly to as infrequently as once per month.
  1. Managers perform regular Best-Self Reviews. This is our take on reframing the outdated annual performance review as an opportunity to support someone in being and becoming their best self, where high performance is the natural by-product. While we still advocate measuring and providing feedback on performance, we put a high degree of attention on helping to reflect and refine a person's strengths, and continue to focus them on their own personal growth and development journey.

If you're a leader, all of the above requires you to genuinely and authentically care about your people, and care about them thriving in their whole lives, not just their work lives. When you activate the strategies and practices I've outlined above, you have the opportunity to create an uncommonly powerful environment where your people can produce extraordinary results.
😋 Food for thought

Want moar? Check us out on:
Facebook, Twitter, Medium or our Website

Signup for Snail Mail Newsletters at  http://slow.claims
Our mailing address is:
1006 Kearny St, San Francisco, CA 94133

Don't Want These Emails?
unsubscribe from this list
 

Donate BTC: 3BJW4B6GGpoQrjeom6RpVtkza3XPw2qjoK
Donate ETH: 0xD7599b3D15805aDF3144676914964e8fff53C925