Re: Migrating a css file into gwt uibinder

2019-03-27 Thread Craig Mitchell
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:

  @keyframes fadeIn {
0% { opacity: 0 }
100% { opacity: 1 }
  }


Then in your ui.xml, you can just refer to it as normal.  Eg:
blah

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


Migrating a css file into gwt uibinder

2019-03-27 Thread Gary Barnes
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 

  
.apwidth {
  width: 100%
}
.
.
.
  
  

  

  
  Sys 1

  


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

interface PanelUiBinder extends UiBinder
{ }

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: -em;
  width: 11em;
  height: 11em;
  border-radius: 50%;
  background: #ff;
  background: -moz-linear-gradient(left, #ff 10%, rgba(255, 255, 255, 
0) 42%);
  background: -webkit-linear-gradient(left, #ff 10%, rgba(255, 255, 
255, 0) 42%);
  background: -o-linear-gradient(left, #ff 10%, rgba(255, 255, 255, 0) 
42%);
  background: -ms-linear-gradient(left, #ff 10%, rgba(255, 255, 255, 0) 
42%);
  background: linear-gradient(to right, #ff 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: #ff;
  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+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: How to get autocomplete of CSS3 properties on Eclipse inside the ui:style tag of GWT UiBinder?

2015-07-16 Thread Gilberto
Well, after more than one month I asked this question on StackOverflow I 
still got no answers.

It must be something so stupid to find out that no one took the time to 
answer it.

Oh well...

I'll keep using the old CSS2 content assist on Eclipse till the UiBinder is 
dead on 3.0.

On Tuesday, June 23, 2015 at 3:17:48 PM UTC-3, Gilberto wrote:

 (Cross-posted from StackOverflow: 
 http://stackoverflow.com/questions/30823483/how-to-get-autocomplete-of-css3-properties-on-eclipse-inside-the-uistyle-tag
  
 - I got 0 answers and comments there so far)

 I can enable autocomplete of CSS3 properties for .css and .gss files on 
 Eclipse by following this answer 
 https://www.eclipse.org/forums/index.php?t=msgth=783118goto=1388492#msg_1388492
  
 by Nitin DahyabhaiFriend:

 The default profile in Luna is still CSS2. Bring up the *Properties* 
 dialog for your web project and you can change the default CSS profile for 
 that project on the *Web Content Settings* page. If the CSS file is not 
 in a web project, or if you don't want to use the project default, you can 
 also set it using the file's *Properties* dialog (also *Web Content 
 Settings* page).

 ... but that doesn't enable the autocompletion of CSS3 properties (such as 
 background-position, border-radius and so on) inside *.ui.xml files (GWT 
 UiBinder). For example:


 ui:style
 .randomStuff {
 background-repeat: no-repeat;
 background-position: center;
 background-s ctrl+space... no luck!
 }/ui:style

 How can I enable autocomplete of CSS3 inside those files?



-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: How to get autocomplete of CSS3 properties on Eclipse inside the ui:style tag of GWT UiBinder?

2015-07-16 Thread Jens
*.ui.xml files have their own UiBinder editor in Eclipse provided by the 
GPE plugin. It might be that your Eclipse settings regarding CSS simply do 
not take effect in that editor.

As a workaround you could probably avoid using ui:style inline styles and 
instead create a *.gss file for it, ui:style src=style.gss /. Then you 
might need to tell Eclipse that *.gss are actually css files which sounds 
doable (I use IntelliJ so I don't know out of my head if that is possible 
in eclipse)

-- J.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: How to get autocomplete of CSS3 properties on Eclipse inside the ui:style tag of GWT UiBinder?

2015-07-16 Thread Gilberto
Thanks Jens for the answer.

Ok, I was missing the GWT DIY Policy™ on this one =)

I'll take a look and update this thread and the StackOverflow question if I 
get something.

On Thursday, July 16, 2015 at 3:07:52 PM UTC-3, Jens wrote:

 You could also use the open source fork of GPE

 https://github.com/gwt-plugins/gwt-eclipse-plugin

 and figure out how to patch it to provide CSS 3 autocompletion.

 -- J.


-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: How to get autocomplete of CSS3 properties on Eclipse inside the ui:style tag of GWT UiBinder?

2015-07-16 Thread Gilberto
Issue reported: https://github.com/gwt-plugins/gwt-eclipse-plugin/issues/79

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: How to get autocomplete of CSS3 properties on Eclipse inside the ui:style tag of GWT UiBinder?

2015-07-16 Thread Jens
You could also use the open source fork of GPE

https://github.com/gwt-plugins/gwt-eclipse-plugin

and figure out how to patch it to provide CSS 3 autocompletion.

-- J.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


How to get autocomplete of CSS3 properties on Eclipse inside the ui:style tag of GWT UiBinder?

2015-06-23 Thread Gilberto
(Cross-posted from StackOverflow: 
http://stackoverflow.com/questions/30823483/how-to-get-autocomplete-of-css3-properties-on-eclipse-inside-the-uistyle-tag
 
- I got 0 answers and comments there so far)

I can enable autocomplete of CSS3 properties for .css and .gss files on 
Eclipse by following this answer 
https://www.eclipse.org/forums/index.php?t=msgth=783118goto=1388492#msg_1388492
 
by Nitin DahyabhaiFriend:

The default profile in Luna is still CSS2. Bring up the *Properties* dialog 
for your web project and you can change the default CSS profile for that 
project on the *Web Content Settings* page. If the CSS file is not in a web 
project, or if you don't want to use the project default, you can also set 
it using the file's *Properties* dialog (also *Web Content Settings* page).

... but that doesn't enable the autocompletion of CSS3 properties (such as 
background-position, border-radius and so on) inside *.ui.xml files (GWT 
UiBinder). For example:


ui:style
.randomStuff {
background-repeat: no-repeat;
background-position: center;
background-s ctrl+space... no luck!
}/ui:style

How can I enable autocomplete of CSS3 inside those files?

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


How to Add inner class which returns the Widget in GWT UiBinder

2015-04-28 Thread Abdul


I am Using GWT UiBinder for creating custom component.Main class(Table 
uibinder) will create custom component table with pager,See below code

*Table.ui.xml:*

ui:UiBinder xmlns:item=urn:import:com.example.ui.widgets.item
g:HTMLPanel 
item:CustomGrid ui:field=table/item:CustomGrid
item:Pager ui:field=pager /item:Pager
/g:HTMLPanel
/ui:UiBinder

*Table.java:*

package com.example.ui.widgets.item;
public class Table extends Composite{
private static TableUiBinder uiBinder = GWT.create(TableUiBinder.class);

interface TableUiBinder extends
UiBinderWidget, CustomGrid {
}

@UiField CustomGrid grid;
@UiField Pager pager;

public Table() {
initWidget(uiBinder.createAndBindUi(this));
}

class CustomGrid extends CellTable{
//create custom celltable 
}

class Pager{
//Pagination code
}
}

How to access(add) the Inner Class CustomGrid  Pager in UiBinder?What is 
syntax ?Any Suggestion

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: How to Add inner class which returns the Widget in GWT UiBinder

2015-04-28 Thread Abdul
Any Suggestion on this?

On Tuesday, April 28, 2015 at 6:06:11 PM UTC+5:30, Abdul wrote:

 I am Using GWT UiBinder for creating custom component.Main class(Table 
 uibinder) will create custom component table with pager,See below code

 *Table.ui.xml:*

 ui:UiBinder xmlns:item=urn:import:com.example.ui.widgets.item
 g:HTMLPanel 
 item:CustomGrid ui:field=table/item:CustomGrid
 item:Pager ui:field=pager /item:Pager
 /g:HTMLPanel
 /ui:UiBinder

 *Table.java:*

 package com.example.ui.widgets.item;
 public class Table extends Composite{
 private static TableUiBinder uiBinder = 
 GWT.create(TableUiBinder.class);

 interface TableUiBinder extends
 UiBinderWidget, CustomGrid {
 }

 @UiField CustomGrid grid;
 @UiField Pager pager;

 public Table() {
 initWidget(uiBinder.createAndBindUi(this));
 }

 class CustomGrid extends CellTable{
 //create custom celltable 
 }

 class Pager{
 //Pagination code
 }
 }

 How to access(add) the Inner Class CustomGrid  Pager in UiBinder?What is 
 syntax ?Any Suggestion


-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: TinyMCE GWT UIBinder finally displayed correctly, but colorpicker's colors and font-dropdown-menu's fonts are not clickable

2012-09-25 Thread daniel shmaya
is any body have solution to this problem? 
I have the exact problem when using it under gwt dialog box,
BTW when using gxt dialog this problem doesn't occurred

בתאריך יום חמישי, 15 בספטמבר 2011 18:19:57 UTC+3, מאת Maxim Schäfner:

 Hello, 

 I'm still searching for a maybe better solution for implementing of 
 TinyMCE in GWT UiBinder (as other discussion created by me). Now I 
 managed somehow through deferredCommand to get my TinyMCE in an div 
 from uibinder-composite, and the whole configuring and so on of that 
 editor works. And as I thought that I finally made it, because 
 operations like bold or italic worked, suddenly I saw when I 
 wanted to change the font/fontsize oder textcolor...the operations 
 showed me per dropdownlists and colortables that I could change the 
 text in the editor, but when I click on one of that entries, nothing 
 happens/is applied...and I don't know why. When I do the same 
 procedure in my index.jsp in the html body-tag in a div too, inserted 
 TinyMCE, then it is possible to click on the entries in this other 
 TinyMCE instance. I have already tried everything, but I'm still not 
 able to click on that entries in my TinyMCE which was placed on a div 
 in an uibinder composite. I would be grateful if someone could give a 
 hint or something. Thank you. 

 Regards, 
 Maxim


-- 
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/-/6fqCEV1bja8J.
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 UIBINDER LOADING .js

2012-05-17 Thread Omar Rodriguez
HI people,
I'm looking for some help, or any tutorial about  loading a javascript
file to my uibinder xml.

the situation is this, i´m creating custom html forms with dreamweaver
and puting them into my uibinder xml at my gwtp project, i'm trying to
load the .js creating a clientbundle but the .js doesn't load in the
app...the info that i found is very poor.  Thanks for 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.



Re: GWT UIBINDER LOADING .js

2012-05-17 Thread Carlos Alexandro Becker
I dont know if you can do this, but you can inject javascript via java code.

Take a look at this: 
https://github.com/gwtbootstrap/gwt-bootstrap/blob/master/src/main/java/com/github/gwtbootstrap/client/ui/resources/JavaScriptInjector.java

See ya


On Wednesday, May 16, 2012 8:43:45 PM UTC-3, Omar Rodriguez wrote:

 HI people, 
 I'm looking for some help, or any tutorial about  loading a javascript 
 file to my uibinder xml. 

 the situation is this, i´m creating custom html forms with dreamweaver 
 and puting them into my uibinder xml at my gwtp project, i'm trying to 
 load the .js creating a clientbundle but the .js doesn't load in the 
 app...the info that i found is very poor.  Thanks for help.

-- 
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/-/TNEia9wjLIIJ.
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 UIBINDER LOADING .js

2012-05-17 Thread Thomas Broyer


On Thursday, May 17, 2012 6:23:57 PM UTC+2, Carlos Alexandro Becker wrote:

 I dont know if you can do this, but you can inject javascript via java 
 code.

 Take a look at this: 
 https://github.com/gwtbootstrap/gwt-bootstrap/blob/master/src/main/java/com/github/gwtbootstrap/client/ui/resources/JavaScriptInjector.java


Or without the need for a third-party lib or some 
copy/pasting: 
http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/core/client/ScriptInjector.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/-/iKaW8fnNm6IJ.
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 UIBinder remember username password

2012-04-12 Thread Markandayarushi Pamu
Thx for the reply ..

Same things I am doing ...I put the hidden textboxes username and
password in my jsp page which is the first page of my application.

But still same problem I am facing .it is asking the
prompt to remember password, but when I type user name it is not
picking the remember password.

That is my exact problem ..

Rushi



On Mar 13, 9:24 pm, Joseph Lust lifeofl...@gmail.com wrote:
 Markandayarushi Pamu,

 This is a common issue on dynamically generated webapp content. Basically,
 the browser looks for a form with name 'password', as a password input, and
 any other fields like 'email' or 'username.' If they are found, the browser
 offers to remember them when they are posted. However, to refill them, the
 browser checks *at load time* for the fields. Because technologies like
 ExtJs and GWT insert these items into the DOM dynamically, those fields are
 not found by the browser at the instant of loading.

 To correct this, I hardcode the form and fields into the header (hidden
 from the user). Then, when the login form initializes, it checks this
 hidden form and copies the values from it if finds any.

 You can see the login form of my site,http://www.runpartner.com, which
 uses this method to get the credentials remembered and prefilled.

 Sincerely,
 Joe

-- 
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 UIBinder remember username password

2012-03-13 Thread Joseph Lust
Markandayarushi Pamu,

This is a common issue on dynamically generated webapp content. Basically, 
the browser looks for a form with name 'password', as a password input, and 
any other fields like 'email' or 'username.' If they are found, the browser 
offers to remember them when they are posted. However, to refill them, the 
browser checks *at load time* for the fields. Because technologies like 
ExtJs and GWT insert these items into the DOM dynamically, those fields are 
not found by the browser at the instant of loading.

To correct this, I hardcode the form and fields into the header (hidden 
from the user). Then, when the login form initializes, it checks this 
hidden form and copies the values from it if finds any.

You can see the login form of my site, http://www.runpartner.com, which 
uses this method to get the credentials remembered and prefilled.

Sincerely,
Joe

-- 
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/-/GUHV9hZMc8wJ.
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 UIBinder remember username password

2012-03-12 Thread JoyaleXandre
What is exactly your problem? Your login interface is not remembering the 
user's password?

Le mercredi 7 mars 2012 05:39:20 UTC-5, Markandayarushi Pamu a écrit :

 g:FormPanel method=post action=javascript:; 
 ui:field=formPanel 
 g:HTMLPanel 
 div class=fm-login-ui-form-panel 
 id=login-ui-form-panel-id 
 div class=fm-login-info-msg 
 fm-label 
 ui:msg 
 key=loginInfoMessageUse your 
 Aconex Login Name 
 and Password/ui:msg 
 /div 
 div 
 class=fm-login-ui-form-header-panel id=login-ui-form- 
 header-panel-id 
 div 
 class=fm-login-ui-form-header-label fm-label 
 ui:msg 
 key=loginInputFormHeaderMessageLogin to 
 Field 
 Manager/ui:msg 
 /div 
 /div 
 g:HTMLPanel 
 styleName=fm-login-ui-form-top-error-panel 
 ui:field=topErrorPanel 
 g:Label 
 ui:field=errorLabelOnTop 
 
 styleName=fm-error-message-label 
 fm-validation-message-label 
 fm-login-ui-form-top-error-label fm-labelnbsp; /g:Label 
 /g:HTMLPanel 
 div class=fm-panel-username 
 id=panel-username-id 
 div class=fm-label-login 
 fm-label id=fm-label-login 
 ui:msg 
 key=loginNameLogin Name/ui:msg 
 /div 
 g:TextBox 
 styleName=fm-textbox fm-textbox-login 
 
 ui:field=userNameTextBox 
 name=loginname / 
 /div 
 div class=fm-panel-password 
 id=panel-password-id 
 div 
 class=fm-password-label-and-field-panel id=password- 
 label-and-field-panel-id 
 div 
 class=fm-label-password fm-label id=fm-label-password 
 ui:msg 
 key=passwordPassword/ui:msg 
 /div 
 g:PasswordTextBox 
 styleName=fm-textbox fm-textbox-password 
 
 ui:field=passwordTextBox 
 name=password / 
 /div 
 /div 
 div 
 class=fm-login-ui-form-bottom-error-panel id=login-ui- 
 form-bottom-error-panel-id 
 g:Label 
 ui:field=errorLabelOnBottom 
 
 styleName=fm-mandatory-error-message 
 fm-login-ui-form-bottom- 
 error-label fm-labelnbsp; /g:Label 
 /div 
 div 
 class=fm-login-ui-form-login-button id=login-ui-form- 
 login-button-id 
 g:SubmitButton 
 styleName=fm-button fm-button-primary fm-button- 
 login 
 
 ui:field=loginButton 

 ui:msg 
 key=loginButtonLogin/ui:msg 
 /g:SubmitButton 
 /div 
 div 
 class=fm-login-ui-form-forgot-password-panel id=login-ui- 
 form-forgot-password-panel-id 
 g:Anchor 
 ui:field=forgotPasswordLink 
 
 styleName=fm-login-ui-form-forgot-password-link 

 ui:msg 
 key=loginInputFormForgotPasswordMessageForgot your 
 password?/ui:msg 
 /g:Anchor 
 /div 
 /div 
 /g:HTMLPanel 
 /g:FormPanel 

 And in java file 

formPanel.addSubmitHandler(submitHandler); 



 Please help me how to solve this problem.. 






-- 
You received this message because you are subscribed to the 

GWT UIBinder remember username password

2012-03-07 Thread Markandayarushi Pamu
g:FormPanel method=post action=javascript:;
ui:field=formPanel
g:HTMLPanel
div class=fm-login-ui-form-panel 
id=login-ui-form-panel-id
div class=fm-login-info-msg fm-label
ui:msg 
key=loginInfoMessageUse your
Aconex Login Name and 
Password/ui:msg
/div
div 
class=fm-login-ui-form-header-panel id=login-ui-form-
header-panel-id
div 
class=fm-login-ui-form-header-label fm-label
ui:msg 
key=loginInputFormHeaderMessageLogin to
Field 
Manager/ui:msg
/div
/div
g:HTMLPanel 
styleName=fm-login-ui-form-top-error-panel
ui:field=topErrorPanel
g:Label 
ui:field=errorLabelOnTop

styleName=fm-error-message-label fm-validation-message-label
fm-login-ui-form-top-error-label fm-labelnbsp; /g:Label
/g:HTMLPanel
div class=fm-panel-username 
id=panel-username-id
div class=fm-label-login 
fm-label id=fm-label-login
ui:msg 
key=loginNameLogin Name/ui:msg
/div
g:TextBox 
styleName=fm-textbox fm-textbox-login

ui:field=userNameTextBox name=loginname /
/div
div class=fm-panel-password 
id=panel-password-id
div 
class=fm-password-label-and-field-panel id=password-
label-and-field-panel-id
div 
class=fm-label-password fm-label id=fm-label-password
ui:msg 
key=passwordPassword/ui:msg
/div
g:PasswordTextBox 
styleName=fm-textbox fm-textbox-password

ui:field=passwordTextBox name=password /
/div
/div
div 
class=fm-login-ui-form-bottom-error-panel id=login-ui-
form-bottom-error-panel-id
g:Label 
ui:field=errorLabelOnBottom

styleName=fm-mandatory-error-message fm-login-ui-form-bottom-
error-label fm-labelnbsp; /g:Label
/div
div 
class=fm-login-ui-form-login-button id=login-ui-form-
login-button-id
g:SubmitButton 
styleName=fm-button fm-button-primary fm-button-
login
ui:field=loginButton
ui:msg 
key=loginButtonLogin/ui:msg
/g:SubmitButton
/div
div 
class=fm-login-ui-form-forgot-password-panel id=login-ui-
form-forgot-password-panel-id
g:Anchor 
ui:field=forgotPasswordLink

styleName=fm-login-ui-form-forgot-password-link
ui:msg 
key=loginInputFormForgotPasswordMessageForgot your
password?/ui:msg
/g:Anchor
/div
/div
/g:HTMLPanel
/g:FormPanel

And in java file

   formPanel.addSubmitHandler(submitHandler);



Please help me how to solve this problem..




-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: gwt uibinder in an abstract parent class

2011-12-08 Thread Ed
Realize that you are making yourself lazy at the cost of not-lazy code.
That is: all will be constructed in the constructor.

Try to make a difference between screen and not-screen components/classes. 
Screen components contain the GWT stuff containing the heavy stuff and 
should be created as late as possible, that is: only when they appear on 
the screen.

For one component the above will be ok, but it's hard to tell how you will 
use it in the near future.

Even do you you might create the above lazily and only when needed, I would 
still never put an initWidget() method in my constructor: the constructor 
should be light weight (general sun rule), and you make the code 
unit-testable if you don't put this method in the constructor.
I use my own SimpleComposite base class that extends from Composite that 
will automatically create the widget subclass when needed - real lazy 
loading (I think the  SimpleComposite class appears in the issue tracker).

- Ed

-- 
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/-/Tv8S2xsruZYJ.
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 uibinder in an abstract parent class

2011-12-08 Thread Hilco Wijbenga
On 8 December 2011 02:18, Ed post2edb...@gmail.com wrote:
 Even do you you might create the above lazily and only when needed, I would
 still never put an initWidget() method in my constructor: the constructor
 should be light weight (general sun rule), and you make the code
 unit-testable if you don't put this method in the constructor.
 I use my own SimpleComposite base class that extends from Composite that
 will automatically create the widget subclass when needed - real lazy
 loading (I think the  SimpleComposite class appears in the issue tracker).

It would be great if I didn't have to put initWidget() in the
constructor (so that, like you say, unit tests become much easier) but
how would that work then? I suppose you have some sort of init()
method? How does that get called then?

Moreover, in Composite it says All composites must call initWidget()
in their constructors.. You have encountered no difficulties not
having initWidget() in the constructor?

-- 
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 uibinder in an abstract parent class

2011-12-08 Thread Ed Bras
 Moreover, in Composite it says All composites must call initWidget() in
their constructors.
Yes, and you should if you extend directly from Composite, because
Composite doesn't contain any lazy loading behavior.

But the SimpleComposite contains lazy loading behavior and will
automatically ask your subclass to create the widget when required.
I have attached the SimpleComposite class, just extends from it and
implement the create method..
I use it for years with success in several large gwt projects.

To go one step further and make your widget better testable (my other
remark above), I use a SimpleIsWidget class that extends from GWT IsWidget
interface and can be created outside GWT (instead of classes that extend
from Widget like Composite). I contains all the widget presentation logic
that can be tested.
For details, see this post:
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/87030a9ae66fe012/

I you take testing in to account right from the beginning and setup your
widget testing-friendly, it will cost you a lot of work afterwards when
testing becomes more important (my experience)...

- Ed

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



SimpleComposite.java
Description: Binary data


gwt uibinder in an abstract parent class

2011-12-07 Thread JC Tierney
i'm wondering if there's a way to build the gwt uibinder logic into an
abstract parent class so that i don't have to repeat the code in every
class i want to bind.

for example, i'd like to be able to do something like this:

public abstract class BasePanelPanel extends BasePanel extends
Composite {
interface BinderBinderPanel extends BasePanel extends
UiBinderWidget, BinderPanel { }
private static final Binder binder =
GWT.create(BinderPanel.class);

public BasePanel() {
initWidget(binder.createAndBindUi(this));
init();
}
}

basically this would allow any child classes to do something like
this:

public MyPanel extends BasePanelMyPanel {
//my code here
}

the default constructor would take care of all the code to bind
MyPanel to MyPanel.ui.xml.

basically i want to be lazy and only have to build the interface and
the binder once so that it's done in a common way. thoughts?

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: gwt uibinder in an abstract parent class

2011-12-07 Thread Ashton Thomas
I do something very similar for a very important/complex part of my app. 
Not out of laziness but just because it's a goo way to keep things DRY. I 
use an abstract parent class which actually binds the UiBinder and then has 
some abstract methods that are different for subclasses.

I'm not sure how you are using the generic Panel ext MyPanel in the example 
above. you could probably leave that out

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



convert javascript element into gwt uibinder widget

2011-10-08 Thread Luke
how to convert javascript element into gwt uibinder widget


public static CustomWidget wrap(Element element) {
assert Document.get().getBody().isOrHasChild(element);

CustomWidget customWidget = new CustomWidget(element);


 System.out.println(eachItineraryWidget.getWidget()); //
widget is null  , how to set widget as i'm using uibinder


eachItineraryWidget.onAttach();
RootPanel.detachOnWindowClose(eachItineraryWidget);

return customWidget;
  }


public CustomWidget(Element element){

   setElement(element);

}

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



TinyMCE GWT UIBinder finally displayed correctly, but colorpicker's colors and font-dropdown-menu's fonts are not clickable

2011-09-15 Thread Maxim Schäfner
Hello,

I'm still searching for a maybe better solution for implementing of
TinyMCE in GWT UiBinder (as other discussion created by me). Now I
managed somehow through deferredCommand to get my TinyMCE in an div
from uibinder-composite, and the whole configuring and so on of that
editor works. And as I thought that I finally made it, because
operations like bold or italic worked, suddenly I saw when I
wanted to change the font/fontsize oder textcolor...the operations
showed me per dropdownlists and colortables that I could change the
text in the editor, but when I click on one of that entries, nothing
happens/is applied...and I don't know why. When I do the same
procedure in my index.jsp in the html body-tag in a div too, inserted
TinyMCE, then it is possible to click on the entries in this other
TinyMCE instance. I have already tried everything, but I'm still not
able to click on that entries in my TinyMCE which was placed on a div
in an uibinder composite. I would be grateful if someone could give a
hint or something. Thank you.

Regards,
Maxim

-- 
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 + UIBinder

2011-08-25 Thread Yuri C
Having the same issue here. I can create classes with MVP wizard but
can't create a UiBinder Dialog. Those created with MVP wizard can be
edited with WindowBuilder though it only creates the composite not
dialog.

Ubuntu 64bit, 11.04
Java 1.6.0_26-b03
Eclipse 3.7
GWT 2.3

Everything is up-to-date.

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



WindowBuilderPro GwtJavaUI Composite and GWT UiBinder Composite

2011-08-17 Thread Luc
It's kind of newbie question..

I can't figure out how WindowBuilder manages panels in design view for
GWT Java UI and GWT UiBinder.
Everything seems fine when I follow the instructions in this tutorial
(http://code.google.com/javadevtools/wbpro/tutorials/
loginmanager.html), but when I try to do the same with UiBinder
(WindowBuilder  GWT Designer  GWT UiBinder  Composite) things're
getting complicated..
Adding title label and FlexTable into VerticalPanel is
straightforward. Then I should add some widgets onto FlexTable but I
can't. I don't understand why?
Moreover I've noticed that FlowPanel doesn't let to put Label and
another Label or TextBox in the same row, which for me is strange..

I would be grateful for any suggestions..

-- 
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: WindowBuilderPro GwtJavaUI Composite and GWT UiBinder Composite

2011-08-17 Thread Eric Clayberg
The tutorial you are referring to is for GWT Java, not UiBinder.

FlexTables don't allow children in UiBinder, so you can't add them in the 
design view either.

-- 
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/-/IsKUdjsi9DgJ.
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 UiBinder - Overload with added method when parameter is 'string'

2011-08-11 Thread vadim_kolesni...@epam.com
Please help me!


MyBaseTabPanel.java has a method:

...
public void setTabPosition(TabPosition tabPosition) {
this.tabPosition = tabPosition;
updateStyles();
}
...

MyTabPanel.java extends MyBaseTabPanel.java and overload method
'setTabPosition':

public class MyTabPanel extends MyBaseTabPanel {
...
public void setTabPosition(String tabPosition) {

this.setTabPosition(TabPosition.valueOf(tabPosition.toUpperCase()));
}
...
}

Form.ui.xml:

...
my:MyTabPanel tabPosition=bottom
...
/my:MyTabPanel
/ui:UiBinder

But this fails!
[ERROR] Cannot parse value: bottom as type TabPosition
[ERROR] Cannot parse attribute tabPosition Element sbgwt:GxtTabPanel
tabPosition='bottom' (:14)

But if move one of the overload method in MyBaseTabPanel or MyTabPanel
then it works
Why?

-- 
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 UiBinder @UiTemplate location

2011-07-11 Thread Maxim Schäfner
Hi,
for the last weeks as we using GWT and its UiBinder mechanism, we put
the .ui.xml files in the same directory where the counterpart .class
files are. It worked always as we wished it to do. Now we want to have
multiple .ui.xml files to exist in different packages, but not as
subdirectories of the uibinder foo.class file directory. So we use the
@UiTemplate annotation to get the uibinder foo.ui.xml file. As the
documentation says, we put in the path referring the desired .ui.xml.
But for some reason, when we insert a ../ to CD to parent
directories, Eclipse accept this, but the GWT compiler replaces all
dots with slashes. So when we do that, the result of a given path e.g.
../../foo/hoo.ui.xml is //foo/hoo.ui.xml, what the
UiBinderGenarator cannot find by giving us the following compiler
error:
Invoking generator com.google.gwt.uibinder.rebind.UiBinderGenerator
   [ERROR] Unable to find resource:  //foo/ho...

Is this a security mechanism? When we try to set a absolute path (e.g.
com.proj.client.A.foo.hoo.ui.xml), both Eclipse and GWT can't find the
ui.xml.
In the sources of the UiBinderGenerator I can see, that all dots are
replaced by slashes, for which reason this is done?
Package structure we want:

client .class files:

com.proj.client.classes.foo
L hoo.java

client .ui.xml files:

com.proj.client.A.foo
L hoo.ui.xml

foo.java:

@UiTemplate(../../A/foo.ui.xml)

proj.gwt.xml:

!-- Specify the paths for translatable code  --
source path='client/classes' /
source path='client/A' /

Why our plan doesn't work? Do we forget something?
Thank you.
Regards, Maxim

-- 
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 use custom font on gwt uibinder?

2011-07-02 Thread Bryan Lim
Hi,

If i have a ttf, how can i use it on uibinder?

I placed it in font directory in my war and inserted the following line in
html.

link href='font/LobersterTwo-Regular.ttf' rel='stylesheet' type='text/css'



but it doesn't work.


any advice?

-- 
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 + UIBinder

2011-07-01 Thread Eric Clayberg
What other versions of GWT do you have installed locally?

What version of GWT is being used with this project? It would be
helpful to see the project classpath.

What happens if you create a new Web Application Project using the GPE
and then use the GWT  UiBinder wizard?

On Jun 30, 2:51 pm, Mike Dee mdichiapp...@cardeatech.com wrote:
 OK, I just started from scratch and got the same error.  I first
 installed Eclipse 3.6.2 (J2EE edition), then installed WindowBuilder,
 and then theGWTand GAE plugins.  I have a blank Eclipse workspace
 and tried to create a new project by selected File-New-Other.  In
 the dialog I selected WindowBuilder-GWTDesigner-GWTUiBinder-

 Composite.

 The following error appears: You need at leastGWT2.1M4 for UiBinder
 visual editing.   It doesn't let me proceed any further.

 Eclipse shows the following installed software:
   Eclipse IDE for Java EE Developers    1.3.2.20110218-0812
   Google App Engine Java SDK 1.5.1      1.5.1.r36v201106211634
   Google Plugin for Eclipse 3.6 2.3.2.r36v201106211634
   Google Web Toolkit SDK 2.3.0  2.3.0.r36v201105191508
  GWTDesigner 2.3.2.r36x201106201114
  GWTDesignerCore     2.3.2.r36x201106161117
  GWTDesignerEditor   2.3.2.r36x20110620
   WindowBuilder Core    1.0.0.r36x20110616
   WindowBuilder Core Documentation      1.0.0.r36x201106161114
   WindowBuilder Core UI 1.0.0.r36x201106161114
   WindowBuilder CSS Support     1.0.0.r36x201106161113
   WindowBuilder GroupLayout Support     1.0.0.r36x201106161127
   WindowBuilder XML Core        1.0.0.r36x201106161115

 Any ideas?

 Thanks,
 Mike

 On Jun 29, 6:30 am, Eric Clayberg clayb...@google.com wrote:







  What other versions ofGWTdo you have installed locally?

  What version ofGWTis being used with this project? I'm guessing that
  it is not 2.3.0.

  On Jun 29, 2:46 am,MikeDeemdichiapp...@cardeatech.com wrote:

   Trying to build a new WindowBuilder project in Eclipse as New 
   Project-GWTWindow Builder-GWTDesigner-GWTJava UI-GWTUiBinder-
   Composite and getting a message, You need at leastGWT2.1M4 for

   UiBinder visual editing.

   I have the latest of everything: Eclipse 3.6,GWT2.3.0,GWTDesigner
   2.3.2, Google Plugin for Eclipse 2.3.2,GWTDesignerEditor 2.3.2.

   Any clues?

   Thanks,
  Mike

-- 
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 + UIBinder

2011-07-01 Thread Mike Dee
I believe GWT 2.3 is the only version I've ever installed.  I am just
getting up to speed with it and only installed it a couple weeks ago.
Also, in the Wizard to start a new Google Web App it only shows GWT
2.3 in the popup (where other versions may be targeted).

I was able to use the UiBinder wizard, as you suggested.  Following is
the classpath from that project.

?xml version=1.0 encoding=UTF-8?
classpath
classpathentry kind=src path=src/
classpathentry kind=src output=test-classes path=test/
classpathentry kind=con
path=com.google.gwt.eclipse.core.GWT_CONTAINER/
classpathentry kind=con
path=org.eclipse.jdt.launching.JRE_CONTAINER/
classpathentry kind=output path=war/WEB-INF/classes/
/classpath

Mike

On Jul 1, 7:28 am, Eric Clayberg clayb...@google.com wrote:
 What other versions of GWT do you have installed locally?

 What version of GWT is being used with this project? It would be
 helpful to see the project classpath.

 What happens if you create a new Web Application Project using the GPE
 and then use the GWT  UiBinder wizard?

 On Jun 30, 2:51 pm,MikeDeemdichiapp...@cardeatech.com wrote:







  OK, I just started from scratch and got the same error.  I first
  installed Eclipse 3.6.2 (J2EE edition), then installed WindowBuilder,
  and then theGWTand GAE plugins.  I have a blank Eclipse workspace
  and tried to create a new project by selected File-New-Other.  In
  the dialog I selected WindowBuilder-GWTDesigner-GWTUiBinder-

  Composite.

  The following error appears: You need at leastGWT2.1M4 for UiBinder
  visual editing.   It doesn't let me proceed any further.

  Eclipse shows the following installed software:
    Eclipse IDE for Java EE Developers    1.3.2.20110218-0812
    Google App Engine Java SDK 1.5.1      1.5.1.r36v201106211634
    Google Plugin for Eclipse 3.6 2.3.2.r36v201106211634
    Google Web Toolkit SDK 2.3.0  2.3.0.r36v201105191508
   GWTDesigner 2.3.2.r36x201106201114
   GWTDesignerCore     2.3.2.r36x201106161117
   GWTDesignerEditor   2.3.2.r36x20110620
    WindowBuilder Core    1.0.0.r36x20110616
    WindowBuilder Core Documentation      1.0.0.r36x201106161114
    WindowBuilder Core UI 1.0.0.r36x201106161114
    WindowBuilder CSS Support     1.0.0.r36x201106161113
    WindowBuilder GroupLayout Support     1.0.0.r36x201106161127
    WindowBuilder XML Core        1.0.0.r36x201106161115

  Any ideas?

  Thanks,
 Mike

  On Jun 29, 6:30 am, Eric Clayberg clayb...@google.com wrote:

   What other versions ofGWTdo you have installed locally?

   What version ofGWTis being used with this project? I'm guessing that
   it is not 2.3.0.

   On Jun 29, 2:46 am,MikeDeemdichiapp...@cardeatech.com wrote:

Trying to build a new WindowBuilder project in Eclipse as New 
Project-GWTWindow Builder-GWTDesigner-GWTJava UI-GWTUiBinder-
Composite and getting a message, You need at leastGWT2.1M4 for

UiBinder visual editing.

I have the latest of everything: Eclipse 3.6,GWT2.3.0,GWTDesigner
2.3.2, Google Plugin for Eclipse 2.3.2,GWTDesignerEditor 2.3.2.

Any clues?

Thanks,
   Mike

-- 
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 + UIBinder

2011-06-30 Thread Mike Dee
OK, I just started from scratch and got the same error.  I first
installed Eclipse 3.6.2 (J2EE edition), then installed WindowBuilder,
and then the GWT and GAE plugins.  I have a blank Eclipse workspace
and tried to create a new project by selected File-New-Other.  In
the dialog I selected WindowBuilder-GWT Designer-GWT UiBinder-
Composite.

The following error appears: You need at least GWT 2.1M4 for UiBinder
visual editing.   It doesn't let me proceed any further.

Eclipse shows the following installed software:
  Eclipse IDE for Java EE Developers1.3.2.20110218-0812
  Google App Engine Java SDK 1.5.1  1.5.1.r36v201106211634
  Google Plugin for Eclipse 3.6 2.3.2.r36v201106211634
  Google Web Toolkit SDK 2.3.0  2.3.0.r36v201105191508
  GWT Designer  2.3.2.r36x201106201114
  GWT Designer Core 2.3.2.r36x201106161117
  GWT Designer Editor   2.3.2.r36x20110620
  WindowBuilder Core1.0.0.r36x20110616
  WindowBuilder Core Documentation  1.0.0.r36x201106161114
  WindowBuilder Core UI 1.0.0.r36x201106161114
  WindowBuilder CSS Support 1.0.0.r36x201106161113
  WindowBuilder GroupLayout Support 1.0.0.r36x201106161127
  WindowBuilder XML Core1.0.0.r36x201106161115

Any ideas?

Thanks,
Mike


On Jun 29, 6:30 am, Eric Clayberg clayb...@google.com wrote:
 What other versions of GWT do you have installed locally?

 What version of GWT is being used with this project? I'm guessing that
 it is not 2.3.0.

 On Jun 29, 2:46 am,MikeDeemdichiapp...@cardeatech.com wrote:







  Trying to build a new WindowBuilder project in Eclipse as New Project-GWT 
  Window Builder-GWT Designer-GWT Java UI-GWT UiBinder-
  Composite and getting a message, You need at least GWT 2.1M4 for

  UiBinder visual editing.

  I have the latest of everything: Eclipse 3.6, GWT 2.3.0, GWT Designer
  2.3.2, Google Plugin for Eclipse 2.3.2, GWT Designer Editor 2.3.2.

  Any clues?

  Thanks,
 Mike

-- 
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 + UIBinder

2011-06-30 Thread Mike Dee
Tried Eclipse 3.7.  WindowBuilder doesn't appear to be included (or I
didn't notice it).  Tried installing GWT and GAE (there are builds for
3.7).  Not build of WindowBuilder for 3.7 and tried 3.6.  However,
fewer options for project types available in this case.  Probably due
to no WindowBuilder for 3.7 yet.

On Jun 29, 12:51 am, Russ 10wattmindt...@gmail.com wrote:
 Perhaps try Eclipse 3.7. I think it's now included with the default install.

 On Wed, Jun 29, 2011 at 2:46 AM, Mike Dee mdichiapp...@cardeatech.comwrote:









  Trying to build a new WindowBuilder project in Eclipse as New Project-
  GWT Window Builder-GWT Designer-GWT Java UI-GWT UiBinder-
  Composite and getting a message, You need at least GWT 2.1M4 for
  UiBinder visual editing.

  I have the latest of everything: Eclipse 3.6, GWT 2.3.0, GWT Designer
  2.3.2, Google Plugin for Eclipse 2.3.2, GWT Designer Editor 2.3.2.

  Any clues?

  Thanks,
  Mike

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

 --
 Which would you rather believe in: A God that never answers you or a society
 that embraces you?

-- 
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 + UIBinder

2011-06-29 Thread Mike Dee
Trying to build a new WindowBuilder project in Eclipse as New Project-
GWT Window Builder-GWT Designer-GWT Java UI-GWT UiBinder-
Composite and getting a message, You need at least GWT 2.1M4 for
UiBinder visual editing.

I have the latest of everything: Eclipse 3.6, GWT 2.3.0, GWT Designer
2.3.2, Google Plugin for Eclipse 2.3.2, GWT Designer Editor 2.3.2.

Any clues?

Thanks,
Mike

-- 
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 + UIBinder

2011-06-29 Thread Russ
Perhaps try Eclipse 3.7. I think it's now included with the default install.

On Wed, Jun 29, 2011 at 2:46 AM, Mike Dee mdichiapp...@cardeatech.comwrote:

 Trying to build a new WindowBuilder project in Eclipse as New Project-
 GWT Window Builder-GWT Designer-GWT Java UI-GWT UiBinder-
 Composite and getting a message, You need at least GWT 2.1M4 for
 UiBinder visual editing.

 I have the latest of everything: Eclipse 3.6, GWT 2.3.0, GWT Designer
 2.3.2, Google Plugin for Eclipse 2.3.2, GWT Designer Editor 2.3.2.

 Any clues?

 Thanks,
 Mike

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




-- 
Which would you rather believe in: A God that never answers you or a society
that embraces you?

-- 
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 + UIBinder

2011-06-29 Thread Eric Clayberg
What other versions of GWT do you have installed locally?

What version of GWT is being used with this project? I'm guessing that
it is not 2.3.0.

On Jun 29, 2:46 am, Mike Dee mdichiapp...@cardeatech.com wrote:
 Trying to build a new WindowBuilder project in Eclipse as New Project-GWT 
 Window Builder-GWT Designer-GWT Java UI-GWT UiBinder-
 Composite and getting a message, You need at least GWT 2.1M4 for

 UiBinder visual editing.

 I have the latest of everything: Eclipse 3.6, GWT 2.3.0, GWT Designer
 2.3.2, Google Plugin for Eclipse 2.3.2, GWT Designer Editor 2.3.2.

 Any clues?

 Thanks,
 Mike

-- 
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 uibinder: could not recognized image from dependent jar

2011-06-27 Thread July


I have a GWT project(called A), i'd like to package it as a jar and reuse it 
in my another project(called B). Everything almost fine except that my 
another project seem don't know the in Uibinder:

in project A:

ui:image field=createButton src=../../style/images/createButton.png /
...
g:Button styleName='{style.createButton}' 
ui:field='newButton'Create/g:Button

When project B started and init this uibinder, error occurs:

  [ERROR] [project] - Resource ../../style/images/createButton.png

not found. Is the name specified as Class.getResource() would expect?

Anyone could help me with this? Many thanks!


this problem also posted in stackoverflow:

http://stackoverflow.com/questions/6491061/gwt-uibinder-could-not-recognized-image-from-dependent-jar

-- 
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/-/oiseDsJCwHYJ.
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 uibinder: could not recognized image from dependent jar

2011-06-27 Thread mohamed salah
On Mon, Jun 27, 2011 at 11:51 AM, July gsun...@gmail.com wrote:

 I have a GWT project(called A), i'd like to package it as a jar and reuse
 it in my another project(called B). Everything almost fine except that my
 another project seem don't know the in Uibinder:

 in project A:

 ui:image field=createButton src=../../style/images/createButton.png /
 ...
 g:Button styleName='{style.createButton}' 
 ui:field='newButton'Create/g:Button

 When project B started and init this uibinder, error occurs:

   [ERROR] [project] - Resource ../../style/images/createButton.png

 not found. Is the name specified as Class.getResource() would expect?

 Anyone could help me with this? Many thanks!


 this problem also posted in stackoverflow:


 http://stackoverflow.com/questions/6491061/gwt-uibinder-could-not-recognized-image-from-dependent-jar

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




-- 

-
salaam
plz input image in web content in applacation and remove path



src=../../style/images/createButton.png


src=images/nameimage
and images this folder inside webcontent


*Regard: Mohamed salah hasan
Mobile :+20106594094
tel :+2024460320*

-- 
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 uibinder: could not recognized image from dependent jar

2011-06-27 Thread July
Thank for reply, but i'm not sure it's an effective way, since i have to 
modify the files every time i want to deploy project B.

-- 
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/-/UDHAnEwfD7gJ.
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 UIBinder content assist lag

2011-05-19 Thread DrG
This is happening to me as well.  Osx-Eclipse-Helios

-- 
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/Ext-GWT/UiBinder

2011-05-18 Thread Aza
Is code generated by Ext-GWT (integrated into GWT Designer) compatible
with UiBinder?
If yes, is it bi-directional as per GPE embedded GWT Designer?

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: GWT Designer/Ext-GWT/UiBinder

2011-05-18 Thread Aza Tek
Any comments on this...
Or is this just a bad question?

On Tue, May 17, 2011 at 11:06 PM, Aza azat...@gmail.com wrote:

 Is code generated by Ext-GWT (integrated into GWT Designer) compatible
 with UiBinder?
 If yes, is it bi-directional as per GPE embedded GWT Designer?

 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: GWT Designer/Ext-GWT/UiBinder

2011-05-18 Thread Juan Pablo Gardella
try in Ext-GWT forum too

2011/5/18 Aza Tek azat...@gmail.com

 Any comments on this...
 Or is this just a bad question?

 On Tue, May 17, 2011 at 11:06 PM, Aza azat...@gmail.com wrote:

 Is code generated by Ext-GWT (integrated into GWT Designer) compatible
 with UiBinder?
 If yes, is it bi-directional as per GPE embedded GWT Designer?

 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.


-- 
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 Designer/Ext-GWT/UiBinder

2011-05-18 Thread Jeff Larsen
The 2.2.x versions no. Not compatible. 

I talked with the sencha guy at IO, and he said that 3.0 will be UI binder 
compatible. Assuming he is correct (and I have no reason to doubt this) it 
will be bi-directional. That is the way GWT designer works. It writes and 
processes the code you use. 

-- 
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 Designer/Ext-GWT/UiBinder

2011-05-18 Thread Aza Tek
Thanks Jeff, really looking forward to that.


On Wed, May 18, 2011 at 10:17 PM, Jeff Larsen larse...@gmail.com wrote:

 The 2.2.x versions no. Not compatible.

 I talked with the sencha guy at IO, and he said that 3.0 will be UI binder
 compatible. Assuming he is correct (and I have no reason to doubt this) it
 will be bi-directional. That is the way GWT designer works. It writes and
 processes the code you use.


-- 
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 Designer/Ext-GWT/UiBinder

2011-05-18 Thread Eric Clayberg
No. GXT is only supported for GWT Java UIs.

On May 17, 5:06 pm, Aza azat...@gmail.com wrote:
 Is code generated by Ext-GWT (integrated into GWT Designer) compatible
 with UiBinder?
 If yes, is it bi-directional as per GPE embedded GWT Designer?

 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 Uibinder support for Tree

2011-05-17 Thread Nitish Upreti
I get to hear that UiBinder does not support building Tree declaratively,
also the Mail sample has everything declarative apart from this. Some
mailing list post also gives similar hints. Is it true? I am trying to work
on my Tree implementation with UiBinder without success. :(

-- 
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 UIBinder content assist lag

2011-05-14 Thread Wojciech O.
Any updates on this one? UIBinder view is pretty unusable if Eclipse
Freezes on every attempt to open content assist window...

On 5 Maj, 08:35, miller millermich...@gmail.com wrote:
 I am seeing the same issue.

-- 
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 UIBinder content assist lag

2011-05-14 Thread Wojciech O.
I have posted a thread dump from eclipse while being frozen on content
assist

On 14 Maj, 14:41, Wojciech O. w.owczarc...@gmail.com wrote:
 Any updates on this one? UIBinder view is pretty unusable if Eclipse
 Freezes on every attempt to open content assist window...

 On 5 Maj, 08:35, miller millermich...@gmail.com wrote:







  I am seeing the same issue.

-- 
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 UIBinder content assist lag

2011-05-05 Thread miller
I am seeing the same issue. 

-- 
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 UIBinder content assist lag

2011-04-22 Thread Wojciech O.
Hello,

whe using gwt-maven-plugin inside Eclipse or STS I am facing a major
lag when trying to content assist tag in UIBinder view. Take for
example the expenses sample app provided by gwt team available to
download from the repo. I created an issue related to this here

http://code.google.com/p/google-web-toolkit/issues/detail?id=6262sort=-idcolspec=ID%20Type%20Status%20Owner%20Milestone%20Summary%20Stars

please star if you are experiencing the same problem.
Regards

-- 
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 UiBinder compile error

2010-07-17 Thread shankar_1979
Hi
  Yes. You are correct. Whn we nest the layer tags, the error is not
descriptive. i got confused. its solved now.

Thanks,
Shankar.


On Jul 17, 2:42 am, Thomas Broyer t.bro...@gmail.com wrote:
 On 16 juil, 12:41, shankar_1979 shankar.pach...@gmail.com wrote:





  Hi,
     I am trying to build a template Ui with UiBinder. (http://
  code.google.com/webtoolkit/doc/latest/DevGuideUiBinder.html).

  I have the following code.
  ?xml version=1.0 encoding=UTF-8?!-- HomePage.ui.xml --
  !DOCTYPE ui:UiBinder SYSTEM http://dl.google.com/gwt/DTD/xhtml.ent;
  ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder'
          xmlns:g='urn:import:com.google.gwt.user.client.ui' 
          !-- OUTER --
                  g:LayoutPanel
                          g:layer
                          g:layer 
                          g:LabelAssessments/g:Label
                                  g:layerSelect Assessments 
  Batteries/g:layer
                          /g:layer
                          /g:layer
                  /g:LayoutPanel
  /ui:UiBinder

  The issue is the GWT compiler cannot recognize the layer tag. It can
  recognize all the other tags, LayoutPanel, etc. I have searched for
  this kind of code and I can see that they all use g:layer.

  This is the error - [ERROR] No class matching layer in
  urn:import:com.google.gwt.user.client.ui.

  I am using GWT 2.0.4 in Eclipse Helios (with GWT plugin). I have also
  included the GWT user library with the needed jars(gwt-user.jar, gwt-
  dev.jar) in GWT.

  Can you please help?

 Why do you have nested g:layer? I guess the inner one is what makes
 UiBinder shout out, because inside a g:layer it expects a (single)
 widget.- 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-tool...@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 UiBinder compile error

2010-07-16 Thread shankar_1979
Hi,
   I am trying to build a template Ui with UiBinder. (http://
code.google.com/webtoolkit/doc/latest/DevGuideUiBinder.html).

I have the following code.
?xml version=1.0 encoding=UTF-8?!-- HomePage.ui.xml --
!DOCTYPE ui:UiBinder SYSTEM http://dl.google.com/gwt/DTD/xhtml.ent;
ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder'
xmlns:g='urn:import:com.google.gwt.user.client.ui' 
!-- OUTER --
g:LayoutPanel
g:layer
g:layer 
g:LabelAssessments/g:Label
g:layerSelect Assessments Batteries/g:layer
/g:layer
/g:layer
/g:LayoutPanel
/ui:UiBinder

The issue is the GWT compiler cannot recognize the layer tag. It can
recognize all the other tags, LayoutPanel, etc. I have searched for
this kind of code and I can see that they all use g:layer.

This is the error - [ERROR] No class matching layer in
urn:import:com.google.gwt.user.client.ui.

I am using GWT 2.0.4 in Eclipse Helios (with GWT plugin). I have also
included the GWT user library with the needed jars(gwt-user.jar, gwt-
dev.jar) in GWT.

Can you please 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-tool...@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 UiBinder compile error

2010-07-16 Thread Thomas Broyer


On 16 juil, 12:41, shankar_1979 shankar.pach...@gmail.com wrote:
 Hi,
    I am trying to build a template Ui with UiBinder. (http://
 code.google.com/webtoolkit/doc/latest/DevGuideUiBinder.html).

 I have the following code.
 ?xml version=1.0 encoding=UTF-8?!-- HomePage.ui.xml --
 !DOCTYPE ui:UiBinder SYSTEM http://dl.google.com/gwt/DTD/xhtml.ent;
 ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder'
         xmlns:g='urn:import:com.google.gwt.user.client.ui' 
         !-- OUTER --
                 g:LayoutPanel
                         g:layer
                         g:layer 
                         g:LabelAssessments/g:Label
                                 g:layerSelect Assessments 
 Batteries/g:layer
                         /g:layer
                         /g:layer
                 /g:LayoutPanel
 /ui:UiBinder

 The issue is the GWT compiler cannot recognize the layer tag. It can
 recognize all the other tags, LayoutPanel, etc. I have searched for
 this kind of code and I can see that they all use g:layer.

 This is the error - [ERROR] No class matching layer in
 urn:import:com.google.gwt.user.client.ui.

 I am using GWT 2.0.4 in Eclipse Helios (with GWT plugin). I have also
 included the GWT user library with the needed jars(gwt-user.jar, gwt-
 dev.jar) in GWT.

 Can you please help?

Why do you have nested g:layer? I guess the inner one is what makes
UiBinder shout out, because inside a g:layer it expects a (single)
widget.

-- 
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-tool...@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 UIBinder - unrecognized text in g:VerticalPanel

2010-02-14 Thread bkbonner
Hi, thanks.  I'll look through this.  I'm able to do it if I use an
HTMLPanel like the Mail example.

Brian

On Feb 12, 8:15 am, Blessed Geek blessedg...@gmail.com wrote:
 I have a rather complete explanation here.

 http://h2g2java.blessedgeek.com/2010/02/tutorial-gwt-rpc-stub-modifie...

-- 
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-tool...@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 UIBinder - unrecognized text in g:VerticalPanel

2010-02-12 Thread Blessed Geek
I have a rather complete explanation here.

http://h2g2java.blessedgeek.com/2010/02/tutorial-gwt-rpc-stub-modified-with.html

-- 
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-tool...@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 UIBinder - unrecognized text in g:VerticalPanel

2010-02-04 Thread bkbonner
Hey, question for you...How do reference the DialogBox in the java
code?   I was under the impression that it was only possible to do the
bind the java code to an entity with the same name.  Maybe I'm missing
something here.  Is the DialogBox an element of a Composite or is it a
separate definition.  I'm hoping it's a separate definition, but I
can't wrap my head around how to make it happen.

Any chance you can give a larger snippet of how you're referencing the
dialog?  Or maybe a working example?

Thanks,

Brian

On Jan 31, 5:13 am, Blessed Geek blessedg...@gmail.com wrote:
 Never mind!

 I moved stylename and animation todialogboxfrom verticalpanel. It
 works. Sorry for the confusion.

 OK! UI Binder is Gwwweat!

 Perhaps, much better than JavaFx or Silverlight (i.e., any plans for a
 desktop non-servlet version ofUIBinder?)
 What are the plans for GWT andUIBinderfor exploiting html5?

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



Tutorial : GWT UiBinder with JAX-RS Jersey and Objectify @ http://wp.me/PnkVx-1S

2010-02-03 Thread Iqbal Yusuf Dipu
Tutorial : GWT UiBinder with JAX-RS Jersey and Objectify @ http://wp.me/PnkVx-1S

_Iqbal

-- 
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-tool...@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 UIBinder - unrecognized text in g:VerticalPanel

2010-01-31 Thread Blessed Geek
When you use Eclipse Google plugin to create a new EntryPoint class,
it gives you one with a simple RPC example with a DialogBox. I
translated the DialogBox to a UIBinder.

[code]
g:DialogBox ui:field=dialogBox text=Remote Procedure Call
g:VerticalPanel
 styleName={style.important}
 animationEnabled=true
 horizontalAlignment=ALIGN_RIGHT
 
g:LabelSending name to the server:/g:Label
g:Label ui:field=textToServerLabel/
g:LabelServer replies:/g:Label
g:HTML ui:field=serverResponseLabel/
g:Button ui:field=close text=Close/
/g:VerticalPanel
/g:DialogBox
[/code]

But GWT complains about unrecognised text in g:VerticalPanel about
these three attributes.

styleName={style.important}
animationEnabled=true
horizontalAlignment=ALIGN_RIGHT

The example ran successfully after I removed those three lines.
OK, how then do set style, animation and alignment in
g:VerticalPanel??

No, no, no ... not in the Java code, phleaze. Don't want to write
extra code to connect uibinder elements to set methods of GWT widgets.

Otherwise, what's the point in using UIBinder? It would be so much
less tedious using plain old GWT.

Where's the manual for UIBinder indicating/explaining all the usable
attributes in each corresponding GWT widget.

-- 
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-tool...@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 UIBinder - unrecognized text in g:VerticalPanel

2010-01-31 Thread Blessed Geek
Never mind!

I moved stylename and animation to dialogbox from verticalpanel. It
works. Sorry for the confusion.

OK! UI Binder is Gwwweat!

Perhaps, much better than JavaFx or Silverlight (i.e., any plans for a
desktop non-servlet version of UIBinder?)
What are the plans for GWT and UIBinder for exploiting html5?

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



Mini Tutorial : GWT UiBinder “helloworld” with H TML

2010-01-22 Thread Iqbal Yusuf Dipu
Here's a very simple howto tutorial of a UiBinder template that
contains no widgets, only HTML

http://iqbalyusuf.wordpress.com/gwt-uibinder-helloworld-with-html/

Thanks.

Iqbal Yusuf

-- 
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-tool...@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-contrib] [google-web-toolkit] r6552 committed - Delete the empty user/src/com/google/gwt/uibinder/sample, because...

2009-10-29 Thread codesite-noreply

Revision: 6552
Author: rj...@google.com
Date: Thu Oct 29 16:06:04 2009
Log: Delete the empty user/src/com/google/gwt/uibinder/sample, because
git svn dcommit didn't

TBR bruce

http://code.google.com/p/google-web-toolkit/source/detail?r=6552

Deleted:
  /trunk/user/src/com/google/gwt/uibinder/sample


--~--~-~--~~~---~--~~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~--~~~~--~~--~--~---