GWT Future plan

2018-11-13 Thread mohammed sameen
Hi All,
  We have multiple product developed primarily using GWT and currently used 
by our end customers.

Wanted to know the road map of GWT. I got some unofficial update that 
google is moving there product which is developed in GWT to some other new 
technology. Is it true?

What is long term plan for GWT and also we haven't seen any new release 
from past one year. Any suggestions ?


-- 
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: Adding Filter causes GWT Host page to rendering twice

2017-03-21 Thread mohammed sameen
Thanks Frank..its coding issue in filter.. now this issue is solved

On Friday, March 17, 2017 at 9:24:03 AM UTC+5:30, mohammed sameen wrote:
>
> Hi,
>I have a production issue which i can easily reproducible in Normal GWT 
> application as well, Below is the scenario
>  
>
>-  Created sample GWT application
>- Added Servlet Filters in my web.xml (for Central Authantication 
>System   ,which will not execute in this case,it will skip now and perform 
>chain.dofilter for both the filters).
>- Deploying this sample application on remote server(glassfish) and 
> accessing through VPN, causing the host page to render twice
>
> *Web.xml:*
> **
> *http://www.w3.org/2001/XMLSchema-instance 
> <http://www.w3.org/2001/XMLSchema-instance>"*
> * xsi:schemaLocation="http://java.sun.com/xml/ns/javaee 
> <http://java.sun.com/xml/ns/javaee> *
> *  http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd 
> <http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd>"*
> * version="2.5"*
> * xmlns="http://java.sun.com/xml/ns/javaee 
> <http://java.sun.com/xml/ns/javaee>">*
>
> *  *
> *  *
> *greetServlet*
> *com.example.server.GreetingServiceImpl*
> *  *
>   
> *  *
> *greetServlet*
> */gwttest/greet*
> *  *
>   
>   
> *   *
> * RedirectFilter*
> * com.example.server.RedirectFilter*
> * *
> **
> * CASResponseFilter*
> * com.example.server.CASResponseFilter*
> * *
> * *
> * RedirectFilter*
> * /GWTTest.html*
> *  *
> **
> * CASResponseFilter*
> * /GWTTest.html*
> *  *
> *  *
> *  *
> *GWTTest.html*
> *  *
>
> **
>
> Deploying this app in one of our glassfish server which is accessiable 
> through VPN,
> If i access the application ,its rendering the html host page twice see 
> the image
>
>
> <https://lh3.googleusercontent.com/-bsS26Ll_fLk/WMtaMCmRSuI/ARU/4nUEilsyJ68bgL0PWgmbuEhVxjbjQ5EeACLcB/s1600/two%2Bhtml.png>
>
>
>
> <https://lh3.googleusercontent.com/-IxYX1OkmibE/WMtb1qY0SbI/ARg/hJf0hV2ToHM9AlZ8hkfNN3w14u-xaQFGgCLcB/s1600/htmlres.png>
>
>
> And the same if i deploy on my local server, html page is rendering fine.
>
>
> Need suggestion why GWT application is behaving differently when we 
> deployed on local & remote server(with adding servlet filter on host page)
>
> Please suggest me how to fix this issue?
>

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


Adding Filter causes GWT Host page to rendering twice

2017-03-16 Thread mohammed sameen
Hi,
   I have a production issue which i can easily reproducible in Normal GWT 
application as well, Below is the scenario
 

   -  Created sample GWT application
   - Added Servlet Filters in my web.xml (for Central Authantication System 
 ,which will not execute in this case,it will skip now and perform 
   chain.dofilter for both the filters).
   - Deploying this sample application on remote server(glassfish) and 
accessing through VPN, causing the host page to render twice

*Web.xml:*
**
*http://www.w3.org/2001/XMLSchema-instance"*
* xsi:schemaLocation="http://java.sun.com/xml/ns/javaee *
*  http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"*
* version="2.5"*
* xmlns="http://java.sun.com/xml/ns/javaee;>*

*  *
*  *
*greetServlet*
*com.example.server.GreetingServiceImpl*
*  *
  
*  *
*greetServlet*
*/gwttest/greet*
*  *
  
  
*   *
* RedirectFilter*
* com.example.server.RedirectFilter*
* *
**
* CASResponseFilter*
* com.example.server.CASResponseFilter*
* *
* *
* RedirectFilter*
* /GWTTest.html*
*  *
**
* CASResponseFilter*
* /GWTTest.html*
*  *
*  *
*  *
*GWTTest.html*
*  *

**

Deploying this app in one of our glassfish server which is accessiable 
through VPN,
If i access the application ,its rendering the html host page twice see the 
image







And the same if i deploy on my local server, html page is rendering fine.


Need suggestion why GWT application is behaving differently when we 
deployed on local & remote server(with adding servlet filter on host page)

Please suggest me how to fix this issue?

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


.cache.html files downloading twice

2017-03-15 Thread mohammed sameen
Hi
  I have a application developed using GWT 2.6 and deployed in one of our 
environment which needs to be accessed through VPN  but getting one issue 
in some cases



   - *.cache.html files are downloading 2 times (size is 821KB,Image is 
   attache here ) which will take time to load the application
   - The same i can't reproduce in my local environment meaning only one 
   *.cache.html file is downloading if I deploy on my local vm
   - Any idea what causing this issue

Note: i have added 2 servlet filter whenever the host page 
loads(/hostpage.html) for some other reason which will not execute in the 
above case. 

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


How to set Custom Attribute for SmartGWT Widget

2016-12-09 Thread mohammed sameen


I want to get the attribute of the smartgwt widget which i am setting like the 
way in GWT. For example in GWT:


//Button creation

 Button btn1 = new Button(" Button 1");
 Button btn2 = new Button("Button 2");
 Button btn3 = new Button("Button 3");
//setting the attribute to button doms
 btn1.getElement().setAttribute("data-tracking", "Button 1 clicked");
 btn2.getElement().setAttribute("data-tracking", "Button 2 clicked");
 btn3.getElement().setAttribute("data-tracking", "Button 3 clicked");

//Global handler to catch all the event in my application
Event.addNativePreviewHandler(new NativePreviewHandler() {
  public void onPreviewNativeEvent(final NativePreviewEvent event) {
final int eventType = event.getTypeInt();
switch (eventType) {

  case Event.ONCLICK:
 System.out.println("on clikc 
clicked"+Element.as(event.getNativeEvent().getEventTarget()).getAttribute("data-tracking"));//getting
 the button attribute 
 
if(Element.as(event.getNativeEvent().getEventTarget()).getAttribute("data-tracking")!=null
 && 
!Element.as(event.getNativeEvent().getEventTarget()).getAttribute("data-tracking").equals("")){
 
googleAnalyticsTrackPageView(Element.as(event.getNativeEvent().getEventTarget()).getAttribute("data-tracking"));
 }
break;

}
  }
});


But in SmartGWT, i was not able to set/get this attribute. Is there a way to 
solve this problem?

-- 
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: Integrating Google Analytics with GWT (SPA) Application to capture the User Flow

2016-12-05 Thread mohammed sameen

>
> Thanks jens..now my worry is if i add this global handler will it create 
> performance issue?
>
 
Event.addNativePreviewHandler(new NativePreviewHandler() {
 public void onPreviewNativeEvent(final NativePreviewEvent event) {
   final int eventType = event.getTypeInt();
   switch (eventType) {
 case Event.ONMOUSEMOVE:
   //mouse tracking logic?
 System.out.println("mousemove clicked");
   break;
 case Event.ONCLICK:
System.out.println("on clikc 
clicked"+Element.as(event.getNativeEvent().getEventTarget()).getAttribute("data-tracking"));
 

googleAnalyticsTrackPageView(Element.as(event.getNativeEvent().getEventTarget()).getAttribute("data-tracking"));
 
   break;
 default:
   // not interested in other events
   }
 }
}); 

What is the best way to handle this?

-- 
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 Load GWT theme Dynamically

2015-11-12 Thread Mohammed Sameen
Thanks Thomas & JonL for your suggestion

On Thursday, November 12, 2015 at 3:48:37 PM UTC+5:30, abdul wrote:
>
> I have an application built on GWT with internationaliation. I want to 
> load the GWT theme dynamically.For example:If 
> (`localhost:8080/GWTApps/app.html`) then load this ` name='com.google.gwt.user.theme.clean.Clean'/>` theme or else 
> (`localhost:8080/GWTApps/app.html=ar`) load this ` name='com.google.gwt.user.theme.clean.CleanRTL'/>`.How to achieve this 
> dynamically any idea or thoughts on this?
>

-- 
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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Upload request cancelled

2015-11-05 Thread Mohammed Sameen
Can you share the code snippet?

On Saturday, October 31, 2015 at 11:36:33 PM UTC+5:30, Tushar Bhasme wrote:
>
> I am trying to upload files using FormPanel and FileUpload. The moment the 
> I submit the form, I see this in the network console:
>
>
> 
>
> The request does go to server though and completes successfully but the 
> browser receives no response and my *FormPanel.SubmitCompleteHandler* is 
> not executed. Any idea why this could be happening? 
>
> It does work sometimes though and once it works, it does not fail 
> thereafter.
>
>
> Thanks,
>
> Tushar
>
>

-- 
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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Accessing Content from Different Server

2015-09-08 Thread Mohammed Sameen
Thanks Alberto,i am not able to do this using Window.PostMessage() its 
throwing this "Uncaught SecurityError: Blocked a frame with origin 
"http://wlw7-mohammeds:9090; from accessing a frame with origin 
"http://localhost:8080;. Protocols, domains, and ports must match." 
Exception even though i am setting the response header to (
Access-Control-Allow-Origin:http://localhost:8080) any other workaround?

-- 
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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Upgradation to GWT 2.7 Shows blank page

2015-08-17 Thread Mohammed Sameen


 Help me.. i want to use GwtBootstrap for front view, i want to display 
 Google Map on my Site.. and tit should be Responsive,,
 im displaying but it is not responsive..

Shiva,If you want responsiveness in your gwt application then either use 
GWTBootstrap component or GWT with Bootstrap css.

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


Launching Super Dev Mode Taking almost 5 minute

2015-08-17 Thread Mohammed Sameen


Hi currently I upgraded my application to GWT 2.7 version and used super 
dev mode, its taking almost 5 minutes to launch the application in SDM,

Super Dev Mode starting up
   workDir: 
C:\Users\SAM~1.IND\AppData\Local\Temp\gwt-codeserver-8409402920962843736.tmp
   Loading Java files in com.example.ex.onlineexample.Result.
   Ignored 1 unit with compilation errors in first pass.
Compile with -strict or with -logLevel set to DEBUG or WARN to see all errors.
   Ignored 27 units with compilation errors in first pass.
Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.
   Module setup completed in 297949 ms
2015-08-18 11:10:26.902:INFO:oejs.Server:jetty-8.y.z-SNAPSHOT
2015-08-18 11:10:27.383:INFO:oejs.AbstractConnector:Started 
SelectChannelConnector@127.0.0.1:9876

The code server is ready at http://localhost:9876/

297949 ms=4.96582 minutes its almost taking 5 minute,Is there anythink i 
need to correct?Any Suggestion?How to minimize this time?

-- 
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: Upgradation to GWT 2.7 Shows blank page

2015-08-13 Thread Mohammed Sameen
Thanks Joyner, i solved this issue...its because of loading the js not in 
proper order

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


Upgradation to GWT 2.7 Shows blank page

2015-08-11 Thread Mohammed Sameen
Recently i migrated my gwt application from GWT 2.5 to GWT 2.7 .Moved most 
of the script js from *.gwt.xml to html hostpage and added 
set-configuration-property 
name='xsiframe.failIfScriptTag' value='FALSE'/ tag to make compilation 
success .After the deployment when i hit the hostpage it showing the blank 
page.Is there anythink which i need to configure?

-- 
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: GWT CellTable-How to Move the Sorting Arrow from Left to Right side

2015-07-29 Thread Mohammed Sameen
Thanks Thomas for your reply i am able to do with this 
setSortIconStartOfLine  but having one more issue there is lot of space 
between the Label and icon its because of fixed inline styling(i can 
override this but cant have handle because of label length).

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


GWT Celltable-Sorting on Multiple Column

2015-07-28 Thread Mohammed Sameen


How to perform sorting on multiple column Using GWT Celltable. I didnt find 
any example code for this? See the below image

[image: enter image description here] http://i.stack.imgur.com/8txUa.png

I need to Perform sorting on multiple column.How to Achieve this using GWT 
Celltable any clue?

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


GWT CellTable-How to Move the Sorting Arrow from Left to Right side

2015-07-27 Thread Mohammed Sameen


I Would like to move the sorting arrow from left to right side in the cell 
table header which is shown in below image[image: enter image description 
here] http://i.stack.imgur.com/xpQ75.png

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 Update Cell Table Footer Dynamically

2015-07-09 Thread Mohammed Sameen
I solved 
it..http://stackoverflow.com/questions/31285655/how-to-update-cell-table-footer-dynamically/31312427#31312427

-- 
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 Update Cell Table Footer Dynamically

2015-07-08 Thread Mohammed Sameen
Donald,in first step celltable will be get created ,data will come in 
response(Asyn) which will take some time to load.Once i received the data 
that time the celltable is created with header and footer.then i will push 
the data to celltable which will reload and showed in table this time i 
need to update the footer section as well .How its possible?

On Wednesday, July 8, 2015

 Hello Mohammed,
 Do you mean this method
 com.google.gwt.user.cellview.client.AbstractCellTable.addColumn(ColumnT, 
 ?, Header?, Header?) 
 does not meet your requiirement? (i.e dynamically updating the column 
 footer)
 Or do you mean you just want a footer and not a header?
 If so, you could provide an empty header and be left with your preferred 
 footer..

 Regards. 


-- 
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 Update Cell Table Footer Dynamically

2015-07-08 Thread Mohammed Sameen
Donald,in first step celltable will be get created with data,data will come 
in response(Asyn) which will take some time to load.Once i received the 
data that time the celltable is created with header and footer.then i will 
push the data to celltable which will reload and showed in table this time 
i need to update the footer section as well .How its possible?

On Wednesday, July 8, 2015

 Hello Mohammed,
 Do you mean this method
 com.google.gwt.user.cellview.client.AbstractCellTable.addColumn(ColumnT, 
 ?, Header?, Header?) 
 does not meet your requiirement? (i.e dynamically updating the column 
 footer)
 Or do you mean you just want a footer and not a header?
 If so, you could provide an empty header and be left with your preferred 
 footer..

 Regards. 


-- 
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 Update Cell Table Footer Dynamically

2015-07-08 Thread Mohammed Sameen
Thanks Donald for your reply,As i already mention While creating column 
field i can use this addColumn but data is loading after this celltable 
creation,in that case i can't use addColumn.I just want to update the 
column footer.

-- 
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 Update Cell Table Footer Dynamically

2015-07-08 Thread Mohammed Sameen


I am trying to add footer to the celltable and finding hard time to change 
the celltable footer dynamically but i am able to add while creating 
columns like below

cellTable.addColumn(qty, Qty,Integer.toString(totalQty)); 

This is not i am looking for,Is there any way to set footer to cell table 
dynamically.Any help?

-- 
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: Super Dev Mode with GWT 2.5.1-rc1 and Chrome 26.0

2015-07-01 Thread Mohammed Sameen
Hi Celinio,Thanks for your blog..I read this i have application which is 
created as maven project.Earlier i was using Dev mode now i need to migrate 
it to SDM.I am facing lot of issue while migrating.My main maven project 
doesn't contain any think except (*.gwt.xml) and Rootpanel.get().add.My 
other dependency maven project contain actual client side coding.How to 
setup SDM for dependency maven project ?Where to add this dependency maven 
project ?Any help?

On Saturday, April 13, 2013 at 4:33:53 PM UTC+5:30, Celinio Fernandes wrote:

 Hi,
 Just want to let you know about my latest post on my blog where i try to 
 explain quickly how to run the super dev mode.
 I used GWT 2.5.1-rc1 and Chrome 26.0.
 I hope it is helpful.

 http://www.celinio.net/techblog/?p=1642

 Feel free to add any comments and report any mistake.
 Thanks


-- 
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: Injecting JSNI(Datatables.net) to GWT CellTable to hide/show rows

2015-06-23 Thread Mohammed Sameen
Finally i did by injecting plain javascript into gwt celltable..

private static native void loadDataJS_main(GWTExpandCollapse gwt)/*-{

$wnd.$(function() {
var inc = 0;
$wnd.jQuery('#btnId').click(function() {
 inc++;
 $wnd.$(#example tbody tr).each(function(i, object) { 
console.log(inc vlaue+inc)
 if(inc%2==0){ 
 $wnd.$('#example tbody .dispId').remove();
 console.log(hide);
 }else{
 var safeHtml= 
g...@com.my.sample.client.gwt.GWTExpandCollapse::getRowValue(I)(i); 
 $wnd.$(object).after(safeHtml);
 console.log(show);
 }
});

});
});

}-*/;

-- 
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: Injecting JSNI(Datatables.net) to GWT CellTable to hide/show rows

2015-06-23 Thread Mohammed Sameen
Finally i did it by injecting plain javascript into gwt celltable..

private static native void loadDataJS_main(GWTExpandCollapse gwt)/*-{

$wnd.$(function() {
var inc = 0;
$wnd.jQuery('#btnId').click(function() {
 inc++;
 $wnd.$(#example tbody tr).each(function(i, object) { 
console.log(inc vlaue+inc)
  if(inc%2==0){ 
  $wnd.$('#example tbody .dispId').remove();
  console.log(hide);
  }else{
  var safeHtml= 
g...@com.my.sample.client.gwt.GWTExpandCollapse::getRowValue(I)(i); 
 $wnd.$(object).after(safeHtml);
 console.log(show);
  }
});

});
});

}-*/;

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


Injecting JSNI(Datatables.net) to GWT CellTable to hide/show rows

2015-06-22 Thread Mohammed Sameen
I am using Datatables js(using JSNI) for showing and hiding the row 
information for my table(which is created using Google web toolkit-gwt 
celltable) link(https://www.datatables.net/examples/api/row_details.html).My 
requirement is on click of Button i need to iterate the table and show 
/hide the information but its not working See below is my code

function format(d) {
  return 'table cellpadding=5 cellspacing=0 border=0 
style=padding-left:50px;'
+ 'tr'
+ 'tdFull name:/td'

+ '/tr' + '/table';}



$wnd.$(function() {

var table = $wnd.$('#example').DataTable({
columns : [ {

orderable : false,
data : null,
defaultContent : ''
}, {
data : firstName
}, {
data : middleName
}, {
data : lastName
}, {
data : age
}, {
data : empId
}, {
data : address
} ],
order : [ [ 1, 'asc' ] ]
});

$wnd.jQuery('#btnId').click(function() {



$wnd.$(#example tbody tr).each(function(i) {  
var rowNo = table.row(i);

if (rowNo.child.isShown()) {
// This row is already open - close it
console.log(hide--);
rowNo.child.hide();
} else {
console.log(rowNo.data());
  rowNo.child( format(rowNo.data()) ).show();
}
});
});
});


and finally i saw one difference is that the table which is created using GWT 
generates the table structure in this format. tr __gwt_row=0 
__gwt_subrow=0 class=GEUXRR0CPCtd class=GEUXRR0COC GEUXRR0CAD 
GEUXRR0CBDdiv style=outline-style:none; __gwt_cell=cell-gwt-uid-16 
tabindex=0xxx/div/tdtd class=GEUXRR0COC GEUXRR0CADdiv 
style=outline-style:none; __gwt_cell=cell-gwt-uid-17yyy/div/td

since text will be there inside div which is inside td.How to solve this 
issue?How to show/hide the row inside the table?any help?

or Any other way to develop this feature using 
GWT(https://www.datatables.net/examples/api/row_details.html)?

-- 
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: titanium4j

2015-06-11 Thread Mohammed Sameen

Anyone wanting to build native mobile  apps with GWT(Java) should try this.
Can please help me out how to develop mobile(andriod) apps using GWT?Any 
Guidelines



-- 
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: Checkbox with Selectable tree Using GWT

2015-05-29 Thread Mohammed Sameen
Hi Jonathan,thanks for you reply finally its creating cell where i need to 
wrap this cell ..

On Thursday, May 28, 2015 at 11:57:07 AM UTC+5:30, Mohammed Sameen wrote:

 See the below image[image: enter image description here]

 I need to create a widget similar to the above one.Is there any built-in 
 widget available to integarate in my GWT Application or How to create this 
 custom checkbox selectable tree widget using GWT?Is it possible?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: Amazon Web Services / Continuous Integration

2015-05-28 Thread Mohammed Sameen
Hi Ariel,
I have experience in GWT apps deploying in AWS.Manually i did it

   1. Create AWS Instance
   2. Setup AWS with installing Server and Databases(Mysql),configuration
   3. Expose the Instance 
   4. Create GWT apps EAR
   5. Transfer EAR to AWS through FTP or copy nd paste manually from local 
   to remote AWS
   6. Deploy the EAR in AWS server(tomcat/jboss)
   7. Hit the URL


On Thursday, May 28, 2015 at 6:23:34 PM UTC+5:30, Ariel Janover wrote:

 Hello everyone! We are working with GWT in a project with my Team, using 
 it for the client-side features and combining it with PHP + MySQL. 

 Does anybody have any experience deploying GWT Apps to Amazon Web 
 Services? We are interested in being able to automatically deploy to 
 development and production instances there after pushing to the 
 corresponding branches either with Git or Mercurial.

 All help is appreciated!

 Best,

 Ari


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


Checkbox with Selectable tree Using GWT

2015-05-28 Thread Mohammed Sameen


See the below image[image: enter image description here]

I need to create a widget similar to the above one.Is there any built-in 
widget available to integarate in my GWT Application or How to create this 
custom checkbox selectable tree widget using GWT?Is it possible?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: Error inheritance blogger gwt project

2015-05-24 Thread Mohammed Sameen
inherit the package of this class BloggerAuthenticatedService try this

On Sunday, May 24, 2015 at 7:29:25 PM UTC+5:30, Manuel Antonio Gómez Angulo 
wrote:

 Hi people. I am a new developer of Blogger in GWT

 I have some errors in compilation
 [ERROR] Unable to find type 'aiss.client.BloggerAuthenticatedService'
[ERROR] Hint: Previous compiler errors may have made this 
 type unavailable
[ERROR] Hint: Check the inheritance chain from your module; 
 it may not be inheriting a required module or a module may not be adding 
 its source path entries properly

 It is like I have a fail in my gwt.xml
 I put this like an example.
 I think I have to write another inherits name but I don't know what is.

 !-- Add Google dependency using inherit using following line into your 
 XYZ.gwt.xml  --
   inherits name=com.google.gdata.YouTubeAPI/
   inherits name=com.google.api.gwt.oauth2.OAuth2/

 I put my gwt.xml here


-- 
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: GWT Compiler Task

2015-05-20 Thread Mohammed Sameen
Use Jenkins http://jenkins-ci.org/ http://jenkins-ci.org/

On Wednesday, May 20, 2015 at 11:53:58 AM UTC+5:30, naveen gayar wrote:

 Hi 


 I see that gwt provides support for ant. I wish to have the task which 
 compiles the java code and generate javascript folder. Can anybody provide 
 me hint on the same.

 Thanks
 navindian


-- 
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: GWT Compiler Task

2015-05-20 Thread Mohammed Sameen
Use Jenkins http://jenkins-ci.org/ http://jenkins-ci.org/

On Wednesday, May 20, 2015 at 11:53:58 AM UTC+5:30, naveen gayar wrote:

 Hi 


 I see that gwt provides support for ant. I wish to have the task which 
 compiles the java code and generate javascript folder. Can anybody provide 
 me hint on the same.

 Thanks
 navindian


-- 
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: Third Party Library for GWT validation

2015-05-19 Thread Mohammed Sameen
Yes Chad,I can't use GWT Validation(my application response is in the JSON 
format not in POJO)..

On Monday, May 18, 2015 at 5:36:11 PM UTC+5:30, abdul wrote:

 I want to validate the gwt field like (Email,Text Length,Phone Number,Date 
  SSN,etc..) Is there any proven JS or Library Available for Validating 
 this fields with GWT.

- I Can't use GWT Validation FrameworkorGWT Errai for my application 
since i am getting response as JSON not DTO.
- 

Even I tried Parsley JS(http://parsleyjs.org/ ) which is not possible 
(Reason:GWT have {key,value} pair to set the attribute but parsley have 
only value.)

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: GWT Developer plugin stopped working with Chrome

2015-05-05 Thread Mohammed Sameen
See this link 
SO:https://stackoverflow.com/questions/29750514/gwt-plugin-doesnt-work-in-chrome-42/29751058#29751058

On Sunday, May 3, 2015 at 6:19:57 PM UTC+5:30, Ofer Cohen wrote:

 Hi,

 I'm using gwt 2.7 with classic development mode and GWT Developer plugin 
 for Chrome.
 Till now everything worked well , but lately every time i run my project 
 with the URL: 
 https://127.0.0.1:/jobmarker.html?gwt.codesvr=127.0.0.1:9997 . I'm 
 getting an error in Chrome to install the plugin although is already 
 installed. (Development Mode requires the GWT Developer Plugin)
 I'm using Chrome latest version: 42.0.2311.135 m

 Can someone  help how to fix that?

 Thanks
 Ofer



-- 
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: Avoid generating Extra Attribute or Inline Styling from GWT CellTable?

2015-02-20 Thread Mohammed Sameen
Any other suggestion on this?

On Friday, February 20, 2015 at 1:07:21 PM UTC+5:30, Mohammed Sameen wrote:

 Hi,


 https://lh6.googleusercontent.com/-ASUZikDz1b4/VObjuDlb69I/AHI/1BrlB7iPQq0/s1600/gwtcellTable.png
 In my application I am using GWT Celltable for loading huge data in 
 several places.The GWT celltable generates the Extra Attribute,classes as 
 well as inline Styling which will hit the performance Issue(Concern rise by 
 our UX Team).Is there any way to avoid generating  Extra Attribute,classes 
 as well as inline Styling?Please give me your suggestion on this (or) Can 
 we override the GWT Celltable Template in our class ?See the attached Image


-- 
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: NetBeans Gwt 2.7 SDM

2015-02-18 Thread Mohammed Sameen
Hi Juan,
see this link
https://netbeans.org/kb/74/web/quickstart-webapps-gwt.html.

On Wednesday, February 18, 2015 at 6:53:32 AM UTC+5:30, Juan Calderón wrote:

 Dear all,

 I would appreciate so much any guide to integrate Gwt 2.7 with NetBeans.

 Thanks a lot.


-- 
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: Using GWT for front-end code only

2015-02-09 Thread Mohammed Sameen
@blake..Thanks for your reply..I would like to know about the 
responsiveness...how you are getting responsiveness in gxt 
application...Can you tell me the steps to get responsiveness using GXT?



 Thank you.  The app is just a typical GWT app with some GXT controls.  I 
 have a few cut points to avoid loading the whole app up front.  The 
 back-end is also straight GWT.  I persist with PostgreSQL and Hibernate. 
  About the only fancy thing I do is I keep complete history on every add, 
 change, or delete.  This way if a user went in and messed a bunch of 
 records up, I can correct all the damage easily.




-- 
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: GWT RPC or Errai or RequestBuilder?

2015-02-09 Thread Mohammed Sameen
Thanks for your reply..I would like know more about the limitation of using 
GWT RPC?

On Monday, February 9, 2015 at 6:11:03 PM UTC+5:30, Mohammed Sameen wrote:

 Hi,
 I created big application using GWT and am using RequestBuilder to 
 communicate with the server.So what is the best way for communicate to 
 server from client.
 i)RequestBuilder
 ii)GWT RPC
 iii)Any other approach(GWT Errai).


 I came to know that using GWT RPC is huge pain , so,what are the drawback 
 of using GWT RPC?what is the best approach?Please give me 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 Find RTL (or) LTR themes Loaded In GWT application?

2015-01-28 Thread Mohammed Sameen
Thanks Thomas.

On Tuesday, January 27, 2015 at 7:25:21 PM UTC+5:30, Mohammed Sameen wrote:

 Hi,
 In my GWT Application, I need to support multiple languages like 
 english,arabic,hebrew langauages and also i am using LTR and RTL themes in 
 module.gwt.xml.But internally in my application i need to know which themes 
 is loading (RTL,LTR).Since i need to write some logic in my application for 
 both cases.So how can i identify the themes(RTL or LTR)?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.


How to Find RTL (or) LTR themes Loaded In GWT application?

2015-01-27 Thread Mohammed Sameen
Hi,
In my GWT Application, I need to support multiple languages like 
english,arabic,hebrew langauages and also i am using LTR and RTL themes in 
module.gwt.xml.But internally in my application i need to know which themes 
is loading (RTL,LTR).Since i need to write some logic in my application for 
both cases.So how can i identify the themes(RTL or LTR)?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.


Same Orgin Policy issue in GWT?

2015-01-25 Thread Mohammed Sameen
Hi,
 In my gwt application i need to access some web serives exposed from some 
other port, I am getting Same origin Policy issue?Can any one let me know 
how to solve this?In generally in GWT how to access site B from site A.Is 
there any work around?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.


Linker in GWT?

2015-01-25 Thread Mohammed Sameen
Hi,
Can anyone explain me the usage of Linker in GWT?

-- 
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: Mapping .js files to specific browser?

2015-01-23 Thread Mohammed Sameen

GWT Compiler Generates .js files for each specific browser,how the mapping 
is happening in GWT at runtime?For Example,For chrome browser which .js 
files will load.
On Thursday, January 22, 2015 at 4:21:51 PM UTC+5:30, Mohammed Sameen wrote:

 Hi,
  GWT generates .js files for different browser.How mapping is happening in 
 GWT?




-- 
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: Mapping .js files to specific browser?

2015-01-23 Thread Mohammed Sameen
Any Suggestion on this?

On Thursday, January 22, 2015 at 4:21:51 PM UTC+5:30, Mohammed Sameen wrote:

 Hi,
  GWT generates .js files for different browser.How mapping is happening in 
 GWT?




-- 
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: GWT look and feel

2015-01-22 Thread Mohammed Sameen
Hi Philippe,

SmartGWT:
--Customizing the component in smartgwt is not possible
--Using smartgwt widget,cant achieve responsiveness

GWT:
but gwt is providing some basic widget,


they only way is to create our own custom widgets which requires time to 
build. 


For management software, I advise SmartGWT : it's really great !!! you 
 should test !

 For little specific application, I advise GWT with javascript / jquery


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


Mapping .js files to specific browser?

2015-01-22 Thread Mohammed Sameen
Hi,
 GWT generates .js files for different browser.How mapping is happening in 
GWT?


-- 
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: Wrapping HTML into UIBinder

2015-01-20 Thread Mohammed Sameen
Thanks Rogelio...

On Wednesday, January 14, 2015 at 7:30:03 PM UTC+5:30, Mohammed Sameen 
wrote:

 Hi Folks,
   I am using GWT 2.6 to develop my web application.Since i am getting the 
 HTML prototype from UX/UI designer can i wrap the html directly into 
 uibinder in GWT?

- Is so,then how to write event handler or validation for the 
component?
- Can i expect the same output (as looking in HTML prototype)?
- Generated code will be match exactly as looking in HTML,Is this 
Possible using UIBinder Approch?
- Is there any performance Issue?
- some time HTML Prototype will internally having jquery component,Can 
i wrap JQuery in GWT using UIBinder Approach?

 Please give me your valuable suggestion?Thanks in advance?
   
   
   


-- 
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: Unable to delete text in TextFeild of Dialog box

2015-01-17 Thread Mohammed Sameen
How you are clearing the textfield,what is the code?

On Friday, January 16, 2015 at 7:58:09 PM UTC+5:30, samina shaikh wrote:

 Hi,

 I am working on GWT project using libgdx. I used  custom dialog box which 
 show with textfield,ok and cancel button. But I am not able to delete text 
 in TextFeild.

 Please help me for this.

 Thanks.





-- 
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: Wrapping HTML into UIBinder

2015-01-16 Thread Mohammed Sameen
Any Suggestion on this?

On Wednesday, January 14, 2015 at 7:30:03 PM UTC+5:30, Mohammed Sameen 
wrote:

 Hi Folks,
   I am using GWT 2.6 to develop my web application.Since i am getting the 
 HTML prototype from UX/UI designer can i wrap the html directly into 
 uibinder in GWT?

- Is so,then how to write event handler or validation for the 
component?
- Can i expect the same output (as looking in HTML prototype)?
- Generated code will be match exactly as looking in HTML,Is this 
Possible using UIBinder Approch?
- Is there any performance Issue?
- some time HTML Prototype will internally having jquery component,Can 
i wrap JQuery in GWT using UIBinder Approach?

 Please give me your valuable suggestion?Thanks in advance?
   
   
   


-- 
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: Wrapping HTML into UIBinder

2015-01-16 Thread Mohammed Sameen
Any Suggestion this?

On Wednesday, January 14, 2015 at 7:30:03 PM UTC+5:30, Mohammed Sameen 
wrote:

 Hi Folks,
   I am using GWT 2.6 to develop my web application.Since i am getting the 
 HTML prototype from UX/UI designer can i wrap the html directly into 
 uibinder in GWT?

- Is so,then how to write event handler or validation for the 
component?
- Can i expect the same output (as looking in HTML prototype)?
- Generated code will be match exactly as looking in HTML,Is this 
Possible using UIBinder Approch?
- Is there any performance Issue?
- some time HTML Prototype will internally having jquery component,Can 
i wrap JQuery in GWT using UIBinder Approach?

 Please give me your valuable suggestion?Thanks in advance?
   
   
   


-- 
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: GWT 1.4.6 does not load in IE 10

2015-01-16 Thread Mohammed Sameen
GWT 1.4.6 is Older Version,it wont support IE 10 Upgrade GWT version

On Friday, January 16, 2015 at 2:23:55 PM UTC+5:30, Sonam Singh wrote:

 I am working with GWT version 1.4.6 and the application does not load in 
 IE 10. 

 Please help.


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


Wrapping HTML into UIBinder

2015-01-14 Thread Mohammed Sameen
Hi Folks,
  I am using GWT 2.6 to develop my web application.Since i am getting the 
HTML prototype from UX/UI designer can i wrap the html directly into 
uibinder in GWT?

   - Is so,then how to write event handler or validation for the component?
   - Can i expect the same output (as looking in HTML prototype)?
   - Generated code will be match exactly as looking in HTML,Is this 
   Possible using UIBinder Approch?
   - Is there any performance Issue?
   - some time HTML Prototype will internally having jquery component,Can i 
   wrap JQuery in GWT using UIBinder Approach?

Please give me your valuable suggestion?Thanks in advance?
  
  
  

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


Wrapping HTML into UIBinder

2015-01-14 Thread Mohammed Sameen
Hi Folks,
  I am using GWT 2.6 to develop my web application.Since i am getting the 
HTML prototype from designer can i wrap the html directly into uibinder in 
GWT?Is so,then how to write event handler or validation for the 
component?Please give me your valuable suggest?Thanks in advance?

-- 
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: Display Chinese

2014-12-28 Thread Mohammed Sameen
if you don't want to use I18N constants then load from Database

On Monday, December 29, 2014 7:41:55 AM UTC+5:30, David wrote:

 How do I display Chinese in a menu if I don't use I18N constants? I like 
 to display Chinese dynamically instead of from property file.
  
 Thanks!
  
  
 David


-- 
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: Responsive web design for Web application

2014-12-23 Thread Mohammed Sameen
You can use GWT, GWT support Responsive desing(Apply the bootstrap css to 
the GWT widget,do your layout with HTMLPanel, FlowPanel, SimplePanel).

On Monday, July 9, 2012 2:18:48 PM UTC+5:30, goluguri v v s n reddy wrote:

 Hi,

 I'm going to build a e-commerce website and client want that website 
 should be for all user Desktop, Tablets and Smartphones. Site is an 
 e-commerce website lost of categories and products , add to cart, checkout 
 functions, credit card and paypal payment etc.

 Would it be good to make responsive website with mobile first approach or 
 it will be good to make separate website for mobile?

 And if I go with separate website approach I cannot leave any feature of 
 desktop website to make it on mobile because it's e-commerce website so 
 every product, purchase system , form validation should be on mobile 
 website too.

 What would be good for users?




-- 
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: Anyone else get hourglass flickering in IE11?

2014-12-23 Thread Mohammed Sameen
Hi,
I am also facing the flickering issue in my application.I Used GWT 2.5 on 
top of that applied Bootstrap css to get responsiveness.But Screen is 
flickering some time untill page is reloaded.I don't no How to Fix this?

On Tuesday, December 23, 2014 7:17:30 AM UTC+5:30, darkflame wrote:


 GWT2.7, IE11, Windows7.

 Unfortunately I was foolish enough to leave detailed IE testing till late 
 in the project. Everything works fine on other browsers, but IE11 I get a 
 strange flickering hourglass. 
 That is, the cursor flickers between a normal mouse and an hourglass as it 
 moves over the page. Holding the mouse still and it stops.

 At first I thought it was the custom cursor I was using (*.cur), but even 
 without that it happens.

 Taking a static snapshot of the Dom and loading that in IE results in no 
 issue - so its clearly something the GWT javascript is doing, presumably 
 loading related. 
 Is there known issues regarding this? 

 Googlings tricky due to relevant keywords hitting generic pc problems.
 I did find someone with a JQuery issue that sounded the same;
 http://stackoverflow.com/questions/2372079/jquery-mouse-flicker-in-ie
 But the answer is rather cryptic - I use CSS backgrounds all over the 
 project surely that cant be it? 


 For those that want a visual of the problem our current WIP project is 
 here;
 http://www.darkflame.co.uk/JAMGames/[Thorn]%20Game/index.html#- 
 http://www.darkflame.co.uk/JAMGames/%5BThorn%5D%20Game/index.html#-

 You don't have to do anything more click Log in als gastspeler! 
 http://www.darkflame.co.uk/JAMGames/%5BThorn%5D%20Game/index.html# 
  and moving the mouse around too see the problem.

 If anyone else knows of anything like this it would help me investigate.
 cheers,
 (-sigh- I wish Chrome frame was still around...IEs already added a few 
 weeks onto this project)




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


Why Table Layout in GWT?

2014-12-08 Thread Mohammed Sameen
Hi,
 Why *table *layout is used in GWT?Why not *div *layout?

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


Compiling Project using GWT 2.6.1 throwing issue

2014-12-02 Thread Mohammed Sameen
Hi,
I have created project using gwt 2.6.1,jdk 1.7 while compiling its throwing 
the below exception.Can any body help me how to fix this issue?
*   Validating units:*
*  Ignored 2 units with compilation errors in first pass.*
*Compile with -strict or with -logLevel set to TRACE or DEBUG to see all 
errors.*
*   [ERROR] Errors in 
'file:/D:/Sample/SampleWrk/widgets/src/main/java/com/sample/ui/proxy/ReqAdapter.java'*
*  [ERROR] Line 132: No source code is available for type 
java.lang.SecurityException; did you forget to inherit a required module?*
*  [ERROR] Line 140: No source code is available for type 
com.google.gwt.core.ext.typeinfo.NotFoundException; did you forget to 
inherit a required module?*
*  [ERROR] Line 147: No source code is available for type 
javax.xml.ws.WebServiceException; did you forget to inherit a required 
module?*

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+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.


Compiling Project using GWT 2.6.1 throwing Exception

2014-12-02 Thread Mohammed Sameen
Hi,
I have created project using gwt 2.6.1,jdk 1.7 while compiling its throwing 
the below exception.Can any body help me how to fix this issue?
  * Validating units:*
*  Ignored 2 units with compilation errors in first pass.*
*Compile with -strict or with -logLevel set to TRACE or DEBUG to see all 
errors.*
*   [ERROR] Errors in 
'file:/D:/Sample/SampleWrk/widgets/src/main/java/com/sample/ui/proxy/ReqAdapter.java'*
*  [ERROR] Line 132: No source code is available for type 
java.lang.SecurityException; did you forget to inherit a required module?*
*  [ERROR] Line 140: No source code is available for type 
com.google.gwt.core.ext.typeinfo.NotFoundException; did you forget to 
inherit a required module?*
*  [ERROR] Line 147: No source code is available for type 
javax.xml.ws.WebServiceException; did you forget to inherit a required 
module?*

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+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: Compiling Project using GWT 2.6.1 throwing issue

2014-12-02 Thread Mohammed Sameen
thanks Juan..

On Tuesday, December 2, 2014 5:16:52 PM UTC+5:30, Juan Pablo Gardella wrote:

 You are trying to compile unsupported classes, see 
 http://www.gwtproject.org/doc/latest/RefJreEmulation.html 

 On 2 December 2014 at 07:06, Mohammed Sameen samee...@gmail.com 
 javascript: wrote:

 Hi,
 I have created project using gwt 2.6.1,jdk 1.7 while compiling its 
 throwing the below exception.Can any body help me how to fix this issue?
 *   Validating units:*
 *  Ignored 2 units with compilation errors in first pass.*
 *Compile with -strict or with -logLevel set to TRACE or DEBUG to see all 
 errors.*
 *   [ERROR] Errors in 
 'file:/D:/Sample/SampleWrk/widgets/src/main/java/com/sample/ui/proxy/ReqAdapter.java'*
 *  [ERROR] Line 132: No source code is available for type 
 java.lang.SecurityException; did you forget to inherit a required module?*
 *  [ERROR] Line 140: No source code is available for type 
 com.google.gwt.core.ext.typeinfo.NotFoundException; did you forget to 
 inherit a required module?*
 *  [ERROR] Line 147: No source code is available for type 
 javax.xml.ws.WebServiceException; did you forget to inherit a required 
 module?*

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




-- 
You received this message because you are subscribed to the Google Groups 
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: Compiling Project using GWT 2.6.1 throwing issue

2014-12-02 Thread Mohammed Sameen
Thanks june...Yes you are correct..i used unsupported classes ..

On Tuesday, December 2, 2014 5:16:52 PM UTC+5:30, Juan Pablo Gardella wrote:

 You are trying to compile unsupported classes, see 
 http://www.gwtproject.org/doc/latest/RefJreEmulation.html 

 On 2 December 2014 at 07:06, Mohammed Sameen samee...@gmail.com 
 javascript: wrote:

 Hi,
 I have created project using gwt 2.6.1,jdk 1.7 while compiling its 
 throwing the below exception.Can any body help me how to fix this issue?
 *   Validating units:*
 *  Ignored 2 units with compilation errors in first pass.*
 *Compile with -strict or with -logLevel set to TRACE or DEBUG to see all 
 errors.*
 *   [ERROR] Errors in 
 'file:/D:/Sample/SampleWrk/widgets/src/main/java/com/sample/ui/proxy/ReqAdapter.java'*
 *  [ERROR] Line 132: No source code is available for type 
 java.lang.SecurityException; did you forget to inherit a required module?*
 *  [ERROR] Line 140: No source code is available for type 
 com.google.gwt.core.ext.typeinfo.NotFoundException; did you forget to 
 inherit a required module?*
 *  [ERROR] Line 147: No source code is available for type 
 javax.xml.ws.WebServiceException; did you forget to inherit a required 
 module?*

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




-- 
You received this message because you are subscribed to the Google Groups 
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: Compiling Project using GWT 2.6.1 throwing issue

2014-12-02 Thread Mohammed Sameen
Thanks juan...Yes you are correct..i used unsupported classes ..

On Tuesday, December 2, 2014 5:16:52 PM UTC+5:30, Juan Pablo Gardella wrote:

 You are trying to compile unsupported classes, see 
 http://www.gwtproject.org/doc/latest/RefJreEmulation.html 

 On 2 December 2014 at 07:06, Mohammed Sameen samee...@gmail.com 
 javascript: wrote:

 Hi,
 I have created project using gwt 2.6.1,jdk 1.7 while compiling its 
 throwing the below exception.Can any body help me how to fix this issue?
 *   Validating units:*
 *  Ignored 2 units with compilation errors in first pass.*
 *Compile with -strict or with -logLevel set to TRACE or DEBUG to see all 
 errors.*
 *   [ERROR] Errors in 
 'file:/D:/Sample/SampleWrk/widgets/src/main/java/com/sample/ui/proxy/ReqAdapter.java'*
 *  [ERROR] Line 132: No source code is available for type 
 java.lang.SecurityException; did you forget to inherit a required module?*
 *  [ERROR] Line 140: No source code is available for type 
 com.google.gwt.core.ext.typeinfo.NotFoundException; did you forget to 
 inherit a required module?*
 *  [ERROR] Line 147: No source code is available for type 
 javax.xml.ws.WebServiceException; did you forget to inherit a required 
 module?*

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




-- 
You received this message because you are subscribed to the Google Groups 
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.


Dynamic Images using ClientBundle

2014-11-30 Thread Mohammed Sameen
Hi,
  I need to load some dynamic images through ClientBundle to use append in 
Celltable widget.Is it Possible,How?Please give your suggestion?Thanks in 
Advance...

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


Loading dynamic Images into celltable

2014-11-30 Thread Mohammed Sameen
Hi,
 I am creating celltable widget and inside i need to wrap dynamic Image 
into celltable column.How to achieve this?and how to conver Image to 
ImageResouce?

-- 
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 fight with a browser (Internet explorer) trivial problem?

2014-11-17 Thread Mohammed Sameen
IE11 uses the same permutation as Firefox, i.e. gecko1_8.Try with this user 
agent..I hope it solves your issue

On Monday, November 17, 2014 12:51:47 PM UTC+5:30, ghi...@gmail.com wrote:

 Hi I'm facing a problem that I think it's quite trivial but I can't really 
 understand it in the whole dimension:

 Start point is a quite complex GWT project but I guess with a simpler will 
 be the same, the project has 2 modules , the second inherits the first but 
 again I doubt it could be important.
 The resulting web app works great in chrome and safari but doesn't work in 
 IE (both IE11 and Safari using the i.e. 10 or 9 engine as development 
 option enables to) and doesn't work because can't identify the browser, 
 indeed compiling in detailed mode and looking at JS inside IE I can see 
 that the method

 function computePropValue(propName) {
 var value_0 = providers[propName](), allowedValuesMap = values[propName];
 if (value_0 in allowedValuesMap) {
 return value_0;
 }
 var allowedValuesList = [];
 for (var k in allowedValuesMap) {
 allowedValuesList[allowedValuesMap[k]] = k;
 }
 if (propertyErrorFunc) {
 propertyErrorFunc(propName, allowedValuesList, value_0);
 }
 throw null;}

 throws null because while checking the browser $doc.documentMode is 
 undefined and then it can't retrieve the correct nocache.js


 my get.xml is something like

 module rename-to=XDSViewerCore

 inherits name=com.google.gwt.user.User /

 inherits name=com.google.gwt.user.theme.standard.Standard /


  !-- set-property name=user.agent 
 value=ie8,ie9,ie10,trident,gecko1_8,safari/ -- 

  entry-point 


 and my html starts as

 !doctype html

 html

 head

 meta http-equiv=content-type content=text/html; charset=UTF-8

 Naturally I also tried to set user-agent to just safari and gecko and 
 beside it works I have a warning that is telling me about the fact the 
 browser isn't supposed to exist opening the page...

 so:
 1) why it can't find document mode? what I'm missing?
 2) It's possible and how can I say that if the browser can't be identified 
 must be used (without warnings!) a default permutation?
 3) there's something I can do to better understand the behaviour?


 Anyone?








-- 
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: I ma getting this error what should i do

2014-11-17 Thread Mohammed Sameen
Just Download and Install the Required Plugins...

On Monday, November 17, 2014 9:46:54 AM UTC+5:30, Test Mymailyaar wrote:


 https://lh5.googleusercontent.com/-PTRoznw0EvE/VGl2r8P0bvI/AAk/GVY0L0WAPsY/s1600/error.jpg



-- 
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 GWT to a pure java library with maven?

2014-11-17 Thread Mohammed Sameen
Hi Magnus,
can add like this,

  plugin
groupIdorg.codehaus.mojo/groupId
artifactIdgwt-maven-plugin/artifactId
version2.7.0-rc1/version
dependencies
  dependency
groupIdcom.google.gwt/groupId
artifactIdgwt-user/artifactId
version${gwt.version}/version
  /dependency
  dependency
groupIdcom.google.gwt/groupId
artifactIdgwt-dev/artifactId
version${gwt.version}/version
  /dependency
  dependency
groupIdcom.google.gwt/groupId
artifactIdgwt-codeserver/artifactId
version${gwt.version}/version
  /dependency
/dependencies
  /plugin


On Saturday, November 15, 2014 9:05:19 PM UTC+5:30, Magnus wrote:

 Hi,

 I have a pure java library created with maven and the archetype 
 quickstart:

 mvn archetype:generate -DarchetypeArtifactId=maven-archetype-quickstart


 Now I would like to do the following:

- add classes to the library that use GWT classes
- use the library classes, e. g. in a maven modular-webapp on the 
client side
- edit the library code in eclipse, while eclipse sees the GWT 
classes
for example, to add imports automatically when hovering an unknown 
class name

 How do I have to modify the pure java library to do this?

 I have tried to adopt contents of the pom.xml from the modular-webapp 
 archetype (client side), but without success.
 I also don't know if I have to add dependencies (gwt: user, dev and 
 servlet, but which one?) or plugins (codehaus stuff), or both?
 There are docs on the net (codehaus, mojo, ...) but I am unsure if these 
 are suitable for me.
 Remember, I don't want to build a web app here, just collect code to be 
 used in web apps.

 Please point me to the right direction or to a suitable documentation.

 Thanks
 Magnus




-- 
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 fight with a browser (Internet explorer) trivial problem?

2014-11-17 Thread Mohammed Sameen
Check your *compilation-mappings.txt File *Wether its generating js for 
*user.agent 
gecko1_8* or not...

On Monday, November 17, 2014 12:51:47 PM UTC+5:30, ghi...@gmail.com wrote:

 Hi I'm facing a problem that I think it's quite trivial but I can't really 
 understand it in the whole dimension:

 Start point is a quite complex GWT project but I guess with a simpler will 
 be the same, the project has 2 modules , the second inherits the first but 
 again I doubt it could be important.
 The resulting web app works great in chrome and safari but doesn't work in 
 IE (both IE11 and Safari using the i.e. 10 or 9 engine as development 
 option enables to) and doesn't work because can't identify the browser, 
 indeed compiling in detailed mode and looking at JS inside IE I can see 
 that the method

 function computePropValue(propName) {
 var value_0 = providers[propName](), allowedValuesMap = values[propName];
 if (value_0 in allowedValuesMap) {
 return value_0;
 }
 var allowedValuesList = [];
 for (var k in allowedValuesMap) {
 allowedValuesList[allowedValuesMap[k]] = k;
 }
 if (propertyErrorFunc) {
 propertyErrorFunc(propName, allowedValuesList, value_0);
 }
 throw null;}

 throws null because while checking the browser $doc.documentMode is 
 undefined and then it can't retrieve the correct nocache.js


 my get.xml is something like

 module rename-to=XDSViewerCore

 inherits name=com.google.gwt.user.User /

 inherits name=com.google.gwt.user.theme.standard.Standard /


  !-- set-property name=user.agent 
 value=ie8,ie9,ie10,trident,gecko1_8,safari/ -- 

  entry-point 


 and my html starts as

 !doctype html

 html

 head

 meta http-equiv=content-type content=text/html; charset=UTF-8

 Naturally I also tried to set user-agent to just safari and gecko and 
 beside it works I have a warning that is telling me about the fact the 
 browser isn't supposed to exist opening the page...

 so:
 1) why it can't find document mode? what I'm missing?
 2) It's possible and how can I say that if the browser can't be identified 
 must be used (without warnings!) a default permutation?
 3) there's something I can do to better understand the behaviour?


 Anyone?








-- 
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 fight with a browser (Internet explorer) trivial problem?

2014-11-17 Thread Mohammed Sameen
Are you created as maven project ?

On Monday, November 17, 2014 12:51:47 PM UTC+5:30, ghi...@gmail.com wrote:

 Hi I'm facing a problem that I think it's quite trivial but I can't really 
 understand it in the whole dimension:

 Start point is a quite complex GWT project but I guess with a simpler will 
 be the same, the project has 2 modules , the second inherits the first but 
 again I doubt it could be important.
 The resulting web app works great in chrome and safari but doesn't work in 
 IE (both IE11 and Safari using the i.e. 10 or 9 engine as development 
 option enables to) and doesn't work because can't identify the browser, 
 indeed compiling in detailed mode and looking at JS inside IE I can see 
 that the method

 function computePropValue(propName) {
 var value_0 = providers[propName](), allowedValuesMap = values[propName];
 if (value_0 in allowedValuesMap) {
 return value_0;
 }
 var allowedValuesList = [];
 for (var k in allowedValuesMap) {
 allowedValuesList[allowedValuesMap[k]] = k;
 }
 if (propertyErrorFunc) {
 propertyErrorFunc(propName, allowedValuesList, value_0);
 }
 throw null;}

 throws null because while checking the browser $doc.documentMode is 
 undefined and then it can't retrieve the correct nocache.js


 my get.xml is something like

 module rename-to=XDSViewerCore

 inherits name=com.google.gwt.user.User /

 inherits name=com.google.gwt.user.theme.standard.Standard /


  !-- set-property name=user.agent 
 value=ie8,ie9,ie10,trident,gecko1_8,safari/ -- 

  entry-point 


 and my html starts as

 !doctype html

 html

 head

 meta http-equiv=content-type content=text/html; charset=UTF-8

 Naturally I also tried to set user-agent to just safari and gecko and 
 beside it works I have a warning that is telling me about the fact the 
 browser isn't supposed to exist opening the page...

 so:
 1) why it can't find document mode? what I'm missing?
 2) It's possible and how can I say that if the browser can't be identified 
 must be used (without warnings!) a default permutation?
 3) there's something I can do to better understand the behaviour?


 Anyone?








-- 
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 fight with a browser (Internet explorer) trivial problem?

2014-11-17 Thread Mohammed Sameen
Hi,
I am using GWT 2.6 with same set-property but i am able to load the 
Application in IE 11.My suggestion .. try with GWT 2.6..

On Monday, November 17, 2014 12:51:47 PM UTC+5:30, ghi...@gmail.com wrote:

 Hi I'm facing a problem that I think it's quite trivial but I can't really 
 understand it in the whole dimension:

 Start point is a quite complex GWT project but I guess with a simpler will 
 be the same, the project has 2 modules , the second inherits the first but 
 again I doubt it could be important.
 The resulting web app works great in chrome and safari but doesn't work in 
 IE (both IE11 and Safari using the i.e. 10 or 9 engine as development 
 option enables to) and doesn't work because can't identify the browser, 
 indeed compiling in detailed mode and looking at JS inside IE I can see 
 that the method

 function computePropValue(propName) {
 var value_0 = providers[propName](), allowedValuesMap = values[propName];
 if (value_0 in allowedValuesMap) {
 return value_0;
 }
 var allowedValuesList = [];
 for (var k in allowedValuesMap) {
 allowedValuesList[allowedValuesMap[k]] = k;
 }
 if (propertyErrorFunc) {
 propertyErrorFunc(propName, allowedValuesList, value_0);
 }
 throw null;}

 throws null because while checking the browser $doc.documentMode is 
 undefined and then it can't retrieve the correct nocache.js


 my get.xml is something like

 module rename-to=XDSViewerCore

 inherits name=com.google.gwt.user.User /

 inherits name=com.google.gwt.user.theme.standard.Standard /


  !-- set-property name=user.agent 
 value=ie8,ie9,ie10,trident,gecko1_8,safari/ -- 

  entry-point 


 and my html starts as

 !doctype html

 html

 head

 meta http-equiv=content-type content=text/html; charset=UTF-8

 Naturally I also tried to set user-agent to just safari and gecko and 
 beside it works I have a warning that is telling me about the fact the 
 browser isn't supposed to exist opening the page...

 so:
 1) why it can't find document mode? what I'm missing?
 2) It's possible and how can I say that if the browser can't be identified 
 must be used (without warnings!) a default permutation?
 3) there's something I can do to better understand the behaviour?


 Anyone?








-- 
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: Medievan

2014-10-20 Thread Mohammed Sameen
Nice Awesome,Apart from GWT have you mixed any other framework

On Monday, October 20, 2014 2:31:14 PM UTC+5:30, Endi wrote:

 Dear friends,

 I am Ender KILICOGLU, I am using GWT from beginning, we realized many 
 business projects using GWT and now I want to announce our game project, 
 Medievan, which includes a GUI being developed by using GWT and probably 
 one of the biggest GWT project as I know. We wanted to share on GWT channel 
 to demonstrate what can be done else using GWT.

 We've been working on it for a couple of years now and we are ready to 
 start getting people's opinions on it, so give it a play and let us know 
 what you think. 

 Given that you're reading this, you're one of the first players of our 
 game while it's in beta form. We really want to hear your feedback and 
 ideas, as well as any bugs you find. Feel free to post on our forum (
 http://forum.medievan.com) or to send email to Medievan Support at 
 medi...@elektromarket.com javascript:.

 Medievan is a city building game; we think that player who likes 
 Civilization or Heroes Might  Magic series will love our game also. It has 
 many common feature with strategy and RPG games like; city management, 
 heroes, quests, alliances, technologies. Still we believe that we have so 
 many innovative and not seen features for such web games like; free hero 
 movement on world map, war simulation and replay.

 We also developing android client and I would like to share technical 
 information about our technology also on a following post.

 You can register and play using following link:

 http://beta.medievan.com

 Thank you for your time.

 Ender KILICOGLU

 http://www.elektromarket.com


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


Exception-undefined is not a function(While adding anchor to htmlpanel)

2014-10-08 Thread Mohammed Sameen
Hi,
I am getting exception while adding the Anchor to HTMLPanel,Below is the 
code


private HTMLPanel panel;
private HorizontalPanel hPanel=new HorizontalPanel();;

Anchor anchor=new Anchor();
anchor.setVisible(true);
anchor.getElement().setPropertyString(id, hintButton);

public void createPanel(String title){
if(panel!=null){
hPanel.remove(panel);
}
panel=new HTMLPanel(title);
panel.add(anchor);   //exception while adding anchor to HTMLPanel second 
time
hPanel.add(panel);
}
the above code is working fine ,its creating the htmlpanel with anchor and 
executing fine for firstTime.When i am calling the Method createPanel for 
second Time its giving the below exception.

11:27:41.673 [ERROR] [demowidgetlibrary] Uncaught exception escaped

com.google.gwt.event.shared.UmbrellaException: Exception caught: 
(TypeError) 
@com.google.gwt.dom.client.Node::removeChild(Lcom/google/gwt/dom/client/Node;)([JavaScript
 
object(40)]): undefined is not a function
at 
com.google.gwt.event.shared.HandlerManager.fireEvent(HandlerManager.java:129)
at com.google.gwt.user.client.ui.Widget.fireEvent(Widget.java:129)
at 
com.google.gwt.event.dom.client.DomEvent.fireNativeEvent(DomEvent.java:125)
at com.google.gwt.user.client.ui.Widget.onBrowserEvent(Widget.java:177)
at 
com.google.gwt.user.client.ui.ValueBoxBase.onBrowserEvent(ValueBoxBase.java:252)
at com.google.gwt.user.client.DOM.dispatchEventImpl(DOM.java:1467)
at com.google.gwt.user.client.DOM.dispatchEvent(DOM.java:1406)
at 
com.google.gwt.user.client.impl.DOMImplStandard.dispatchEvent(DOMImplStandard.java:323)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
at 
com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
at 
com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
at 
com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:338)
at 
com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:219)
at 
com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)
at 
com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:576)
at 
com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:284)
at 
com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:347)
at sun.reflect.GeneratedMethodAccessor31.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
at 
com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
at 
com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
at 
com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:293)
at 
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:547)
at 
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:364)
at java.lang.Thread.run(Thread.java:745)
Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError) 
@com.google.gwt.dom.client.Node::removeChild(Lcom/google/gwt/dom/client/Node;)([JavaScript
 
object(40)]): undefined is not a function
at 
com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:249)
at 
com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)
at 
com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:576)
at 
com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:284)
at 
com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
at com.google.gwt.dom.client.Node$.removeChild$(Node.java)
at 
com.google.gwt.user.client.ui.ComplexPanel.remove(ComplexPanel.java:71)
at 
com.google.gwt.user.client.ui.Widget.removeFromParent(Widget.java:202)
at com.google.gwt.user.client.ui.ComplexPanel.add(ComplexPanel.java:96)
at com.google.gwt.user.client.ui.HTMLPanel.add(HTMLPanel.java:150)
at 
com.jenzabar.jx.ui.widgets.item.LabelBoxField.createHTMLPanel(LabelBoxField.java:200)
at 
com.jenzabar.jx.ui.widgets.item.LabelBoxField.setRequiredTitle(LabelBoxField.java:111)
at 
com.jenzabar.jx.ui.widgets.base.FormField.setRequiredErrorOnBlur(FormField.java:288)
at 

Re: Exception-undefined is not a function(While adding anchor to htmlpanel)

2014-10-08 Thread Mohammed Sameen
Thanks Thomas,But i cant upgrade to GWT 2.7 right now i am using 2.6.Is 
there any other way?

On Wednesday, October 8, 2014 11:42:29 AM UTC+5:30, Mohammed Sameen wrote:

 Hi,
 I am getting exception while adding the Anchor to HTMLPanel,Below is the 
 code


 private HTMLPanel panel;
 private HorizontalPanel hPanel=new HorizontalPanel();;

 Anchor anchor=new Anchor();
 anchor.setVisible(true);
 anchor.getElement().setPropertyString(id, hintButton);

 public void createPanel(String title){
 if(panel!=null){
 hPanel.remove(panel);
 }
 panel=new HTMLPanel(title);
 panel.add(anchor);   //exception while adding anchor to HTMLPanel second 
 time
 hPanel.add(panel);
 }
 the above code is working fine ,its creating the htmlpanel with anchor and 
 executing fine for firstTime.When i am calling the Method createPanel for 
 second Time its giving the below exception.

 11:27:41.673 [ERROR] [demowidgetlibrary] Uncaught exception escaped

 com.google.gwt.event.shared.UmbrellaException: Exception caught: 
 (TypeError) 
 @com.google.gwt.dom.client.Node::removeChild(Lcom/google/gwt/dom/client/Node;)([JavaScript
  
 object(40)]): undefined is not a function
 at 
 com.google.gwt.event.shared.HandlerManager.fireEvent(HandlerManager.java:129)
 at com.google.gwt.user.client.ui.Widget.fireEvent(Widget.java:129)
 at 
 com.google.gwt.event.dom.client.DomEvent.fireNativeEvent(DomEvent.java:125)
 at com.google.gwt.user.client.ui.Widget.onBrowserEvent(Widget.java:177)
 at 
 com.google.gwt.user.client.ui.ValueBoxBase.onBrowserEvent(ValueBoxBase.java:252)
 at com.google.gwt.user.client.DOM.dispatchEventImpl(DOM.java:1467)
 at com.google.gwt.user.client.DOM.dispatchEvent(DOM.java:1406)
 at 
 com.google.gwt.user.client.impl.DOMImplStandard.dispatchEvent(DOMImplStandard.java:323)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:606)
 at 
 com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
 at 
 com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
 at 
 com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
 at 
 com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:338)
 at 
 com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:219)
 at 
 com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)
 at 
 com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:576)
 at 
 com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:284)
 at 
 com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
 at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
 at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:347)
 at sun.reflect.GeneratedMethodAccessor31.invoke(Unknown Source)
 at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:606)
 at 
 com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
 at 
 com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
 at 
 com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
 at 
 com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:293)
 at 
 com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:547)
 at 
 com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:364)
 at java.lang.Thread.run(Thread.java:745)
 Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError) 
 @com.google.gwt.dom.client.Node::removeChild(Lcom/google/gwt/dom/client/Node;)([JavaScript
  
 object(40)]): undefined is not a function
 at 
 com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:249)
 at 
 com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)
 at 
 com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:576)
 at 
 com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:284)
 at 
 com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
 at com.google.gwt.dom.client.Node$.removeChild$(Node.java)
 at 
 com.google.gwt.user.client.ui.ComplexPanel.remove(ComplexPanel.java:71)
 at 
 com.google.gwt.user.client.ui.Widget.removeFromParent(Widget.java:202)
 at com.google.gwt.user.client.ui.ComplexPanel.add(ComplexPanel.java:96)
 at com.google.gwt.user.client.ui.HTMLPanel.add(HTMLPanel.java:150

Re: Exception-undefined is not a function(While adding anchor to htmlpanel)

2014-10-08 Thread Mohammed Sameen
Thanks Naveen,But its not throwing nullpointer exception i checked that 
also anchor is intialized its not holding null value..

On Wednesday, October 8, 2014 11:42:29 AM UTC+5:30, Mohammed Sameen wrote:

 Hi,
 I am getting exception while adding the Anchor to HTMLPanel,Below is the 
 code


 private HTMLPanel panel;
 private HorizontalPanel hPanel=new HorizontalPanel();;

 Anchor anchor=new Anchor();
 anchor.setVisible(true);
 anchor.getElement().setPropertyString(id, hintButton);

 public void createPanel(String title){
 if(panel!=null){
 hPanel.remove(panel);
 }
 panel=new HTMLPanel(title);
 panel.add(anchor);   //exception while adding anchor to HTMLPanel second 
 time
 hPanel.add(panel);
 }
 the above code is working fine ,its creating the htmlpanel with anchor and 
 executing fine for firstTime.When i am calling the Method createPanel for 
 second Time its giving the below exception.

 11:27:41.673 [ERROR] [demowidgetlibrary] Uncaught exception escaped

 com.google.gwt.event.shared.UmbrellaException: Exception caught: 
 (TypeError) 
 @com.google.gwt.dom.client.Node::removeChild(Lcom/google/gwt/dom/client/Node;)([JavaScript
  
 object(40)]): undefined is not a function
 at 
 com.google.gwt.event.shared.HandlerManager.fireEvent(HandlerManager.java:129)
 at com.google.gwt.user.client.ui.Widget.fireEvent(Widget.java:129)
 at 
 com.google.gwt.event.dom.client.DomEvent.fireNativeEvent(DomEvent.java:125)
 at com.google.gwt.user.client.ui.Widget.onBrowserEvent(Widget.java:177)
 at 
 com.google.gwt.user.client.ui.ValueBoxBase.onBrowserEvent(ValueBoxBase.java:252)
 at com.google.gwt.user.client.DOM.dispatchEventImpl(DOM.java:1467)
 at com.google.gwt.user.client.DOM.dispatchEvent(DOM.java:1406)
 at 
 com.google.gwt.user.client.impl.DOMImplStandard.dispatchEvent(DOMImplStandard.java:323)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:606)
 at 
 com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
 at 
 com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
 at 
 com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
 at 
 com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:338)
 at 
 com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:219)
 at 
 com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)
 at 
 com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:576)
 at 
 com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:284)
 at 
 com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
 at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
 at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:347)
 at sun.reflect.GeneratedMethodAccessor31.invoke(Unknown Source)
 at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:606)
 at 
 com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
 at 
 com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
 at 
 com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
 at 
 com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:293)
 at 
 com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:547)
 at 
 com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:364)
 at java.lang.Thread.run(Thread.java:745)
 Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError) 
 @com.google.gwt.dom.client.Node::removeChild(Lcom/google/gwt/dom/client/Node;)([JavaScript
  
 object(40)]): undefined is not a function
 at 
 com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:249)
 at 
 com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)
 at 
 com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:576)
 at 
 com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:284)
 at 
 com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
 at com.google.gwt.dom.client.Node$.removeChild$(Node.java)
 at 
 com.google.gwt.user.client.ui.ComplexPanel.remove(ComplexPanel.java:71)
 at 
 com.google.gwt.user.client.ui.Widget.removeFromParent(Widget.java:202)
 at com.google.gwt.user.client.ui.ComplexPanel.add(ComplexPanel.java:96)
 at com.google.gwt.user.client.ui.HTMLPanel.add(HTMLPanel.java:150

GWT project not picking the css and images from some other GWT maven project added as dependency?

2014-10-08 Thread Mohammed Sameen
Hi,
I have created my Widget Library using GWT as Maven Project.On top of that 
i am applying Some CSS and Images to get responsiveness that has injected 
using ClientBundle.When i add this dependency project in some other project 
its unable to load the Images from my Widget Library.How to Solve this 
issue?Does any one have idea about this?

-- 
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 GWT Compiler adds the default theme content to war?

2014-10-08 Thread Mohammed Sameen
Hi,
Can one explain me how GWT Compiler add the (Standard,Chrome,Dark)default 
theme content(Static content) to the war directory If we Compiles the GWT 
Project?

-- 
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: New Widget: Window Panel (minimize, maximize/restore, close, resize)

2014-10-08 Thread Mohammed Sameen
Hi Jeo,good work but its not giving responsiveness..

On Thursday, December 3, 2009 3:32:37 PM UTC+5:30, Joe wrote:

 Hello everyone, 

 please check out this new widget I have built called: WindowPanel. 

 It extends DialogBox widget and it contains no JSNI code. 

 It has 4 functionalities: minimize, maximize/restore, close, and 
 resize. 

 Please note that the resize functionality is only from the bottom 
 right corner of the window. 

 Feedback, discussions, notes, and comments are always welcome. 

 The WindowPanel widget exists on: 

http://property-leb.appspot.com/ 

 Thank's in advance! 


-- 
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: Exception while adding anchor button to HTMLPanel..

2014-10-01 Thread Mohammed Sameen
any suggestion on this?

On Tuesday, September 30, 2014 4:44:03 PM UTC+5:30, Mohammed Sameen wrote:

 While Adding Anchor button to HTMLPanel i am getting the below error.
 lblPanel = new HTMLPanel(sameen);
 lblPanel.add(hintButton);


 15:28:05.558 [ERROR] [widgetdemo] Uncaught exception escaped

 com.google.gwt.event.shared.UmbrellaException: Exception caught: 
 (TypeError) 
 @com.google.gwt.dom.client.Node::removeChild(Lcom/google/gwt/dom/client/Node;)([JavaScript
  
 object(50)]): Object doesn't support property or method 'removeChild'
 at 
 com.google.gwt.event.shared.HandlerManager.fireEvent(HandlerManager.java:129)
 at com.google.gwt.user.client.ui.Widget.fireEvent(Widget.java:129)
 at 
 com.google.gwt.event.dom.client.DomEvent.fireNativeEvent(DomEvent.java:116)
 at com.google.gwt.user.client.ui.Widget.onBrowserEvent(Widget.java:177)
 at 
 com.google.gwt.user.client.ui.ValueBoxBase.onBrowserEvent(ValueBoxBase.java:252)
 at com.google.gwt.user.client.DOM.dispatchEventImpl(DOM.java:1351)
 at com.google.gwt.user.client.DOM.dispatchEvent(DOM.java:1307)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:606)
 at 
 com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
 at 
 com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
 at 
 com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
 at 
 com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:338)
 at 
 com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:219)
 at 
 com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)
 at 
 com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:571)
 at 
 com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:279)
 at 
 com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
 at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
 at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:242)
 at sun.reflect.GeneratedMethodAccessor42.invoke(Unknown Source)
 at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:606)
 at 
 com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
 at 
 com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
 at 
 com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
 at 
 com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:293)
 at 
 com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:547)
 at 
 com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:364)
 at java.lang.Thread.run(Thread.java:745)
 Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError) 
 @com.google.gwt.dom.client.Node::removeChild(Lcom/google/gwt/dom/client/Node;)([JavaScript
  
 object(50)]): Object doesn't support property or method 'removeChild'
 at 
 com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:249)
 at 
 com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)
 at 
 com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:571)
 at 
 com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:279)
 at 
 com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
 at com.google.gwt.dom.client.Node$.removeChild$(Node.java)
 at com.google.gwt.user.client.DOM.removeChild(DOM.java:1023)
 at 
 com.google.gwt.user.client.ui.ComplexPanel.remove(ComplexPanel.java:71)
 at 
 com.google.gwt.user.client.ui.WidgetCollection$WidgetIterator.remove(WidgetCollection.java:55)
 at com.google.gwt.user.client.ui.Panel.clear(Panel.java:78)
 at 
 com.jenzabar.jx.ui.widgets.item.LabelBoxField.createHTMLPanel(LabelBoxField.java:192)
 at 
 com.jenzabar.jx.ui.widgets.item.LabelBoxField.setRequiredTitle(LabelBoxField.java:111)
 at 
 com.jenzabar.jx.ui.widgets.base.FormField.setRequiredErrorOnBlur(FormField.java:288)
 at 
 com.jenzabar.jx.ui.widgets.item.TextBoxField$3.onBlur(TextBoxField.java:130)
 at 
 com.google.gwt.event.dom.client.BlurEvent.dispatch(BlurEvent.java:56)
 at com.google.gwt.event.dom.client.BlurEvent.dispatch(BlurEvent.java:1)
 at com.google.gwt.event.shared.GwtEvent.dispatch(GwtEvent.java:1)
 at 
 com.google.web.bindery.event.shared.EventBus.dispatchEvent(EventBus.java:40

Exception while adding anchor button to HTMLPanel..

2014-09-30 Thread Mohammed Sameen
While Adding Anchor button to HTMLPanel i am getting the below error.
lblPanel = new HTMLPanel(sameen);
lblPanel.add(hintButton);


15:28:05.558 [ERROR] [widgetdemo] Uncaught exception escaped

com.google.gwt.event.shared.UmbrellaException: Exception caught: 
(TypeError) 
@com.google.gwt.dom.client.Node::removeChild(Lcom/google/gwt/dom/client/Node;)([JavaScript
 
object(50)]): Object doesn't support property or method 'removeChild'
at 
com.google.gwt.event.shared.HandlerManager.fireEvent(HandlerManager.java:129)
at com.google.gwt.user.client.ui.Widget.fireEvent(Widget.java:129)
at 
com.google.gwt.event.dom.client.DomEvent.fireNativeEvent(DomEvent.java:116)
at com.google.gwt.user.client.ui.Widget.onBrowserEvent(Widget.java:177)
at 
com.google.gwt.user.client.ui.ValueBoxBase.onBrowserEvent(ValueBoxBase.java:252)
at com.google.gwt.user.client.DOM.dispatchEventImpl(DOM.java:1351)
at com.google.gwt.user.client.DOM.dispatchEvent(DOM.java:1307)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
at 
com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
at 
com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
at 
com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:338)
at 
com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:219)
at 
com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)
at 
com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:571)
at 
com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:279)
at 
com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:242)
at sun.reflect.GeneratedMethodAccessor42.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
at 
com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
at 
com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
at 
com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:293)
at 
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:547)
at 
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:364)
at java.lang.Thread.run(Thread.java:745)
Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError) 
@com.google.gwt.dom.client.Node::removeChild(Lcom/google/gwt/dom/client/Node;)([JavaScript
 
object(50)]): Object doesn't support property or method 'removeChild'
at 
com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:249)
at 
com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)
at 
com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:571)
at 
com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:279)
at 
com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
at com.google.gwt.dom.client.Node$.removeChild$(Node.java)
at com.google.gwt.user.client.DOM.removeChild(DOM.java:1023)
at 
com.google.gwt.user.client.ui.ComplexPanel.remove(ComplexPanel.java:71)
at 
com.google.gwt.user.client.ui.WidgetCollection$WidgetIterator.remove(WidgetCollection.java:55)
at com.google.gwt.user.client.ui.Panel.clear(Panel.java:78)
at 
com.jenzabar.jx.ui.widgets.item.LabelBoxField.createHTMLPanel(LabelBoxField.java:192)
at 
com.jenzabar.jx.ui.widgets.item.LabelBoxField.setRequiredTitle(LabelBoxField.java:111)
at 
com.jenzabar.jx.ui.widgets.base.FormField.setRequiredErrorOnBlur(FormField.java:288)
at 
com.jenzabar.jx.ui.widgets.item.TextBoxField$3.onBlur(TextBoxField.java:130)
at com.google.gwt.event.dom.client.BlurEvent.dispatch(BlurEvent.java:56)
at com.google.gwt.event.dom.client.BlurEvent.dispatch(BlurEvent.java:1)
at com.google.gwt.event.shared.GwtEvent.dispatch(GwtEvent.java:1)
at 
com.google.web.bindery.event.shared.EventBus.dispatchEvent(EventBus.java:40)
at 
com.google.web.bindery.event.shared.SimpleEventBus.doFire(SimpleEventBus.java:193)
at 
com.google.web.bindery.event.shared.SimpleEventBus.fireEvent(SimpleEventBus.java:88)
at 

Widget Library using GWT -unable to load the Images from my Widget Library

2014-09-26 Thread Mohammed Sameen
Hi,
I have created my Widget Library using GWT as Maven Project.On top of that 
i am applying Some CSS and Images to get responsiveness that has injected 
using ClientBundle.When i add this dependency project in some other project 
its unable to load the Images from my Widget Library.How to Solve this 
issue?Does any one have idea about this?

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


GWT with Bootstrap css

2014-09-16 Thread Mohammed Sameen
Hi,
I am building my application using GWT on top of it applying bootrap css to 
get responsiveness.But i dont want to depend on thirdparty jar.Is there any 
way i can get responsiveness without using thirdparty jar(only Using pure 
GWT)?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: GWT with Bootstrap css

2014-09-16 Thread Mohammed Sameen
Thanks for your valuable suggestion.
David,can't inject the bootstrap.css as a CssResource?


On Tuesday, September 16, 2014 6:42:33 PM UTC+5:30, Mohammed Sameen wrote:

 Hi,
 I am building my application using GWT on top of it applying bootrap css 
 to get responsiveness.But i dont want to depend on thirdparty jar.Is there 
 any way i can get responsiveness without using thirdparty jar(only Using 
 pure GWT)?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: GWT with Bootstrap css

2014-09-16 Thread Mohammed Sameen
Thanks for your valuable suggestion.
David,can't inject the bootstrap.css as a CssResource?
and also i am using GWT RTL theme (Internationalization),Will it support if 
i inject bootstrap css?

On Tuesday, September 16, 2014 6:42:33 PM UTC+5:30, Mohammed Sameen wrote:

 Hi,
 I am building my application using GWT on top of it applying bootrap css 
 to get responsiveness.But i dont want to depend on thirdparty jar.Is there 
 any way i can get responsiveness without using thirdparty jar(only Using 
 pure GWT)?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.


[gwt-contrib] Is SmartGWT built on GWT?

2014-09-11 Thread Mohammed Sameen
Hi,
Can one tell me how smartGWT internally creating the widget using GWT?Is it 
using GWT Widget really?I dig the code but i didn't find any gwt widget 
inside smartgwt jar.

-- 
You received this message because you are subscribed to the Google Groups GWT 
Contributors group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/af046a3c-5d09-4b84-80bc-5309b9792131%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Am new to GWT

2014-09-05 Thread Mohammed Sameen
See this link
http://www.withoutbook.com/Technology.php?tech=52subject=GWT%20Interview%20Questions%20and%20Answers

On Saturday, September 6, 2014 12:06:49 AM UTC+5:30, siva giri wrote:

 hi can any one tel what and all the question can ask in Gwt ??


 Monday am having interview ...They said for UI and Software Development 

 Regards 
 Shiv...


-- 
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: ListBox vs ValueListBox

2014-09-03 Thread Mohammed Sameen
Thanks for your reply,
I am going to implement ValueListBox.Is there any way to create two 
dependent ValueListBox?See the screenshot.On the selection of category it 
will display the corresponding option in other listbox?

On Wednesday, September 3, 2014 9:33:58 AM UTC+5:30, Mohammed Sameen wrote:

 Hi,
   Can anyone Explain me the difference between ListBox vs ValueListBox? 
 When to use ValueListBox?Thanks in Advance..


-- 
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: ListBox vs ValueListBox

2014-09-03 Thread Mohammed Sameen
Thanks for your reply,
I am going to implement ValueListBox.Is there any way to create two 
dependent ValueListBox?See the screenshot.On the selection of category it 
will display the corresponding option in other listbox?And also i need the 
flexibility to type value in valuelistbox.It will list the values like 
smartGWT combobox?

On Wednesday, September 3, 2014 9:33:58 AM UTC+5:30, Mohammed Sameen wrote:

 Hi,
   Can anyone Explain me the difference between ListBox vs ValueListBox? 
 When to use ValueListBox?Thanks in Advance..


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


ListBox vs ValueListBox

2014-09-02 Thread Mohammed Sameen
Hi,
  Can anyone Explain me the difference between ListBox vs ValueListBox? 
When to use ValueListBox?Thanks in Advance..

-- 
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 render a component after setting its property without calling any implicit method in gwt?

2014-08-07 Thread Mohammed Sameen
Jens,Thanks for your valuable suggestions.I am applying the same approach 
which you have suggested.Need one more clarification,which method will 
first invoke Widget.onLoad() and scheduleFinally.execute(),Why need to use 
this two different method.Can't implement this in scheduleFinally.execute() 
method.

On Thursday, July 10, 2014 5:24:44 PM UTC+5:30, Mohammed Sameen wrote:

 Hi,
 I am creating my own widgets library using gwt 2.5 for my application to 
 be used.But facing issues while creating this widget component.Widgets 
 creation will be like this-textbox with label,checkbox with label,datebox 
 with label,radio button with label.Here label field is common for all 
 widget creation.
 See the below code,

 /*basebox code which will create the default label with corresponding 
 component(widget)*/
 public abstract class BaseBox extends FlowPanel{
 protected Widget box;
 private String title;
 private String name;
 Widget labelWidget;
 private LabelBoxField boxLabel;

 public BaseBox(String name){
 this.name=name; 
 addMembers(name);
 }

 protected void addMembers(final String name) {
 this.name = name;
 box = createBox(name);
 }

 protected abstract Widget createBox(String name);

 public void setTitle(String title) {
 this.title=title;
 labelWidget = createLabel(title);
 }

 /*code for creating label*/
 protected Widget createLabel(final String title) {
 if (title == null || title.isEmpty()
 || title.equals(Constants.EMPTY_STRING)) {
 this.boxLabel = new LabelBoxField();
 } else {
 if (getIsHintButtonRequired()) {
 this.boxLabel = new LabelBoxField(title,
 getIsHintButtonRequired(),getRequired());
 } else {
 this.boxLabel = new LabelBoxField(title,getRequired());
 }
 }
 boxLabel.setHorizontalAlignment(HasHorizontalAlignment.ALIGN_RIGHT);
 return boxLabel;
 }

 public void showTitle(Boolean showTitle){
 this.showTitle=showTitle;
 }


 /*this method will render the component before adding it to 
 main-panelshould not call this method implicitly*/
 public void redraw(){

 addStyleName(ROW_FLUID);

 if(showTitle){
 ((LabelBoxField)labelWidget).getBoxLabel().setVisible(true);
 }else{
 if(labelWidget!=null){
 ((LabelBoxField)labelWidget).getBoxLabel().setVisible(false);
 }
 }
  if(labelWidget!=null){
 labelWidget.addStyleName(getStyleName(labelOrientation));
 } 
 box.addStyleName(getStyleName(labelOrientation));
  if(showTitle){
 add(labelWidget);
 }
  add(box);
 }


 /**code for textbox which extends Basebox*/
 public class TextItemBox extends BaseBox {

 public TextItemBox(String name) {
 super(name);
 }

 @Override
 protected Widget createBox(String name) {
 TextBox box = new TextBox();
 box.setName(name);

 return box;
 }
 }

 /*code which create textbox and added to main-panel*/

 TextBox txt=new TextBox(txtItem);
 txt.setTitle(Enter the Name to Display);
 txt.showTitle(false);
 hp.add(txt);


 First we create the widget by calling new TextBox() and we set the 
 properties like(setTitle,showAlignment,etc).After setting this property how 
 do we render the component again.Like for example in smartgwt after 
 creating the widget we set the properties,widgets render by itself without 
 calling any specific methods like redraw().How can this be achieved in 
 GWT?Please give 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.


[gwt-contrib] GWT 2.6.1 Supported Browser

2014-08-06 Thread Mohammed Sameen
Hi,
What are the Major Browser supported by GWT 2.6.1?FireFox,Chrome,IE 
version?any clue?Thanks

-- 
You received this message because you are subscribed to the Google Groups GWT 
Contributors group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/e082da99-7837-4fda-b0f0-b90604c71ab5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[gwt-contrib] Re: GWT 2.6.1 Supported Browser

2014-08-06 Thread Mohammed Sameen
Jens,Thanks for your reply..I am upgrading my application from GWT 2.5.1 to 
GWT 2.6.1.Is there any impact?

On Wednesday, August 6, 2014 1:04:53 PM UTC+5:30, Mohammed Sameen wrote:

 Hi,
 What are the Major Browser supported by GWT 2.6.1?FireFox,Chrome,IE 
 version?any clue?Thanks


-- 
You received this message because you are subscribed to the Google Groups GWT 
Contributors group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/d802299a-99bb-4df0-b607-44bd09cd395a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Scheduler in GWT?

2014-08-05 Thread Mohammed Sameen
Hi,
What is Scheduler in GWT?What is the use of Scheduler?Is there any 
performance issue if we use scheduler commands?Thanks in Advance...

-- 
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: Scheduler in GWT?

2014-08-05 Thread Mohammed Sameen
Any Suggestion on this?Is there any performance issue if we use scheduler 
commands?

On Tuesday, August 5, 2014 12:41:10 PM UTC+5:30, Mohammed Sameen wrote:

 Hi,
 What is Scheduler in GWT?What is the use of Scheduler?Is there any 
 performance issue if we use scheduler commands?Thanks in Advance...


-- 
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: Firing the Event Using JavaScript Code Internally

2014-08-04 Thread Mohammed Sameen
any suggestion on this?

On Thursday, July 31, 2014 5:41:52 PM UTC+5:30, Mohammed Sameen wrote:

 Hi,
  I created my own custom event and need to fire that event using 
 Javascript code. See the below code which is from thirdparty API which 
 contain the ItemChangeHandler.
 It will fire the event internally using javascript.So i need to implement 
 the same way in GWT.Does any one have any idea on this?Thanks in advance..

  public HandlerRegistration 
 addItemChangeHandler(com.smartgwt.client.widgets.form.events.ItemChangeHandler
  
 handler) {
 
 if(getHandlerCount(com.smartgwt.client.widgets.form.events.ItemChangeEvent.getType())
  
 == 0) setupItemChangeEvent();
 return doAddHandler(handler, 
 com.smartgwt.client.widgets.form.events.ItemChangeEvent.getType());
 }

 private native void setupItemChangeEvent() /*-{
 var obj = null;
 var selfJ = this;
 if(this.@com.smartgwt.client.widgets.BaseWidget::isCreated()()) {
 obj = 
 this.@com.smartgwt.client.widgets.BaseWidget::getJsObj()();
 obj.addProperties({itemChange:$debox($entry(function(){
 var param = {item : arguments[0], newValue : 
 arguments[1], oldValue : arguments[2]};
 var event = 
 @com.smartgwt.client.widgets.form.events.ItemChangeEvent::new(Lcom/google/gwt/core/client/JavaScriptObject;)(param);
 
 selfJ.@com.smartgwt.client.widgets.BaseWidget::fireEvent(Lcom/google/gwt/event/shared/GwtEvent;)(event);
 var ret = 
 event.@com.smartgwt.client.event.Cancellable::isCancelled()();
 return !ret;
 }))
  });
 } else {
 obj = 
 this.@com.smartgwt.client.widgets.BaseWidget::getConfig()();
 obj.itemChange = $debox($entry(function(){
var param = {item : arguments[0], newValue : 
 arguments[1], oldValue : arguments[2]};
var event = 
 @com.smartgwt.client.widgets.form.events.ItemChangeEvent::new(Lcom/google/gwt/core/client/JavaScriptObject;)(param);
   
  
 selfJ.@com.smartgwt.client.widgets.BaseWidget::fireEvent(Lcom/google/gwt/event/shared/GwtEvent;)(event);
var ret = 
 event.@com.smartgwt.client.event.Cancellable::isCancelled()();
return !ret;
}));
 }
}-*/;


-- 
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: Firing Custom Event in GWT

2014-07-31 Thread Mohammed Sameen
Any Suggestion on this...

On Wednesday, July 23, 2014 11:06:27 AM UTC+5:30, Mohammed Sameen wrote:

 Hi All,
 In my GWT application,I have written my own custom event for enabling the 
 button whenever the text box (or some other filed) is edited.The event is 
 keep on  firing whenever there is a change is text box.Is there any 
 performance issue.Is there any way to fire the event only once?Please give 
 your suggestion.Thanks in Advance..


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


Firing the Event Using JavaScript Code Internally

2014-07-31 Thread Mohammed Sameen
Hi,
 I created my own custom event and need to fire that event using Javascript 
code. See the below code which is from thirdparty API which contain the 
ItemChangeHandler.
It will fire the event internally using javascript.So i need to implement 
the same way in GWT.Does any one have any idea on this?Thanks in advance..

 public HandlerRegistration 
addItemChangeHandler(com.smartgwt.client.widgets.form.events.ItemChangeHandler 
handler) {

if(getHandlerCount(com.smartgwt.client.widgets.form.events.ItemChangeEvent.getType())
 
== 0) setupItemChangeEvent();
return doAddHandler(handler, 
com.smartgwt.client.widgets.form.events.ItemChangeEvent.getType());
}

private native void setupItemChangeEvent() /*-{
var obj = null;
var selfJ = this;
if(this.@com.smartgwt.client.widgets.BaseWidget::isCreated()()) {
obj = 
this.@com.smartgwt.client.widgets.BaseWidget::getJsObj()();
obj.addProperties({itemChange:$debox($entry(function(){
var param = {item : arguments[0], newValue : 
arguments[1], oldValue : arguments[2]};
var event = 
@com.smartgwt.client.widgets.form.events.ItemChangeEvent::new(Lcom/google/gwt/core/client/JavaScriptObject;)(param);

selfJ.@com.smartgwt.client.widgets.BaseWidget::fireEvent(Lcom/google/gwt/event/shared/GwtEvent;)(event);
var ret = 
event.@com.smartgwt.client.event.Cancellable::isCancelled()();
return !ret;
}))
 });
} else {
obj = 
this.@com.smartgwt.client.widgets.BaseWidget::getConfig()();
obj.itemChange = $debox($entry(function(){
   var param = {item : arguments[0], newValue : 
arguments[1], oldValue : arguments[2]};
   var event = 
@com.smartgwt.client.widgets.form.events.ItemChangeEvent::new(Lcom/google/gwt/core/client/JavaScriptObject;)(param);
  
 
selfJ.@com.smartgwt.client.widgets.BaseWidget::fireEvent(Lcom/google/gwt/event/shared/GwtEvent;)(event);
   var ret = 
event.@com.smartgwt.client.event.Cancellable::isCancelled()();
   return !ret;
   }));
}
   }-*/;

-- 
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: Firing the Event Using JavaScript Code Internally

2014-07-31 Thread Mohammed Sameen
any suggestion on this?

On Thursday, July 31, 2014 5:41:52 PM UTC+5:30, Mohammed Sameen wrote:

 Hi,
  I created my own custom event and need to fire that event using 
 Javascript code. See the below code which is from thirdparty API which 
 contain the ItemChangeHandler.
 It will fire the event internally using javascript.So i need to implement 
 the same way in GWT.Does any one have any idea on this?Thanks in advance..

  public HandlerRegistration 
 addItemChangeHandler(com.smartgwt.client.widgets.form.events.ItemChangeHandler
  
 handler) {
 
 if(getHandlerCount(com.smartgwt.client.widgets.form.events.ItemChangeEvent.getType())
  
 == 0) setupItemChangeEvent();
 return doAddHandler(handler, 
 com.smartgwt.client.widgets.form.events.ItemChangeEvent.getType());
 }

 private native void setupItemChangeEvent() /*-{
 var obj = null;
 var selfJ = this;
 if(this.@com.smartgwt.client.widgets.BaseWidget::isCreated()()) {
 obj = 
 this.@com.smartgwt.client.widgets.BaseWidget::getJsObj()();
 obj.addProperties({itemChange:$debox($entry(function(){
 var param = {item : arguments[0], newValue : 
 arguments[1], oldValue : arguments[2]};
 var event = 
 @com.smartgwt.client.widgets.form.events.ItemChangeEvent::new(Lcom/google/gwt/core/client/JavaScriptObject;)(param);
 
 selfJ.@com.smartgwt.client.widgets.BaseWidget::fireEvent(Lcom/google/gwt/event/shared/GwtEvent;)(event);
 var ret = 
 event.@com.smartgwt.client.event.Cancellable::isCancelled()();
 return !ret;
 }))
  });
 } else {
 obj = 
 this.@com.smartgwt.client.widgets.BaseWidget::getConfig()();
 obj.itemChange = $debox($entry(function(){
var param = {item : arguments[0], newValue : 
 arguments[1], oldValue : arguments[2]};
var event = 
 @com.smartgwt.client.widgets.form.events.ItemChangeEvent::new(Lcom/google/gwt/core/client/JavaScriptObject;)(param);
   
  
 selfJ.@com.smartgwt.client.widgets.BaseWidget::fireEvent(Lcom/google/gwt/event/shared/GwtEvent;)(event);
var ret = 
 event.@com.smartgwt.client.event.Cancellable::isCancelled()();
return !ret;
}));
 }
}-*/;


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


Firing Custom Event in GWT

2014-07-22 Thread Mohammed Sameen
Hi All,
In my GWT application,I have written my own custom event for enabling the 
button whenever the text box (or some other filed) is edited.The event is 
keep on  firing whenever there is a change is text box.Is there any 
performance issue.Is there any way to fire the event only once?Please give 
your suggestion.Thanks in Advance..

-- 
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 disable backspace button in gwt?

2014-07-14 Thread Mohammed Sameen
Thanks for your reply  i solved by using the below snippet code
History.newItem(x);
History.addValueChangeHandler(new ValueChangeHandlerString() {
@Override
public void onValueChange(ValueChangeEventString event) {
String historyToken = event.getValue();
if (!historyToken.equals(X))
  History.newItem(X);
}
});
On Friday, July 11, 2014 2:48:29 PM UTC+5:30, Mohammed Sameen wrote:

 Hi! 

 My application does not need have any history 
 support. 
 The problem is that when I type something wrong in textbox,its shows 
 warning in dialogbox and accidentally lose focus and 
 then press Backspace key to delete a character from textbox,browser 
 performs application to exit and the whole application is unloaded losing 
 all the 
 data. 

 How can I disable this?Please give me suggestion.

 Thanks! 


-- 
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 disable backspace button in gwt?

2014-07-11 Thread Mohammed Sameen
Hi! 

My application does not need have any history 
support. 
The problem is that when I type something wrong in textbox,its shows 
warning in dialogbox and accidentally lose focus and 
then press Backspace key to delete a character from textbox,browser 
performs application to exit and the whole application is unloaded losing 
all the 
data. 

How can I disable this?Please give me suggestion.

Thanks! 

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


  1   2   >