Re: Problem creating custom gwt theme

2012-04-05 Thread El Mentecato Mayor
I realized soon after posting how to solve my problem... so here's the 
solution; you have to use the path conventions that the gwt themes use so 
that your resources can be found. I should have known that because long 
time ago I got a custom theme from the GWT Theme Generator (
http://works.sen-sei.in/gtg/). The css and image files need to be in the 
public directory and then follow a "gwt/{projectName}/" subdirectory, so 
the project looks like this now:

com/mycompany/standard/StandardRTL.gwt.xml
com/mycompany/standard/Standard.gwt.xml
com/mycompany/standard/StandardResources.gwt.xml
com/mycompany/standard/public/gwt/standard/standard.css
com/mycompany/standard/public/gwt/standard/standard_rtl.css
com/mycompany/standard/public/gwt/standard/images/thumb_vertical.png
com/mycompany/standard/public/gwt/standard/images/circles.png
com/mycompany/standard/public/gwt/standard/images/vborder_ie6.png
com/mycompany/standard/public/gwt/standard/images/thumb_horz.png
com/mycompany/standard/public/gwt/standard/images/vborder.png
com/mycompany/standard/public/gwt/standard/images/corner_ie6.png
com/mycompany/standard/public/gwt/standard/images/hborder_ie6.png
com/mycompany/standard/public/gwt/standard/images/circles_ie6.png
com/mycompany/standard/public/gwt/standard/images/corner.png
com/mycompany/standard/public/gwt/standard/images/hborder.png

and it works... that's what I get from trying to optimize/modify the 
structure I copied from the GWT Clean theme.


On Thursday, April 5, 2012 3:13:20 PM UTC-4, El Mentecato Mayor wrote:
>
> (this is from an old thread I know, but the question hasn't been answered 
> fully in this forum anywhere I see)
>
> So I want to create a custom gwt theme. To do this, I created a standalone 
> maven project with a similar dir structure that I see with the gwt standard 
> theme inside gwt-user.jar. I package it as a jar so it looks like this:
>
> com/mycompany/mytheme/StandardRTL.gwt.xml
> com/mycompany/mytheme/Standard.gwt.xml
> com/mycompany/mytheme/StandardResources.gwt.xml
> com/mycompany/mytheme/public/css/standard.css
> com/mycompany/mytheme/public/css/standard_rtl.css
> com/mycompany/mytheme/public/images/thumb_vertical.png
> com/mycompany/mytheme/public/images/circles.png
> com/mycompany/mytheme/public/images/vborder_ie6.png
> com/mycompany/mytheme/public/images/thumb_horz.png
> com/mycompany/mytheme/public/images/vborder.png
> com/mycompany/mytheme/public/images/corner_ie6.png
> com/mycompany/mytheme/public/images/hborder_ie6.png
> com/mycompany/mytheme/public/images/circles_ie6.png
> com/mycompany/mytheme/public/images/corner.png
> com/mycompany/mytheme/public/images/hborder.png
>
> then I specify this mytheme.jar as a maven dependency on a gwt project, 
> the idea being that more than one project will use it. In the gwt project, 
> I inherit my custom theme in my gwt module file like this:
>
> 
>
> and all css styles from standard*.css are used so it works fine, *except* 
> for the images which are simply not used/found.
>
> What do I need to do so that the images are found and used properly when 
> referenced from the css file? (how are custom themes supposed to be 
> packaged?)
>
>
> On Thursday, November 18, 2010 6:40:37 AM UTC-5, Thomas Broyer wrote:
>>
>>
>>
>> On 17 nov, 21:16, mitratul  wrote: 
>> > Hi, 
>> > 
>> > I am trying to create my own theme and use it. But while launching Dev 
>> > mode, it is giving the following errors in eclipse console: 
>> > 
>> > Initializing AppEngine server 
>> > Loading modules 
>> >com.mitratul.theme.standard.Standard 
>> >   Translatable source found in... 
>> >  [WARN] No source path entries; expect subsequent failures 
>> >   Bootstrap link for command-line module 
>> > 'com.mitratul.theme.standard.Standard' 
>> >  Linking module 'com.mitratul.theme.standard.Standard' 
>> > Constructing StandardLinkerContext 
>> >[ERROR] Primary linker is null.  Does your module 
>> > inherit from com.google.gwt.core.Core or com.google.gwt.user.User? 
>> > 
>> > com.mitratul.theme.standard.Standard is my theme module. I have 
>> > followed the same directory structure inside the module as i found 
>> > inside GWT inbuilt themes. 
>> > 
>> > Can anybody tell me why is this error coming? 
>>
>> Your theme has to be ed in an application, not compiled 
>> standalone.
>
>

-- 
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/-/2ECySJRBQeEJ.
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: Want to have another gwt module in source package. But GWT can't find it then

2012-04-05 Thread saida dhanavath
In eclipse project explorer

1. Right click on your project -->Run As-->Run configurations...
2. Select your GWT web application project
3. Open Arguments tab from right panel
4. Update program arguments, meaning remove which are not entry points in
your case "com.san.San''.

and run it again, it should work!.

This occurs in few cases, one among them is say you have created an entry
points module1 and entry point module2. the eclipse GWT plugin will add
these entry points to program parameters to be able to allow you run them
easily, in this case it will add two entry points will be added into
program parameters, and now, say  you delete module1 from the project and
try running module2 and you will end-up getting the above error because it
is not able to find module1  from the program parameters in Run
configurations...

Hope this helps you!

Best Regards,
Saida.


On Thu, Apr 5, 2012 at 4:00 PM, saurabh saurabh wrote:

> Also here I tried adding a new entry point but I can't, eclipse don't
> 'in.co.' as an option to add.
>
> --
> 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.
>
>


-- 
Regards,
Saida Dhanavath

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



Re: Problem creating custom gwt theme

2012-04-05 Thread El Mentecato Mayor
(this is from an old thread I know, but the question hasn't been answered 
fully in this forum anywhere I see)

So I want to create a custom gwt theme. To do this, I created a standalone 
maven project with a similar dir structure that I see with the gwt standard 
theme inside gwt-user.jar. I package it as a jar so it looks like this:

com/mycompany/mytheme/StandardRTL.gwt.xml
com/mycompany/mytheme/Standard.gwt.xml
com/mycompany/mytheme/StandardResources.gwt.xml
com/mycompany/mytheme/public/css/standard.css
com/mycompany/mytheme/public/css/standard_rtl.css
com/mycompany/mytheme/public/images/thumb_vertical.png
com/mycompany/mytheme/public/images/circles.png
com/mycompany/mytheme/public/images/vborder_ie6.png
com/mycompany/mytheme/public/images/thumb_horz.png
com/mycompany/mytheme/public/images/vborder.png
com/mycompany/mytheme/public/images/corner_ie6.png
com/mycompany/mytheme/public/images/hborder_ie6.png
com/mycompany/mytheme/public/images/circles_ie6.png
com/mycompany/mytheme/public/images/corner.png
com/mycompany/mytheme/public/images/hborder.png

then I specify this mytheme.jar as a maven dependency on a gwt project, the 
idea being that more than one project will use it. In the gwt project, I 
inherit my custom theme in my gwt module file like this:



and all css styles from standard*.css are used so it works fine, *except* 
for the images which are simply not used/found.

What do I need to do so that the images are found and used properly when 
referenced from the css file? (how are custom themes supposed to be 
packaged?)


On Thursday, November 18, 2010 6:40:37 AM UTC-5, Thomas Broyer wrote:
>
>
>
> On 17 nov, 21:16, mitratul  wrote: 
> > Hi, 
> > 
> > I am trying to create my own theme and use it. But while launching Dev 
> > mode, it is giving the following errors in eclipse console: 
> > 
> > Initializing AppEngine server 
> > Loading modules 
> >com.mitratul.theme.standard.Standard 
> >   Translatable source found in... 
> >  [WARN] No source path entries; expect subsequent failures 
> >   Bootstrap link for command-line module 
> > 'com.mitratul.theme.standard.Standard' 
> >  Linking module 'com.mitratul.theme.standard.Standard' 
> > Constructing StandardLinkerContext 
> >[ERROR] Primary linker is null.  Does your module 
> > inherit from com.google.gwt.core.Core or com.google.gwt.user.User? 
> > 
> > com.mitratul.theme.standard.Standard is my theme module. I have 
> > followed the same directory structure inside the module as i found 
> > inside GWT inbuilt themes. 
> > 
> > Can anybody tell me why is this error coming? 
>
> Your theme has to be ed in an application, not compiled 
> standalone.

-- 
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/-/9aANxl0A2osJ.
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: cannot use css background-image

2012-04-05 Thread Thad
Did you find a solution to this?

I dunno how background images behave with HorizontalPanels. My guess is 
"not well" given that HorizontalPanels are cell panels--they use HTML 
tables, not divs--and are not recommended for standards mode 
(https://developers.google.com/web-toolkit/doc/latest/DevGuideUiPanels#Standards).

That said, I have used background images in AbsolutePanels with both 
UiBuilder via sprites and plain GWT and CSS.

On Monday, April 2, 2012 2:36:48 AM UTC-4, tong123123 wrote:
>
> even worse, if I comment the line
>
> outer.setBorderWidth(10);
>
>
> then left2 cannot show at all!! 
>
> On Monday, April 2, 2012 2:11:51 PM UTC+8, tong123123 wrote:
>>
>> yes, I miss the opening quote '
>> and I find in css, if using development mode, the url has a "/" at the 
>> beginning
>>
>>>  background-image:url('/images/line.png');
>>>
>> but if in production mode, the url has no "/" at the beginning
>>
>>> background-image:url('images/line.png'); 
>>>
>>
>> the reason is really unknown.
>>
>> But now I face another strange problem, the code is as follow:
>>
>>> public class TestFlowPanelLeft extends FlowPanel {
>>> 
>>> public void onLoad(){
>>> 
>>> HorizontalPanel outer = new HorizontalPanel();
>>> outer.setSize("100%", "30px");
>>> outer.setBorderWidth(10);
>>> HorizontalPanel left1 = new HorizontalPanel();
>>> left1.add(new Label("see?"));
>>> outer.add(left1);
>>> HorizontalPanel left2 = new HorizontalPanel();
>>> left2.addStyleName("backGroundImage1");
>>> //left2.setSize("100%", "100%"); cannot show left2!!
>>> left2.setSize("100%", "10px");
>>> outer.add(left2);
>>> this.add(outer);
>>> }
>>>
>>> }
>>
>>
>> I try to set left2 height to 100%, and because outer is 30px, so I expect 
>> left2 can show correctly, but the result is not!!
>> I need to explicit set the height of left2.
>>
>> the css of backGroundImage1 is
>>
>>> .backGroundImage1{
>>> background-image:url('/images/line.png');
>>> background-repeat:repeat-x;
>>> }
>>
>>
>> if I set the height of left2 to 10px, the output is as attached.
>> why if I set the height of left2 to 100%, left2 cannot be shown?!! 
>>
>

-- 
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/-/HKQKFC7-4MoJ.
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.



Displaying a Widget or a Composite in a DataGrid

2012-04-05 Thread Hervé Brun
Hi everybody !!

I'd like to know if someone ever managed to display a widget in a
datagrid's column ?
I mean, as there is a TextCell class, did anyone managed to
successfully program a WidgetCell class ?

By extension, does anyone knows if there is any way to continue to
write pure widgets inheriting Widget and use these classes in a
CellWidget ?
I find it very bizarre (to say the least) to have a Widget class and
not being able to use it in a DataGrid ... :S

-- 
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: Can I do this with GWT..?

2012-04-05 Thread dodo dard
You should use HTML 5 Canvas, wrapped with GWT (I believe there is 
possibility there) Look at : www.html5bydemo.com how to use HTML5

Le mardi 3 avril 2012 11:11:15 UTC+2, Carsten a écrit :
>
> I am a beginner and try to find out if what I want to do is possible 
> with GWT and how one should do it: 
>
> 1. load a font and render words (possibly rotated) on the screen 
> 2. animate drawn objects like words, e.g. make them 'fly' from one 
> side of the screen to the other. 
> 3. do transformation operations on 'shapes', like translation, 
> rotation, scale. 
>
> Maybe somebody knows GWT apps  which are capable of 
> some of the features I mentioned above? 
>
> What would you use to load fonts, render words on the screen, rotate 
> words and render them and do animations? 
>
> HTML5 Canvas? CSS animations? 
>
> This are only keywords I found using Google but I don't know how it 
> will look in action and what is possible or not. A few links to web 
> apps that are capable of the features I mentioned above (build on GWT 
> or possible to build with GWT) would be really helpful 
>
> Thanks, 
> Carsten

-- 
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/-/TKM0zbWb-yYJ.
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: Filter Tree in GWT

2012-04-05 Thread Patrick Tucker
CellTree uses a list...
 
After your GUI component works, custom header with textbox, you just need 
to filter the list??

On Wednesday, April 4, 2012 11:44:17 AM UTC-4, Qrunk wrote:

> Can some one please put some light on this issue ?? if GXT  has already 
> done it cant it be done now in GWT ??
>
> On Tuesday, 3 April 2012 15:39:20 UTC+5:30, Qrunk wrote:
>>
>> Hi 
>> How to create a filter tree in *GWT* using *CellTre*e, a filter tree is 
>> some Tree which has an filter(TextBox) where we can enter values for the 
>> leaf node. Once we start entering values we get the tree branches along 
>> with leaf nodes reflected on the Tree panel(we have our tree inside a 
>> panel). For reference : 
>> http://www.sencha.com/examples/explorer.html#filtertree 
>>
>> We can develop such FilterTree easily in GXT, but we have an requirement 
>> to develop it in GWT, not in GXT. Can I have some replies with a short and 
>> simple sample code on FilterTree in GWT, or at least any links to refer to. 
>
>

-- 
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/-/NzCpf1v63jkJ.
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: UiBinder view inheritance troubles

2012-04-05 Thread Márcio Menezes
Hmm... not bad...

Thanks a lot! :)

On Thu, Apr 5, 2012 at 12:12 PM, Thomas Broyer  wrote:

>
>
> On Thursday, April 5, 2012 11:58:14 AM UTC+2, Márcio Menezes wrote:
>>
>> Hey, guys, thanks for the answers...
>>
>> Thomas, I think what u said is the cause of my problem. I have two ui.xml
>> files, one for the super and another for the sub class. And I'm trying to
>> bind both and put them together in a container afterwards.. ://
>> I see the limitation, "you cannot use a single class hierarchy as the
>> target for two UiBinders". But I didn't want to have to move the fields of
>> the super class to the sub or the other way around.
>> What I'm trying to get is a view extending from another view. Why do I
>> want to do this? Because I have a set of views with the same visual
>> pattern, ie: "CRUD" views that need to have save and cancel button, and I
>> didn't want to repeat my self in all the sub views by re-adding the save
>> and cancel button. Nothing new... Pure O.O. concepts.
>>
>> Really? Isn't there a way of doing this?
>>
>
> Use composition rather than inheritance; or use the "inner class" trick I
> described earlier (that's entirely private to the super-class, so it
> shouldn't affect your subclasses).
>
> --
> 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/-/QSD7bV1AYHcJ.
>
> 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: Want to have another gwt module in source package. But GWT can't find it then

2012-04-05 Thread saurabh saurabh
Also here I tried adding a new entry point but I can't, eclipse don't
'in.co.' as an option to add.

-- 
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 CellTree : DataBinding, Sorting & filtering

2012-04-05 Thread Thomas Broyer


On Thursday, April 5, 2012 12:10:42 PM UTC+2, vaibhav gwt wrote:
>
> @ Data_Binding : From server side we are passing xml to client side. 
> Is there any way to bind that xml data to CellTree so that all data 
> populated/render in CellTree (In Tree format) 
> like.. In smartGwt 
> http://www.smartclient.com/smartgwt/showcase/#featured_tree_grid 
> ==> Source code ==>see EmployeeXmlDS.java # Created data source set to 
> TreeGrid 
> #1 Create dataSource : specify dataUrl (data in xml format) & 
> setRecordXPath etc.. and set created DataSource in TreeGrid 
>
> BUT I dont want to use SmartGwt ( :( Its not free) . I want to use 
> GWT. 
>
> In GWT,:  How to populate a CellTree with xml data which is coming 
> from server side 
> From server side we are passing xml to client side. Is there any way 
> to bind that xml data to CellTree so that all data populated/render in 
> CellTree (In Tree format)


You have to build a TreeViewModel around your XML data. 

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



Want to have another gwt module in source package. But GWT can't find it then

2012-04-05 Thread saurabh saurabh
Hi everyone,

I was trying to have multiple module in source package like:

src->
   |-com.san->
   ||-San.gwt.xml
   ||...
   |   ..
   |-in.co.bittechnology->
  |-BitTechnology.gwt.xml


and I am getting this

Loading inherited module 'com.san.San'
   Loading inherited module 'in.co.bittechnology.BitTechnology'
  [ERROR] Unable to find 'in/co/bittechnology/
BitTechnology.gwt.xml' on your classpath; could be a typo, or maybe
you forgot to include a classpath entry for source?
   [ERROR] Line 15: Unexpected exception while processing element
'inherits'


please help!!!

Thanks in advance.

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



Re: how to go to a widget at the top of the page

2012-04-05 Thread Kei Kei
the problem disappear now after rebuild the whole project,
errMsgPanel.getElement().scrollView(); can function as expect.
thanks

On Thu, Apr 5, 2012 at 4:56 PM, Kei Kei  wrote:

> For more information, I am using GWT 2.4.
> the errMsgPanel.getElement().scrollIntoView() is called inside a button
> clickHandler.
>
>
> On Thu, Apr 5, 2012 at 4:52 PM, Kei Kei  wrote:
>
>> I try to call errMsgPanel.getElement().scrollView();
>> where errMsgPanel is a FlowPanel,
>> it throws error:
>> NoSuchMethodError:com/google/gwt/user/client/Element.scrollIntoView()V
>> at com.ha
>>
>>
>> On Thu, Apr 5, 2012 at 4:25 PM, Jens  wrote:
>>
>>> Have you tried to call errorFlowPanel.getElement().scrollIntoView() ?
>>> You could also set the vertical scroll position on the ScrollPanel to 0 or
>>> call ScrollPanel.scrollToTop().
>>>
>>> -- J.
>>>
>>>
>>> Am Donnerstag, 5. April 2012 05:29:44 UTC+2 schrieb tong123123:
>>>
 my panel is very long, and I have an FlowPanel for displaying error
 message at the top of the long panel, there is a "search" button at the
 bottom of the page, when user press "search", there is validation and if
 has error, the error is shown on the FlowPanel at the top of page, but the
 page will not automatically jump to the top of the page to let user see the
 error message, I try to use a focusPanel to surrounding the error message
 panel and use focusPanel.setFocus(true) but the page still cannot jump to
 the focusPanel at the top of the page, so any method I can do?

>>>  --
>>> 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/-/PYqESnSsaAsJ.
>>>
>>> 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: Call for action: Time to rethink a road-map and more frequent updates for GWT.

2012-04-05 Thread Joshua Kappon
here is my original Google+ post:
https://plus.google.com/u/0/117852058882395554716/posts/iQnNfC2BkxA

I'm aiming to get some response from Google - You can really help out by 
re-sharing and +1'ing it,
and contributing your comments there also.

Hopefully if we'll unite and be loud at some central place, we might get 
some answers.

Thanks for helping
Joshua


On Wednesday, April 4, 2012 8:04:15 PM UTC+3, Trey Roby wrote:
>
> It has been about 4 months since Ray's post on what the GWT team is 
> working on. In that time there has been only one GWT official blog 
> update and no releases for 6 months. 
>
> After reading the link that Alan suggested, I am encouraged but on 
> slightly since the post is several months old. There needs to be some 
> official signs of life. If the GWT group is fully staffed then it 
> should not be possible to communicate that in some way. 
>
> At Caltech we have been using GWT for over 4 years. We have build a 
> very large and amazing set of web applications using GWT. We are very 
> invested in GWT and I am eager to see some more obvious signs of life. 
>
> Trey 
>
> On Apr 4, 6:20 am, Joshua Kappon  wrote: 
> > Joseph, Coderinabstract 
> > 
> > I agree with you both. 
> > I also appreciate the GWT contributors, and I hope Google will continue 
> to 
> > support and improve this toolkit, 
> > But since there was no official movement on the blog and on the project 
> > page for about 6 months, I believe it is our responsibility to let 
> google 
> > know it is missing, and we hurt for that, help me spread the word 
> please. 
> > 
> > Alan, 
> > I am following Ray, and saw that post. I am also searching constantly 
> for 
> > new updates about the project, but don't you agree it should have been 
> at 
> > least posted also in the blog? again, if you want the community to grow, 
> > you must make it easier for new comers to join and bring them up to 
> date. 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > On Wednesday, April 4, 2012 7:07:22 AM UTC+3, coderinabstract wrote: 
> > 
> > > + 1... 
> > 
> > > Working on web apps since web came to existence asp, jsp, cgi, 
> DHTML, 
> > > javascript, struts and it was a real mess and did not truly enjoy it. 
> > > Also,apps created were error prone with code bloat and good design was 
> > > messy and a challenge. 
> > 
> > > The power of true OO, with Java, generics and good design with GWT is 
> a 
> > > complete game changing innovation compared to the page based 
> development, 
> > > untyped and script based frameworks in creating highest quality end 
> user 
> > > experiences. 
> > 
> > > Sincerely hope thats GWTs power with HTML5/CSS and supporting a truly 
> open 
> > > standard already qualifies this to be the best design experience for 
> > > someone like me who really enjoys good application design. Augmenting 
> GWT 
> > > with frameworks like GWTP and other opensource frameworks makes this 
> > > a formidable high performing application design architecture out 
> there. I 
> > > have yet to find a solid scalable OO/Java based design framework with 
> this 
> > > kind of pure OO and componentization power for user experience 
> > > management... combine that with GIN/GUICE and it keeps on getting 
> better. 
> > 
> > > I sincerely hope Google continues to promote this awesome framework 
> and 
> > > continue to make web development so much fun. Was kind of disappointed 
> to 
> > > see it go away from the front page of the new google developers site, 
> > > however agree that this is a large and formidable community which 
> shall 
> > > continue to move forward. 
> > 
> > > Best... 
> > 
> > > On Tuesday, April 3, 2012 12:54:53 PM UTC-4, Alan Chaney wrote: 
> > 
> > >> Hi Joseph 
> > >> On 04/03/2012 08:34 AM, Joseph Lust wrote: 
> > >> > Alan, 
> > 
> > >> > Thanks as always for your courteous replies. I'm grateful for the 
> > >> > efforts the Google developers put into GWT, as any other enterprise 
> > >> > building such a framework would most certainly charge the Earth for 
> it 
> > >> > while also crippling its functionality in exchange for customer 
> > >> > lock-in. Google just makes great software. 
> > 
> > >> > However, I work in a large enterprise where our GWT Community of 
> > >> > Practice group must make a case for why any new application should 
> use 
> > >> > GWT. It is important to management to know the future of GWT and a 
> > >> > roadmap is how this is commonly done. While I don't personally 
> think 
> > >> > GWT will suffer from the recent project pogroms at Google, a 
> roadmap 
> > >> > and rough release schedule will lend greater confidence to others 
> in 
> > >> > the stability and longevity of the framework needed before a 
> company 
> > >> > is willing to build multi-million dollar projects with it. 
> > 
> > >> Have you seen this thread on Google+? 
> > >>https://plus.google.com/117487419861992917007/posts/6YWpsHpqMqZ 
> > 
> > >> especially Ray Cromwell's comment about half-way down? Also

Re: Call for action: Time to rethink a road-map and more frequent updates for GWT.

2012-04-05 Thread Gilad Egozi
+1 !

On Monday, April 2, 2012 6:19:16 PM UTC+3, Joshua Kappon wrote:
>
> With the rise of the new developers.google.com, and with Google trying to 
> rally up developers using Google technologies and products, and the rise of 
> Dart and unclear future of GWT, I think it's about time that Google will 
> rethink the all "We don't and won't have a road map, and there are no 
> release dates for new GWT versions" and embrace the GWT developers 
> community.
>
> What do you guys think? (if you agree, +1 this)
>
> Best,
> Josh 
>

-- 
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/-/gFCu8jgM6mUJ.
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: UiBinder view inheritance troubles

2012-04-05 Thread Thomas Broyer


On Thursday, April 5, 2012 11:58:14 AM UTC+2, Márcio Menezes wrote:
>
> Hey, guys, thanks for the answers...
>
> Thomas, I think what u said is the cause of my problem. I have two ui.xml 
> files, one for the super and another for the sub class. And I'm trying to 
> bind both and put them together in a container afterwards.. ://
> I see the limitation, "you cannot use a single class hierarchy as the 
> target for two UiBinders". But I didn't want to have to move the fields of 
> the super class to the sub or the other way around.
> What I'm trying to get is a view extending from another view. Why do I 
> want to do this? Because I have a set of views with the same visual 
> pattern, ie: "CRUD" views that need to have save and cancel button, and I 
> didn't want to repeat my self in all the sub views by re-adding the save 
> and cancel button. Nothing new... Pure O.O. concepts.
>
> Really? Isn't there a way of doing this?
>

Use composition rather than inheritance; or use the "inner class" trick I 
described earlier (that's entirely private to the super-class, so it 
shouldn't affect your subclasses).

-- 
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/-/QSD7bV1AYHcJ.
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 CellTree : DataBinding, Sorting & filtering

2012-04-05 Thread vaibhav gwt
@ Data_Binding : From server side we are passing xml to client side.
Is there any way to bind that xml data to CellTree so that all data
populated/render in CellTree (In Tree format)
like.. In smartGwt 
http://www.smartclient.com/smartgwt/showcase/#featured_tree_grid
==> Source code ==>see EmployeeXmlDS.java # Created data source set to
TreeGrid
#1 Create dataSource : specify dataUrl (data in xml format) &
setRecordXPath etc.. and set created DataSource in TreeGrid

BUT I dont want to use SmartGwt ( :( Its not free) . I want to use
GWT.

In GWT,:  How to populate a CellTree with xml data which is coming
from server side
>From server side we are passing xml to client side. Is there any way
to bind that xml data to CellTree so that all data populated/render in
CellTree (In Tree format)

@ Sorting ?

Or Is there any Tree widgets (from Open source) which provides
Sorting, Filtering, DataBinding

On Apr 5, 1:13 pm, Thomas Broyer  wrote:
> On Thursday, April 5, 2012 8:54:03 AM UTC+2, vaibhav gwt wrote:
>
> > I want to  render large tree dynamically so I selected CellTree widget.
> > I also want  to know How CellTree widget supports DataBinding,
>
> CellTree, like all Cell widgets, is *based* on databinding (unless you
> don't have the same definition for databinding as me)
>
> > Sorting & filtering etc.. ?
>
> It doesn't support those features, but your model (TreeViewModel) can (most
> likely using a *decorator* pattern around you *real* TreeViewModel). The
> hardest part is to fire the appropriate events so that the CellTree
> re-renders your tree with the updated model.
> I've implemented a live outline of a rich-text editor (as soon as you
> add/remove a heading, the outline tree updates; same if you change the
> heading level; and if you type in the heading, the corresponding tree item
> updates with the new heading text). In my case, I used ListDataProviders
> within DefaultTreeNodes, and to update the tree I simply replace the whole
> list (ListDataProvider#setList). When an element has changed –but not the
> structure of the list– (e.g. when a heading's text changes), then I get the
> parent node's children list and call setList with the same value, it'll
> redraw the children of the parent node, so will redraw our updated node
> (along with all its sibling; it could probably be optimized, but nobody
> reported any performance issue yet; we also do that because our list is
> unmodifiable, so we cannot simply set() the item on the list to update that
> one heading).

-- 
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: UiBinder view inheritance troubles

2012-04-05 Thread Márcio Menezes
Hey, guys, thanks for the answers...

Thomas, I think what u said is the cause of my problem. I have two ui.xml
files, one for the super and another for the sub class. And I'm trying to
bind both and put them together in a container afterwards.. ://
I see the limitation, "you cannot use a single class hierarchy as the
target for two UiBinders". But I didn't want to have to move the fields of
the super class to the sub or the other way around.
What I'm trying to get is a view extending from another view. Why do I want
to do this? Because I have a set of views with the same visual pattern, ie:
"CRUD" views that need to have save and cancel button, and I didn't want to
repeat my self in all the sub views by re-adding the save and cancel
button. Nothing new... Pure O.O. concepts.

Really? Isn't there a way of doing this?

Hugs

On Wed, Apr 4, 2012 at 1:19 PM, Philippe Lhoste  wrote:

> On 04/04/2012 09:32, Márcio Menezes wrote:
>
>> I'm migrating all my views from the old style to @UiBinder based and I'm
>> facing some troubles
>> I used to have base views (Composite) in charge of adding common
>> components, ie:
>> EditModelBaseView is in charge of adding the save and cancel button, so
>> that all the sub
>> views will render those components by inheritance.
>> I can't get it to work... I would need a sort of xml inheritance, besides
>> the the class
>> inheritance, but this doesn't seem to be possible because the compiler
>> complains stating
>> the inherited attributes aren't declared in the subview ui.xml. How would
>> this approach be
>> matched with UiBinder based views?
>>
>
> As Thomas said, it is hard to see what is your exact problem, but for what
> it is worth, you can declare UiBinder components and re-use them, like:
>
>   xmlns:ui='urn:ui:com.google.**gwt.uibinder'
>  xmlns:g="urn:import:com.**google.gwt.user.client.ui"
>  xmlns:our="urn:import:com.our.**company.web.client"
>  >
>
> then use it as:
>
> 
> or
> 
>
> The components must be quite autonomous, perhaps exposing an API for using
> from other components.
>
> --
> Philippe Lhoste
> --  (near) Paris -- France
> --  http://Phi.Lho.free.fr
> --  --  --  --  --  --  --  --  --  --  --  --  --  --
>
>
> --
> 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: code splitting question

2012-04-05 Thread dodo dard
Hello,

It depends on the dependency between your module. The best way to deal with 
code splitting is to start it. And than you can analyse each your code 
splitting combination. Google provide the tools to do that.

Sincerely
Bowie

==
www.html5bydemo.com

Le jeudi 5 avril 2012 08:59:14 UTC+2, HamsterofDeath a écrit :
>
> hi there,
>
> my gwt app it getting pretty big, so i looked into code splitting - but it 
> looks like magic to me in non trivial cases.
> i have about 20 gwt modules, and all entry points implement an abstract 
> entry point:
>
> public void onModuleLoad() {
> this.LOGGER.info("initializing module");
>  try {
> initModule();
> } catch (Throwable t) {
>  this.LOGGER.info("error while initializing module");
> ErrorHandling.handleEverything(t);
>  }
> }
>
> if i put gwt.runasync around "initModule", will every module be compiled 
> into its own js source file? if not, how can i achieve that? so i have to 
> change every implementation of "initmodule"?
>

-- 
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/-/5V8aXKYub64J.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: how to go to a widget at the top of the page

2012-04-05 Thread Kei Kei
For more information, I am using GWT 2.4.
the errMsgPanel.getElement().scrollIntoView() is called inside a button
clickHandler.

On Thu, Apr 5, 2012 at 4:52 PM, Kei Kei  wrote:

> I try to call errMsgPanel.getElement().scrollView();
> where errMsgPanel is a FlowPanel,
> it throws error:
> NoSuchMethodError:com/google/gwt/user/client/Element.scrollIntoView()V
> at com.ha
>
>
> On Thu, Apr 5, 2012 at 4:25 PM, Jens  wrote:
>
>> Have you tried to call errorFlowPanel.getElement().scrollIntoView() ? You
>> could also set the vertical scroll position on the ScrollPanel to 0 or call
>> ScrollPanel.scrollToTop().
>>
>> -- J.
>>
>>
>> Am Donnerstag, 5. April 2012 05:29:44 UTC+2 schrieb tong123123:
>>
>>> my panel is very long, and I have an FlowPanel for displaying error
>>> message at the top of the long panel, there is a "search" button at the
>>> bottom of the page, when user press "search", there is validation and if
>>> has error, the error is shown on the FlowPanel at the top of page, but the
>>> page will not automatically jump to the top of the page to let user see the
>>> error message, I try to use a focusPanel to surrounding the error message
>>> panel and use focusPanel.setFocus(true) but the page still cannot jump to
>>> the focusPanel at the top of the page, so any method I can do?
>>>
>>  --
>> 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/-/PYqESnSsaAsJ.
>>
>> To post to this group, send email to google-web-toolkit@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-web-toolkit+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>
>

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



Re: how to go to a widget at the top of the page

2012-04-05 Thread Kei Kei
I try to call errMsgPanel.getElement().scrollView();
where errMsgPanel is a FlowPanel,
it throws error:
NoSuchMethodError:com/google/gwt/user/client/Element.scrollIntoView()V
at com.ha

On Thu, Apr 5, 2012 at 4:25 PM, Jens  wrote:

> Have you tried to call errorFlowPanel.getElement().scrollIntoView() ? You
> could also set the vertical scroll position on the ScrollPanel to 0 or call
> ScrollPanel.scrollToTop().
>
> -- J.
>
>
> Am Donnerstag, 5. April 2012 05:29:44 UTC+2 schrieb tong123123:
>
>> my panel is very long, and I have an FlowPanel for displaying error
>> message at the top of the long panel, there is a "search" button at the
>> bottom of the page, when user press "search", there is validation and if
>> has error, the error is shown on the FlowPanel at the top of page, but the
>> page will not automatically jump to the top of the page to let user see the
>> error message, I try to use a focusPanel to surrounding the error message
>> panel and use focusPanel.setFocus(true) but the page still cannot jump to
>> the focusPanel at the top of the page, so any method I can do?
>>
>  --
> 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/-/PYqESnSsaAsJ.
>
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

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



Re: how to go to a widget at the top of the page

2012-04-05 Thread Jens
Have you tried to call errorFlowPanel.getElement().scrollIntoView() ? You 
could also set the vertical scroll position on the ScrollPanel to 0 or call 
ScrollPanel.scrollToTop().

-- J.


Am Donnerstag, 5. April 2012 05:29:44 UTC+2 schrieb tong123123:
>
> my panel is very long, and I have an FlowPanel for displaying error 
> message at the top of the long panel, there is a "search" button at the 
> bottom of the page, when user press "search", there is validation and if 
> has error, the error is shown on the FlowPanel at the top of page, but the 
> page will not automatically jump to the top of the page to let user see the 
> error message, I try to use a focusPanel to surrounding the error message 
> panel and use focusPanel.setFocus(true) but the page still cannot jump to 
> the focusPanel at the top of the page, so any method I can do?
>

-- 
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/-/PYqESnSsaAsJ.
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 CellTree : DataBinding, Sorting & filtering

2012-04-05 Thread Thomas Broyer

On Thursday, April 5, 2012 8:54:03 AM UTC+2, vaibhav gwt wrote:
>
> I want to  render large tree dynamically so I selected CellTree widget.
> I also want  to know How CellTree widget supports DataBinding,


CellTree, like all Cell widgets, is *based* on databinding (unless you 
don't have the same definition for databinding as me)
 

> Sorting & filtering etc.. ?
>

It doesn't support those features, but your model (TreeViewModel) can (most 
likely using a *decorator* pattern around you *real* TreeViewModel). The 
hardest part is to fire the appropriate events so that the CellTree 
re-renders your tree with the updated model.
I've implemented a live outline of a rich-text editor (as soon as you 
add/remove a heading, the outline tree updates; same if you change the 
heading level; and if you type in the heading, the corresponding tree item 
updates with the new heading text). In my case, I used ListDataProviders 
within DefaultTreeNodes, and to update the tree I simply replace the whole 
list (ListDataProvider#setList). When an element has changed –but not the 
structure of the list– (e.g. when a heading's text changes), then I get the 
parent node's children list and call setList with the same value, it'll 
redraw the children of the parent node, so will redraw our updated node 
(along with all its sibling; it could probably be optimized, but nobody 
reported any performance issue yet; we also do that because our list is 
unmodifiable, so we cannot simply set() the item on the list to update that 
one heading).

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