Library for Validation in GWT

2015-05-14 Thread abdullah
I have an application developed using Pure GWT. Throughout the Application 
I need to do validation like email,phone number,SSN or Date validation.Is 
there any good third party JS or library available to integrate with 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.


How to Apply Styling to particular Cell table Row ?

2015-04-06 Thread Abdullah
I Would like to apply background color to particular cell table row element 
based on some condition, I found one API method 
 *getRowElement(rowNo).getStyle().setBackgroundColor*

   * public void setRowStyleCell(final int rowNo){*
*getRowElement(rowNo).getStyle().setBackgroundColor(style);*
*}*

but its not taking this styling because of some other styling(Pseudocode 
Styling) which is already applied to this cell table(got high priority).

  *  tr:nth-child(odd){background:none !important;}*

*tr:nth-child(even) {background:none !important;}*

Is there any way to override this styling 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.


How to Assign and Use map in JavaScript (JSNI) in GWT?

2015-04-06 Thread Abdullah


Is there any way to assign Map in JavaScript (JSNI) which are passed from 
Java Code and iterate,see the Below Example

*Map Holds key,value Pair:*

private Map map;public Map getMapValue(){return 
map;}

*Calling JSNI:*

cellTableTemp(getMapValue());

*JSNI Method:*

public static native void cellTableTemp(Map map)/*-{
//how to iterate map 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: Injecting JavaScript(JSNI) to Cell Table DOM

2015-04-03 Thread Abdullah

Hi Frank,
Thanks for your suggestion..

I added this in Scheduler

Scheduler.get().scheduleDeferred(new ScheduledCommand() {
@Override
public void execute() {
initTooltip();
}
});
This Works for me..

> can you try:
> $wnd.$($doc).ready(
>
> function(){
> $wnd.jQuery("[rel=tooltipTop]").tooltip({ placement: 'top'});
> });
>
>
> or skip the ready block your dom is already there...
>

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


Debug GWT application in a remote browser

2015-04-02 Thread abdullah
Hi,
How to debug gwt application in remote browser? 

-- 
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 JavaScript(JSNI) to Cell Table DOM

2015-04-01 Thread Abdullah
Hi,
In my application i am using GWT Cell Table, for some of the Column Header 
i want to add tooltip.Column Header is created by using SafeHtml and 
Injecting JS to cell table header using JSNI. But that time the DOM is not 
creating and JavaScript is not attaching to the column Header for 
tooltip.If i use Timer then the Problem is goes off,I don't want to use 
Timer.Is there any Way to inject JS?Any Clue?See below code,

*Column Header SafeHtml:*
SafeHtml="Total ";

*JSNI:*
 private static native void initTooltip() /*-{
$wnd.$(document).ready(function(){
 $wnd.jQuery("[rel=tooltipTop]").tooltip({ placement: 'top'});
});

}-*/;

I am Calling this JSNI after the table creation but still DOM is not ready.
Even i tried calling this JSNI Script in onAttach() Method,

@Override
protected void onAttach() {
super.onAttach();
initTooltip();
 }

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: insert data into database in testbox

2015-03-28 Thread Abdullah
TextBox txt=new TextBox(); 

  button.addClickHandler(new ClickHandler() {
@Override
public void onClick(ClickEvent event) {

//method to save the data

  txt.getValue(); //Get the value from textbox and send it to 
server to saved in database

}
});

On Saturday, March 28, 2015 at 12:38:42 PM UTC+5:30, Bita Mirshafiee wrote:
>
> Hi all,
>
> I have a simple application containing a TextBox and Button, the point is 
> that when I write something in the TextBox and click the Button the text in 
> the TextBox saved in database, here is what I wrote, but I don't know how 
> to save it by clicking:
>
> button.addClickHandler(new ClickHandler() {
> @Override
> public void onClick(ClickEvent event) {
>
> //method to save the data
>
> }
> });
>
> Any help would be appreciated alot.
>
> Bita
>

-- 
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: Menu like in http://www.gwtproject.org/

2015-03-25 Thread Abdullah
I think this component is available in gwtbootstrap showcase (Tabpanel) see 
the link
https://gwtbootstrap.github.io/#component:
Likewise you create your own component (custom Widget)



On Wednesday, March 25, 2015 at 2:54:07 AM UTC+5:30, Juan Calderón wrote:
>
> Hello,
>
> I would like to do a menu like the lateral menu in 
> http://www.gwtproject.org/.
>
> I would appreciate if someone has an example.
>
> Thanks,
>
> Juan
>

-- 
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: Hide Column in CellTable

2015-03-24 Thread Abdullah
Hi Jens,
Thanks for your reply,
It is normal CSS only,not cssResource see the below snapshot


CSS which are applied to the celltable column is appear on colgroup. Any 
Clue?


Hopefully it is a normal CSS file and not a CssResource? Check your 
browsers dev tools to see what is going on with your css.

-- J.

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


Re: Hide Column in CellTable

2015-03-24 Thread Abdullah
>From the below thread
https://groups.google.com/forum/#!searchin/google-web-toolkit/hiding$20column$20in$20celltable/google-web-toolkit/3XFe2jwI2ks/E_hDjEej5E8J

 Lot of suggestion is to use* add/removeColumnStyleName* but i used the 
same in my code but still not able to hide the column.See the below code 
snippet..

*Code:*
TextColumn empIdTxt = new TextColumn() {
@Override
public String getValue(ContactInfor object) {
return object.empId;
}
};
cellTable.addColumn(empIdTxt, "EMPLOYEE ID");

TextColumn addressTxt = new TextColumn() {
@Override
public String getValue(ContactInfor object) {
return object.address;
}
};
cellTable.addColumn(addressTxt, "ADDRESS");
cellTable.setRowData(loadContactInfo());
*cellTable.addColumnStyleName(1, "hide"); // added stylename to the Column 
with index 1*
*CSS:*
Added this class in stylesheet
 * .hide* {
display: none;
}   
Is any other think is missed out here?

On Tuesday, March 24, 2015 at 4:13:55 PM UTC+5:30, Abdullah wrote:
>
> Hi,
> How to hide the columns in gwt Cell table?I need column for grouping 
> purpose but don't want to show in table.Is there any way to hide..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.


Re: Hide Column in CellTable

2015-03-24 Thread Abdullah
>From the below thread
https://groups.google.com/forum/#!searchin/google-web-toolkit/hiding$20column$20in$20celltable/google-web-toolkit/3XFe2jwI2ks/E_hDjEej5E8J

 Lot of suggestion is to use* add/removeColumnStyleName* but i used the 
same in my code but still not able to hide the column.See the below code 
snippet..

*Code:*
TextColumn empIdTxt = new TextColumn() {
@Override
public String getValue(ContactInfor object) {
return object.empId;
}
};
cellTable.addColumn(empIdTxt, "EMPLOYEE ID");

TextColumn addressTxt = new TextColumn() {
@Override
public String getValue(ContactInfor object) {
return object.address;
}
};
cellTable.addColumn(addressTxt, "ADDRESS");
cellTable.setRowData(loadContactInfo());
*cellTable.addColumnStyleName(1, "hide"); // added stylename to the Column 
with index 1*
*CSS:*
Added this class in stylesheet
 * .hide* {
display: none;
}   
Is any other is missed out here?

On Tuesday, March 24, 2015 at 4:13:55 PM UTC+5:30, Abdullah wrote:
>
> Hi,
> How to hide the columns in gwt Cell table?I need column for grouping 
> purpose but don't want to show in table.Is there any way to hide..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.


Hide Column in CellTable

2015-03-24 Thread Abdullah
Hi,
How to hide the columns in gwt Cell table?I need column for grouping 
purpose but don't want to show in table.Is there any way to hide..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.


Re: Wrapping JavaScript into GWT CellTable

2015-03-23 Thread Abdullah
Hi Thomas,
 Sorry, the Suggestion which you are given is working fine I Use "*flush()*" 
statement after loading data 
 
table.setRowData(loadContactInfo());  
  *  table.flush();*//flush force to render immediately
loadGridData();

 private List loadContactInfo() {
// To load data
List lstContact = new ArrayList();

lstContact.add(new ContactInfor("XXX", "YYY", "t", "26", "0300",Big 
Street"));
return ContactInfor;
}
 
public static native void loadGridData()/*-{
   //calling js for grouping functionality which contains table tr 
element
 }-*/; 

Thanks Thomas for your valuable suggestion.

Hi Thomas,
> Thanks for your reply, I tried the both approaches but still I am getting 
> the same JSO exception(undefined function) and I tried with adding Timer 
> then its working but this is not a good solution with that i cannot 
> proceed.Any Suggestion.
>
> On Thursday, March 19, 2015 at 12:14:43 PM UTC+5:30, Abdullah wrote:
>
>> Use a scheduleFinally command, or call flush() to force immediate 
>> rendering: 
>> http://www.gwtproject.org/javadoc/latest/com/google/gwt/user/cellview/client/AbstractCellTable.html#flush()
>>  
>>
>

-- 
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 JavaScript into GWT CellTable

2015-03-20 Thread Abdullah

Hi Thomas,
Thanks for your reply, I tried the both approaches but still I am getting 
the same JSO exception(undefined function) and I tried with adding Timer 
then its working but this is not a good solution with that i cannot 
proceed.Any Suggestion.
On Thursday, March 19, 2015 at 12:14:43 PM UTC+5:30, Abdullah wrote:
>
> Use a scheduleFinally command, or call flush() to force immediate 
> rendering: 
> http://www.gwtproject.org/javadoc/latest/com/google/gwt/user/cellview/client/AbstractCellTable.html#flush()
>  
>
>

-- 
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 JavaScript into GWT CellTable

2015-03-19 Thread Abdullah
Is there any other way to Handle?

On Thursday, March 19, 2015 at 12:14:43 PM UTC+5:30, Abdullah wrote:
>
> Hi,
> In GWT Cell Table I am wrapping jquery functionality (like grouping) Using 
> JSNI. But its throwing JavaScriptObject Exception(function is undefine).I 
> am calling this JSNI method once after the data is loaded
>
>
> *table.setRowData(loadContactInfo());  //To Load Data*
> *loadGridData();//Calling JSNI For Grouping *
>
>
>
> * private List loadContactInfo() {// 
> To load data List lstContact = new ArrayList(); 
> lstContact.add(new ContactInfor("XXX", "YYY", "t", "26", 
> "0300",Big Street"));return ContactInfor;} 
> public static native void loadGridData()/*-{   //calling js for 
> grouping functionality which contains table tr element }-*/; *
>
> Since its taking some few millisecond to redraw the cell table before that 
> itself the JSNI method is called which throws JSO exception.Is there any 
> other to wrap the JS into Cell table after the data gets loaded and 
> Rendered? Any Suggestion on 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.


Wrapping JavaScript into GWT CellTable

2015-03-18 Thread Abdullah
Hi,
In GWT Cell Table I am wrapping jquery functionality (like grouping) Using 
JSNI. But its throwing JavaScriptObject Exception(function is undefine).I 
am calling this JSNI method once after the data is loaded


*table.setRowData(loadContactInfo());  //To Load Data*
*loadGridData();//Calling JSNI For Grouping *



* private List loadContactInfo() {// 
To load data List lstContact = new ArrayList(); 
lstContact.add(new ContactInfor("XXX", "YYY", "t", "26", 
"0300",Big Street"));return ContactInfor;} 
public static native void loadGridData()/*-{   //calling js for 
grouping functionality which contains table tr element }-*/; *

Since its taking some few millisecond to redraw the cell table before that 
itself the JSNI method is called which throws JSO exception.Is there any 
other to wrap the JS into Cell table after the data gets loaded and 
Rendered? Any Suggestion on 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.


Re: MVP Pattern Without History Mechanism?

2015-03-11 Thread Abdullah
Because of History Mechanism,When Switching from one Screen to other screen 
i need to pass some data to that Screen that i am unable to achieve using 
History Mechanism.Will it possible to pass the data?Is there any example 
code?

On Wednesday, March 11, 2015 at 12:56:01 PM UTC+5:30, Abdullah wrote:
>
> Hi,
>   Is any Impact Implementing MVP Pattern Without History Mechanism?
>

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


MVP Pattern Without History Mechanism?

2015-03-11 Thread Abdullah
Hi,
  Is any Impact Implementing MVP Pattern Without History Mechanism?

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


Grouping in celltable?

2015-03-06 Thread Abdullah
Hi,
Is there any way how to do grouping in GWT Celltable or Data Grid?Any 
example code?

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


Main Advantages of using GWT against other technology like [jsp,spring,javascript...]

2014-09-06 Thread abdullah
Hi,
 I am newbie to GWT and started developing my application using GWT.I would 
like to know what is the main advantages for going to GWT since we have lot 
of technology like JSP,Struts,..Can anyone give me suggestion on 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.


Re: ListBox vs ValueListBox

2014-09-06 Thread abdullah
ListBox will hold only String values and ValueListBox will accept a set of 
available values (of any type).
I think in GWT we dont have smartGWT combobox Widget.

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: GWT dev plugin for Chrome 21.0.1180.60 m not installing

2012-09-07 Thread Abdullah


*Steps on adding extensions from other websites*

We recommend you only add extensions from other websites that you trust. In 
Chrome, you can follow these steps to add the extension:

   1. Download the extension file from the website and save it to your 
   computer.
   2. Click the wrench icon on the browser toolbar.
   3. Select *Tools > Extensions*.
   4. Locate the extension file on your computer and drag the file onto the 
   Extensions page.
   5. Review the list of permissions in the dialog that appears. If you 
   would like to proceed, click *Install*.



On Friday, 3 August 2012 06:21:15 UTC-4, apanizo wrote:
>
> In the meantime that is the steps:
>
>
>1. right click on the chrome icon>Properties>Shortcut
>2. add in target: --enable-easy-off-store-extension-install
>3. open chrome and navitage to extensions ( chrome://chrome/extensions/
> )
>4. drag and drop on it the plugin (I've attached it)
>
> Hope it helps.
>
> Adolfo.
>
> 2012/8/2 Rahul >
>
>> Hi Jens,
>>
>> Thanks tracking the topics now. Seems like solution still eludes though.
>>
>> /Rahul
>>
>>
>> On Thursday, August 2, 2012 2:29:56 PM UTC+2, Jens wrote:
>>>
>>> See http://techie-buzz.com/**browsers/chrome-blocking-**
>>> extension-apps-scripts-chrome-**web-store.html
>>>
>>> as mentioned in https://groups.google.com/**forum/#!topic/google-web-**
>>> toolkit/jDg3KoXoVPc/discussion
>>>
>>> -- J.
>>>
>>  -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Google Web Toolkit" group.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msg/google-web-toolkit/-/2ZmVmtZVgJsJ.
>>
>> To post to this group, send email to 
>> google-we...@googlegroups.com
>> .
>> To unsubscribe from this group, send email to 
>> google-web-toolkit+unsubscr...@googlegroups.com .
>> For more options, visit this group at 
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>
>
>
> -- 
> El precio es lo que pagas. El valor es lo que recibes.
> Warren Buffet
>  

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



should ActivityMapper always return default activity

2011-08-15 Thread Abdullah Shaikh
Hi All,

I have 5 activitymappers for all the directions of DockLayoutPanel,
and they all return appropriate Activities for DefaultPlace.

My query is, I have a menu (hyperlinks) on the West side, whenever
user clicks on the hyperlink, a place is activitated, for example,
SetContentOnCenterPlace, not this SetContentOnCenterPlace is handled
by the CenterActivityMapper, but what about the other ActivityMapper's
, they dont handle this place and return null and becoz of this all
the other panels (except center) turns blank.

So do I need to handle SetContentOnCenterPlace in all the
ActivityMappers ? or will it be good, if the ActivityMapper doest
match a Place then it should always return a default Activity ?


Thanks

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



mvp with DockLayoutPanel

2011-08-01 Thread Abdullah Shaikh
Hi All,


I have a DockLayoutPanel having activities in all the directions of
the DockLayoutPanel, and the DockLayoutPanel itself is a activity. So
as the application is started the DockLayoutPanel is dispalyed with
all the Activites.

I have a button on the Activity on the west side which should display
an activity on the center panel, so a place change happens and the new
activity gets displayed on the center panel, but for that I am also
required to handle the place in all the other activities, which
shouldn't be ?

Any idea on how to handle the place just in the ActivityMappper of
only that direction and not all ? any example ?

Thanks

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



Re: Remove gwt.codesvr=127.0.0.1:9997 from http://127.0.0.1:8888/MyApp.html?gwt.codesvr=127.0.0.1:9997

2011-01-06 Thread Abdullah Shaikh
When you run your app in development, gwt.codesvr is there for you to
be able to debug the app. If you compile and deploy the app
gwt.codesvr is not required.

- Abdullah

On Thu, Jan 6, 2011 at 12:19 PM, Noor  wrote:
> I am tired of trying to remove gwt.codesvr=127.0.0.1:9997 this from my
> url, I have tried my such as removing argument from run and debug
> configuration or compiling the application but with no success
>
> Can someone help me
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

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



Re: runtime UI

2010-12-30 Thread Abdullah Shaikh
Ted, how are you planning to add event handlers to the widgets ?

On Thu, Dec 30, 2010 at 2:49 AM, Ted Malaska  wrote:
> Hey Guys,
>
> Here is the latest, I opened a night worth of the code to the open
> comminity.  Here is the link.
>
> http://code.google.com/p/gwt-binding-fly/
>
> The code here is a GWT widget only example, even through the pattern works
> fine for GXT also.  I haven't been working on it because I'm busy finishing
> up an android game right now.
>
> But my current prototype that I haven't published yet supports the
> following.
>
> 1. Widget validation
> 2. Cross Widget valition
> 3. Dynamic conbo box that get there source from a list that the user creates
> 4. HTML print view
> 5. PDF print view
> 6. Client side and server side validation
> 7. CSV load
>
>
>
> On Wed, Dec 29, 2010 at 10:30 AM, Chris Conroy  wrote:
>>
>> Ted Malaska has a prototype project which may suit your needs. At this
>> time, we're not looking to add something like this to GWT proper.
>>
>> See: https://groups.google.com/d/topic/google-web-toolkit-contributors/NFAXFQN_x-k/discussion
>>
>> On Wed, Dec 29, 2010 at 9:51 AM, Abdullah Shaikh
>>  wrote:
>>>
>>> Hi,
>>>
>>> What I want to do is have a xml file (not the ui binder xml file, as
>>> its compile time) which will define the UI, when the request comes, it
>>> will parse the xml file and create an object representation of the UI
>>> definition from the xml file and send the object back to the client,
>>> the client will then use the object to create the UI.
>>>
>>> I have done things till the stage it renders the UI but need to think
>>> how to do event handling, event bus, history etc.
>>>
>>> Is there any framework, which does these things and will help me in
>>> creating UI in runtime ?
>>>
>>> Any idea how to go about implementing this ?
>>>
>>>
>>> Thanks,
>>> Abdullah
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "Google Web Toolkit" group.
>>> To post to this group, send email to google-web-tool...@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> google-web-toolkit+unsubscr...@googlegroups.com.
>>> For more options, visit this group at
>>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>>
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

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



runtime UI

2010-12-29 Thread Abdullah Shaikh
Hi,

What I want to do is have a xml file (not the ui binder xml file, as
its compile time) which will define the UI, when the request comes, it
will parse the xml file and create an object representation of the UI
definition from the xml file and send the object back to the client,
the client will then use the object to create the UI.

I have done things till the stage it renders the UI but need to think
how to do event handling, event bus, history etc.

Is there any framework, which does these things and will help me in
creating UI in runtime ?

Any idea how to go about implementing this ?


Thanks,
Abdullah

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



Junk characters in response payload

2010-12-21 Thread Abdullah Shaikh
uot;Product Category Id
9","Category Name:10","Category Type 10","Product Category Id
10","Category Name:11","Category Type 11","Product Category Id
11","Category Name:12","Category Type 12","Product Category Id
12","Category Name:13","Category Type 13","Product Category Id
13","Category Name:14","Category Type 14","Product Category Id
14","Category Name:15","Category Type 15","Product Category Id
15","Category Name:16","Category Type 16","Product Category Id
16","Category Name:17","Category Type 17","Product Category Id
17","Category Name:18","Category Type 18","Product Category Id
18","Category Name:19","Category Type 19","Product Category Id
19","Category Name:20","Category Type 20","Product Category Id
20","Category Name:21","Category Type 21","Product Category Id
21","Category Name:22","Category Type 22","Product Category Id
22","Category Name:23","Category Type 23","Product Category Id
23","Category Name:24","Category Type 24","Product Category Id
24","Category Name:25","Category Type 25","Product Category Id
25","Category Name:26","Category Type 26","Product Category Id
26","Category Name:27","Category Type 27","Product Category Id
27","Category Name:28","Category Type 28","Product Category Id
28","Category Name:29","Category Type 29","Product Category Id
29","Category Name:30","Category Type 30","Product Category Id
30","Category Name:31","Category Type 31","Product Category Id
31","Category Name:32","Category Type 32","Product Category Id
32","Category Name:33","Category Type 33","Product Category Id
33","Category Name:34","Category Type 34","Product Category Id
34","Category Name:35","Category Type 35","Product Category Id
35","Category Name:36","Category Type 36","Product Category Id
36","Category Name:37","Category Type 37","Product Category Id
37","Category Name:38","Category Type 38","Product Category Id
38","Category Name:39","Category Type 39","Product Category Id
39","Category Name:40","Category Type 40","Product Category Id
40","Category Name:41","Category Type 41","Product Category Id
41","Category Name:42","Category Type 42","Product Category Id
42","Category Name:43","Category Type 43","Product Category Id
43","Category Name:44","Category Type 44","Product Category Id
44","Category Name:45","Category Type 45","Product Category Id
45","Category Name:46","Category Type 46","Product Category Id
46","Category Name:47","Category Type 47","Product Category Id
47","Category Name:48","Category Type 48","Product Category Id
48","Category Name:49","Category Type 49","Product Category Id
49","Category Name:50","Category Type 50","Product Category Id
50"],0,6]


Thanks,
Abdullah

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



Extending UI Binder

2010-12-06 Thread Abdullah Shaikh
Hi All,


I want to have my own custom xml file definition for defining UI, like
ui.xml, any idea on how to extend UI Binder for this ?

Also is it possible to generated the java script code at runtime, for
the requested screen instead of doing this at compile time ?

The idea is, for example there is a screen Screen1 and a initial place
holder screen (main screen), maybe a DockPanel or any container, when
the user request for Screen1, the server checks if the Screen1 is
already compiled (converted to javascript), if not, converted it to
javascript using the GWT complier, and return the javascript back to
the client, so that it can render this screen inside the container
(main screen).

This is like traditional web application, but here instead of
returning html, javascript will be returned.

I am doing all this, bcoz we have an ERP system, which has all the
screens defined in xml files, I want to integrated GWT with it, so
that the user can define the gwt ui, using the same xml files.


Any links of extending UI binder or how the GWT compiler works will be helpful ?

Thanks,
Abdullah

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



Dynamic inclusion of UI/script

2010-12-02 Thread Abdullah Shaikh
Hi All,

We will be creating a huge ERP system, with lots of screens. I am
looking if there is a way to dynamically include screens, I mean if  a
user sends a request, the system will look for a xml file, may be a ui
binder file, compile the script and sends the generated script back to
the user and from then the already generated script will be sent. I
guess this will minimize the size of the generated javascript files
and the loading time.

I think the Histroy can be maintained in the same way and I guess
there wont be any need for modules then.

Let me know your thought on this or pros/cons or any way to achieve this ?


Thanks,
Abdullah

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



Re: Newbie qn: GWT.xml inherits vs Build path

2010-09-29 Thread Abdullah Shaikh
Yes you are right for the client side part, but in case of server side, you
can't add any jar file with the  tag, it has to be a gwt module
jar file which contains .gwt.xml file.

Also the jars that you include is only for the client side nothing to do
with the server side.

Abdullah

On Wed, Sep 29, 2010 at 1:17 PM, Will  wrote:

> Thanks Guys...
>
> So would I be right in saying.. any client side jars that I use would
> have to added to build path AND they would require a  entry
> but any server side jars would not / should not be added with a
>  tag although this would not actually break anythingjust
> slow down the GWT Compiler?
>
> Thanks,
> W
>
> On Sep 29, 8:07 am, Daniel Kurka  wrote:
> > GWT Compiler does not use the whole java classpath for the sources that
> will
> > be translated to javascript. (There would be a lot of not translatable
> > classes). So by using the inherit tag you tell the compiler which classes
> > exactly need to be translated to javascript
> >
> > - Daniel
> >
> > 2010/9/29 Abdullah Shaikh 
> >
> > > Adding jar on the build path helps eclipse for code completion and
> compile
> > > errors, while adding the  in .gwt.xml file is for the gwt
> compiler
> > > to know that it needs to include the specified gwt module.
> >
> > > Abdullah
> >
> > > On Wed, Sep 29, 2010 at 12:17 AM, Will 
> wrote:
> >
> > >> Hi,
> >
> > >> Beginner question:
> >
> > >> What is the difference between adding the GWT jar to my Eclipse build
> > >> path and the  functionality in the myapp.gwt.xml  > >> name='com.google.gwt.user.User'/>
> >
> > >> What does the  achieve that I don't get with having the .jar
> > >> on my build path..
> >
> > >> Thanks,
> > >> W
> >
> > >> --
> > >> You received this message because you are subscribed to the Google
> Groups
> > >> "Google Web Toolkit" group.
> > >> To post to this group, send email to
> google-web-tool...@googlegroups.com.
> > >> To unsubscribe from this group, send email to
> > >> google-web-toolkit+unsubscr...@googlegroups.com
> 
> >
> > >> .
> > >> For more options, visit this group at
> > >>http://groups.google.com/group/google-web-toolkit?hl=en.
> >
> > >  --
> > > You received this message because you are subscribed to the Google
> Groups
> > > "Google Web Toolkit" group.
> > > To post to this group, send email to
> google-web-tool...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > google-web-toolkit+unsubscr...@googlegroups.com
> 
> >
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/google-web-toolkit?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

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



Re: Newbie qn: GWT.xml inherits vs Build path

2010-09-28 Thread Abdullah Shaikh
Adding jar on the build path helps eclipse for code completion and compile
errors, while adding the  in .gwt.xml file is for the gwt compiler
to know that it needs to include the specified gwt module.

Abdullah

On Wed, Sep 29, 2010 at 12:17 AM, Will  wrote:

> Hi,
>
> Beginner question:
>
> What is the difference between adding the GWT jar to my Eclipse build
> path and the  functionality in the myapp.gwt.xml  name='com.google.gwt.user.User'/>
>
> What does the  achieve that I don't get with having the .jar
> on my build path..
>
> Thanks,
> W
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

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



Re: MVP framework: Mvp4g vs gwt-platform

2010-09-20 Thread Abdullah Shaikh
Pierre,

Thanks for the article, it was good. I have been using mvp4g for around 4
months, and I loved it. Xplana is cool ..

Abdullah

On Mon, Sep 20, 2010 at 6:17 PM, Pierre  wrote:

> I wrote this article to compare Mvp4g & gwt-platform, it will give you
> a better idea of the advantages of each framework:
> http://code.google.com/p/mvp4g/wiki/Mvp4g_vs_GWTP. Let me know what
> you think.
>
> Also a new version of Mvp4g is now available. Like before, Mvp4g 1.2.0
> helps you build GWT applications easily following best practices shown
> by Ray Ryan, thanks to only a few annotations and a few lines of code.
> But now Mvp4g integrates GIN, allowing you to use all of its features
> and easily inject anything into your presenters/views.
>
> Amongst the new features, you will also find:
> -event filtering: stop an event before it is sent to handlers
> -event logs: trace you events easily to any logger you want
> -activate/deactivate presenters easily
> -support for non-singleton presenters
> -place service: support for customizable tokens
>
> Examples and documentation are provided to illustrate the framework.
> http://code.google.com/p/mvp4g.
>
> You can also read feedback from other developers using Mvp4g:
> http://groups.google.com/group/mvp4g/browse_thread/thread/685a58e84a567a30
>
> At work, we just launched the first version of our new product:
> Xplana.com (http://www.xplana.com), the new student learning platform
> that bridges social networking and the traditional elements of
> education. This website can give you a good idea of the potential of
> GWT 2 & Mvp4g.
>
> Pierre
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

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



Re: Date Picker component

2010-09-14 Thread Abdullah Shaikh
DateBox needs to be improved to support year navigation.

- Abdullah

On Tue, Sep 14, 2010 at 3:33 PM, Thomas Broyer  wrote:

>
>
> On Sep 13, 5:40 pm, Vik  wrote:
> > Hie
> >
> > I was looking for the date picker component and found one as:
> http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/g...
> >
> > <http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/g..
> .>This
> > is good but it remains like an open widget on the page. What i want is a
> > small icon clicking on which show the component as a popup. I select the
> > date which
> > fills the date text box and close the calender.
> >
> > How to do that?
>
> Use the DateBox widget:
>
> http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/gwt/user/datepicker/client/DateBox.html
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

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



Re: Image problem, can't use file:/// URL, ie new Image("file:///c:/blah/blah.png");

2010-09-01 Thread Abdullah Shaikh
Yes its browser security, you need to load the images from the server and
not directly from the drive, I dont know what you are trying to do, but this
wont work on client side as the user may not have c: drive or the images.

- Abdullah

On Thu, Sep 2, 2010 at 10:39 AM, Andrew Hughes  wrote:

> Hi Guys,
>
> Not by choice we need to load Images from a *file:///* url.
>
> For example...
>
> *Image myImage** = **new** **Image(**"**file:///c:/blah/blah.png**"**);*
>
>
> This will produce (as seen in chrome+firebug) html that looks like...
>
> 
>
>
> The problem, is that the image is never loaded. Chrome's Developer Tools
> says that the image is 0px by 0px and when you look @ the Resources section
> the browser has not even attempted to load the image. It's not that it's a
> 404 or anything.
>
> Any idea's why this might be? Browser security perhaps?
>
> Cheers :)
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

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



Re: GWT 2.04 + Eclipse Galileo

2010-08-16 Thread Abdullah Shaikh
Hi kirtcathey,

Run it as "Web Application" instead of "GWT Application"

- Abdullah

On Mon, Aug 16, 2010 at 3:40 AM, kirtcathey  wrote:

> Tried the new project thing and same result but you lead me in the
> right direction. Obviously not in dev mode since it is trying to
> compile for deployment.
> Thank you.
>
> On Aug 15, 8:14 pm, István Szoboszlai  wrote:
> > Hello!
> >
> > Are you not trying to use an old launch config?
> > Try creating a new GWT project, and see what happens!
> > I don't think though there is a -style argument for devmode.
> > The -style argument I know is used for specifying javascript output style
> > for gwt compiler.
> >
> > Hope that helps.
> >
> > Best Regards
> > - István Szoboszlai
> > istvan.szobosz...@inepex.com | inepex.com
> >
> > On Sun, Aug 15, 2010 at 8:22 AM, kirtcathey 
> wrote:
> > > Hi.
> >
> > > Every time I try to run my application, the server doesn't start and
> > > stops with an error: "Unknown argument: -style"
> >
> > > Have searched, but nothing yet. Any ideas?
> >
> > > --Kirt
> >
> > > --
> > > You received this message because you are subscribed to the Google
> Groups
> > > "Google Web Toolkit" group.
> > > To post to this group, send email to
> google-web-tool...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > google-web-toolkit+unsubscr...@googlegroups.com
> 
> >
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/google-web-toolkit?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

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



Re: GWT issue when browser offline

2010-05-11 Thread Abdullah Shaikh
Hey I know that in offline mode the browser doesn't access server, what I
was asking is how will the user know about this, by user I mean the end user
and not the developer.

Anyways I think I will go as per Sripathi explained by having a centralized
error handling.

- Abdullah

On Tue, May 11, 2010 at 12:19 AM, Sorinel C wrote:

> There is no solution here ...in offline mode the browser doesn't
> access server  and obviously the client RPC calls fail. t
> So, enable the browser "online" and your application will be alive and
> kicking.
>
> More GWT hints you can find here: http://ui-programming.blogspot.com/
>
> Cheers!
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

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



GWT issue when browser offline

2010-05-10 Thread Abdullah Shaikh
If the browser is in offline mode, then for the html/normal website the
browse would display the message that its on offline mode but in case of GWT
application the GWT-RPC/XHR calls would simply fail and the user won't come
to know what's wrong.

Had anybody encountered this ? any solution ?

- Abdullah

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



Re: GWT presentation/workshop

2010-04-19 Thread Abdullah Shaikh
Hi Ed,

I just saw the entire presentation, thanks, it was really useful.

- Abdullah

On Mon, Apr 19, 2010 at 3:46 PM, Ed  wrote:

> Hi All,
>
> If you really have nothing to do, have a look at this GWT
> presentation:
> http://www.slideshare.net/edbras/all-about-gwt
> I made it to give GWT presentations/workshops here in Holland (it's in
> English).
>
> Maybe it can be useful to you,
> Ed
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

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



DatePicker

2010-04-15 Thread Abdullah Shaikh
How are I have easy navigation in DatePicker, for example if I want to
select the year 2000, I will have to go through all the months and years by
clicking the button.

I think we should have a month and year drop down for easy navigation.

Is there any third party DatePicker or any configuration in GWT's DatePicker
that I am missing ?


- Abdullah

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



Re: -port keeps disappearing

2010-04-12 Thread Abdullah Shaikh
OK, but is it not required to specify the port no. of my external server ? I
am using port 8080.

- Abdullah

On Mon, Apr 12, 2010 at 9:19 PM, Jason Parekh  wrote:

> Hi,
>
> The "-port" argument is for specifying the port of the embedded server.  In
> your case, you're running an external server, so the "-port" is not needed,
> and that's why it is getting removed.
>
> jason
>
>
> On Mon, Apr 12, 2010 at 10:21 AM, Abdullah Shaikh <
> abdullah.shaik...@gmail.com> wrote:
>
>> In the "Server" tab, I see a option to run built-in server, and I have the
>> check box unchecked, bcoz I want to run the gwt app in my external server.
>>
>> I have check the checkbox it adds -port 8080 -server.
>>
>> - Abdullah
>>
>>
>> On Mon, Apr 12, 2010 at 6:37 PM, Katharina Probst wrote:
>>
>>> Hi,
>>>
>>> In your run/debug configuration, if you go to the "Server" tab, what does
>>> it say?  This tab also sets the port and the -noserver (or server)
>>> arguments, so you'll want to make sure they're not in conflict with your
>>> "Arguments" tab.
>>>
>>> kathrin
>>>
>>>
>>> On Mon, Apr 12, 2010 at 8:33 AM, Abdullah Shaikh <
>>> abdullah.shaik...@gmail.com> wrote:
>>>
>>>> Yes the -port & port number disappears for me too 
>>>>
>>>> Below are the arguments that are automatically set for me, and I just
>>>> add the -port argument since I want to use a different port.
>>>>
>>>> -startupUrl /myapp/MyApp.html -noserver -remoteUI
>>>> "${gwt_remote_ui_server_port}:${unique_id}" -logLevel INFO -war
>>>> /home/abdullah/projects/myapp_ws/MyApp/war com.app.myapp.MyApp
>>>>
>>>> Do I need to set the ${gwt_remote_ui_server_port} or something ?
>>>>
>>>> - Abdullah
>>>>
>>>>
>>>> On Mon, Apr 12, 2010 at 4:54 PM, Ian Bambury wrote:
>>>>
>>>>> In the Run Configs - Arguments I add -codeServerPort -noserver and
>>>>> -port. If I restart Eclipse, or go to the arguments, or after a while of
>>>>> just running via the run button, the -port switch and port number 
>>>>> disappear.
>>>>>
>>>>> Anyone else get this? Any way to make it 'stick'? Is it a bug in the
>>>>> GEP?
>>>>>
>>>>> Ian
>>>>>
>>>>> http://examples.roughian.com
>>>>>
>>>>> --
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "Google Web Toolkit" group.
>>>>> To post to this group, send email to
>>>>> google-web-tool...@googlegroups.com.
>>>>> To unsubscribe from this group, send email to
>>>>> google-web-toolkit+unsubscr...@googlegroups.com
>>>>> .
>>>>> For more options, visit this group at
>>>>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>>>>
>>>>
>>>>  --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Google Web Toolkit" group.
>>>> To post to this group, send email to
>>>> google-web-tool...@googlegroups.com.
>>>> To unsubscribe from this group, send email to
>>>> google-web-toolkit+unsubscr...@googlegroups.com
>>>> .
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>>>
>>>
>>>  --
>>> You received this message because you are subscribed to the Google Groups
>>> "Google Web Toolkit" group.
>>> To post to this group, send email to google-web-toolkit@googlegroups.com
>>> .
>>> To unsubscribe from this group, send email to
>>> google-web-toolkit+unsubscr...@googlegroups.com
>>> .
>>> For more options, visit this group at
>>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>>
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To post to this group, send email to google-web-tool...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-web-toolkit+unsubscr...@googlegroups.com
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

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



Re: -port keeps disappearing

2010-04-12 Thread Abdullah Shaikh
In the "Server" tab, I see a option to run built-in server, and I have the
check box unchecked, bcoz I want to run the gwt app in my external server.

I have check the checkbox it adds -port 8080 -server.

- Abdullah

On Mon, Apr 12, 2010 at 6:37 PM, Katharina Probst wrote:

> Hi,
>
> In your run/debug configuration, if you go to the "Server" tab, what does
> it say?  This tab also sets the port and the -noserver (or server)
> arguments, so you'll want to make sure they're not in conflict with your
> "Arguments" tab.
>
> kathrin
>
>
> On Mon, Apr 12, 2010 at 8:33 AM, Abdullah Shaikh <
> abdullah.shaik...@gmail.com> wrote:
>
>> Yes the -port & port number disappears for me too 
>>
>> Below are the arguments that are automatically set for me, and I just add
>> the -port argument since I want to use a different port.
>>
>> -startupUrl /myapp/MyApp.html -noserver -remoteUI
>> "${gwt_remote_ui_server_port}:${unique_id}" -logLevel INFO -war
>> /home/abdullah/projects/myapp_ws/MyApp/war com.app.myapp.MyApp
>>
>> Do I need to set the ${gwt_remote_ui_server_port} or something ?
>>
>> - Abdullah
>>
>>
>> On Mon, Apr 12, 2010 at 4:54 PM, Ian Bambury wrote:
>>
>>> In the Run Configs - Arguments I add -codeServerPort -noserver and -port.
>>> If I restart Eclipse, or go to the arguments, or after a while of just
>>> running via the run button, the -port switch and port number disappear.
>>>
>>> Anyone else get this? Any way to make it 'stick'? Is it a bug in the GEP?
>>>
>>> Ian
>>>
>>> http://examples.roughian.com
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "Google Web Toolkit" group.
>>> To post to this group, send email to google-web-toolkit@googlegroups.com
>>> .
>>> To unsubscribe from this group, send email to
>>> google-web-toolkit+unsubscr...@googlegroups.com
>>> .
>>> For more options, visit this group at
>>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>>
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To post to this group, send email to google-web-tool...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-web-toolkit+unsubscr...@googlegroups.com
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

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



Re: -port keeps disappearing

2010-04-12 Thread Abdullah Shaikh
Yes the -port & port number disappears for me too 

Below are the arguments that are automatically set for me, and I just add
the -port argument since I want to use a different port.

-startupUrl /myapp/MyApp.html -noserver -remoteUI
"${gwt_remote_ui_server_port}:${unique_id}" -logLevel INFO -war
/home/abdullah/projects/myapp_ws/MyApp/war com.app.myapp.MyApp

Do I need to set the ${gwt_remote_ui_server_port} or something ?

- Abdullah

On Mon, Apr 12, 2010 at 4:54 PM, Ian Bambury  wrote:

> In the Run Configs - Arguments I add -codeServerPort -noserver and -port.
> If I restart Eclipse, or go to the arguments, or after a while of just
> running via the run button, the -port switch and port number disappear.
>
> Anyone else get this? Any way to make it 'stick'? Is it a bug in the GEP?
>
> Ian
>
> http://examples.roughian.com
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

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



Re: Irony: GWT Showcase demo does not work with Chrome

2010-04-09 Thread Abdullah Shaikh
It works for me too on Chrome 5.0.342.9 on Ubuntu 9.10

- Abdullah

On Thu, Apr 8, 2010 at 8:03 AM, Unconquered wrote:

> With the latest Chrome, running on Mac OS X, the Google Web Toolkit
> "Showcase of Features" at
>
>  http://gwt.google.com/samples/Showcase/Showcase.html
>
> does not work properly. Widgets is expanded but the other main items
> below (e.g. Lists and Menus) will not expand when clicked. The page
> works in Safari.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

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



Re: Single Origin Policy ByPass With IE8

2010-04-06 Thread Abdullah Shaikh
Does that mean that I can even call https using JSONP ?

- Abdullah

On Tue, Apr 6, 2010 at 1:47 AM, lineman78  wrote:

> You should switch your project over to use JSONP.  I was able to do so
> with minimal headaches assuming you can add the capability server
> side.  I developed a solution based on the code posted here:
>
> http://www.gwtsite.com/how-to-access-web-services-with-gwt/
>
> By using JSONP you will never have to worry about SOP problems on any
> browser instead of exploiting what I believe is a security hole in IE8
> because all other browsers consider different ports to violate SOP.  I
> wouldn't be surprised if this is patched.
>
> On Apr 5, 12:47 pm, powwow  wrote:
> > OMG!  This one nearly killed our project.  When SOP was introduced in
> > development mode for GWT 2.0 our project screeched to a halt.  We have
> > a huge application with a GWT front end communicating with a Rails
> > server doing JSON requests.  We had GWT running onhttp://127.0.0.1:
> > and needed to connect to the rails server which ran onhttp://
> 127.0.0.1:3000.
> > The only difference was the port.  Our application HAD to run in IE
> > (no Firefox or Chome).   We had hundreds of JSON calls doing GET,
> > POST, PUT, DELETE all using RequestBuilder to communicate.
> >
> > We tried ProxyServer scripts to forward urls to the Rails server, but
> > many were just too basic not being able to handle PUTs, DELETEs, form
> > uploads, headers and everything else.  Half the calls worked, and half
> > the calls failed.  We didn't have time to program the perfect
> > ProxyServer servlet.
> >
> > We tried all the hacks including the Eclipse built in proxy server,
> > enabling cross domain communication in IE in the options, lowering
> > browser security levels, installing and uninstalling software, etc.,
> > all with no luck.
> >
> > But we found something that did work for the time being.  Here is a
> > work around if you need to bypass SOP:  Use IE 8!  We used IE7 and it
> > didn't work, but IE8 works!
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

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



Re: entire website in GWT, yes/no ?

2010-04-03 Thread Abdullah Shaikh
Hi Ian,

Are you talking about using Ajaxcrawling (
http://code.google.com/web/ajaxcrawling) or some other way ?. Can you give
details on what are you doing for this or any link which will provide
details ?

- Abdullah

On Fri, Apr 2, 2010 at 9:36 PM, Ian Bambury  wrote:

> Have to disagree with you, Sri.
>
> It is simple to create SEO-friendly content-driven web sites with GWT used
> just for navigation and history. There is no need for a recompile if content
> changes. I'm working on one like that right now.
>
> If you design it properly, then you don't even need to recompile to add
> pages to your GWT-driven menu system and without too much trouble, you can
> even have an SE-friendly site with the information held in a database.
>
> Ian
>
> http://examples.roughian.com
>
>
>
> On 2 April 2010 16:19, Sripathi Krishnan wrote:
>
>> Entire website in GWT, yes/no ?
>>>
>> I would say no.
>>
>> There are two types of websites -
>>
>>- *Content driven* - which share information. Think blogs, corporate
>>websites, forums etc. SEO is usually important. And content is almost 
>> always
>>delivered over http.
>>- *Interaction driven* - in which the user and site interact closely,
>>typically involving ajax. Think web apps like gmail, google docs, 
>> facebook.
>>Here, the content is usually specific to a user, and is typically 
>> delivered
>>after login. So, you'd want https, and wouldn't care much about SEO.
>>
>> You can build both kinds of websites with GWT, but it really is suited for
>> the interactive web-apps. For content-driven websites, GWT is an overkill.
>> You have to do a lot of extra work to make it SEO friendly. Modifying
>> content will require a re-build, which gets bugging after a point. There are
>> ways to get around these limitations, but its just not worth it.
>>
>> I would recommend you split your website into two parts along the above
>> lines. For the website portion, use whatever technology you are familiar
>> with, make it SEO friendly, and deliver it over http. For the interactive
>> portion, use GWT. That way, you get best of both worlds.
>>
>> --Sri
>>
>>
>>
>>
>> On 2 April 2010 19:29, Katharina Probst  wrote:
>>
>>> Hi Abdullah,
>>>
>>> to make your app searchable, you may also want to consider looking at
>>> http://code.google.com/web/ajaxcrawling. (Note that this only works for
>>> Google right now).
>>>
>>> kathrin
>>>
>>>
>>>
>>>
>>> On Fri, Apr 2, 2010 at 3:56 AM, Abdullah Shaikh <
>>> abdullah.shaik...@gmail.com> wrote:
>>>
>>>> Hi All,
>>>>
>>>> I am planning to have my entire website in GWT, but there a few issues,
>>>> for which I would like to have your suggestions on.
>>>>
>>>> 1) The site should be searchable (SEO)
>>>>
>>>> 2) I would need to switch between Http/Https depending on the input I
>>>> will be taking from the user
>>>>
>>>> Any idea how to achieve this ?
>>>>
>>>>
>>>> The other thing I have in mind is, I go with plain html approach, that
>>>> is use jsp/ftl, put the content there, and have the gwt application in the
>>>> same jsp/ftl file and fetch the data using DOM to display it in GWT UI, 
>>>> this
>>>> way the content will be searchable.
>>>>
>>>> Is the above approach good or is there any issues with ? also I would
>>>> need to have multiple gwt applications using this approach for each & every
>>>> page where I need got user interactivity & UI.
>>>>
>>>> Thanks for any help.
>>>>
>>>> - Abdullah
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Google Web Toolkit" group.
>>>> To post to this group, send email to
>>>> google-web-tool...@googlegroups.com.
>>>> To unsubscribe from this group, send email to
>>>> google-web-toolkit+unsubscr...@googlegroups.com
>>>> .
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>>>
>>>
>>>  --
>>> You received this message because you are subscribed to the Google Groups
>>> "Google Web Toolkit" group.
>>> To post to this group, send email to google-web

Re: entire website in GWT, yes/no ?

2010-04-03 Thread Abdullah Shaikh
Thanks Sripathi, I will see how this will work.

On Fri, Apr 2, 2010 at 8:49 PM, Sripathi Krishnan <
sripathikrish...@gmail.com> wrote:

> Entire website in GWT, yes/no ?
>>
> I would say no.
>
> There are two types of websites -
>
>- *Content driven* - which share information. Think blogs, corporate
>websites, forums etc. SEO is usually important. And content is almost 
> always
>delivered over http.
>- *Interaction driven* - in which the user and site interact closely,
>typically involving ajax. Think web apps like gmail, google docs, facebook.
>Here, the content is usually specific to a user, and is typically delivered
>after login. So, you'd want https, and wouldn't care much about SEO.
>
> You can build both kinds of websites with GWT, but it really is suited for
> the interactive web-apps. For content-driven websites, GWT is an overkill.
> You have to do a lot of extra work to make it SEO friendly. Modifying
> content will require a re-build, which gets bugging after a point. There are
> ways to get around these limitations, but its just not worth it.
>
> I would recommend you split your website into two parts along the above
> lines. For the website portion, use whatever technology you are familiar
> with, make it SEO friendly, and deliver it over http. For the interactive
> portion, use GWT. That way, you get best of both worlds.
>
> --Sri
>
>
>
>
> On 2 April 2010 19:29, Katharina Probst  wrote:
>
>> Hi Abdullah,
>>
>> to make your app searchable, you may also want to consider looking at
>> http://code.google.com/web/ajaxcrawling. (Note that this only works for
>> Google right now).
>>
>> kathrin
>>
>>
>>
>>
>> On Fri, Apr 2, 2010 at 3:56 AM, Abdullah Shaikh <
>> abdullah.shaik...@gmail.com> wrote:
>>
>>> Hi All,
>>>
>>> I am planning to have my entire website in GWT, but there a few issues,
>>> for which I would like to have your suggestions on.
>>>
>>> 1) The site should be searchable (SEO)
>>>
>>> 2) I would need to switch between Http/Https depending on the input I
>>> will be taking from the user
>>>
>>> Any idea how to achieve this ?
>>>
>>>
>>> The other thing I have in mind is, I go with plain html approach, that is
>>> use jsp/ftl, put the content there, and have the gwt application in the same
>>> jsp/ftl file and fetch the data using DOM to display it in GWT UI, this way
>>> the content will be searchable.
>>>
>>> Is the above approach good or is there any issues with ? also I would
>>> need to have multiple gwt applications using this approach for each & every
>>> page where I need got user interactivity & UI.
>>>
>>> Thanks for any help.
>>>
>>> - Abdullah
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "Google Web Toolkit" group.
>>> To post to this group, send email to google-web-toolkit@googlegroups.com
>>> .
>>> To unsubscribe from this group, send email to
>>> google-web-toolkit+unsubscr...@googlegroups.com
>>> .
>>> For more options, visit this group at
>>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>>
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To post to this group, send email to google-web-tool...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-web-toolkit+unsubscr...@googlegroups.com
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

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



Re: entire website in GWT, yes/no ?

2010-04-03 Thread Abdullah Shaikh
Hi Kathrin

Ajaxcrawling looks good, I will give it a try. Are you using / used it ? if
yes, how did you find it ?

- Abdullah

On Fri, Apr 2, 2010 at 7:29 PM, Katharina Probst  wrote:

> Hi Abdullah,
>
> to make your app searchable, you may also want to consider looking at
> http://code.google.com/web/ajaxcrawling. (Note that this only works for
> Google right now).
>
> kathrin
>
>
>
> On Fri, Apr 2, 2010 at 3:56 AM, Abdullah Shaikh <
> abdullah.shaik...@gmail.com> wrote:
>
>> Hi All,
>>
>> I am planning to have my entire website in GWT, but there a few issues,
>> for which I would like to have your suggestions on.
>>
>> 1) The site should be searchable (SEO)
>>
>> 2) I would need to switch between Http/Https depending on the input I will
>> be taking from the user
>>
>> Any idea how to achieve this ?
>>
>>
>> The other thing I have in mind is, I go with plain html approach, that is
>> use jsp/ftl, put the content there, and have the gwt application in the same
>> jsp/ftl file and fetch the data using DOM to display it in GWT UI, this way
>> the content will be searchable.
>>
>> Is the above approach good or is there any issues with ? also I would need
>> to have multiple gwt applications using this approach for each & every page
>> where I need got user interactivity & UI.
>>
>> Thanks for any help.
>>
>> - Abdullah
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To post to this group, send email to google-web-tool...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-web-toolkit+unsubscr...@googlegroups.com
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

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



entire website in GWT, yes/no ?

2010-04-02 Thread Abdullah Shaikh
Hi All,

I am planning to have my entire website in GWT, but there a few issues, for
which I would like to have your suggestions on.

1) The site should be searchable (SEO)

2) I would need to switch between Http/Https depending on the input I will
be taking from the user

Any idea how to achieve this ?


The other thing I have in mind is, I go with plain html approach, that is
use jsp/ftl, put the content there, and have the gwt application in the same
jsp/ftl file and fetch the data using DOM to display it in GWT UI, this way
the content will be searchable.

Is the above approach good or is there any issues with ? also I would need
to have multiple gwt applications using this approach for each & every page
where I need got user interactivity & UI.

Thanks for any help.

- Abdullah

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



Re: How to share data ?

2010-04-01 Thread Abdullah Shaikh
Cool .. I will try this out ... thanks

- Abdullah

On Thu, Apr 1, 2010 at 12:58 PM, Subhrajyoti Moitra
wrote:

> In my AppController i have this in bind().
>
> this.eventBus.addHandler(LoginEvent.TYPE,new LoginEventHandler() {
>
> public void onLoginEvent(LoginEvent event) {
> final String token=History.getToken();
> authService.login(event.getUsername(), event.getPassword(),
> event.getOptions(), new AsyncCallback() {
> public void onFailure(Throwable error) {
>
>
> AdminAppController.this.lp.getDisplay().enableLoginView();
>
> AdminAppController.this.lp.getDisplay().setError(error);
> *AdminAppController.loggedInUserSession=null;*
> }
> public void onSuccess(UserSession session) {
> *AdminAppController.loggedInUserSession=session;*
> doLoginSuccess(token);//i do some more stuff here..
> };
> });
>
> }
> });
> ---
>
>
> public class AdminAppController implements ValueChangeHandler,
> Presenter{
>
> .
> private static UserSession loggedInUserSession=null;
> public static UserSession getLoggedInUserSession(){
> return loggedInUserSession;
> }
>
> .
> }
>
> On logout i set this loggedInUSerSession to null.
>
> From any other view u can call the static method to get the object.
>
> "I can see is can I can pass the data to the presenter..." since this is a
> static info, u dont need to pass this info.
>
> This solution is with problems, for example if your async call takes a long
> time to return, the view trying to use this info would receive null, so u
> have to take care of this case too. Using Timers might help.
>
> Keen to know how others are solving this issue.
>
> Thanks,
> Subhro.
>
>
> On Thu, Apr 1, 2010 at 12:39 PM, Abdullah Shaikh <
> abdullah.shaik...@gmail.com> wrote:
>
>> Hi Subhro,
>>
>> Yes I am using MVP pattern, and as I have a EventBus in my AppPresenter,
>> which handles the LoginEvent, I can store the data in my controller, but how
>> do I access them in my other view/presenter, one way I can see is can I can
>> pass the data to the presenter while I am creating them in my controller.
>>
>> Is there anything I am missing ?
>>
>> Thanks
>> Abdullah
>>
>>
>> On Thu, Apr 1, 2010 at 12:11 PM, Subhrajyoti Moitra <
>> subhrajyo...@gmail.com> wrote:
>>
>>> Hello,
>>>
>>> if u are using MVP pattern u must be having a AppController class to
>>> control the application flow and listen to history events (if required).
>>> The shared data can be stored as static objects on the AppController. On
>>> successful login you can set this static field. From any other "view" u can
>>> ask the AppController for the object.
>>> This data can be any GWT compatible object.
>>>
>>> How are other folks on the list solving this problem?
>>>
>>> Thanks,
>>> Subhro.
>>>
>>> On Thu, Apr 1, 2010 at 11:39 AM, Abdullah Shaikh <
>>> abdullah.shaik...@gmail.com> wrote:
>>>
>>>> Hi All,
>>>>
>>>> After the user logins, I get some data from the server and takes him to
>>>> the home page, and I want to have access to this data over all the pages on
>>>> which the user navigates, I dont want to pass this data throughout all the
>>>> pages, is there any to way to share this data, I thought of using
>>>> Dictionary, is it ok to use it for this purspose or is there any other way 
>>>> ?
>>>>
>>>> Thanks,
>>>> Abdullah
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Google Web Toolkit" group.
>>>> To post to this group, send email to
>>>> google-web-tool...@googlegroups.com.
>>>> To unsubscribe from this group, send email to
>>>> google-web-toolkit+unsubscr...@googlegroups.com
>>>> .
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>>>
>>>
>>>  --
>>> You received this message because you are subscribed to the Google Groups
>>> "Google Web Toolkit" group.
>>> To post to this group, send email to google-web-toolkit@googlegroups.com
>>> .

Re: How to share data ?

2010-04-01 Thread Abdullah Shaikh
Hi Subhro,

Yes I am using MVP pattern, and as I have a EventBus in my AppPresenter,
which handles the LoginEvent, I can store the data in my controller, but how
do I access them in my other view/presenter, one way I can see is can I can
pass the data to the presenter while I am creating them in my controller.

Is there anything I am missing ?

Thanks
Abdullah

On Thu, Apr 1, 2010 at 12:11 PM, Subhrajyoti Moitra
wrote:

> Hello,
>
> if u are using MVP pattern u must be having a AppController class to
> control the application flow and listen to history events (if required).
> The shared data can be stored as static objects on the AppController. On
> successful login you can set this static field. From any other "view" u can
> ask the AppController for the object.
> This data can be any GWT compatible object.
>
> How are other folks on the list solving this problem?
>
> Thanks,
> Subhro.
>
> On Thu, Apr 1, 2010 at 11:39 AM, Abdullah Shaikh <
> abdullah.shaik...@gmail.com> wrote:
>
>> Hi All,
>>
>> After the user logins, I get some data from the server and takes him to
>> the home page, and I want to have access to this data over all the pages on
>> which the user navigates, I dont want to pass this data throughout all the
>> pages, is there any to way to share this data, I thought of using
>> Dictionary, is it ok to use it for this purspose or is there any other way ?
>>
>> Thanks,
>> Abdullah
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To post to this group, send email to google-web-tool...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-web-toolkit+unsubscr...@googlegroups.com
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

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



How to share data ?

2010-03-31 Thread Abdullah Shaikh
Hi All,

After the user logins, I get some data from the server and takes him to the
home page, and I want to have access to this data over all the pages on
which the user navigates, I dont want to pass this data throughout all the
pages, is there any to way to share this data, I thought of using
Dictionary, is it ok to use it for this purspose or is there any other way ?

Thanks,
Abdullah

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



Re: Newbie question : Problem with GWT RPC when running running through GWT + AppEngine tutorial

2010-03-31 Thread Abdullah Shaikh
I think you are sending an object of type not defined in you rpc file,
delete you rpc file so that a new one is created.

- Abdullah

On Wed, Mar 31, 2010 at 1:58 AM, vijay  wrote:

> hi,
> I am using GWT 2.0.3 version, I am going through the steps mentioned in GWT
> tutorial
>
> http://code.google.com/webtoolkit/doc/latest/tutorial/appengine.html
>
> When trying to integrate login service I get following exception. I tried
> using a normal GWT RPC and it also gave me similar exception.
>
> Mar 30, 2010 6:44:49 PM
> com.google.appengine.tools.development.ApiProxyLocalImpl log
> SEVERE: [1269974689208000] javax.servlet.ServletContext log: loginService:
> ERROR: Failed to parse the policy file
> '/stockwatcher/748E07BA5F0BCE26285053278C0378CB.gwt.rpc'
> java.text.ParseException: Expected: className, [true | false]
>  at
> com.google.gwt.user.server.rpc.SerializationPolicyLoader.loadFromStream(SerializationPolicyLoader.java:116)
> at
> com.google.gwt.user.server.rpc.RemoteServiceServlet.doGetSerializationPolicy(RemoteServiceServlet.java:234)
>  at
> com.google.gwt.user.server.rpc.RemoteServiceServlet.getSerializationPolicy(RemoteServiceServlet.java:117)
> at
> com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.prepareToRead(ServerSerializationStreamReader.java:429)
>  at com.google.gwt.user.server.rpc.RPC.decodeRequest(RPC.java:234)
> at
> com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:164)
>  at
> com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:86)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
> at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
>  at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
> at
> com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java:51)
>  at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
> at
> com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:43)
>  at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
> at
> com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFileFilter.java:121)
>  at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
> at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
>  at
> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
> at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
>  at
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
> at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
>  at
> com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java:70)
> at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
>  at
> com.google.appengine.tools.development.JettyContainerService$ApiProxyHandler.handle(JettyContainerService.java:352)
> at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
>  at org.mortbay.jetty.Server.handle(Server.java:313)
> at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)
>  at
> org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:844)
> at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:644)
>  at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
> at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
>  at
> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)
> at
> org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
>
> Mar 30, 2010 6:44:49 PM
> com.google.appengine.tools.development.ApiProxyLocalImpl log
> SEVERE: [1269974689224000] javax.servlet.ServletContext log: loginService:
> An IncompatibleRemoteServiceException was thrown while processing this call.
> com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException:
> Parameter 0 of is of an unknown type 'java.lang.String/2004016611'
> at com.google.gwt.user.server.rpc.RPC.decodeRequest(RPC.java:277)
>  at
> com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:164)
> at
> com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:86)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
>  at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
> at

Re: Disabling click on DecoratedStackPanel

2010-02-23 Thread Abdullah Shaikh
anyone ?

On Tue, Feb 23, 2010 at 8:08 PM, Abdullah Shaikh <
abdullah.shaik...@gmail.com> wrote:

> Hi All,
>
> I have a DecoratedStackPanel, the stacks of which I want to show
> programatically  using the showStack method, but I want to disable the user
> clicking on the stack to open it, how to disable click ?
>
> Thanks,
>  Abdullah
>

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



Disabling click on DecoratedStackPanel

2010-02-23 Thread Abdullah Shaikh
Hi All,

I have a DecoratedStackPanel, the stacks of which I want to show
programatically  using the showStack method, but I want to disable the user
clicking on the stack to open it, how to disable click ?

Thanks,
Abdullah

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



Re: Basic question on running a gwt app

2010-02-21 Thread Abdullah Shaikh
Thats because you are running your GWT app in hosted mode, and for this
gwt.codesvr parameter is required, to run without this parameter you need to
deploy your app.

- Abdullah

On Sun, Feb 21, 2010 at 7:00 PM, Vik  wrote:

> Hie
>
> When i run my GWT app using eclipse it generates the url:
> http://127.0.0.1:1671/index.html?gwt.codesvr=127.0.0.1:9997
> if i run it as it is it works fine.
>
> however, if i use only: http://127.0.0.1:1671/index.html  then the gwt
> component does not render. Why this happens?
>
>
> Thankx and Regards
>
> Vik
> Founder
> www.sakshum.com
> www.sakshum.blogspot.com
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

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



Re: Images in server folder (store and access)

2010-02-12 Thread Abdullah Shaikh
I guess you need to generate the images in war/images

- Abdullah

On Thu, Feb 11, 2010 at 10:27 PM, K. K. Forest wrote:

> To extend on this, when generating an image (I am operating in hosted
> mode) it puts it into MyEclipseProject/images, but when running the
> service (in hosted mode) it tries to find it in MyEclipseProject/war/
> images. Does this mean that I cannot test this in hosted mode but only
> in fully deployed mode? Is there a trick to link these two folders so
> that I can use generative content without an extra deployment step?
>
> Ralf
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

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



Re: gwt-ckeditor v0.3 release

2010-02-09 Thread Abdullah Shaikh
Hey Damien, I just had a look at the editor,  its cool ..

- Abdullah

On Tue, Feb 9, 2010 at 4:45 PM, Damien Picard wrote:

> Thank you :)
>
> 2010/2/9 Thomas Broyer 
>
>
>>
>> On Feb 9, 8:57 am, Damien Picard  wrote:
>> > Hi,
>> >
>> > I'm pleased to announce the v0.3 release of gwt-ckeditor :
>> > v0.3
>> >
>> > Changes
>> >
>> >- Fixing issues on multiple custom toolbar and attach/detach editor
>> >- Adding entities and enter mode support
>> >
>> > Many thanks to codex69 for its reviews. (font_names and font_sizes lists
>> > will be added soon).
>>
>> You forgot the link: http://code.google.com/p/gwt-ckeditor/
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To post to this group, send email to google-web-tool...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-web-toolkit+unsubscr...@googlegroups.com
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>>
>
>
> --
> Damien Picard
> Open Source BPM : http://code.google.com/p/osbpm
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

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



Re: Newbee CSS questions

2010-02-05 Thread Abdullah Shaikh
Hey Dave, I dont know if you have copy/pasted the css from your css file or
typed it down here.

It should be gwt-Label instead of qwt-Label, note the G instead of Q.

- Abdullah

On Sat, Feb 6, 2010 at 6:59 AM, dhoffer  wrote:

> So is there a global way to change all font?  Or is this done per
> class and completely separate from each other?
>
> I've tried just adding some css to my app's css (which is specified in
> the html) like:
>
> .qwt-Label{
>color: #DF0101;
>font: normal 12px tahoma, arial, helvetica, sans-serif;
>border: 1px solid #99bbe8;
>padding: 14px;
> }
>
> .qwt-Button{
>color: #DF0101;
>font: normal 12px tahoma, arial, helvetica, sans-serif;
>border: 1px solid #99bbe8;
>padding: 14px;
> }
>
> .qwt-CheckBox{
>color: #DF0101;
>font: normal 12px tahoma, arial, helvetica, sans-serif;
>border: 1px solid #99bbe8;
>padding: 14px;
> }
>
> and keeping the gwt one in place in the module's xml file but mine
> does not take effect.  Is the GWT one overwriting mine?  How do I get
> might to take effect?
>
> -Dave
>
> On Feb 5, 5:35 pm, Gal Dolber  wrote:
> > You can...
> >
> > ..copy the entire theme and customized it.
> > or
> > ..overlap the css classes that you want to customize in a css and include
> it
> > (on each Widget there is a description of what css classes it uses)
> >
> > 2010/2/5 dhoffer 
> >
> > > How can I make some simple changes to the CSS GWT 2.0 uses for the
> > > standard theme?
> >
> > > How can I change the font family/name used for everything?  (Is there
> > > a global place for this?)
> > > How can I change the color of the font used for everything?  (Is there
> > > a global place for this?)
> > > How can I change the size of the font used by a some HTML widgets?
> >
> > > I know these are basic questions, but would really appreciate help
> > > getting started making some CSS changes.
> >
> > > Some more questions...do I have to copy the GWT CSS, make changes, and
> > > then include mine and not include GWT's?  Or can I leave GWT's in
> > > place and extend it somehow?
> >
> > > Thanks!
> >
> > > --
> > > You received this message because you are subscribed to the Google
> Groups
> > > "Google Web Toolkit" group.
> > > To post to this group, send email to
> google-web-tool...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > google-web-toolkit+unsubscr...@googlegroups.com
> 
> >
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/google-web-toolkit?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

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



Re: Help on gwt app initial download...

2010-02-04 Thread Abdullah Shaikh
GWT.runAsync() is the way to go.. I was able to bring down the initial size
a lot less compared to not using code splitting.

All the presenters/views not required initially, and required on an event, I
have put all of them in code splitting.

HTH

- Abdullah

On Thu, Feb 4, 2010 at 5:15 AM, golfdude  wrote:

>
> My app ( obfuscated ) is at 850kb and my users are complaining on
> initial download time as in beta mode I tend to put regular releases.
> My users are all in dialup ( 56 kb ) kind of connections. I have been
> searching this group and searching for some tutorial to split into
> modules ( one link to a google presentation was not working ). But
> dont seem to find any. Any ideas/links/howtos for this will be
> appreciated.
>
>
> Thanks
>
> gd
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

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



Re: validation in gwt ?

2010-02-04 Thread Abdullah Shaikh
Hi Ric,

Yes I think I should go with gwt-vl, you mean gwt-vl right ? or
gwt-validation, they both are different, the showcase link that you provided
is of gwt-vl.

Abdullah

On Thu, Feb 4, 2010 at 1:10 PM, Ric66  wrote:

> Hi Abdullah,
>
> AFAIK, validation is scheduled with GWT 2.2 (see GWT Incubator Status
> Update and Schedule at
>
> http://groups.google.com/group/google-web-toolkit/browse_thread/thread/26f883d9b0c02136/1516a4a543f56ffe?lnk=gst&q=roadmap#1516a4a543f56ffe
> ).
>
> I choose to use gwt-validation: it works fine, gives a lot of feeback
> to the user (see http://gwt-vl.maydu.eu/ValidationShowcase.html) and
> the author gives a very fast support.
>
> Ric
>
>
> On Feb 3, 8:57 am, Abdullah Shaikh 
> wrote:
> > Hi All,
> >
> > I need to have client side validation for my GWT app. I
> foundhttp://gwt-vl.sourceforge.netvalidation framework to be a good, but
> there
> > is a validation package in gwt incubator too .. but I didn't find any doc
> on
> > that.
> >
> > What do you suggest should I go with gwt-vl or gwt-incubator ? any links
> to
> > docs on gwt-incubator validation.
> >
> > Thanks,
> > Abdullah
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

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



validation in gwt ?

2010-02-02 Thread Abdullah Shaikh
Hi All,

I need to have client side validation for my GWT app. I found
http://gwt-vl.sourceforge.net validation framework to be a good, but there
is a validation package in gwt incubator too .. but I didn't find any doc on
that.

What do you suggest should I go with gwt-vl or gwt-incubator ? any links to
docs on gwt-incubator validation.


Thanks,
Abdullah

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



Re: GWT Password Transfer

2010-02-02 Thread Abdullah Shaikh
OK, what I meant was,

You have your gwt app at http://somehost/gwtapp

Now when you want to logged in the user using ssl, you will have to XHR to
some https url right, https://somehost:443/gwtapp

and this won't be possible as per SOP

now if you load your application using https://somehost:443/gwtapp, then it
will work, but I will have to forcibly use https for all the further
communication, because I cant do XHR to http because of SOP.


Regards,
Abdullah

On Tue, Feb 2, 2010 at 4:18 PM, Lothar Kimmeringer wrote:

> Abdullah Shaikh schrieb:
> > What about SOP, I mean if you use https on the login page then how to
> > proceed to the other pages after login ?
>
> Pass a session-token as answer to the login and use that when
> accessing the server again.
>
> > I mean after login all the
> > other pages would have to be on https right ?
>
> Not necessarily but not a wrong thing in dependence of the
> application in question anyway.
>
>
> Regards, Lothar
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

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



Re: GWT Password Transfer

2010-02-02 Thread Abdullah Shaikh
What about SOP, I mean if you use https on the login page then how to
proceed to the other pages after login ? I mean after login all the other
pages would have to be on https right ?

or am I missing something ?

- Abdullah

On Tue, Feb 2, 2010 at 3:21 PM, Lothar Kimmeringer wrote:

> Ahmad Bdair schrieb:
>
> > I am doing some login pages using GWT, and I want to send the
> > Username/ Password to server using RPC, I've been looking to secure
> > way to transfer it but I am not sure I found a specific answer
>
> You can send the password in plain text using SSL. Another way would
> be to implement some challenge response system. The server sends a
> challenge (some random data) and the client encrypts this data
> using a cryptography key generated from the username/password-
> combination.
>
> I haven't tried it out but the latter in Javascript doesn't sound
> very performant. Especially if SSL is another way secure enough
> and supported by all browsers where a web-application might run on,
> motivation to implement such a thing is quite low.
>
>
> Regards, Lothar
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

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



Re: Local events dispatch/handling. Don't wanna go through the EventBus...

2010-01-29 Thread Abdullah Shaikh
Hi Thomas,

I understand EventBus is for decoupling things .. but I guess there are
sometimes where you would want to use multiple (local) event bus.

I don't know may be I am missing something .. let me explain you my case

I have a DockPanel where I have added Widgets (panels) on West, Center &
East directions.

The panel on the west side contains navigation links and when clicked the
content is displayed on the center panel.

I was able to do the above navigation & displaying because the DockPanel was
the part of main presenter/view and I could easily access the DockPanel and
change the content of center panel.

But there is a time when I have a TabPresenter (which has a Tabpanel) into
my center panel, and in the first panel of TabPanel there is a button which
should fetch some data from server and display it in the second panel of
TabPanel.

Now if I do this using the app wide EventBus bus, I won't have access to the
TabPanel because it's inside of TabPresenter, in the app wide EventBus I
could only create TabPresenter and add it to center panel but cant access
TabPanel.

or should I have getTabPanel in Dispay of TabPresenter and manipulate it in
app wide eventbus ? I don't think this should be done like this.

a local EventBus which will be a part of TabPresenter will be good for this
case I guess.


- Abdullah

On Fri, Jan 29, 2010 at 3:00 PM, Thomas Broyer  wrote:

>
> On Jan 29, 8:46 am, Mirco Dotta  wrote:
> > Hi,
> >
> > This is a question I've been asking myself several times, here is the use
> > case:
> >
> > I've got an action happening in a ChildPresenter, such as a
> > DeleteElementEvent.
> > The ParentPresenter would like to register to this type of events so that
> a
> > correct
> > reaction can be triggered.
> >
> > Now, a possible way to go is to pass the Event in the EventBus and having
> > the ParentPresenter
> > registering on the EventBus for such events. This is going to work, but I
> > really don't like this
> > solution as the Event is not application-wide and therefore should not be
> > polluting the event bus.
> >
> > I'd rather have a local event, but how can I achieve this? Should I
> create a
> > HandlerManager
> > it in the ParentPresenter... but then hwo can I pass it to the children
> (GIN
> > injection?!, but how?).
> >
> > I'm looking for a pattern, if anyone faced the problem and came up with a
> > solution, please share :)
>
> The EventBus is there to help you decouple things. If you want to
> "couple" them, then it's OK to not use the EventBus (you've been
> warned about strong coupling and its implication on code maintability
> though)
>
> You could follow the same pattern that is used in GWT widgets:
>  - have a HandlerManager in ChildPresenter
>  - ChildPresenter expose a addDeleteElementHandler method that adds
> the handler in the internal HandlerManager
>  - the ParentPresenter registers its handler directly on the
> ChildPresenter
>  - ChildPresenter fires the event at its internal HandlerManager
> rather than the EventBus
>
> This is really strong coupling though. You've been warned...
>
> Another solution would be to have several event buses.
>
> But actually I don't really understand why it is a problem to fire the
> event at the EventBus if you already have one...
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

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



Re: Stick a widget on a "just opened" new blank page

2010-01-28 Thread Abdullah Shaikh
I don't know if you really need to open a new window, but if not then you
can easily use a PopupPanel or DialogBox.

If you want new window then I think you need to pass url which should just
display the widget you want based on the parameter passed in the url.

For eg. http://yoursite/yourapp/#widgettoshow

I am new to gwt, but I guess this should work, if you already have history
management in you application.

- Abdullah

On Thu, Jan 28, 2010 at 4:09 PM, Mirco Dotta  wrote:

> Hi folks,
>
> I'm wondering if there exist a way to stick a widget into a new page.
>
> What I'd like to do would be some sort of  Window.open(myWidget, "_blank",
> "width=650,height=700")
>
> But this can't be done because the interface of the Window.open method
> expects an URL and not a widget.
>
> Is there any trick to get this working. I was thinking that maybe I could
> call a native JS method and just pass the Widget as a DOM Element, but
> considering I'm not at all a JS expert I would prefer not to waste time on
> something that is simply not possible :)
>
> If there is someone out there with a good idea and has time to give me some
> direction I would greatly appreciate it.
>
>
> Cheers,
>   Mirco
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

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



Re: GWT support for Grails/Groovy domain objects

2010-01-28 Thread Abdullah Shaikh
Hey Johan, thanks for the link, I will check it out.

On Thu, Jan 28, 2010 at 3:23 PM, Johan Rydberg wrote:

> Have you guys checked the http://github.com/chirino/resty-gwt project?  It
> has a generator
> that does pretty much all the "awful" things Roger talks about.
>
>
> On 1/28/10 9:14 AM, Abdullah Shaikh wrote:
>
>> Hi Roger,
>>
>> Then the only option left is xml, of course if we are not going GWT-RPC
>> way.
>>
>> So what do you think will be better JSON or XML ?
>>
>> I have created a GWT application, the communication with server part is
>> pending, the server side is java but its an already existing application, so
>> I need to hook something in between the service side application & GWT to
>> communicate, so I am looking out if it should be json or xml.
>>
>>
>> - Abdullah
>>
>> On Wed, Jan 27, 2010 at 5:11 PM, Roger Studner > rstud...@gmail.com>> wrote:
>>
>>And to add one thing.
>>
>>Using JSON w/ GWT is well.. "awful".
>>
>>The main reason for this, is that you get JSON back to the client,
>>and either use Overlay Types (can't use instanceof with there, and
>>about 500 other issues).. or you hve to take a "simple"
>>OverlayType and then re-instantiate all of your objects (i.e. you
>>do eval() once on the JSON, then for-loop etc to re-instantiate
>>objects from that JSONObject).
>>
>>And then, the joy doesn't stop.  When you want to say, post JSON
>>back to the server, you have to redo this process, converting all
>>the "java objects" (which are of course actually javascript) into
>>JSON.
>>
>>All in all, using JSON w/ GWT is a very (very) painful experience.
>>
>>THe humor of course, is that you have to convert objects "to and
>>from Java" so that you can then use all the "java" API's etc that
>>GWT (just converts into Javascript).
>>
>>Heh
>>
>>Roger
>>
>>On Jan 27, 2010, at 1:30 AM, Jan Ehrhardt wrote:
>>
>> The problem is the GWT RPC's serialization, which can't work with
>>>objects created by hibernate. You can use the DTO Grails plugin
>>>(http://www.grails.org/plugin/dto) or you can use JSON / REST for
>>>communication.
>>>
>>>In the case of a Grails app, which comes with great support for
>>>REST / JSON, I would prefer the second way.
>>>
>>>Regards
>>>Jan Ehrhardt
>>>
>>>On Wed, Jan 27, 2010 at 4:37 AM, Don Ruby, R&D
>>>mailto:donald.r...@mindspring.com>>
>>>
>>>wrote:
>>>
>>>GWT is the obvious choice for UI. But if you want to use
>>>Grails/Groovy
>>>for server side, you have to either code messy DTOs or client
>>>side
>>>POJOs.  It would be nice if GWT would support using the
>>>Grails/Groovy
>>>domain objects directly on the client.  Any chance of that
>>>happening?
>>>
>>>--
>>>You received this message because you are subscribed to the
>>>Google Groups "Google Web Toolkit" group.
>>>To post to this group, send email to
>>>google-web-toolkit@googlegroups.com
>>><mailto:google-web-toolkit@googlegroups.com>.
>>>
>>>To unsubscribe from this group, send email to
>>>
>>> google-web-toolkit+unsubscr...@googlegroups.com
>>>
>>> <mailto:google-web-toolkit%2bunsubscr...@googlegroups.com
>>> >.
>>>
>>>For more options, visit this group at
>>>http://groups.google.com/group/google-web-toolkit?hl=en.
>>>
>>>
>>>
>>>--You received this message because you are subscribed to the
>>>Google Groups "Google Web Toolkit" group.
>>>To post to this group, send email to
>>>google-web-toolkit@googlegroups.com
>>><mailto:google-web-toolkit@googlegroups.com>.
>>>
>>>To unsubscribe from this group, send email to
>>>
>>> google-web-toolkit+unsubscr...@googlegroups.com
>>>
>>> <mailto:google-web-toolkit+unsubscr...@googlegroups.com
>>> >.
>>>
>>>For more options, visit this group at
>>>http://groups.google.com/group/google-web-toolkit?h

Re: GWT support for Grails/Groovy domain objects

2010-01-28 Thread Abdullah Shaikh
Hi Roger,

Then the only option left is xml, of course if we are not going GWT-RPC way.

So what do you think will be better JSON or XML ?

I have created a GWT application, the communication with server part is
pending, the server side is java but its an already existing application, so
I need to hook something in between the service side application & GWT to
communicate, so I am looking out if it should be json or xml.


- Abdullah

On Wed, Jan 27, 2010 at 5:11 PM, Roger Studner  wrote:

> And to add one thing.
>
> Using JSON w/ GWT is well.. "awful".
>
> The main reason for this, is that you get JSON back to the client, and
> either use Overlay Types (can't use instanceof with there, and about 500
> other issues).. or you hve to take a "simple" OverlayType and then
> re-instantiate all of your objects (i.e. you do eval() once on the JSON,
> then for-loop etc to re-instantiate objects from that JSONObject).
>
> And then, the joy doesn't stop.  When you want to say, post JSON back to
> the server, you have to redo this process, converting all the "java objects"
> (which are of course actually javascript) into JSON.
>
> All in all, using JSON w/ GWT is a very (very) painful experience.
>
> THe humor of course, is that you have to convert objects "to and from Java"
> so that you can then use all the "java" API's etc that GWT (just converts
> into Javascript).
>
> Heh
>
> Roger
>
> On Jan 27, 2010, at 1:30 AM, Jan Ehrhardt wrote:
>
> The problem is the GWT RPC's serialization, which can't work with objects
> created by hibernate. You can use the DTO Grails plugin (
> http://www.grails.org/plugin/dto) or you can use JSON / REST for
> communication.
>
> In the case of a Grails app, which comes with great support for REST /
> JSON, I would prefer the second way.
>
> Regards
> Jan Ehrhardt
>
> On Wed, Jan 27, 2010 at 4:37 AM, Don Ruby, R&D <
> donald.r...@mindspring.com> wrote:
>
>> GWT is the obvious choice for UI. But if you want to use Grails/Groovy
>> for server side, you have to either code messy DTOs or client side
>> POJOs.  It would be nice if GWT would support using the Grails/Groovy
>> domain objects directly on the client.  Any chance of that happening?
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To post to this group, send email to google-web-tool...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-web-toolkit+unsubscr...@googlegroups.com
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

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



fluid or fixed layout ?

2010-01-19 Thread Abdullah Shaikh
Any ideas on how can we have fluid layout using GWT or would it be best to
have a fixed layout ?

I have been trying using percentage but there is some or the other issues
with different browsers, I mean they dont render as expected.

If going for fluid layout then I guess I need to set the size for each and
every widget in percentage ?


Thanks,
Abdullah
-- 

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.

To post to this group, send email to google-web-tool...@googlegroups.com.

To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



Re: TRying to upload a file

2010-01-18 Thread Abdullah Shaikh
Yes you are correct. GWT has not automated file upload, it just submits the
data to the server, where you need to get this data and store the file
somewhere, as in any non-GWT project.


- Abdullah

On Mon, Jan 18, 2010 at 1:16 PM, Ewald Pankratz wrote:

> I am a newbie and I am never sure about anything. But for me it looks
> the whole server part of the example is missing.
>
>
>
> On Jan 18, 2:33 am, tedpottel  wrote:
> > Hi,
> > I cannot figure out how to upload a file.  I copied the sample code at
> >
> > http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/g...
> >
> > The program seemed to run fine, I
> > 1.  Click the browse button to choose a file to upload.
> > 2.  clicked submit.
> >
> > Check the folder war folder of my GWT project for the uploaded file
> > could not fine it.
> > Did the file get uploaded? If so whare is it? Help
> > Ted
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>
>
>
-- 

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.

To post to this group, send email to google-web-tool...@googlegroups.com.

To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Panel with mouse events

2010-01-16 Thread Abdullah Shaikh
To support mouse events on panels you need to create a subclass of panel and
implement mousehandlers.

Example for mouse out :

class MyPanel extends VerticalPanel implements MouseOutHandler,
HasMouseOutHandlers

Thanks,
Abdullah

On Fri, Jan 15, 2010 at 8:20 PM, Viliam Durina wrote:

> I need a Panel, on which I need to add mouse events. The only match
> seems to be the FocusPanel, which has a focus features which I don't
> need. But all other panels, surprisingly for me, don't support mouse
> events. Is there any specific reason for this or is it just an
> incomplete API?
>
> Thanks,
> Viliam
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>
>
>
-- 

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.

To post to this group, send email to google-web-tool...@googlegroups.com.

To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



Implementing a custom menu

2010-01-15 Thread Abdullah Shaikh
Hi All,

I need to implement a custom menu like on this site
http://www.salesforce.com/demos/, when you take mouse on Products or
Services menu.


I can use a PopupPanel for menu which pop up when the mouse is over the
menu, but the problem is when should I hide the menu ? Because if catch the
mouse out event of menu (popuppanel) then I will be able to hide the menu
(popuppanel) but then user have to compulsory take mouse over the menu
(popuppanel)  to hide the menu and I cant do it in mouse out of menu because
that will always hide the menu (popuppanel).

I guess onBrowserEvent shoud work for this type of scenario, but not sure.
any ideas ?

Thanks,
Abdullah
-- 

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.

To post to this group, send email to google-web-tool...@googlegroups.com.

To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Loading images from local filesystem.

2010-01-13 Thread Abdullah Shaikh
To upload image to your server you need to use FormPanel and set some
properties of FormPanel.

FormPanel form = new FormPanel();
form.setAction("PATH OF YOUR SERVLET");  - this servlet will
get the image data
form.setEncoding(FormPanel.ENCODING_MULTIPART);  - to send binary data
form.setMethod(FormPanel.METHOD_POST);

form.setWidget("your widget which contains FileUpload control");


- Abdullah

On Wed, Jan 13, 2010 at 5:14 PM, Juan M.M.M.  wrote:

> Yes I understand what u say. I will try to, I don't know how but I
> will try it.
>
>
> P.D.: I did it in a web application with C#.
>
>
> Thanks!!!
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>
>
>
-- 

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.

To post to this group, send email to google-web-tool...@googlegroups.com.

To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Loading images from local filesystem.

2010-01-13 Thread Abdullah Shaikh
I guess by simple in C# you mean an standalone application & not web based.

GWT runs in browser you can't read a file system, what you can you is upload
the image to server and then return it back to your GWT application to be
displayed, this is how it works in GWT or any web based application.

I guess I got you correctly ?

- Abdullah

On Wed, Jan 13, 2010 at 3:45 PM, Juan M.M.M.  wrote:

> Basically, this is the question. What I want to do is simple in C# but
> too difficult with JAVA and GWT, I don't know why.
>
> First I declare a Panel, after this declare de vertical panel wich
> will contain the FileUpload. What I want to do is browse an image of
> my local system and when I click on the submit button load this image
> in a image object displayed in the interface. It is only a proof but I
> need to learn how to do this.
>
> Thanks
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>
>
>
-- 

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.

To post to this group, send email to google-web-tool...@googlegroups.com.

To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Open Dialog Box

2010-01-12 Thread Abdullah Shaikh
You need to use FileUpload

- Abdullah

On Tue, Jan 12, 2010 at 4:27 PM, Juan M.M.M.  wrote:

> Hi everybody!
>
> What I want to do is make up a button that will be open an dialog box
> to select a file of my hard disk. This is the first time I am using
> GWT 2.0 framework but is so strange that this platform doesn't has the
> tipical OpenFileDialog class. Someone knows something about this?
>
>
> Best greetings!!
>
> Thank you!
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>
>
>
-- 

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.

To post to this group, send email to google-web-tool...@googlegroups.com.

To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



Re: help in creating menu using popuppanel or dialogbox

2010-01-08 Thread Abdullah Shaikh
Thanks Philippe, I will try this out.

- Abdullah

On Fri, Jan 8, 2010 at 6:47 PM, philippe  wrote:

> If you want a menu which is very personnalized you should uses div
> elements with some handlers.
>
> You must play with dom as html / CSS / Javascript but you can do in
> gwt / CSS only.
>
> You can try with this begin:
> 
> public class MyDivPanel extends FlowPanel implements MouseDownHandler,
> HasMouseDownHandlers {
>
>public MyDivPanel() {
>super();
>this.addMouseDownHandler(this);
>}
>public void onMouseDown(MouseDownEvent arg0) {
>GWT.log("Mouse Down Event OK", null);
>}
>public HandlerRegistration addMouseDownHandler(MouseDownHandler
> handler) {
>return addDomHandler(handler, MouseDownEvent.getType());
>}
>
> }
> 
>
> Philippe
>
> On 8 jan, 13:12, Abdullah Shaikh  wrote:
> > Hey this where the issue is, when the mouse is not over the tab bar, that
> > means it can be in 2 places either
> >
> > 1) on the menu itself
> > or
> > 2) not on the menu.
> >
> > if we hide the menu if its not over tab bar, its ok for the 2 point, but
> > when its on the menu itself, it will close the menu bcoz the mouse is not
> > over the tab bar.
> >
> > - Abdullah
> >
> > On Fri, Jan 8, 2010 at 5:23 PM, mariyan nenchev
> > wrote:
> >
> >
> >
> > > Well, when the mouse is not over the tab bar.
> >
> > > On Fri, Jan 8, 2010 at 1:09 PM, Abdullah Shaikh <
> > > abdullah.shaik...@gmail.com> wrote:
> >
> > >> And when should I hide the menu ? also should I use PopupPanel or
> > >> DialogBox for menu ?
> >
> > >> I will try out with TabPanel, will update my findings.
> >
> > >> Thanks
> >
> > >> - Abdullah
> >
> > >> On Fri, Jan 8, 2010 at 4:10 PM, mariyan nenchev <
> > >> nenchev.mari...@gmail.com> wrote:
> >
> > >>> Well it's actually very simple.
> > >>> Create one TabPanel and on mouse over event (over the tab) display
> menu
> > >>> using absolute positioning starting right under the selected tabbar.
> >
> > >>> On Fri, Jan 8, 2010 at 11:55 AM, Abdullah Shaikh <
> > >>> abdullah.shaik...@gmail.com> wrote:
> >
> > >>>> Finally got this link,http://www.salesforce.com/demos/, when you go
> to
> > >>>> Products or Services menu, there is a popup displayed with 2
> columns. I
> > >>>> wanted the same way.
> >
> > >>>> Any idea on how to achieve this ?
> >
> > >>>> - Abdullah
> >
> > >>>> On Fri, Jan 8, 2010 at 3:01 PM, Abdullah Shaikh <
> > >>>> abdullah.shaik...@gmail.com> wrote:
> >
> > >>>>> Sorry I should have given some other example site, but I couldn't
> find
> > >>>>> any.
> >
> > >>>>> Actually I want the menu drop down to be in 2 columns or may be 3 ?
> >
> > >>>>> I will try to find an example online.
> >
> > >>>>> - Abdullah
> >
> > >>>>> On Fri, Jan 8, 2010 at 2:43 PM, Olivier 
> wrote:
> >
> > >>>>>> Hi,
> >
> > >>>>>> Why don't you use the menu bar.
> > >>>>>>http://gwt.google.com/samples/Showcase/Showcase.html#CwMenuBar
> >
> > >>>>>>
> http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/g...
> >
> > >>>>>> Oli
> >
> > >>>>>> On 8 Jan 2010, at 09:51, Abdullah Shaikh wrote:
> >
> > >>>>>> Hi,
> >
> > >>>>>> I want to create menus like on this sitehttp://
> www99.shopping.com/,
> > >>>>>> I have used Hyperlink for menu, and added a mouseover handler, on
> mouseover
> > >>>>>> I display a PopupPanel or should I use DialogBox ?, but now the
> issue when
> > >>>>>> should I hide the PopupPanel, also there is no mousehandlers for
> popupanel
> > >>>>>> so that I can add a mouseout handler and hide the PopupPanel, but
> again this
> > >>>>>> will also not solve the issue as the user might not take his
> cursor over
> > >>>>>> PopupPanel.
> >
> > >>>>>> Any Ideas ?
> >
> > >>>>>> - Abdullah
> > >>

Re: help in creating menu using popuppanel or dialogbox

2010-01-08 Thread Abdullah Shaikh
Hey this where the issue is, when the mouse is not over the tab bar, that
means it can be in 2 places either

1) on the menu itself
or
2) not on the menu.

if we hide the menu if its not over tab bar, its ok for the 2 point, but
when its on the menu itself, it will close the menu bcoz the mouse is not
over the tab bar.


- Abdullah

On Fri, Jan 8, 2010 at 5:23 PM, mariyan nenchev
wrote:

> Well, when the mouse is not over the tab bar.
>
>
> On Fri, Jan 8, 2010 at 1:09 PM, Abdullah Shaikh <
> abdullah.shaik...@gmail.com> wrote:
>
>> And when should I hide the menu ? also should I use PopupPanel or
>> DialogBox for menu ?
>>
>> I will try out with TabPanel, will update my findings.
>>
>> Thanks
>>
>> - Abdullah
>>
>>
>> On Fri, Jan 8, 2010 at 4:10 PM, mariyan nenchev <
>> nenchev.mari...@gmail.com> wrote:
>>
>>>
>>> Well it's actually very simple.
>>> Create one TabPanel and on mouse over event (over the tab) display menu
>>> using absolute positioning starting right under the selected tabbar.
>>>
>>> On Fri, Jan 8, 2010 at 11:55 AM, Abdullah Shaikh <
>>> abdullah.shaik...@gmail.com> wrote:
>>>
>>>> Finally got this link, http://www.salesforce.com/demos/, when you go to
>>>> Products or Services menu, there is a popup displayed with 2 columns. I
>>>> wanted the same way.
>>>>
>>>> Any idea on how to achieve this ?
>>>>
>>>> - Abdullah
>>>>
>>>>
>>>> On Fri, Jan 8, 2010 at 3:01 PM, Abdullah Shaikh <
>>>> abdullah.shaik...@gmail.com> wrote:
>>>>
>>>>> Sorry I should have given some other example site, but I couldn't find
>>>>> any.
>>>>>
>>>>> Actually I want the menu drop down to be in 2 columns or may be 3 ?
>>>>>
>>>>> I will try to find an example online.
>>>>>
>>>>>
>>>>> - Abdullah
>>>>>
>>>>>
>>>>> On Fri, Jan 8, 2010 at 2:43 PM, Olivier  wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> Why don't you use the menu bar.
>>>>>> http://gwt.google.com/samples/Showcase/Showcase.html#CwMenuBar
>>>>>>
>>>>>> http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/user/client/ui/MenuBar.html
>>>>>>
>>>>>>
>>>>>> Oli
>>>>>>
>>>>>>
>>>>>> On 8 Jan 2010, at 09:51, Abdullah Shaikh wrote:
>>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I want to create menus like on this site http://www99.shopping.com/,
>>>>>> I have used Hyperlink for menu, and added a mouseover handler, on 
>>>>>> mouseover
>>>>>> I display a PopupPanel or should I use DialogBox ?, but now the issue 
>>>>>> when
>>>>>> should I hide the PopupPanel, also there is no mousehandlers for 
>>>>>> popupanel
>>>>>> so that I can add a mouseout handler and hide the PopupPanel, but again 
>>>>>> this
>>>>>> will also not solve the issue as the user might not take his cursor over
>>>>>> PopupPanel.
>>>>>>
>>>>>> Any Ideas ?
>>>>>>
>>>>>> - Abdullah
>>>>>> --
>>>>>> You received this message because you are subscribed to the Google
>>>>>> Groups "Google Web Toolkit" group.
>>>>>> To post to this group, send email to
>>>>>> google-web-tool...@googlegroups.com.
>>>>>> To unsubscribe from this group, send email to
>>>>>> google-web-toolkit+unsubscr...@googlegroups.com.
>>>>>> For more options, visit this group at
>>>>>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>>>>>
>>>>>>
>>>>>>
>>>>>> ---
>>>>>> Olivier
>>>>>> Digiworks
>>>>>>
>>>>>> *Política de Protección de Datos de Carácter Personal*
>>>>>> En cumplimiento de la Ley Orgánica 15/1999, de 13 de diciembre,  sobre
>>>>>> protección de Datos de Carácter Personal (LOPD) DIGIWORKS SPAIN, S.L.
>>>>>> informa a los usuarios de que:
>>>>>>
>>&

Re: help in creating menu using popuppanel or dialogbox

2010-01-08 Thread Abdullah Shaikh
And when should I hide the menu ? also should I use PopupPanel or DialogBox
for menu ?

I will try out with TabPanel, will update my findings.

Thanks

- Abdullah

On Fri, Jan 8, 2010 at 4:10 PM, mariyan nenchev
wrote:

>
> Well it's actually very simple.
> Create one TabPanel and on mouse over event (over the tab) display menu
> using absolute positioning starting right under the selected tabbar.
>
> On Fri, Jan 8, 2010 at 11:55 AM, Abdullah Shaikh <
> abdullah.shaik...@gmail.com> wrote:
>
>> Finally got this link, http://www.salesforce.com/demos/, when you go to
>> Products or Services menu, there is a popup displayed with 2 columns. I
>> wanted the same way.
>>
>> Any idea on how to achieve this ?
>>
>> - Abdullah
>>
>>
>> On Fri, Jan 8, 2010 at 3:01 PM, Abdullah Shaikh <
>> abdullah.shaik...@gmail.com> wrote:
>>
>>> Sorry I should have given some other example site, but I couldn't find
>>> any.
>>>
>>> Actually I want the menu drop down to be in 2 columns or may be 3 ?
>>>
>>> I will try to find an example online.
>>>
>>>
>>> - Abdullah
>>>
>>>
>>> On Fri, Jan 8, 2010 at 2:43 PM, Olivier  wrote:
>>>
>>>> Hi,
>>>>
>>>> Why don't you use the menu bar.
>>>> http://gwt.google.com/samples/Showcase/Showcase.html#CwMenuBar
>>>>
>>>> http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/user/client/ui/MenuBar.html
>>>>
>>>>
>>>> Oli
>>>>
>>>>
>>>> On 8 Jan 2010, at 09:51, Abdullah Shaikh wrote:
>>>>
>>>> Hi,
>>>>
>>>> I want to create menus like on this site http://www99.shopping.com/, I
>>>> have used Hyperlink for menu, and added a mouseover handler, on mouseover I
>>>> display a PopupPanel or should I use DialogBox ?, but now the issue when
>>>> should I hide the PopupPanel, also there is no mousehandlers for popupanel
>>>> so that I can add a mouseout handler and hide the PopupPanel, but again 
>>>> this
>>>> will also not solve the issue as the user might not take his cursor over
>>>> PopupPanel.
>>>>
>>>> Any Ideas ?
>>>>
>>>> - Abdullah
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Google Web Toolkit" group.
>>>> To post to this group, send email to
>>>> google-web-tool...@googlegroups.com.
>>>> To unsubscribe from this group, send email to
>>>> google-web-toolkit+unsubscr...@googlegroups.com.
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>>>
>>>>
>>>>
>>>> ---
>>>> Olivier
>>>> Digiworks
>>>>
>>>> *Política de Protección de Datos de Carácter Personal*
>>>> En cumplimiento de la Ley Orgánica 15/1999, de 13 de diciembre,  sobre
>>>> protección de Datos de Carácter Personal (LOPD) DIGIWORKS SPAIN, S.L.
>>>> informa a los usuarios de que:
>>>>
>>>> Los Datos de Carácter Personal que recoge son objeto de tratamiento
>>>> automatizado y se incorporan en los ficheros correspondientes,  debidamente
>>>> registrados en la Agencia Española de Protección de Datos. El usuario 
>>>> podrá,
>>>>  en todo momento, ejercitar los derechos reconocidos en la LOPD, de acceso,
>>>> rectificación, cancelación y oposición. El ejercicio de estos derechos 
>>>> puede
>>>> realizarlo el propio usuario mediante comunicación escrita en
>>>> la siguiente dirección postal:
>>>>
>>>> *DIGIWORKS SPAIN, S.L.*
>>>> *AVDA SAN RAFAEL, 11, LOCAL 2*
>>>> *03580 ALFAZ DEL PI*
>>>> *ALICANTE*
>>>>
>>>> También pueden ejercitar estos derechos en los términos que la normativa
>>>> aplicable establece y que puede consultar en www.agpd.es.
>>>>
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Google Web Toolkit" group.
>>>> To post to this group, send email to
>>>> google-web-tool...@googlegroups.com.
>>>> To unsubscribe from this group, send email to
>>>> google-web-toolkit+unsubscr...@googlegroups.com
>>>> .
>>>>

Re: help in creating menu using popuppanel or dialogbox

2010-01-08 Thread Abdullah Shaikh
Finally got this link, http://www.salesforce.com/demos/, when you go to
Products or Services menu, there is a popup displayed with 2 columns. I
wanted the same way.

Any idea on how to achieve this ?

- Abdullah

On Fri, Jan 8, 2010 at 3:01 PM, Abdullah Shaikh  wrote:

> Sorry I should have given some other example site, but I couldn't find any.
>
> Actually I want the menu drop down to be in 2 columns or may be 3 ?
>
> I will try to find an example online.
>
>
> - Abdullah
>
>
> On Fri, Jan 8, 2010 at 2:43 PM, Olivier  wrote:
>
>> Hi,
>>
>> Why don't you use the menu bar.
>> http://gwt.google.com/samples/Showcase/Showcase.html#CwMenuBar
>>
>> http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/user/client/ui/MenuBar.html
>>
>>
>> Oli
>>
>>
>> On 8 Jan 2010, at 09:51, Abdullah Shaikh wrote:
>>
>> Hi,
>>
>> I want to create menus like on this site http://www99.shopping.com/, I
>> have used Hyperlink for menu, and added a mouseover handler, on mouseover I
>> display a PopupPanel or should I use DialogBox ?, but now the issue when
>> should I hide the PopupPanel, also there is no mousehandlers for popupanel
>> so that I can add a mouseout handler and hide the PopupPanel, but again this
>> will also not solve the issue as the user might not take his cursor over
>> PopupPanel.
>>
>> Any Ideas ?
>>
>> - Abdullah
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To post to this group, send email to google-web-tool...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-web-toolkit+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>>
>>
>> ---
>> Olivier
>> Digiworks
>>
>> *Política de Protección de Datos de Carácter Personal*
>> En cumplimiento de la Ley Orgánica 15/1999, de 13 de diciembre,  sobre
>> protección de Datos de Carácter Personal (LOPD) DIGIWORKS SPAIN, S.L.
>> informa a los usuarios de que:
>>
>> Los Datos de Carácter Personal que recoge son objeto de tratamiento
>> automatizado y se incorporan en los ficheros correspondientes,  debidamente
>> registrados en la Agencia Española de Protección de Datos. El usuario podrá,
>>  en todo momento, ejercitar los derechos reconocidos en la LOPD, de acceso,
>> rectificación, cancelación y oposición. El ejercicio de estos derechos puede
>> realizarlo el propio usuario mediante comunicación escrita en
>> la siguiente dirección postal:
>>
>> *DIGIWORKS SPAIN, S.L.*
>> *AVDA SAN RAFAEL, 11, LOCAL 2*
>> *03580 ALFAZ DEL PI*
>> *ALICANTE*
>>
>> También pueden ejercitar estos derechos en los términos que la normativa
>> aplicable establece y que puede consultar en www.agpd.es.
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To post to this group, send email to google-web-tool...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-web-toolkit+unsubscr...@googlegroups.com
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>>
>
-- 

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.

To post to this group, send email to google-web-tool...@googlegroups.com.

To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



Re: help in creating menu using popuppanel or dialogbox

2010-01-08 Thread Abdullah Shaikh
Sorry I should have given some other example site, but I couldn't find any.

Actually I want the menu drop down to be in 2 columns or may be 3 ?

I will try to find an example online.


- Abdullah

On Fri, Jan 8, 2010 at 2:43 PM, Olivier  wrote:

> Hi,
>
> Why don't you use the menu bar.
> http://gwt.google.com/samples/Showcase/Showcase.html#CwMenuBar
>
> http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/user/client/ui/MenuBar.html
>
>
> Oli
>
>
> On 8 Jan 2010, at 09:51, Abdullah Shaikh wrote:
>
> Hi,
>
> I want to create menus like on this site http://www99.shopping.com/, I
> have used Hyperlink for menu, and added a mouseover handler, on mouseover I
> display a PopupPanel or should I use DialogBox ?, but now the issue when
> should I hide the PopupPanel, also there is no mousehandlers for popupanel
> so that I can add a mouseout handler and hide the PopupPanel, but again this
> will also not solve the issue as the user might not take his cursor over
> PopupPanel.
>
> Any Ideas ?
>
> - Abdullah
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>
>
> ---
> Olivier
> Digiworks
>
> *Política de Protección de Datos de Carácter Personal*
> En cumplimiento de la Ley Orgánica 15/1999, de 13 de diciembre,  sobre
> protección de Datos de Carácter Personal (LOPD) DIGIWORKS SPAIN, S.L.
> informa a los usuarios de que:
>
> Los Datos de Carácter Personal que recoge son objeto de tratamiento
> automatizado y se incorporan en los ficheros correspondientes,  debidamente
> registrados en la Agencia Española de Protección de Datos. El usuario podrá,
>  en todo momento, ejercitar los derechos reconocidos en la LOPD, de acceso,
> rectificación, cancelación y oposición. El ejercicio de estos derechos puede
> realizarlo el propio usuario mediante comunicación escrita en
> la siguiente dirección postal:
>
> *DIGIWORKS SPAIN, S.L.*
> *AVDA SAN RAFAEL, 11, LOCAL 2*
> *03580 ALFAZ DEL PI*
> *ALICANTE*
>
> También pueden ejercitar estos derechos en los términos que la normativa
> aplicable establece y que puede consultar en www.agpd.es.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>
-- 

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.

To post to this group, send email to google-web-tool...@googlegroups.com.

To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



help in creating menu using popuppanel or dialogbox

2010-01-08 Thread Abdullah Shaikh
Hi,

I want to create menus like on this site http://www99.shopping.com/, I have
used Hyperlink for menu, and added a mouseover handler, on mouseover I
display a PopupPanel or should I use DialogBox ?, but now the issue when
should I hide the PopupPanel, also there is no mousehandlers for popupanel
so that I can add a mouseout handler and hide the PopupPanel, but again this
will also not solve the issue as the user might not take his cursor over
PopupPanel.

Any Ideas ?

- Abdullah
-- 

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.

To post to this group, send email to google-web-tool...@googlegroups.com.

To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Any thing in GWT for Gridlayout???

2010-01-07 Thread Abdullah Shaikh
In my case I have used FlexTable, I guess GridTable will also do.

You can set the controls using setWidget(row, column, widget)

- Abdullah

On Fri, Jan 8, 2010 at 11:09 AM, Abhay Singh  wrote:

> Hi
>
> Do we have any thing in GWT to implement GridLayout 
> I need to designs a form having lots of text/check boxes in it, but
> facing problem in placing them
> properly and well aligned.
>
> I tried with combination of HorizontalPanel and VeticalPanel but this
> is too tidious and not getting proper aignment...
> what should i do...
>
> Thanks...
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>
>
>
-- 

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.

To post to this group, send email to google-web-tool...@googlegroups.com.

To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Contacts example download

2010-01-07 Thread Abdullah Shaikh
Yes, here
http://code.google.com/webtoolkit/doc/latest/tutorial/projects/Contacts.zip

- Abdullah

On Fri, Jan 8, 2010 at 6:54 AM, Jimmy Su  wrote:

> In the article "Large scale application development and MVP", it uses
> the Contacts example throughout the tutorial.  I would like to work
> through the tutorial on my own with the Contacts example.  Is the
> Contacts example available for download?  Thank you for your help.
>
> Jimmy
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>
>
>
-- 

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.

To post to this group, send email to google-web-tool...@googlegroups.com.

To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT Session management regardless of Servlet Container

2010-01-04 Thread Abdullah Shaikh
Regarding the 2 option for XSRF, passing a custom, static http header in
every RPC request, can we pass the jsessionid itself as http header.

- Abdullah

On Fri, Jan 1, 2010 at 3:55 AM, Sripathi Krishnan <
sripathi.krish...@gmail.com> wrote:

> There are two use cases generally need to be solved -
>
>1. Verify that the user is logged in.
>2. Ensure that this isn't a cross-site scripting (XSRF) attack.
>
> The code snippet you provide does take care of (1). However, it does not
> guarantee against (2).
>
> There are a couple of ways to take care of XSRF, none of which require you
> to abandon HttpSession.
>
>1. Pass the jsessionid cookie value along with each rpc request. On the
>server side, compare the jsessionid from request and from session. If they
>are different, stop processing.
>This isn't very difficult. You can make a custom RpcRequestBuilder
>class, and append the jsessionid in the URL. The check on the server side 
> is
>something like this -
>if (request.getParameter("sessionid").equals(session.getId())) {
>//everything okay
>}
>else {
>//XSRF
>}
>2. Pass a custom, static http header in every RPC request, and check
>for the presence of the header in your RPC Servlet.
>There is no known way of adding a custom header via any javascript code
>other than a XmlHttpRequest, so this effectively rules out a XSRF. For a
>short time period, GWT had this approach baked into RemoteServiceServlet,
>but it has been removed from the current version. Not sure why they removed
>it.
>
> None of the above two approaches forbid the use of container based session
> management. So, if you want to use session management, go ahead and use it -
> but just follow one of the approaches to prevent XSRF.
>
>
> --Sri
>
>
> 2009/12/31 Philip Ives 
>
> I've done some searching around and I understand the warrants of
>> stateless applications. However login security always requires some
>> state.
>>
>> Of course your application could use  your containers session
>> management and if your container can replication sessions across
>> instances all the better.
>>
>> In some of the session management discussions on the GWT site as well
>> as these forums there is talk about not relying on your container to
>> identify the session ID because it could come from the cookie / header
>> and that has cross site security implications which I follow.
>>
>> That all said getting the httpsession by context has been deprecated
>> since 2.1
>>
>> If you search this group with "session management"  you'll find most
>> of these discussions.
>>
>> If I anticipate that my container will handle session replication if i
>> need it.  Does doing something like this make sense and make sure that
>> the container's session management is not using the cookie/header, and
>> if it is, it doesn't matter:
>>
>> MyServiceImpl extends RemoteServiceServlet implements MyService {
>>  /** session id is passed in during service call from client.
>> (perhapps tokenized */
>> public static getUserBySession(String sessionId) {
>>   HttpSession httpsession = this.getThreadLocalRequest().getSession
>> ();
>>   if (httpsession.getId().equals(sessionId) && (Boolean)
>> httpsession.getAttribute("Loggedin")) {
>>   //user is valid and logged in, session id checked against rpc
>> value.
>>
>>   }
>>
>>
>> }
>>
>> }
>>
>> --
>>
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To post to this group, send email to google-web-tool...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-web-toolkit+unsubscr...@googlegroups.com
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>>
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

--

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




Re: Is there a free-standart GWT Designer or which tools do you use to design User Interface ?

2009-12-31 Thread Abdullah Shaikh
There plugin available for NetBeans & IntelliJ, I haven't used them though

- Abdullah

On Thu, Dec 31, 2009 at 6:10 PM, Murat Doner wrote:

>
>  VistaFei is another alternative but not so usable.
>
> On Thu, Dec 31, 2009 at 10:44 AM, Murat Doner wrote:
>
>>   We have tried *GWT Designer* from 
>> Instantiations<http://www.instantiations.com/gwtdesigner/>
>>
>>But the tool is not stable enough also it is not free and "open
>> source"...
>>What are the alternatives you can suggest us to use?
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

--

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




Re: Dock Panel

2009-12-31 Thread Abdullah Shaikh
No what I meant was ..

DockPanel docPanel = new DockPanel();

VerticalPanel centerPanel = new VerticalPanel();
centerPanel.setStyleName("CENTER_STYLE")
dockPanel.add(centerPanel, DockPanel.CENTER);


VerticalPanel westPanel = new VerticalPanel();
westPanel.setStyleName("WEST_STYLE")
dockPanel.add(westPanel, DockPanel.WEST);

VerticalPanel eastPanel = new VerticalPanel();
eastPanel.setStyleName("EAST_STYLE")
dockPanel.add(eastPanel, DockPanel.EAST);

ofcourse you can use any panel type you want other then VerticalPanel.


- Abdullah

On Thu, Dec 31, 2009 at 2:05 PM, muhannad nasser wrote:

> . thanks for ur reply.. i  have tried to do so... but i can only add
> the alignment to the area when adding the widget.. but i have another idea,
> ensureDebugId will give each area its own unique Id so i can use that to
> apply the CSS class i want
>
> but until now ensureDebugId is not working 
>
> thanks again
>
>
> On Thu, Dec 31, 2009 at 10:20 AM, Abdullah Shaikh <
> abdullah.shaik...@gmail.com> wrote:
>
>> I am not sure, but I guess you need to set the style on the Panel which
>> you will be adding to the DockPanel.
>>
>> - Abdullah
>>
>> On Thu, Dec 31, 2009 at 12:49 PM, muhannad nasser <
>> muhannadna...@gmail.com> wrote:
>>
>>> Dear All;
>>>
>>> i want to add a style on a DockPanel cell, such ass the north area, or
>>> the west area only..
>>>
>>> can anyone please help me
>>>
>>> --
>>> ~~~With Regards~~~
>>> Muhannad Dar-Nasser
>>> ~~Computer Systems Engineering~~
>>>
>>>  --
>>> You received this message because you are subscribed to the Google Groups
>>> "Google Web Toolkit" group.
>>> To post to this group, send email to google-web-toolkit@googlegroups.com
>>> .
>>> To unsubscribe from this group, send email to
>>> google-web-toolkit+unsubscr...@googlegroups.com
>>> .
>>> For more options, visit this group at
>>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>>
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To post to this group, send email to google-web-tool...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-web-toolkit+unsubscr...@googlegroups.com
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>
>
>
> --
> ~~~With Regards~~~
> Muhannad Dar-Nasser
> ~~Computer Systems Engineering~~
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

--

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




Re: Dock Panel

2009-12-31 Thread Abdullah Shaikh
I am not sure, but I guess you need to set the style on the Panel which you
will be adding to the DockPanel.

- Abdullah

On Thu, Dec 31, 2009 at 12:49 PM, muhannad nasser
wrote:

> Dear All;
>
> i want to add a style on a DockPanel cell, such ass the north area, or the
> west area only..
>
> can anyone please help me
>
> --
> ~~~With Regards~~~
> Muhannad Dar-Nasser
> ~~Computer Systems Engineering~~
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

--

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




Re: AppController or PlaceManager

2009-12-30 Thread Abdullah Shaikh
Hey Thanks Prashant for the explanation ..

But can you explain a bit more how does this onValueChange method gets
called .. as I am new to GWT I understood the article but I am confused
regarding AppController, if only they have provided the code it would have
been more good.

Also any idea if PlaceManager does the same thing as in onValueChange of
AppController ?

- Abdullah

On Wed, Dec 30, 2009 at 12:27 AM, Prashant Hegde
wrote:

> I had the pleasure of reading the article as well.
>
> Although I was slightly disappointed that the source code was not shared
> fully in the article, the concept is nicely explained, and the code can be
> developed based on the snippets in the article.
>
> At a high level, the AppController is a class that contains code that does
> not belong the the view, model or the presenter. The version of the
> AppController that I have has the following:
>
> a) It implements ValueChangeHandler interface to act as a handler of
> history changed events.
> b) It accepts the RPC Service & the event bus as the constructor arguments
> to be able to pass on these objects to the presenters that it will
> instantiate.
> c) It has a go(HasWidgets) method which gets called by the module entry
> point class. This initiates everything in the app - such as firing the
> default history token(which in turn calls the onValueChange). I also have
> the code to add the AppController to the history as a listener in this
> function itself.
> d) Most important of it all - atleast the thing I liked most - is the
> onValueChange method. This method gets called whenever History stack
> changes. This allows you to manage history & view transitions in your app.
>
> For ex:
>
> public void onValueChange(ValueChangeEvent event) {
> String token = event.getValue();
> if(token!=null) {
>
> if(token.equals("registersmart")) {
> RegisterSmartPresenter presenter = new
> RegisterSmartPresenter(rpcService,eventBus,new RegisterSmartView());
> presenter.go(container);
> }else if(token.equals("userhome")) {
> UserHomePresenter presenter = new
> UserHomePresenter(rpcService,eventBus,new UserHomeView());
> presenter.go(container);
> }
>
> }
>
> }
>
> Hope this helps.
>
> Regards
>
>
> On Tue, Dec 29, 2009 at 11:29 PM, jpnet  wrote:
>
>> I really liked the article, but it's useless without the source code.
>>
>> -JP
>>
>> On Dec 29, 7:55 am, Abdullah Shaikh 
>> wrote:
>> > Anyone ?
>> >
>> > On Tue, Dec 29, 2009 at 2:45 PM, Abdullah Shaikh <
>> >
>> > abdullah.shaik...@gmail.com> wrote:
>> > > I went through
>> > >
>> http://code.google.com/webtoolkit/doc/latest/tutorial/mvp-architectur...,
>> > > I am confused, does AppController as mentioned in the article does the
>> same
>> > > that can be done by gwt-presenter's PlaceManager ?
>> >
>> > > If yes, should I go with AppController or PlaceManager ?
>> >
>> > > As I am new to GWT, I understood the gwt-presenter, but I couldn't get
>> how
>> > > the AppController as described in the above link works ?
>> >
>> > > Thanks,
>> > >  Abdullah
>> >
>> >
>>
>> --
>>
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To post to this group, send email to google-web-tool...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-web-toolkit+unsubscr...@googlegroups.com
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>>
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

--

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




Re: AppController or PlaceManager

2009-12-29 Thread Abdullah Shaikh
Anyone ?

On Tue, Dec 29, 2009 at 2:45 PM, Abdullah Shaikh <
abdullah.shaik...@gmail.com> wrote:

> I went through
> http://code.google.com/webtoolkit/doc/latest/tutorial/mvp-architecture.html,
> I am confused, does AppController as mentioned in the article does the same
> that can be done by gwt-presenter's PlaceManager ?
>
> If yes, should I go with AppController or PlaceManager ?
>
> As I am new to GWT, I understood the gwt-presenter, but I couldn't get how
> the AppController as described in the above link works ?
>
>
> Thanks,
>  Abdullah
>
>

--

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




AppController or PlaceManager

2009-12-29 Thread Abdullah Shaikh
I went through
http://code.google.com/webtoolkit/doc/latest/tutorial/mvp-architecture.html,
I am confused, does AppController as mentioned in the article does the same
that can be done by gwt-presenter's PlaceManager ?

If yes, should I go with AppController or PlaceManager ?

As I am new to GWT, I understood the gwt-presenter, but I couldn't get how
the AppController as described in the above link works ?


Thanks,
Abdullah

--

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




Help with MVP

2009-12-25 Thread Abdullah Shaikh
Hi All,

I have gone through
http://code.google.com/webtoolkit/doc/latest/tutorial/mvp-architecture.html,
but while implementing the code I am bit confused.

I have GwtApp as EntryPoint, this will initialise AppController and call
go(), and AppController in turn based on value (string) in onValueChange
create the presenter, I have fired valuechange by History.newItem("main"),
so that the AppPresenter is created first, which has AppView as View, but
the view is asking me to implement addValueChangeHandler because the Display
extends HasValue as per the link above.

Below is the code :

1) GwtApp:

public class GwtApp implements EntryPoint {
public void onModuleLoad() {
AppController appViewer = new AppController();
appViewer.go(RootPanel.get());
}
}



2) AppController :

public class AppController implements ValueChangeHandler {

private HasWidgets container = null;
HandlerManager eventBus =  new HandlerManager(null);

private void bind() {
History.addValueChangeHandler(this);
}

public void go(final HasWidgets container) {
this.container = container;

if ("".equals(History.getToken())) {
History.newItem("main");
}
else {
History.fireCurrentHistoryState();
}
}

public void onValueChange(ValueChangeEvent event) {
String token = event.getValue();

if (token != null) {

Presenter presenter = null;

if (token.equals("main")) {
presenter = new AppPresenter(new AppView(), eventBus);
}

//add more presenters here based upon the token.

if (presenter != null) {
//presenter.go(container);
}
}
}

}



3) AppPresenter :

public class AppPresenter implements Presenter {

private AppPresenter.Display display = null;

public interface Display extends HasValue {
public HasClickHandlers getLogin();
public Widget asWidget();
}

public void bind() {
display.getLogin().addClickHandler(new ClickHandler() {

@Override
public void onClick(ClickEvent event) {
eventBus.fireEvent(new LoginClickEvent());
}
});
}

public net.customware.gwt.presenter.client.Display getDisplay() {
return null;
}

public void revealDisplay() {}
public void unbind() {}
public void refreshDisplay() {}
}


4) AppView :

public class AppView extends Composite implements AppPresenter.Display {

private final Button login;

public AppView() {
login = new Button("Login");
}

public HasClickHandlers getLogin() {
return login;
}

public Widget asWidget() {
return this;
}
}



Let me know where am I going wrong ? I think AppPresenter / AppView to be
the display of the initial application page using other Presenters.


Thanks,
Abdullah

--

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




Re: RequestBuilder with xml request and xml response

2009-12-23 Thread Abdullah Shaikh
RequestBuilder builder = new RequestBuilder(RequestBuilder.POST, "url to the
servlet which response back with xml");
builder.setHeader("Content-type", "application/x-www-form-urlencoded");

builder.sendRequest(null, new RequestCallback() {

@Override
public void onResponseReceived(Request request, Response
response) {

String xmlData = response.getText();

//parse the xml data here
Document doc = XMLParser.parse(xmlData);
   }

@Override
public void onError(Request request, Throwable
exception) {
//handle error
}
    } );

This should help.

- Abdullah

On Thu, Dec 24, 2009 at 10:32 AM, Malli  wrote:

> Hi,
> some body help  me out! i'm new to GWT.
> I'm using RequesteBuilder for calling HttpServlet.
>
> Here my doubts are :
> 1.How can we prepare  the xml request ?
> 2.how can we handle the xml response inside gwt application?
>
> please give me  reply with some samples.
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>
>

--

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




Re: Need some suggestions

2009-12-21 Thread Abdullah Shaikh
Thanks Jim, Thanks Sripathi

I was really confused about the way to proceed, but the link to the
discussion thread that you sent helped me out.

I guess Code splitting and MVP pattern is the way to go when building
complex & big webapps.

Also got some info from the below link, it mentions about GIN, MVP but from
the discussion it seems there are some issues.

http://stackoverflow.com/questions/1234389/whats-your-recommendation-for-architecting-gwt-applications-mvc-mvp-or-custom

- Abdullah

On Sun, Dec 20, 2009 at 12:41 PM, Sripathi Krishnan <
sripathi.krish...@gmail.com> wrote:

> So I guess it will be better for me to have different GWT applications for
>> different modules as this will lessen the complexity.
>>
> Wrong. Its never good to have multiple modules. It increases your build
> time, and prevents GWT from optimizing your application. You should stick to
> a single module, and use code splitting feature so that you get reasonably
> sized javascript code fragments. You may want to go through this discussion
> thread<http://groups.google.com/group/google-web-toolkit/browse_thread/thread/c2774cb5c9b8851e/2663064e5d1d0e3f?#2663064e5d1d0e3f>
> .
>
>
> Can you also let me know how do I architect my application from the UI
>> perspective (client side) ? Is there any frameworks of anything which can
>> help me make GWT code better ?
>>
> See
> http://code.google.com/events/io/2009/sessions/GoogleWebToolkitBestPractices.html
>
>
> Also as I am making UI for an existing system I won't be using GWT RPC but
>> instead I will be communicating using xml, so how will this perform, keeping
>> xml parsing in mind ?
>>
> We use an off-the-shelf XML-> JSON converter on the server side, and on the
> client side consume the JSON using Javascript Overlays.
>
>
> --Sri
>
>
> 2009/12/19 Jim Douglas 
>
> Abdullah,
>>
>> You want to read about GWT 2.0 code splitting:
>>
>> http://code.google.com/webtoolkit/doc/latest/DevGuideCodeSplitting.html
>>
>> On Dec 19, 7:30 am, Abdullah Shaikh 
>> wrote:
>> > Hi All,
>> >
>> > I am new to GWT, I tried creating UI, Form and communicating with server
>> ..
>> > all is fine .. GWT is cool
>> >
>> > But I need some suggestion from you guys, I am planning to replace the
>> UI of
>> > an existing system with GWT. The system is quite big containing
>> different
>> > modules like User Management, Order Management, Inventory Management etc
>> ..
>> >
>> > So I guess it will be better for me to have different GWT applications
>> for
>> > different modules as this will lessen the complexity.
>> >
>> > But the problem is, existing systems have tabs to access different
>> modules,
>> > so in GWT how will be able to integrate different applications ?
>> >
>> > For example if I have User Management, Order Management etc as GWT
>> > applications, how can I create a GWT application which will integrate
>> > different GWT applications ?
>> >
>> > Can we use GWT for this kind of thing .. what I mean is the application
>> can
>> > be quite big with lots of functionality so what about the size of js
>> that
>> > the browser needs to load ?
>> >
>> > Can you also let me know how do I architect my application from the UI
>> > perspective (client side) ? Is there any frameworks of anything which
>> can
>> > help me make GWT code better ?
>> >
>> > Also as I am making UI for an existing system I won't be using GWT RPC
>> but
>> > instead I will be communicating using xml, so how will this perform,
>> keeping
>> > xml parsing in mind ?
>> >
>> > I choose xml because maybe some parts will be developed using Flex so to
>> > have consistent code which can later work with any technology.
>> >
>> > Thanks for the help
>> >
>> > Regards,
>> > Abdullah
>>
>> --
>>
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To post to this group, send email to google-web-tool...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-web-toolkit+unsubscr...@googlegroups.com
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>>
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

--

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




Need some suggestions

2009-12-19 Thread Abdullah Shaikh
Hi All,

I am new to GWT, I tried creating UI, Form and communicating with server ..
all is fine .. GWT is cool

But I need some suggestion from you guys, I am planning to replace the UI of
an existing system with GWT. The system is quite big containing different
modules like User Management, Order Management, Inventory Management etc ..

So I guess it will be better for me to have different GWT applications for
different modules as this will lessen the complexity.

But the problem is, existing systems have tabs to access different modules,
so in GWT how will be able to integrate different applications ?

For example if I have User Management, Order Management etc as GWT
applications, how can I create a GWT application which will integrate
different GWT applications ?

Can we use GWT for this kind of thing .. what I mean is the application can
be quite big with lots of functionality so what about the size of js that
the browser needs to load ?

Can you also let me know how do I architect my application from the UI
perspective (client side) ? Is there any frameworks of anything which can
help me make GWT code better ?

Also as I am making UI for an existing system I won't be using GWT RPC but
instead I will be communicating using xml, so how will this perform, keeping
xml parsing in mind ?

I choose xml because maybe some parts will be developed using Flex so to
have consistent code which can later work with any technology.


Thanks for the help

Regards,
Abdullah

--

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




Re: Year navigation in DateBox

2009-12-15 Thread Abdullah Shaikh
Thanks.. I will try that out

On Mon, Dec 14, 2009 at 8:15 PM, Ashar Lohmar  wrote:

> Hi
> I've choosed to create a new gadget from the original datepicker
> copying those classes refactoring and rewrite some because i needed
> an
> datepicker that showed 3 months instead of one.
> but for your case ... you should make an object looking at the code
> from DefaultMonthSelector,
> and an another class that extends DatePicker calling the constructor
> with the (MonthSelector monthSelector, CalendarView view,
> CalendarModel model)
> using your MonthSelector instead of the DefaultMonthSelector
>
> didn't try it but i think it should do.
>
> Good luck !
>
>
> On Dec 14, 12:27 pm, Abdullah Shaikh 
> wrote:
> > Hi All,
> >
> > I am using DateBox control, its ok for date navigation, but for year
> > navigation, let's say I want to select the day of year 2015, I need to go
> > through all the months to change the year.
> >
> > Am I missing something here or have anyone extended the DateBox to
> support
> > year navigation in GWT. I am looking for something like thishttp://
> www.softcomplex.com/products/tigra_calendar/
> >
> > Thanks,
> > Abdullah
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>
>

--

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




Year navigation in DateBox

2009-12-14 Thread Abdullah Shaikh
Hi All,

I am using DateBox control, its ok for date navigation, but for year
navigation, let's say I want to select the day of year 2015, I need to go
through all the months to change the year.

Am I missing something here or have anyone extended the DateBox to support
year navigation in GWT. I am looking for something like this
http://www.softcomplex.com/products/tigra_calendar/


Thanks,
Abdullah

--

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




Re: Upgradeing to 2.0, web.xml file problem

2009-12-10 Thread Abdullah Shaikh
Hey this piyush sharma  is a spam and messages from
this id are over all the ML messages.

Can someone block this id ?

- Abdullah

On Thu, Dec 10, 2009 at 5:00 PM, darkflame  wrote:

> umm...did you mean to say something?
>
> On Dec 10, 7:05 am, piyush sharma  wrote:
> > On 12/10/09, darkflame  wrote:
> >
> >
> >
> >
> >
> > > Upgrading to 2.0, and I started getting problems with my web.xml file.
> > > Specifically its complaining of some wrong set up with my log class in
> > > use (which is ;http://code.google.com/p/gwt-log/downloads/list).
> >
> > > The complaint was;
> >
> > > [WARN] Server class
> > > 'com.allen_sauer.gwt.log.server.RemoteLoggerServiceImpl' could not be
> > > found in the web app, but was found on the system classpath
> > >   [WARN] Adding classpath entry 'file:/D:/TomsProjects/Google%20GWT/
> > > gwt-log-3.0.0.jar' to the web app classpath for this session
> > >   For additional info see: file:/D:/eclipse/plugins/
> > > com.google.gwt.eclipse.sdkbundle.2.0.0_2.0.0.v200912062003/gwt-2.0.0/
> > > doc/helpInfo/webAppClassPath.html
> > > Loading modules
> > >   com.lostagain.companywebsite.Lostagainwebsite
> > >  Validating  tags for module 'lostagainwebsite'
> > >  For additional info see: file:/D:/eclipse/plugins/
> > > com.google.gwt.eclipse.sdkbundle.2.0.0_2.0.0.v200912062003/gwt-2.0.0/
> > > doc/helpInfo/servletMappings.html
> > > [WARN] Module declares a servlet class
> > > 'com.google.gwt.libideas.logging.server.RemoteLoggingServiceImpl', but
> > > the web.xml has no corresponding declaration; please add the following
> > > lines to your web.xml:
> > > 
> > > remoteLoggingServiceImpl
> > >  > > class>com.google.gwt.libideas.logging.server.RemoteLoggingServiceImpl > > servlet-class>
> > > 
> > > 
> > > remoteLoggingServiceImpl
> > > /lostagainwebsite/logging
> > > 
> >
> > > ---
> >
> > > Now I did try adding this to my web.xml file;
> >
> > > 
> > >  > >PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
> > >"http://java.sun.com/dtd/web-app_2_3.dtd";>
> >
> > > 
> > > 
> > > 
> > >greetServlet
> > > > > class>com.lostagain.companywebsite.server.GreetingServiceImpl > > class>
> > > 
> > > 
> > >greetServlet
> > >/lostagainwebsite/greet
> > > 
> > > 
> > > remoteLoggerServiceImpl
> > >  > > class>com.allen_sauer.gwt.log.server.RemoteLoggerServiceImpl > > class>
> > > 
> > > 
> > > remoteLoggerServiceImpl
> > > /lostagainwebsite/gwt-log
> > > 
> > > 
> > > 
> > >Lostagainwebsite.html
> > > 
> > > 
> >
> > > ...and got the same error.
> >
> > > I also tried with;
> >
> > > 
> > > 
> > >greetServlet
> > > > > class>com.lostagain.companywebsite.server.GreetingServiceImpl > > class>
> > >  remoteLoggerServiceImpl
> > >  > > class>com.allen_sauer.gwt.log.server.RemoteLoggerServiceImpl > > class>
> > > 
> > > 
> > >greetServlet
> > >/lostagainwebsite/greet
> > > remoteLoggerServiceImpl
> > > /lostagainwebsite/gwt-log
> > > 
> >
> > > ...same error.
> >
> > > Any ideas?
> > > It was working fine in 1.7.
> > > I'm using eclipse and have run the update. (and changed the project to
> > > 2.0).
> >
> > > --
> >
> > > You received this message because you are subscribed to the Google
> Groups
> > > "Google Web Toolkit" group.
> > > To post to this group, send email to
> google-web-tool...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > google-web-toolkit+unsubscr...@googlegroups.com
> 
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/google-web-toolkit?hl=en.
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>
>

--

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




Re: DateBox year navigation

2009-12-08 Thread Abdullah Shaikh
Hi All  am I not clear enough or is this option not available in GWT
yet.

On Mon, Dec 7, 2009 at 5:55 PM, Abdullah Shaikh  wrote:

> I have a DateBox, the format of which I have set is to set only month &
> year, as I don't require date, is there any way or any settings that I need
> to do to have a faster year navigation rather then going through all the
> months to have the next year.
>
> I don't remember where but I have see a calendar control in which when
> clicked on year it displays the panel with years, replacing the days panel,
> to navigate faster through the years.
>
> Thanks,
> Abdullah
>

--

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




DateBox year navigation

2009-12-07 Thread Abdullah Shaikh
I have a DateBox, the format of which I have set is to set only month &
year, as I don't require date, is there any way or any settings that I need
to do to have a faster year navigation rather then going through all the
months to have the next year.

I don't remember where but I have see a calendar control in which when
clicked on year it displays the panel with years, replacing the days panel,
to navigate faster through the years.

Thanks,
Abdullah

--

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




Re: Query on Google Web Toolkit (GWT)

2009-12-06 Thread Abdullah Shaikh
You are mixing things, GWT is different, so is SmartGWT & GWT-Ext. You first
mail itself was wrong, now we know you meant GWT-Ext.

Regarding the migration effort, I think the message in your mail itself is
clear enough, you need to ask this question in the Smart GWT forum, but if
some one from this forum answers that's fine.

- Abdullah

On Mon, Dec 7, 2009 at 11:34 AM, Nilesh Patwardhan <
nileshpatward...@gmail.com> wrote:

> Hey Chris,
>
> http://code.google.com/p/gwt-ext/
> *Status Update* This project is no longer under active development and has
> been superseded by Smart GWT <http://code.google.com/p/smartgwt/>.
> Assistance will be provided to existing users of GWT-Ext looking to migrate
> to Smart GWT.
>  We are using GWT-Ext in our project and when we were looking at the
> website, we saw the comment i mentioned above. How much is the effort we
> have to migrate from GWT-Ext to Smart GWT? can you please elaborate on that?
>
> Thanks
>Nilesh
>
>
>
> On Sun, Dec 6, 2009 at 8:21 AM, Chris Ramsdale wrote:
>
>> Google has no intention of dropping support for GWT. Instead we will
>> continue to add features and functionality, much like we are doing with the
>> 2.0 release of GWT. There's no reason to worry that the toolkit that you
>> have invested in will be deprecated.
>>
>> Thanks,
>> Chris
>>
>>
>> On Fri, Dec 4, 2009 at 12:53 PM, Nilesh wrote:
>>
>>> Hi Everyone,
>>>
>>> I am working with one of the reputed software companies in India.
>>> Recently I heard from one of my friends that google would stop
>>> supporting GWT and start promoting Smart GWT. In our product
>>> technology stack we have GWT and some other applications. if google
>>> stops supporting GWT, what would the steps users would need to migrate
>>> to Smart GWT?
>>>
>>> can somebody answer my questions please?
>>>
>>> Thanks
>>> Nilesh
>>>
>>> --
>>>
>>> You received this message because you are subscribed to the Google Groups
>>> "Google Web Toolkit" group.
>>> To post to this group, send email to google-web-toolkit@googlegroups.com
>>> .
>>> To unsubscribe from this group, send email to
>>> google-web-toolkit+unsubscr...@googlegroups.com
>>> .
>>> For more options, visit this group at
>>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>>
>>>
>>>
>>--
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To post to this group, send email to google-web-tool...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-web-toolkit+unsubscr...@googlegroups.com
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

--

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




  1   2   >