Re: The RequestFactory ValidationTool must be run for the RequestFactory type

2012-04-27 Thread saurabh saurabh
Is there any chance if move on to maven or check 'Use google
appengine'( I am not using appengine) to make it work

On Apr 28, 11:13 am, saurabh saurabh  wrote:
> I too have been banging my head for RequestFactory error 'The
> RequestFactory ValidationTool must be run for the '. I too have
> requestfactory-apt.jar on buid path. Done checking eclipse('helios')
> for annotation processing. I am quite frustrated at all and thinking
> on moving over gwt. Do we have any explicit way to revoke the
> validation tool or any straight solution to the problem like working
> from command line to run Validation tool or are there any parameters
> to give in run config. Please help!!! any link, any reference on net
> to explain in depth what is this validation tool and why n how it
> works. SOS!!
>
> On Apr 22, 4:03 pm, Prashant Hegde  wrote:
>
>
>
>
>
>
>
> > encountered the same issue today, solved by changing the directory name 
> > from .apt_generated to .apt_generated1
>
> > Seems like that forces a revalidation.
>
> > Prashant
>
> > On 17-Apr-2012, at 1:08 AM, Felipe Stanham wrote:
>
> > > I Know this is old but I just got stuck with the same problem. Did you 
> > > ever got around this and solved it?
>
> > > I'm really frustrated, I've tried everything I knew of, everything any 
> > > blog speaks of and still no validation run!
>
> > > PLEASE HELP!!!
>
> > > On Sunday, January 15, 2012 12:32:56 AM UTC-2, TULC wrote:
> > > I'm still stuck on this.  Some projects I've ported to 2.4 now work,
> > > but others still just won't budge.  I have tried all the additional
> > > steps, but my *DeobfuscatorBuilder.java just won't appear in those
> > > projects (event thought the .apt_generated folder does, and is
> > > replaced if I change the name).  I have noticed some (though not all)
> > > of those projects are now giving me the error "build.properties does
> > > not exist", which may or may not be related.
>
> > > I'm frustrated to the point I'm considering ditching GWT altogether; I
> > > haven't been able to proceed with any GWT development since the 2.4
> > > upgrade.  Like the man said, I'm good, really I am, but I just can't
> > > figure this one out, and it really shouldn't be this hard.  Thanks for
> > > the breaking change.
>
> > > Evan
>
> > > On Dec 14 2011, 12:12 pm, dparish  wrote:
> > > > I had the same problem. There are two other possible reasons you see
> > > > this:
>
> > > > 1. Your java compliance level in the project is set to 1.5
> > > > 2. Your classes are already compiled.  I don't know why, but touching
> > > > the my RequestContext classes had NO affect until I deleted the
> > > > classes that were compiled before I added annotations.  Now it all
> > > > works just fine.
>
> > > > Attention Google:
> > > > This stuff is w tooo complicated.  I'm good. really I am, but
> > > > this is just misdirection at it's worst.
>
> > > > On Nov 20, 5:47 pm, oerten25  wrote:
>
> > > > > I've been getting the same error and tried the things mentioned in the
> > > > > discussion without any luck. Finally i realised that i don't have the
> > > > > "apt_generated" folder. So i changed the "generated source directory"
> > > > > option to something other than "apt_generated" in Annotation
> > > > > Processing setting. That fixed it.
>
> > > > > On Oct 2, 11:29 pm, TULC  wrote:
>
> > > > > > I just get the sameerroras posted by Eric at the beginning of the
> > > > > > thread, but I have copied/pasted the full dump below.
>
> > > > > > Thomas, I'm not sure what you mean about the .apt_generated being in
> > > > > > my build path?
>
> > > > > > Thanks for the help, guys...
> > > > > > Evan
>
> > > > > > Console:
> > > > > > log4j:WARN No appenders could be found for logger
> > > > > > (org.apache.jasper.compiler.Js
> > > > > > pRuntimeContext).
> > > > > > log4j:WARN Please initialize the log4j system properly.
> > > > > > log4j:WARN Seehttp://logging.apache.org/log4j/1.2/faq.html#noconfig
> > > > > > for more in
> > > > > > fo.
> > > > > > 03/10/2011 8:24:49 AM
> > > > > > com.google.web.bindery.requestfactory.server.RequestFactor
> > > > > > yServlet doPost
> > > > > > SEVERE: Unexpectederror
> > > > > > java.lang.RuntimeException: 
> > > > > > TheRequestFactoryValidationToolmustberunfor th
> > > > > > e com.google.gwt.sample.dynatablerf.shared.DynaTableRequestFactory
> > > > > > RequestFactor
> > > > > > y type
> > > > > >         at 
> > > > > > com.google.web.bindery.requestfactory.vm.impl.Deobfuscator
> > > > > > $Builder.load(Deob
> > > > > > fuscator.java:59)
> > > > > >         at
> > > > > > com.google.web.bindery.requestfactory.server.ResolverServiceLayer.updateDeo
> > > > > >  b
> > > > > > fuscator(ResolverServiceLayer.java:43)
> > > > > >         at
> > > > > > com.google.web.bindery.requestfactory.server.ResolverServiceLayer.resolveRe
> > > > > >  q
> > > > > > uestFactory(ResolverServiceLayer.java:176)
> > > > > >         at
> > > > > > com.google.web.bindery.requestfactory.server.Servic

Re: The RequestFactory ValidationTool must be run for the RequestFactory type

2012-04-27 Thread saurabh saurabh
I too have been banging my head for RequestFactory error 'The
RequestFactory ValidationTool must be run for the '. I too have
requestfactory-apt.jar on buid path. Done checking eclipse('helios')
for annotation processing. I am quite frustrated at all and thinking
on moving over gwt. Do we have any explicit way to revoke the
validation tool or any straight solution to the problem like working
from command line to run Validation tool or are there any parameters
to give in run config. Please help!!! any link, any reference on net
to explain in depth what is this validation tool and why n how it
works. SOS!!

On Apr 22, 4:03 pm, Prashant Hegde  wrote:
> encountered the same issue today, solved by changing the directory name from 
> .apt_generated to .apt_generated1
>
> Seems like that forces a revalidation.
>
> Prashant
>
> On 17-Apr-2012, at 1:08 AM, Felipe Stanham wrote:
>
>
>
>
>
>
>
> > I Know this is old but I just got stuck with the same problem. Did you ever 
> > got around this and solved it?
>
> > I'm really frustrated, I've tried everything I knew of, everything any blog 
> > speaks of and still no validation run!
>
> > PLEASE HELP!!!
>
> > On Sunday, January 15, 2012 12:32:56 AM UTC-2, TULC wrote:
> > I'm still stuck on this.  Some projects I've ported to 2.4 now work,
> > but others still just won't budge.  I have tried all the additional
> > steps, but my *DeobfuscatorBuilder.java just won't appear in those
> > projects (event thought the .apt_generated folder does, and is
> > replaced if I change the name).  I have noticed some (though not all)
> > of those projects are now giving me the error "build.properties does
> > not exist", which may or may not be related.
>
> > I'm frustrated to the point I'm considering ditching GWT altogether; I
> > haven't been able to proceed with any GWT development since the 2.4
> > upgrade.  Like the man said, I'm good, really I am, but I just can't
> > figure this one out, and it really shouldn't be this hard.  Thanks for
> > the breaking change.
>
> > Evan
>
> > On Dec 14 2011, 12:12 pm, dparish  wrote:
> > > I had the same problem. There are two other possible reasons you see
> > > this:
>
> > > 1. Your java compliance level in the project is set to 1.5
> > > 2. Your classes are already compiled.  I don't know why, but touching
> > > the my RequestContext classes had NO affect until I deleted the
> > > classes that were compiled before I added annotations.  Now it all
> > > works just fine.
>
> > > Attention Google:
> > > This stuff is w tooo complicated.  I'm good. really I am, but
> > > this is just misdirection at it's worst.
>
> > > On Nov 20, 5:47 pm, oerten25  wrote:
>
> > > > I've been getting the same error and tried the things mentioned in the
> > > > discussion without any luck. Finally i realised that i don't have the
> > > > "apt_generated" folder. So i changed the "generated source directory"
> > > > option to something other than "apt_generated" in Annotation
> > > > Processing setting. That fixed it.
>
> > > > On Oct 2, 11:29 pm, TULC  wrote:
>
> > > > > I just get the sameerroras posted by Eric at the beginning of the
> > > > > thread, but I have copied/pasted the full dump below.
>
> > > > > Thomas, I'm not sure what you mean about the .apt_generated being in
> > > > > my build path?
>
> > > > > Thanks for the help, guys...
> > > > > Evan
>
> > > > > Console:
> > > > > log4j:WARN No appenders could be found for logger
> > > > > (org.apache.jasper.compiler.Js
> > > > > pRuntimeContext).
> > > > > log4j:WARN Please initialize the log4j system properly.
> > > > > log4j:WARN Seehttp://logging.apache.org/log4j/1.2/faq.html#noconfig
> > > > > for more in
> > > > > fo.
> > > > > 03/10/2011 8:24:49 AM
> > > > > com.google.web.bindery.requestfactory.server.RequestFactor
> > > > > yServlet doPost
> > > > > SEVERE: Unexpectederror
> > > > > java.lang.RuntimeException: 
> > > > > TheRequestFactoryValidationToolmustberunfor th
> > > > > e com.google.gwt.sample.dynatablerf.shared.DynaTableRequestFactory
> > > > > RequestFactor
> > > > > y type
> > > > >         at com.google.web.bindery.requestfactory.vm.impl.Deobfuscator
> > > > > $Builder.load(Deob
> > > > > fuscator.java:59)
> > > > >         at
> > > > > com.google.web.bindery.requestfactory.server.ResolverServiceLayer.updateDeo
> > > > >  b
> > > > > fuscator(ResolverServiceLayer.java:43)
> > > > >         at
> > > > > com.google.web.bindery.requestfactory.server.ResolverServiceLayer.resolveRe
> > > > >  q
> > > > > uestFactory(ResolverServiceLayer.java:176)
> > > > >         at
> > > > > com.google.web.bindery.requestfactory.server.ServiceLayerDecorator.resolveR
> > > > >  e
> > > > > questFactory(ServiceLayerDecorator.java:172)
> > > > >         at
> > > > > com.google.web.bindery.requestfactory.server.ServiceLayerDecorator.resolveR
> > > > >  e
> > > > > questFactory(ServiceLayerDecorator.java:172)
> > > > >         at
> > > > > com.google.web.bindery.requestfactory.server.ServiceLaye

Re: Google axing GWT?

2012-04-27 Thread Gmane

On 4/27/2012 12:31 AM, dka...@gmail.com wrote:

Some of my contacts down in Atlanta tell me Google is making big
changes to the GWT team and word is they are going to eliminate GWT
and a number of other projects. Can anyone from Google confirm or
deny?



I don't know about this story, but if that would be the case, then GWT 
will be just "WT". I think many people have checked-out the GWT source 
and even Google would no longer officially support it, I think the 
community will still be there. Unless there comes a better way of 
translating Java to Javascript code. 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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT applications session management

2012-04-27 Thread Gmane

On 4/26/2012 8:18 PM, Adio wrote:

Hi guys, i am a new to GWT applications to AJAX applications in
general. i am making sample applications, to learn GWT applications. I
am creating a very simple bank system -ok, by very simple i mean very
very simple- and i reached the part the authentication and
authorization logic is needed.

Can someone explain the authentication logic in GWT apps ?

Anyone explain the entire authentication and authorization logic in
Ajax application ?

Session management in Ajax applications ?

If you don't want to bother yourselves with explaining and code
writing any useful links will be fine.

Thank you very mush.



Hi, first I think you should read up about GWT-RPC topics and try some 
codes first. However as for your question it's very simple if you 
already understand RPC (although there are other ways than RPC to do this):


- Create your Service and Async on the client side
- Implement the service on the server side. If you are using GWT RPC, 
this class will inherit from RemoteServiceServlet and eventually inherit 
from Servlet.
- Just put the authentication logic there (in that RPC servlet), 
verifying user credentials against a database and placing session 
objects on the Service implementation, its that simple


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



Re: GWT + Hibernate + hsqldb

2012-04-27 Thread Gmane

On 4/26/2012 10:09 PM, rahul.gamit89 wrote:

Hello i have created a simple GWT application which allows user to
add  Name,address,email,sex and phone number.

E.G On UI there is 4 text boxes for Name,address,phone,email and
select box for sex

I have implemented hibernate and hsqldb, but when i am running the
program it gives me the following error.

[TRACE] [gwt_hibernate] - Finding entry point classes
[ERROR] [gwt_hibernate] - Errors in 'file:/I:/PROJECTS/gwt_hibernate/
src/gwt_hibernate/client/Gwt_hibernate.java'
[ERROR] [gwt_hibernate] - Line 39: The import
org.hibernate.HibernateException cannot be resolved
[ERROR] [gwt_hibernate] - Line 40: The import 
org.hibernate.Session
cannot be resolved
[ERROR] [gwt_hibernate] - Line 41: The import
org.hibernate.SessionFactory cannot be resolved
[ERROR] [gwt_hibernate] - Line 42: The import
org.hibernate.Transaction cannot be resolved
[ERROR] [gwt_hibernate] - Line 43: The import org.hibernate.cfg
cannot be resolved
[ERROR] [gwt_hibernate] - Line 164: SessionFactory cannot be
resolved to a type
[ERROR] [gwt_hibernate] - Line 166: Configuration cannot be 
resolved
to a type
[ERROR] [gwt_hibernate] - Line 168: Session cannot be resolved 
to a
type
[ERROR] [gwt_hibernate] - Line 191: HibernateException cannot be
resolved to a type
[ERROR] [gwt_hibernate] - Unable to find type
'gwt_hibernate.client.Gwt_hibernate'
[ERROR] [gwt_hibernate] - Hint: Previous compiler errors may 
have
made this type unavailable
[ERROR] [gwt_hibernate] - Hint: Check the inheritance chain from
your module; it may not be inheriting a required module or a module
may not be adding its source path entries properly
[ERROR] [gwt_hibernate] - Failed to load module 'gwt_hibernate' from
user agent 'Mozilla/5.0 (Windows NT 6.1) AppleWebKit/535.19 (KHTML,
like Gecko) Chrome/18.0.1025.162 Safari/535.19' at activate.adobe.com:
60298


I have created one hibernate.cfg.xml file, one persistent class and
other xml file.

Here is the code i did.

Persistent Class: cls_tbl_user
package gwt_hibernate.client;

public class cls_tbl_user
{

private String id;
private String name;
private String address;
private String email;
private String phone;
private String sex;

public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getAddress() {
return address;
}
public void setAddress(String address) {
this.address = address;
}
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public String getPhone() {
return phone;
}
public void setPhone(String phone) {
this.phone = phone;
}
public String getSex() {
return sex;
}
public void setSex(String sex) {
this.sex = sex;
}

}



hibernate.cfg.xml


http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd";>


 

 
 org.hsqldb.jdbcDriver
 jdbc:hsqldb:file:i:/HSQLDB/
test1db
 SA
 


 1

 
 org.hibernate.dialect.HSQLDialect

 
 org.hibernate.cache.NoCacheProvider

 
 true


 

 




 




cls_tbl_user.hbm.xml



  http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd";>













and following is the entrypoint class

Gwt_hibernate.java

public class Gwt_hibernate implements EntryPoint {
/**

/**
 * This is the entry point method.
 */
public void onModuleLoad() {
final FormPanel form_panel = new FormPanel();
form_panel.setAction("/my_from_handler");
form_panel.setEncoding(FormPanel.ENCODING_MULTIPART);
form_panel.setMethod(FormPanel.METHOD_POST);

VerticalPanel vertical_panel = new VerticalPanel();
HorizontalPanel hori_panel = new HorizontalPanel();

form_panel.setWidget(hori_panel);



DatePicker datePicker = new DatePicker();
final Label text = new Label();

datePicker.addValueChangeHandler(new ValueChangeHandler() 
{

@Override
public void onValueChange(ValueChangeEvent  
event) {
// TODO Auto-generated method stub
Date date = eve

Re: How to add External Java Classes to GWT Project?

2012-04-27 Thread Gmane

On 4/27/2012 9:57 PM, Alfredo Quiroga-Villamil wrote:

Danish:

Your project out of the box was created by the plugin with a directory
structure as follows:

/client
/shared
/server

The class you created will reside under the server package. Anything
in the /client and /shared will eventually get compiled down to JS. So
in your server you do all your crud operations and return data back to
the client.

Regards,

Alfredo

On Fri, Apr 27, 2012 at 3:21 AM, Danish  wrote:

Hi im new in this some one Guide me...

i create a java project

import java.sql.DriverManager;

public class DB_Conn {

private java.sql.Connection con = null;
//private final String url = "jdbc:microsoft:sqlserver://";
private final String serverName = "192.168.1.103";
//private final String portNumber = "1433";
private final String databaseName = "sdportaldb1";
private final String userName = "sddb1ownr";
private final String password = "judgmentDAY786";

// Informs the driver to use server a side-cursor,
// which permits more than one active statement
// on a connection.
//private final String selectMethod = "cursor";

public DB_Conn() {
}

private java.sql.Connection getConnection() {
try {
// Note: this class name changes for ms sql
server 2000 thats it
// It has to match the JDBC library that goes
with ms sql 2000

Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");
con =
DriverManager.getConnection(getConnectionUrl());

if (con != null)
System.out.println("Connection
Successful!");
} catch (Exception e) {
e.printStackTrace();
System.out.println("Error Trace in
getConnection() : "
+ e.getMessage());
}
return con;
}

private String getConnectionUrl() {
String url = "jdbc:sqlserver://" + serverName +
";user=" + userName
+ ";password=" + password +
";databaseName=" + databaseName
+ ";";
return url;
}

/*
 Display the driver properties, database details
 */

public void displayDbProperties() {
java.sql.DatabaseMetaData dm = null;
java.sql.ResultSet rs = null;
try {
con = this.getConnection();
if (con != null) {
dm = con.getMetaData();
System.out.println("Driver
Information");
System.out.println("\tDriver Name: " +
dm.getDriverName());
System.out
.println("\tDriver
Version: " + dm.getDriverVersion());
System.out.println("\nDatabase
Information ");
System.out.println("\tDatabase Name: "
+
dm.getDatabaseProductName());
System.out.println("\tDatabase
Version: "
+
dm.getDatabaseProductVersion());
System.out.println("Avalilable
Catalogs ");
rs = dm.getCatalogs();
while (rs.next()) {
System.out.println("\tcatalog:
" + rs.getString(1));
}
rs.close();
rs = null;
closeConnection();
} else
System.out.println("Error: No active
Connection");
} catch (Exception e) {
e.printStackTrace();
}
dm = null;
}

private void closeConnection() {
try {
if (con != null)
con.close();
con = null;
} catch (Exception e) {
e.printStackTrace();
}
}

public static void main(String[] args) throws Exception {
DB_Conn myDbTest = new DB_Conn();
myDbTest.displayDbProperties();
}
}

and now i wana use this class in GWT Project

how i used it some one guide me plz

--
You received this message because you a

Re: GWT Designer

2012-04-27 Thread Gmane

On 4/27/2012 6:47 PM, sbt wrote:

Hi,

I am facing issue in GWT Designer. Unable to open the design mode in
Ecilpse , however everything is done under given instructions.

Image is attached herewith.

--
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/-/M1e9pBNkby8J.
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 should load "layouts" without much logic on it so the GWT designer 
will not have hard time drawing up the widget. I mean, in my case my UI 
are pure UI (no logic, MVP pattern) so GWT designer have no problem 
rendering the widget. In case your are using UiBinder you should open 
the ui.xml file and not the .java part of the UiBinder code.


--
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: Please help with CellTable

2012-04-27 Thread Alfredo Quiroga-Villamil
Also part of 4 is SingleSelectionModel. So you can either use Single
or Multiple as the SelectionModel depending on what you need.

Regards,

Alfredo

On Fri, Apr 27, 2012 at 9:36 PM, Alfredo Quiroga-Villamil
 wrote:
> Hi Blake:
>
> I will try to take a look later at 1 and 2, they are CSS controlled.
>
> For now:
>
> 4. See below for an example:
>
>        MultiSelectionModel multiSelectionModel = new
> MultiSelectionModel();
>        CellTable cellTable = new CellTable();
>        cellTable.setSelectionModel(multiSelectionModel);
>
> 3. Handler for the selection model below:
>
>        // Handler
>        cellTable.getSelectionModel().addSelectionChangeHandler(new
> SelectionChangeEvent.Handler() {
>            @Override
>            public void onSelectionChange(SelectionChangeEvent event) {
>                Set selected = ((MultiSelectionModel)
> cellTable.getSelectionModel()).getSelectedSet();
>                if (selected != null) {
>
>                }
>
>            }
>        });
>
> Hope it helps.
>
> Regards,
>
> Alfredo
>
> On Fri, Apr 27, 2012 at 5:27 PM, Blake McBride  wrote:
>> Greetings,
>>
>> I need a sort of listbox where each row is made up of several columns.  I
>> don't want to edit the data in the listbox.  I just want to select one or
>> more rows, click a button, and be able to know which rows were selected.
>>  Looking around it seems like CellTable is close.  I put it together as
>> described in the various examples.  It works as described but not how I
>> want.  Specifically:
>>
>> 1.  I would rather each row not be shown alternately light blue and white
>> background.  I want the rows all displayed with a white background.
>>
>>
>> 2.  While I can select individual row (they get highlighted in yellow), it
>> also places a border around the column within the selected row.  I am not
>> editing the column within the row.  I just want to select the row, not the
>> column within the row.  How can I configure it to just highlight the
>> selected row and not add any borders?
>>
>>
>> 3.  When a row is selected, how can I tell which one is selected
>> programmatically?
>>
>>
>> 4.  How can I control single / multiple row selection?
>>
>> Thanks for the help!
>>
>> Blake McBride
>>
>> --
>> 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.
>
>
>
> --
> Alfredo Quiroga-Villamil
>
> AOL/Yahoo/Gmail/MSN IM:  lawwton



-- 
Alfredo Quiroga-Villamil

AOL/Yahoo/Gmail/MSN IM:  lawwton

-- 
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: Please help with CellTable

2012-04-27 Thread Alfredo Quiroga-Villamil
Hi Blake:

I will try to take a look later at 1 and 2, they are CSS controlled.

For now:

4. See below for an example:

MultiSelectionModel multiSelectionModel = new
MultiSelectionModel();
CellTable cellTable = new CellTable();
cellTable.setSelectionModel(multiSelectionModel);

3. Handler for the selection model below:

// Handler
cellTable.getSelectionModel().addSelectionChangeHandler(new
SelectionChangeEvent.Handler() {
@Override
public void onSelectionChange(SelectionChangeEvent event) {
Set selected = ((MultiSelectionModel)
cellTable.getSelectionModel()).getSelectedSet();
if (selected != null) {

}

}
});

Hope it helps.

Regards,

Alfredo

On Fri, Apr 27, 2012 at 5:27 PM, Blake McBride  wrote:
> Greetings,
>
> I need a sort of listbox where each row is made up of several columns.  I
> don't want to edit the data in the listbox.  I just want to select one or
> more rows, click a button, and be able to know which rows were selected.
>  Looking around it seems like CellTable is close.  I put it together as
> described in the various examples.  It works as described but not how I
> want.  Specifically:
>
> 1.  I would rather each row not be shown alternately light blue and white
> background.  I want the rows all displayed with a white background.
>
>
> 2.  While I can select individual row (they get highlighted in yellow), it
> also places a border around the column within the selected row.  I am not
> editing the column within the row.  I just want to select the row, not the
> column within the row.  How can I configure it to just highlight the
> selected row and not add any borders?
>
>
> 3.  When a row is selected, how can I tell which one is selected
> programmatically?
>
>
> 4.  How can I control single / multiple row selection?
>
> Thanks for the help!
>
> Blake McBride
>
> --
> 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.



-- 
Alfredo Quiroga-Villamil

AOL/Yahoo/Gmail/MSN IM:  lawwton

-- 
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: Google axing GWT?

2012-04-27 Thread Paul Stockley
It looks like the GWT guys who left to go to new startups are still using 
GWT. This bodes well for future support even if Google isn't directly 
involved anymore.

On Friday, April 27, 2012 4:19:47 PM UTC-4, Daniel Mauricio Patino León 
wrote:
>
> I think GWT its a very good open source project. We use it to develop RIA 
> and we love it. Like  Joseph i'll pray to google make it better and improve 
> it.
> What about a thread where people +1 if want that google keep working on 
> it? there  exist one?
>
> Greetings from Mexico.
>
> El 27 de abril de 2012 15:12, Steve  escribió:
>
>> https://plus.google.com/110412141990454266397/posts/8nmmgp4AChM
>>
>> Enjoy.
>>
>> On Apr 27, 3:26 pm, Mauro Oliveira  wrote:
>> > +1
>> >
>> > On 27 April 2012 14:11, Joseph Lust  wrote:
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> > > I'll keep praying for GWT. Let's see what transpires at Google IO in 
>> June.
>> >
>> > > Joe
>> >
>> > > --
>> > > You received this message because you are subscribed to the Google 
>> Groups
>> > > "Google Web Toolkit" group.
>> > > To view this discussion on the web visit
>> > >https://groups.google.com/d/msg/google-web-toolkit/-/VrsH8tPIQs4J.
>> > > To post to this group, send email to 
>> google-web-toolkit@googlegroups.com.
>> > > To unsubscribe from this group, send email to
>> > > google-web-toolkit+unsubscr...@googlegroups.com.
>> > > For more options, visit this group at
>> > >http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "Google Web Toolkit" group.
>> To post to this group, send email to google-web-toolkit@googlegroups.com.
>> To unsubscribe from this group, send email to 
>> google-web-toolkit+unsubscr...@googlegroups.com.
>> For more options, visit this group at 
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>>
>
>
> -- 
> ISC. Daniel Mauricio Patiño León.
> Director ejecutivo
> Liondev S.A. de C.V.
>
>
>
> 

-- 
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/-/p6dWSYv-PsYJ.
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.



Please help with CellTable

2012-04-27 Thread Blake McBride
Greetings,

I need a sort of listbox where each row is made up of several columns.  I
don't want to edit the data in the listbox.  I just want to select one or
more rows, click a button, and be able to know which rows were selected.
 Looking around it seems like CellTable is close.  I put it together as
described in the various examples.  It works as described but not how I
want.  Specifically:

1.  I would rather each row not be shown alternately light blue and white
background.  I want the rows all displayed with a white background.


2.  While I can select individual row (they get highlighted in yellow), it
also places a border around the column within the selected row.  I am not
editing the column within the row.  I just want to select the row, not the
column within the row.  How can I configure it to just highlight the
selected row and not add any borders?


3.  When a row is selected, how can I tell which one is selected
programmatically?


4.  How can I control single / multiple row selection?

Thanks for the help!

Blake McBride

-- 
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: Server detection of client crash

2012-04-27 Thread Alfredo Quiroga-Villamil
Thanks. I think Joseph said it before and I agree with him. If it's
something of that nature, I would likely try to stay from web stuff.
However, that doesn't mean is not possible or there are no ways to
ensure what you want.

I recently had the chance to speak with a few guys at RedHat about a
project they have been working on based on GWT. I've been meaning to
let people know about it because I was really impressed by a couple of
things I saw. One of them can truly help you and make your requirement
easier or a lot easier to implement.

http://www.jboss.org/errai

A few things:

a) You don't need jboss to use it.
b) Take special attention to CDI (crazy cool and useful).
c) They've done something really interesting where you truly have a
transparent web/server application, blurring completely the lines
between server and UI. Via an annotation you have Server Push. Their
Dependency Injection I thought was also nicer than GIN for the UI.
Although I use GIN and love it!

So what you could do, assuming that you truly want to keep this web
based is to have the server contacting the UI every x amount of
seconds. If no response is received from the UI, then you know that
something is not right. That would be better I think than polling the
server.

Again, this could be done without errai, but take a look at it if you
get a chance.

Best regards,

Alfredo

On Fri, Apr 27, 2012 at 4:44 PM, mmorckos  wrote:
> What I meant by "crash" is that the client doesn't "cleanly". For
> instance, the user can simply close the web-page, or the client's
> machine can lose connection to the server. I'm asking if there is a
> way that the server can detect that instantly (some sort of a
> heartbeat ping between the client and the server, unlike a session
> timeout).
>
> On Apr 27, 10:47 am, Alfredo Quiroga-Villamil 
> wrote:
>> Can you please define or explain what you mean by "whenever a client 
>> crashes"?
>>
>> Thank you in advance,
>>
>> Alfredo
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> On Fri, Apr 27, 2012 at 1:49 AM,mmorckos wrote:
>> > Hello,
>>
>> > I'm intending to develop a web-based frontend UI for a control system
>> > in a research lab. For safety purposes, it's vital that when a client
>> > crashes, the server is notified immediately and dispatches a stop
>> > signal to all connected machinery.
>>
>> > I'm new to gwt and would like to know if there is a way to know
>> > whenever a client crashes on the server side, specifically inside a
>> > "RemoteServiceServlet".
>>
>> >  Regards,
>> > Michael
>>
>> > --
>> > 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 
>> > athttp://groups.google.com/group/google-web-toolkit?hl=en.
>>
>> --
>> Alfredo Quiroga-Villamil
>>
>> AOL/Yahoo/Gmail/MSN IM:  lawwton
>
> --
> 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.
>



-- 
Alfredo Quiroga-Villamil

AOL/Yahoo/Gmail/MSN IM:  lawwton

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



Re: How to stop the move to Place

2012-04-27 Thread Alfredo Quiroga-Villamil
Interestingly enough, have to admit, I don't see at a glance unless I
am missing something an easy way to accomplish what you need.

We need something to completely halt execution and act upon the result
of the action/handler (ok or cancel result for example), which is
ultimately what the PlaceController is doing via a DefaultDelegate
using a Window.confirm in mayStop.

I will try to make some time over the weekend and look into this.
Hopefully we are both just missing the obvious and there is an easy
solution to it and someone will respond to the thread with it.

Regards,

Alfredo
 -

2012/4/27 st1ll :
> The situation is the following:
> 1) There is a table cell which can be edited
> 2) the user has not saved the changes, and clicks on any item on the
> navigation menu (try to move to another page)
> 3) You receive a modal window with the message - "There are unsaved
> changes. Do you want to keep them?" There are three buttons - "Save," "Do
> not Save", "Cancel"
> 4) By clicking the "Save" button, the data is sent to the server and takes
> you to a page that the user has selected previously on the menu
> 5) If the button is pressed, "Do not save" just takes you to a page that the
> user has selected previously
> 6) If you press "Cancel" modal window just closes, switching to a different
> page is not carried out
>
> I'm sorry to write in English until I get bad, so to understand my
> speech can be hard :)
>
> пятница, 27 апреля 2012 г., 17:36:58 UTC+3 пользователь Alfredo
> Quiroga-Villamil написал:
>>
>> Can you please provide the flow for this particular case. I think
>> it'll help me and others to better understand, sorry if I am not
>> following 100% still :( Something like:
>>
>> 1. I have a view with a table.
>> 2. The user edits and clicks save.
>> 3. I show them a Modal Dialog with three buttons.
>> 4. The third button triggers navigation to go to a new place...
>>
>> Something like that to get a better idea.
>>
>> Thanks in advance,
>>
>> Alfredo
>>
>> On Fri, Apr 27, 2012 at 10:28 AM, st1ll  wrote:
>> > Thanks for the answer.
>> > This method (mayStop()) is not suitable to me for one reason - I need to
>> > get to the window, except for "OK" and "Cancel" buttons were also
>> > a button
>> > "Save" at the touch of which happened to save the data into the
>> > database.
>> > I have not found a way to make non-standard window, caused by this
>> > method
>> >
>> > On Friday, April 27, 2012 4:41:51 PM UTC+3, Alfredo Quiroga-Villamil
>> > wrote:
>> >>
>> >> Hi:
>> >>
>> >> I am not 100% sure what you are trying to do, but in your current
>> >> activity, you can override "mayStop()". That would be one possible way
>> >> to intercept and potentially cancel going to a new place.
>> >>
>> >> If that doesn't do what you need, please provide a little example of
>> >> what the ultimate goal is to see what options are available depending
>> >> on your use case.
>> >>
>> >> Best regards,
>> >>
>> >> Alfredo
>> >>
>> >> On Fri, Apr 27, 2012 at 8:33 AM, st1ll  wrote:
>> >> > Hello.
>> >> > I need to create model window, which appears, when I try to go from
>> >> > current page via links.
>> >> > I may initiate the creation of window into onPlaceChangeRequest
>> >> > (PlaceChangeRequestEvent.Handler ()).
>> >> > But I dont know, how to interrupt the process of transition.
>> >> > It is possible?
>> >> >
>> >> > --
>> >> > 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.
>> >> >
>> >>
>> >>
>> >>
>> >> --
>> >> Alfredo Quiroga-Villamil
>> >>
>> >> AOL/Yahoo/Gmail/MSN IM:  lawwton
>> >
>> > --
>> > 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/-/-xYLh1GQF1sJ.
>> > 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.
>>
>>
>>
>> --
>> Alfredo Quiroga-Villamil
>>
>> AOL/Yahoo/Gmail/MSN IM:  lawwton
>
> --
> 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/-/WcyEyCnmDZQJ.
> 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.c

Re: Server detection of client crash

2012-04-27 Thread mmorckos
What I meant by "crash" is that the client doesn't "cleanly". For
instance, the user can simply close the web-page, or the client's
machine can lose connection to the server. I'm asking if there is a
way that the server can detect that instantly (some sort of a
heartbeat ping between the client and the server, unlike a session
timeout).

On Apr 27, 10:47 am, Alfredo Quiroga-Villamil 
wrote:
> Can you please define or explain what you mean by "whenever a client crashes"?
>
> Thank you in advance,
>
> Alfredo
>
>
>
>
>
>
>
>
>
> On Fri, Apr 27, 2012 at 1:49 AM,mmorckos wrote:
> > Hello,
>
> > I'm intending to develop a web-based frontend UI for a control system
> > in a research lab. For safety purposes, it's vital that when a client
> > crashes, the server is notified immediately and dispatches a stop
> > signal to all connected machinery.
>
> > I'm new to gwt and would like to know if there is a way to know
> > whenever a client crashes on the server side, specifically inside a
> > "RemoteServiceServlet".
>
> >  Regards,
> > Michael
>
> > --
> > 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 
> > athttp://groups.google.com/group/google-web-toolkit?hl=en.
>
> --
> Alfredo Quiroga-Villamil
>
> AOL/Yahoo/Gmail/MSN IM:  lawwton

-- 
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: Google axing GWT?

2012-04-27 Thread Daniel Mauricio Patino León
I think GWT its a very good open source project. We use it to develop RIA
and we love it. Like  Joseph i'll pray to google make it better and improve
it.
What about a thread where people +1 if want that google keep working on it?
there  exist one?

Greetings from Mexico.

El 27 de abril de 2012 15:12, Steve  escribió:

> https://plus.google.com/110412141990454266397/posts/8nmmgp4AChM
>
> Enjoy.
>
> On Apr 27, 3:26 pm, Mauro Oliveira  wrote:
> > +1
> >
> > On 27 April 2012 14:11, Joseph Lust  wrote:
> >
> >
> >
> >
> >
> >
> >
> > > I'll keep praying for GWT. Let's see what transpires at Google IO in
> June.
> >
> > > Joe
> >
> > > --
> > > You received this message because you are subscribed to the Google
> Groups
> > > "Google Web Toolkit" group.
> > > To view this discussion on the web visit
> > >https://groups.google.com/d/msg/google-web-toolkit/-/VrsH8tPIQs4J.
> > > To post to this group, send email to
> google-web-toolkit@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > google-web-toolkit+unsubscr...@googlegroups.com.
> > > For more options, visit this group at
> > >http://groups.google.com/group/google-web-toolkit?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>


-- 
ISC. Daniel Mauricio Patiño León.
Director ejecutivo
Liondev S.A. de C.V.

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



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

2012-04-27 Thread Steve
Don't know if anyone has posted this link yet, but here goes.

https://plus.google.com/110412141990454266397/posts/8nmmgp4AChM

Not quite a roadmap, but it IS signs of external communication. :) I'm not 
as worried anymore.

I'm betting that we'll see some really cool stuff out of IO.

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

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

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/w78ctdAr5nYJ.
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: Google axing GWT?

2012-04-27 Thread Steve
https://plus.google.com/110412141990454266397/posts/8nmmgp4AChM

Enjoy.

On Apr 27, 3:26 pm, Mauro Oliveira  wrote:
> +1
>
> On 27 April 2012 14:11, Joseph Lust  wrote:
>
>
>
>
>
>
>
> > I'll keep praying for GWT. Let's see what transpires at Google IO in June.
>
> > Joe
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google Web Toolkit" group.
> > To view this discussion on the web visit
> >https://groups.google.com/d/msg/google-web-toolkit/-/VrsH8tPIQs4J.
> > To post to this group, send email to google-web-toolkit@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-web-toolkit+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.

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



Re: where to place css file and image file?

2012-04-27 Thread Joseph Lust
For CssResource and ImageResource users, I find this the most robust way to 
place these files:

*com.myPackage.moduleA.resources (put resource interfaces here)
*com.myPackage.moduleA.resources.images (put image files here)
*com.myPackage.moduleA.resources.css (put css files here) 

The real payoff here is that:

   1. Each module is self contained with all its css/images. Try pulling a 
   module's resources of out a public folder shared by 10 modules.
   2. You can more easily use this module in a different GWT project.
   3. Since you're not using a public folder, only the used 
   selectors/images get compiled into your output war. Saves a lot of 
   time/bytes.

You might ask "What images used in multiple modules?" In our apps we have a 
"common" module with these parts.

Hope that helps.


Sincerely,
Joseph

-- 
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/-/A6YyVptQ1kYJ.
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: Google axing GWT?

2012-04-27 Thread Mauro Oliveira
+1

On 27 April 2012 14:11, Joseph Lust  wrote:

> I'll keep praying for GWT. Let's see what transpires at Google IO in June.
>
>
> Joe
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-web-toolkit/-/VrsH8tPIQs4J.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

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



Re: UIBinder: Overriding obfuscated CSS styleNames

2012-04-27 Thread Brad Leupen
Ah, interesting idea! Thanks for the response. I'll try that this evening 
and report back. 

-- 
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/-/gkHMeodaY8oJ.
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: Google axing GWT?

2012-04-27 Thread Joseph Lust
I'll keep praying for GWT. Let's see what transpires at Google IO in June.


Joe

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



Re: UIBinder: Overriding obfuscated CSS styleNames

2012-04-27 Thread Joseph Lust
On reading your problem, I became curious how this is achieved.

According to the following article, you can do this using the interfaces.
http://stackoverflow.com/questions/5943895/how-exactly-would-one-override-a-cssresource
 

So, you'll need to use the interfaces in your UiBinder.

Something like:

# put this in your new widget's java class
interface CustomStlye extends ToggleButton.Style
{ 
@Override
public String down(); 
}

# put this in the UiBinder of your new widget
 
.button .down { 
   background: #fff; 
} 



Let me know if this works for you. I don't have the time to make a module 
to test this on?

Sincerely,
Joseph

-- 
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/-/ZFHeGB1jT0IJ.
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: Runtime exception: com.google.web.bindery.requestfactory.server.UnexpectedException: Could not find static method with a single parameter of a key type

2012-04-27 Thread Thomas Lefort
You do have to read the doc carefully indeed. I got stuck for a little 
while, I thought I could get away by simply using "find" but no you need to 
use "findEntity", ie replace Entity by your entity name. This got me, 
because at first it worked with a single entity, but when I had two 
entities with relationships, it wouldn't work anymore. By changing the 
method names to respect the convention mentioned above, it worked fine.


On Wednesday, 25 April 2012 11:48:21 UTC+2, Thomas Broyer wrote:
>
>
>
> On Wednesday, April 25, 2012 11:34:56 AM UTC+2, Ashu wrote:
>>
>> could you please provide me the sample findby() method for reference?
>>
>
> See 
> http://code.google.com/p/google-web-toolkit/source/browse/tags/2.4.0/samples/expenses/src/main/java/com/google/gwt/sample/expenses/server/domain/Expense.java#64
>  for 
> example (uses JPA for persistence) 
>

-- 
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/-/Ailfmb3jx1wJ.
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: Server detection of client crash

2012-04-27 Thread Joseph Lust
I would not recommend operating safety critical machinery with a JS web 
app. An embedded system written in Ada would be better.

Joe

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



Re: How to use image in global css

2012-04-27 Thread Joseph Lust
To start with, I like to utilize the public/ folders in my packages for 
storing these values. That way, if you put images in any public/images/ 
folder  (I put a public/ folder in every module), they will end up in your 
war in the images/ folder.

First make sure that the above is working correctly for you. You can also 
utilize an ImageBundle which will assure you the images are available 
through compile time checking. I find this the best solution.

With an ImageBundle your rule becomes:

@sprite
.rule1 {

gwt-image:'img1';

}


To investigate this further use FireBug or Chrome dev tools to find what 
image resource your .rule1 is pointing at. That will probably reveal the 
problem.


Sincerely,
Joseph


-- 
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/-/vIeyrhMr5g8J.
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: Thoughts on User defined time in the UI

2012-04-27 Thread Joseph Lust
Check out how this is done in ExtJs. Basically you just set a listener for 
the character entry to the textbox. You set a regex that is looking for 
something like *\d{1,2}:\d{2}:\d{2}* to confirm that people are entering it 
as desired. Then I just have 2 functions called sec2time() and time2sec() 
so that I can pass the time as seconds back to the server.

This is how I do this for time entry on 
RunPartner.com, 
but you've have to be a member to play with that widget. I'm working on 
converting it to GWT, but it's still ExtJs for now. I'll throw the time 
widget source up when I get it in GWT.


Sincerely,
Joseph

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



Re: How to stop the move to Place

2012-04-27 Thread st1ll
The situation is the following:
1) There is a table cell which can be edited
2) the user has not saved the changes, and clicks on any item on the 
navigation menu (try to move to another page)
3) You receive a modal window with the message - "There are unsaved changes.
 Do you want to keep them?" There are three buttons - "Save," "Do not Save", 
"Cancel"
4) By clicking the "Save" button, the data is sent to the server and takes 
you to a page that the user has selected previously on the menu
5) If the button is pressed, "Do not save" just takes you to a page that the 
user has selected previously
6) If you press "Cancel" modal window just closes, switching to a different 
page is not carried out

I'm sorry to write in English until I get bad, so to understand my speech can 
be hard :) 

пятница, 27 апреля 2012 г., 17:36:58 UTC+3 пользователь Alfredo 
Quiroga-Villamil написал:
>
> Can you please provide the flow for this particular case. I think 
> it'll help me and others to better understand, sorry if I am not 
> following 100% still :( Something like: 
>
> 1. I have a view with a table. 
> 2. The user edits and clicks save. 
> 3. I show them a Modal Dialog with three buttons. 
> 4. The third button triggers navigation to go to a new place... 
>
> Something like that to get a better idea. 
>
> Thanks in advance, 
>
> Alfredo 
>
> On Fri, Apr 27, 2012 at 10:28 AM, st1ll  wrote: 
> > Thanks for the answer. 
> > This method (mayStop()) is not suitable to me for one reason - I need to 
> > get to the window, except for "OK" and "Cancel" buttons were also 
> a button 
> > "Save" at the touch of which happened to save the data into the 
> database. 
> > I have not found a way to make non-standard window, caused by this 
> method 
> > 
> > On Friday, April 27, 2012 4:41:51 PM UTC+3, Alfredo Quiroga-Villamil 
> wrote: 
> >> 
> >> Hi: 
> >> 
> >> I am not 100% sure what you are trying to do, but in your current 
> >> activity, you can override "mayStop()". That would be one possible way 
> >> to intercept and potentially cancel going to a new place. 
> >> 
> >> If that doesn't do what you need, please provide a little example of 
> >> what the ultimate goal is to see what options are available depending 
> >> on your use case. 
> >> 
> >> Best regards, 
> >> 
> >> Alfredo 
> >> 
> >> On Fri, Apr 27, 2012 at 8:33 AM, st1ll  wrote: 
> >> > Hello. 
> >> > I need to create model window, which appears, when I try to go from 
> >> > current page via links. 
> >> > I may initiate the creation of window into onPlaceChangeRequest 
> >> > (PlaceChangeRequestEvent.Handler ()). 
> >> > But I dont know, how to interrupt the process of transition. 
> >> > It is possible? 
> >> > 
> >> > -- 
> >> > 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. 
> >> > 
> >> 
> >> 
> >> 
> >> -- 
> >> Alfredo Quiroga-Villamil 
> >> 
> >> AOL/Yahoo/Gmail/MSN IM:  lawwton 
> > 
> > -- 
> > 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/-/-xYLh1GQF1sJ. 
> > 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. 
>
>
>
> -- 
> Alfredo Quiroga-Villamil 
>
> AOL/Yahoo/Gmail/MSN IM:  lawwton 
>

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



Re: GWT for starters

2012-04-27 Thread Joseph Lust
The best documentation is that of Google. Check out all of their 
docs. 
Read them all and you'll be an expert.

Sincerely,
Joseph

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



Re: GWT applications session management

2012-04-27 Thread Joseph Lust
See  https://www.google.com/search?q=google+web+toolit+overview


Joe

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/Ejn8spysqL8J.
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: Disable the display of values of a ListBox

2012-04-27 Thread Ali Thabet
I do not want the list appears to be disabled. It is located in a draggable
component. I do not want the values ​​appear after the click when the drag
operation start. The values ​​in the list are not used in the application
and they are unnecessary, just the appearance of the list is necessary.

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



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

2012-04-27 Thread Mauro
+1

Em segunda-feira, 23 de abril de 2012 12h55min27s UTC-3, Jmscavaleiro 
escreveu:
>
> We are investing our time, our job and our life on/with GWT so we need 
> to be more informed and we need to know with what we can count.

-- 
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/-/mu7r5bW_ncMJ.
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: Server detection of client crash

2012-04-27 Thread Alfredo Quiroga-Villamil
Can you please define or explain what you mean by "whenever a client crashes"?

Thank you in advance,

Alfredo

On Fri, Apr 27, 2012 at 1:49 AM, mmorckos  wrote:
> Hello,
>
> I'm intending to develop a web-based frontend UI for a control system
> in a research lab. For safety purposes, it's vital that when a client
> crashes, the server is notified immediately and dispatches a stop
> signal to all connected machinery.
>
> I'm new to gwt and would like to know if there is a way to know
> whenever a client crashes on the server side, specifically inside a
> "RemoteServiceServlet".
>
>  Regards,
> Michael
>
> --
> 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.
>



-- 
Alfredo Quiroga-Villamil

AOL/Yahoo/Gmail/MSN IM:  lawwton

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



Re: How to stop the move to Place

2012-04-27 Thread Alfredo Quiroga-Villamil
Can you please provide the flow for this particular case. I think
it'll help me and others to better understand, sorry if I am not
following 100% still :( Something like:

1. I have a view with a table.
2. The user edits and clicks save.
3. I show them a Modal Dialog with three buttons.
4. The third button triggers navigation to go to a new place...

Something like that to get a better idea.

Thanks in advance,

Alfredo

On Fri, Apr 27, 2012 at 10:28 AM, st1ll  wrote:
> Thanks for the answer.
> This method (mayStop()) is not suitable to me for one reason - I need to
> get to the window, except for "OK" and "Cancel" buttons were also a button
> "Save" at the touch of which happened to save the data into the database.
> I have not found a way to make non-standard window, caused by this method
>
> On Friday, April 27, 2012 4:41:51 PM UTC+3, Alfredo Quiroga-Villamil wrote:
>>
>> Hi:
>>
>> I am not 100% sure what you are trying to do, but in your current
>> activity, you can override "mayStop()". That would be one possible way
>> to intercept and potentially cancel going to a new place.
>>
>> If that doesn't do what you need, please provide a little example of
>> what the ultimate goal is to see what options are available depending
>> on your use case.
>>
>> Best regards,
>>
>> Alfredo
>>
>> On Fri, Apr 27, 2012 at 8:33 AM, st1ll  wrote:
>> > Hello.
>> > I need to create model window, which appears, when I try to go from
>> > current page via links.
>> > I may initiate the creation of window into onPlaceChangeRequest
>> > (PlaceChangeRequestEvent.Handler ()).
>> > But I dont know, how to interrupt the process of transition.
>> > It is possible?
>> >
>> > --
>> > 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.
>> >
>>
>>
>>
>> --
>> Alfredo Quiroga-Villamil
>>
>> AOL/Yahoo/Gmail/MSN IM:  lawwton
>
> --
> 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/-/-xYLh1GQF1sJ.
> 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.



-- 
Alfredo Quiroga-Villamil

AOL/Yahoo/Gmail/MSN IM:  lawwton

-- 
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: Entities in GWT 2.4

2012-04-27 Thread Alfredo Quiroga-Villamil
https://developers.google.com/web-toolkit/doc/latest/DevGuideRequestFactory

Look there for ValueProxy. They provide a concise example.

Regards,

Alfredo

On Fri, Apr 27, 2012 at 5:41 AM, Ashu  wrote:
> Hi,
>
> I am using GWT2.4 version.
>
> how to use value proxies without entities?
>
> If possible please provide me some sample example.
>
> Thanks
>
> --
> 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/-/VZMr_N4-kSsJ.
> 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.



-- 
Alfredo Quiroga-Villamil

AOL/Yahoo/Gmail/MSN IM:  lawwton

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



Re: How to stop the move to Place

2012-04-27 Thread st1ll
Thanks for the answer.
This method (mayStop()) is not suitable to me for one reason - I need to get
 to the window, except for "OK" and "Cancel" buttons were also a button "
Save" at the touch of which happened to save the data into the database.
I have not found a way to make non-standard window, caused by this method 

On Friday, April 27, 2012 4:41:51 PM UTC+3, Alfredo Quiroga-Villamil wrote:
>
> Hi: 
>
> I am not 100% sure what you are trying to do, but in your current 
> activity, you can override "mayStop()". That would be one possible way 
> to intercept and potentially cancel going to a new place. 
>
> If that doesn't do what you need, please provide a little example of 
> what the ultimate goal is to see what options are available depending 
> on your use case. 
>
> Best regards, 
>
> Alfredo 
>
> On Fri, Apr 27, 2012 at 8:33 AM, st1ll  wrote: 
> > Hello. 
> > I need to create model window, which appears, when I try to go from 
> > current page via links. 
> > I may initiate the creation of window into onPlaceChangeRequest 
> > (PlaceChangeRequestEvent.Handler ()). 
> > But I dont know, how to interrupt the process of transition. 
> > It is possible? 
> > 
> > -- 
> > 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. 
> > 
>
>
>
> -- 
> Alfredo Quiroga-Villamil 
>
> AOL/Yahoo/Gmail/MSN IM:  lawwton 
>

-- 
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/-/-xYLh1GQF1sJ.
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: Disable the display of values of a ListBox

2012-04-27 Thread Alfredo Quiroga-Villamil
To better understand the question, why is setEnable(false) not an
option? What is the behavior you would like to see?

Regards,

Alfredo

On Fri, Apr 27, 2012 at 5:57 AM, Ali Thabet  wrote:
> Hello, is there a way to disable the display of values of
> the ListBox after the user click? I do not want to use the
> method setEnable(false).
>
> --
> 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.



-- 
Alfredo Quiroga-Villamil

AOL/Yahoo/Gmail/MSN IM:  lawwton

-- 
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: Thoughts on User defined time in the UI

2012-04-27 Thread Alfredo Quiroga-Villamil
I don't recall seeing a TimePicker in GWT. I do recall seeing one and
I found it in the GWT incubator (URL at the end of my response).

Options:

a) Create something fairly simple now to get the job done. Three
SelectionCell's if you want the values to be unmodifiable and save
yourself the trouble of validation if you used TextBoxes. This is
perhaps one of the simplest ways to go.

b) Create something a bit more sophisticated.

c) Take a look at the previous incubator implementation. It's GWT
only, so you might be able to resuscitate it and use it.

http://code.google.com/p/gwt-incubator-lib/source/browse/trunk/GWT-Incubator-TimePicker/src/main/java/com/gwtincubator/widgets/client/timepicker/TimePicker.java

Regards,

Alfredo

On Wed, Apr 25, 2012 at 11:56 AM, GlasgowSteve  wrote:
> I would like to have a field in my UI which allows the user to pass a
> 24h time - I will then use the time to do a search on events occuring
> after that time. There should not be a date asociated with the time on
> the UI. The time passed should be in the format "hh:mm:ss".
>
> I'm using plain ol' GWT - extensions or addtional libraries are
> unavailble here for all intents and purposes (I've seen a few options
> in gwt-ext and smartGWT but would rather avoid.
>
> What would be the best method of allowing users to define time in the
> UI using core GWT? A textbox which assumes 6 digits (hhmmss) that can
> then be parsed? Three seperate text boxes for hour minute second which
> would be easier to validate? Extending a Calander Widgit? Another
> Widgit I've overlooked that should be considered? Or something I
> haven't considered at all?
>
>
> Thanks for your help
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-web-toolkit?hl=en.
>



-- 
Alfredo Quiroga-Villamil

AOL/Yahoo/Gmail/MSN IM:  lawwton

-- 
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: Dynamic CompositeCell

2012-04-27 Thread Alfredo Quiroga-Villamil
If you have an "n" number of values that should be represented in one
single column, I would go for a tree. Its ability to expand nodes when
needed, gives the user a chance to have it expanded or collapsed. So
in your case the column would contain:

"Top Of Tree"
  CheckBox 1
  CheckBox 2
  CheckBox 3
  CheckBox n

Regards,

Alfredo

On Wed, Apr 25, 2012 at 9:16 PM, Aoxiang Cui  wrote:
> The title is too short, let me explain and simplify my situation.
>
> Say, I have a dto which contains a list of Booleans. I need a column whose
> cell looks like below:
>
> item_1  checkbox_1
> item_2  checkbox_2
> ...
> item_n  checkbox_n
>
> If n is a fixed number, it is fine to use CompositeCell. The problem is we
> don't know the size of list and each cell can have different list size.
> Is there any way to extend CompositeCell so as to make it support my
> situation. Or maybe I should write a new Cell?
>
> --
> 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/-/slhetcYlVBsJ.
> 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.



-- 
Alfredo Quiroga-Villamil

AOL/Yahoo/Gmail/MSN IM:  lawwton

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



Re: How to add External Java Classes to GWT Project?

2012-04-27 Thread Alfredo Quiroga-Villamil
Danish:

Your project out of the box was created by the plugin with a directory
structure as follows:

/client
/shared
/server

The class you created will reside under the server package. Anything
in the /client and /shared will eventually get compiled down to JS. So
in your server you do all your crud operations and return data back to
the client.

Regards,

Alfredo

On Fri, Apr 27, 2012 at 3:21 AM, Danish  wrote:
> Hi im new in this some one Guide me...
>
> i create a java project
> 
> import java.sql.DriverManager;
>
> public class DB_Conn {
>
>        private java.sql.Connection con = null;
>        //private final String url = "jdbc:microsoft:sqlserver://";
>        private final String serverName = "192.168.1.103";
>        //private final String portNumber = "1433";
>        private final String databaseName = "sdportaldb1";
>        private final String userName = "sddb1ownr";
>        private final String password = "judgmentDAY786";
>
>        // Informs the driver to use server a side-cursor,
>        // which permits more than one active statement
>        // on a connection.
>        //private final String selectMethod = "cursor";
>
>        public DB_Conn() {
>        }
>
>    private java.sql.Connection getConnection() {
>                try {
>                        // Note: this class name changes for ms sql
> server 2000 thats it
>                        // It has to match the JDBC library that goes
> with ms sql 2000
>
> Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");
>                        con =
> DriverManager.getConnection(getConnectionUrl());
>
>                        if (con != null)
>                                System.out.println("Connection
> Successful!");
>                } catch (Exception e) {
>                        e.printStackTrace();
>                        System.out.println("Error Trace in
> getConnection() : "
>                                        + e.getMessage());
>                }
>                return con;
>        }
>
>        private String getConnectionUrl() {
>                String url = "jdbc:sqlserver://" + serverName +
> ";user=" + userName
>                                + ";password=" + password +
> ";databaseName=" + databaseName
>                                + ";";
>                return url;
>        }
>
>        /*
>             Display the driver properties, database details
>         */
>
>        public void displayDbProperties() {
>                java.sql.DatabaseMetaData dm = null;
>                java.sql.ResultSet rs = null;
>                try {
>                        con = this.getConnection();
>                        if (con != null) {
>                                dm = con.getMetaData();
>                                System.out.println("Driver
> Information");
>                                System.out.println("\tDriver Name: " +
> dm.getDriverName());
>                                System.out
>                                                .println("\tDriver
> Version: " + dm.getDriverVersion());
>                                System.out.println("\nDatabase
> Information ");
>                                System.out.println("\tDatabase Name: "
>                                                +
> dm.getDatabaseProductName());
>                                System.out.println("\tDatabase
> Version: "
>                                                +
> dm.getDatabaseProductVersion());
>                                System.out.println("Avalilable
> Catalogs ");
>                                rs = dm.getCatalogs();
>                                while (rs.next()) {
>                                        System.out.println("\tcatalog:
> " + rs.getString(1));
>                                }
>                                rs.close();
>                                rs = null;
>                                closeConnection();
>                        } else
>                                System.out.println("Error: No active
> Connection");
>                } catch (Exception e) {
>                        e.printStackTrace();
>                }
>                dm = null;
>        }
>
>        private void closeConnection() {
>                try {
>                        if (con != null)
>                                con.close();
>                        con = null;
>                } catch (Exception e) {
>                        e.printStackTrace();
>                }
>        }
>
>        public static void main(String[] args) throws Exception {
>                DB_Conn myDbTest = new DB_Conn();
>                myDbTest.displayDbProperties();
>        }
> }
> 
> and now i wana use this class in GWT 

Re: Dynamic CompositeCell

2012-04-27 Thread Derek
I personally would just create a new cell, but I'd probably start with
CompositeCell for a starting point.

On Apr 25, 9:16 pm, Aoxiang Cui  wrote:
> The title is too short, let me explain and simplify my situation.
>
> Say, I have a dto which contains a list of Booleans. I need a column whose
> cell looks like below:
>
> item_1  checkbox_1
> item_2  checkbox_2
> ...
> item_n  checkbox_n
>
> If n is a fixed number, it is fine to use CompositeCell. The problem is we
> don't know the size of list and each cell can have different list size.
> Is there any way to extend CompositeCell so as to make it support my
> situation. Or maybe I should write a new Cell?

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



Re: GWT SERIALIZATION PROBLEM

2012-04-27 Thread Alfredo Quiroga-Villamil
Hard to tell without seeing code or stack trace. Please provide:

1. A bit of code illustrating the main players. DTO, Service,
ServiceAsync, ServiceImpl method.
2. Stack Trace for the failure.

Regards,

Alfredo

On Wed, Apr 25, 2012 at 6:20 AM, Nitheesh Chandran
 wrote:
> Hello  Guys ,
>
> I have a problem ,I want to save an object to the database. I passed
> the object to the server using a function. Like this
> http://www.easywayserver.com/blog/how-to-serializable-object-in-java-2/.
> But my RPC is getting failed every time. What will be the problem ? i
> used isSerializable marker interface for serialization. Cant we send
> client object to the server through RPC?
>
> --
> 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.
>



-- 
Alfredo Quiroga-Villamil

AOL/Yahoo/Gmail/MSN IM:  lawwton

-- 
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: ff11 gwt dev plugin

2012-04-27 Thread Juan Pablo Gardella
http://acleung.com/ff12-win.xpi

El 25 de abril de 2012 12:13, guy2  escribió:

> Hello Alan,
>
>
> Mozilla have just released FF 12.
>
> Can you please compile the plugin for FF 12 ?
>
> Personnally, I need the version for Win XP 32bits and Win 7 32/64 bits.
>
> FYI, Mozilla changed at the end of 2011 (if I remember well) their policy
> about releasing FF.
> Now, they release a new version every 6 weeks (FF12 has been released in
> fact 5 weeks after FF11).
>
>
> Best regards,
>
> Guy2
>
>
> Le vendredi 16 mars 2012 20:58:34 UTC+1, Alan Leung a écrit :
>
>> Wow! I didn't know it was released already.
>>
>> Some how I thought I had more time until FF11. I'll get on it. thanks for
>> the reminder.
>>
>>
>> -Alan
>>
>>
>> On Fri, Mar 16, 2012 at 7:08 AM, Olivier Scherler <
>> oliv...@gasser-media.ch> wrote:
>>
>>> I’m wondering, how long until Mozilla releases new version of Firefox
>>> faster than the GWT community can recompile the plugin?
>>>
>>>
>>> On 16 March 2012 14:25, Fabricio Pizzichillo wrote:
>>>
 Hello Alan.
 Can you compile the plugin for FF11?

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

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



Re: How to stop the move to Place

2012-04-27 Thread Alfredo Quiroga-Villamil
Hi:

I am not 100% sure what you are trying to do, but in your current
activity, you can override "mayStop()". That would be one possible way
to intercept and potentially cancel going to a new place.

If that doesn't do what you need, please provide a little example of
what the ultimate goal is to see what options are available depending
on your use case.

Best regards,

Alfredo

On Fri, Apr 27, 2012 at 8:33 AM, st1ll  wrote:
> Hello.
> I need to create model window, which appears, when I try to go from
> current page via links.
> I may initiate the creation of window into onPlaceChangeRequest
> (PlaceChangeRequestEvent.Handler ()).
> But I dont know, how to interrupt the process of transition.
> It is possible?
>
> --
> 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.
>



-- 
Alfredo Quiroga-Villamil

AOL/Yahoo/Gmail/MSN IM:  lawwton

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



Re: How to set a Font for all the compoent in GWT

2012-04-27 Thread Ashwin Desikan
Daya,

Define a font in your CSS or ui:binder  and add it as a style for the widget by 
using any of the styleName or addStyleName properties of the widget

Thanks
Ashwin
Sent from my iPhone

On Apr 27, 2012, at 6:34 PM, Dayananda B V  wrote:

> Hi All,
> 
> I need to set different  font other than default font which will come
> CLEAN Theme. (Arial)
> Is i need to set style property for individual component ?
> 
> Appreciate your help.
> 
> Thanks
> Daya
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-web-toolkit?hl=en.
> 

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



Re: Request Context clear queue on method invocations when onConstraintViolation is called

2012-04-27 Thread Jens
Don't enqueue requestContext.saveMember(..).to(..) in the save button 
ClickHandler. Do it once when you start editing the proxy and in your 
ClickHandler you only need to do editorDriver.flush().fire().

-- J.


Am Freitag, 27. April 2012 12:32:28 UTC+2 schrieb Alex Vakaloudis:
>
> To perform save  in a view I am using RequestFactoryEditorDriver to flush 
> any changes to a RequestContext and then I call 
>
> save(the edited proxy).to(MyReceiver).fire();
>
> MemberRequest s = (MemberRequest)editorDriver.flush();
> MemberProxy sectorProxy = (MemberProxy)getProxy();
> s.saveMember(sectorProxy).to(new MyReceiver()).fire();
>
> MyReceiver has a onConstraintViolation method which displays violations 
> generated in the server. I am using my own 
>  ServiceLayerDecorator.validate() to check for any business-related 
> constraints.
>
> To this point it works fine. However when after more than one attempts the 
> user "fixes" all violations and the entity reaches the service, the save 
> method is invoked multiple times (as many attempts it took to pass 
> validation). I understand that  this is because the request context is 
> queuing all method invocations and by calling onConstraintViolation. this 
> queue is not cleared and this leads to multiple calls to the server.
>
> My question is how/where to clear the request context of any method 
> invocations that have lead to the call of onConstraintViolation 
>
> thanks in Advance
> Alex
>

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



How to set a Font for all the compoent in GWT

2012-04-27 Thread Dayananda B V
Hi All,

I need to set different  font other than default font which will come
CLEAN Theme. (Arial)
Is i need to set style property for individual component ?

Appreciate your help.

Thanks
Daya

-- 
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: Preventing selection event propagation

2012-04-27 Thread Jens
Tab(Layout)Panel's SelectionEvent is a GwtEvent and not a DomEvent, so its 
only a logical event fired by GWT and not a native event fired by the 
browser. Thats why you don't have a stopPropagation() / preventDefault() 
method.

But TabPanel and TabLayoutPanel have an addBeforeSelectionHandler() and the 
BeforeSelectionEvent contains a cancel() method which should cancel the 
upcoming selection. This should help you to solve your problem.

-- J.


Am Freitag, 27. April 2012 13:45:19 UTC+2 schrieb ALB-PSP-DV1:
>
> Our application has two tabs. On selecting the tabs we have to display 
> a confirmation window(dialog box). Depending on whether user clicks 
> "Yes" or "No" button in the confirmation window, the tab selection 
> event should proceed or stop. 
>
> I know we have event.stopPropagation() method for click event. However 
> there is no such method for selection event. 
>
> Is there any work around to stop the propagation of the selection 
> event. Any help is much appreciated. 
>
> Thanks in advance.

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



Re: GWT RequestBuilder not working in Chrome and FireFox

2012-04-27 Thread Alfredo Quiroga-Villamil
SOP violation. You seem to be sending a request crossing domains.

Look up Same Origin Policy online for more info.

Regards,

Alfredo
On Apr 27, 2012 8:37 AM, "the.wizard"  wrote:

> Hi everyone,
> I have a problem with RequestBuilder. When I run my code that using
> RequestBuilder in IE 8, it's working well, but in Chrome and FireFox,
> it just keep returning empty string. When I tried to debug it, the
> response is "com.google.gwt.http.client.Request$1@5a7667be", and have
> no headers, the code is 0. I also get an exception like this :
> 07:33:50.734 [ERROR] [chameleonmain] Uncaught exception escaped
>
> com.google.gwt.dev.shell.BrowserChannel$RemoteDeathError: Remote
> connection lost
>at
>
> com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:
> 354)
>at
>
> com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:
> 218)
>at
> com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:
> 136)
>at
> com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:
> 561)
>at
> com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:
> 269)
>at
>
> com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:
> 91)
>at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
>at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:213)
>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
> 39)
>at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
> 25)
>at java.lang.reflect.Method.invoke(Method.java:597)
>at
> com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
>at
> com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
>at
>
> com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:
> 172)
>at
>
> com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:
> 292)
>at
>
> com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:
> 546)
>at
>
> com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:
> 363)
>at java.lang.Thread.run(Thread.java:662)
> Caused by: java.net.SocketException: Connection reset by peer: socket
> write error
>at java.net.SocketOutputStream.socketWrite0(Native Method)
>at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:
> 92)
>at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
>at
> java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
>at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:
> 123)
>at java.io.DataOutputStream.flush(DataOutputStream.java:106)
>at com.google.gwt.dev.shell.BrowserChannel
> $ReturnMessage.send(BrowserChannel.java:1310)
>at com.google.gwt.dev.shell.BrowserChannel
> $ReturnMessage.send(BrowserChannel.java:1315)
>at
>
> com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:
> 340)
>at
>
> com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:
> 218)
>at
> com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:
> 136)
>at
> com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:
> 561)
>at
> com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:
> 269)
>at
>
> com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:
> 91)
>at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
>at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:213)
>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
> 39)
>at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
> 25)
>at java.lang.reflect.Method.invoke(Method.java:597)
>at
> com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
>at
> com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
>at
>
> com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:
> 172)
>at
>
> com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:
> 292)
>at
>
> com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:
> 546)
>at
>
> com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:
> 363)
>at java.lang.Thread.run(Thread.java:662)
>
> Is there any way to solve this problem?
> Here is my code :
> RequestBuilder request = new RequestBuilder(RequestBuilder.GET, url);
> request.setHeader("Content-Type", "text/html");
> RequestCallback callback = new RequestCallback() {
>@Ov

Re: Preventing selection event propagation

2012-04-27 Thread Ashwin Desikan
Do u use activities in your app? If yes do you have an activity mapped to each 
of your tabs? You have a mayStop method in activities which can be used to stop 
the user from navigating from current activity. 

~Ashwin

Sent from my iPhone

On Apr 27, 2012, at 5:15 PM, ALB-PSP-DV1  wrote:

> Our application has two tabs. On selecting the tabs we have to display
> a confirmation window(dialog box). Depending on whether user clicks
> "Yes" or "No" button in the confirmation window, the tab selection
> event should proceed or stop.
> 
> I know we have event.stopPropagation() method for click event. However
> there is no such method for selection event.
> 
> Is there any work around to stop the propagation of the selection
> event. Any help is much appreciated.
> 
> Thanks in advance.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-web-toolkit?hl=en.
> 

-- 
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: Firefox 12 release

2012-04-27 Thread yassine
works perfect on ubuntu 11.10 thanks.

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



How to stop the move to Place

2012-04-27 Thread st1ll
Hello.
I need to create model window, which appears, when I try to go from
current page via links.
I may initiate the creation of window into onPlaceChangeRequest
(PlaceChangeRequestEvent.Handler ()).
But I dont know, how to interrupt the process of transition.
It is possible?

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



Re: Can UI components be tested through JUnit/GWTTestCase?

2012-04-27 Thread Clint Gilbert
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I've been able to test Widgets with JUnit in a project I'm working on.
I'm able to make widgets, see that they respond to external events
(notifications about state they observe, or event types they're
subscribed to via an EventBus, that sort of thing), and even send UI
events to them:

final MyWidget myWidget = new MyWidget(...);

myWidget.someButton.fireEvent(new ClickEvent() { });

//assert that the right things happened

The anonymous subclass of ClickEvent feels a little hacky, but it works
for us because our widgets (for the most part) just care that they got
clicked, they don't care about x and y coords, etc etc.

Writing the tests was relatively straightforward, but getting them to
run as part of a Maven build took some doing. A pom with all the
necessary incantations is here:

https://open.med.harvard.edu/svn/shrine/trunk/code/webclient/pom.xml

I don't know if that's minimal or not; I started with what was generated
by the gwt-maven-plugin, and tweaked the pom until it did what I wanted.
:/  We use a TestSuite (ugh) and follow the naming conventions for test
classes and suites recommended by the gwt-maven-plugin docs.

On 04/24/2012 04:50 PM, King_V wrote:
> Ok, I found some old messages (several years old) that says this
> cannot be done.
> 
> However, when I look at:
> https://developers.google.com/web-toolkit/doc/latest/DevGuideTesting#DevGuideJUnitSetUp
> 
> this seems to imply that you can actually test GUI items on a browser
> with such tests.  I might well be completely misinterpreting what it's
> there for, though.
> 
> However, I'm baffled as to how to do so.
> 
> For example, I might normally put MyWidget into the RootPanel as
> follows:
> 
> RootPanel.get().add(new MyWidget("Some text here"));
> 
> 
> But how would I do this in a JUnit test case / GWTTestCase?
> 
> Thanks.
> 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAk+XRSEACgkQ0GFaTS4nYxviVACeMqLdXljCkWI3lrS9tCDBulvF
pqkAn24TZuVGsdOccZTBDCWlGsGjpMi/
=G4pS
-END PGP SIGNATURE-

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



How to add External Java Classes to GWT Project?

2012-04-27 Thread Danish
Hi im new in this some one Guide me...

i create a java project

import java.sql.DriverManager;

public class DB_Conn {

private java.sql.Connection con = null;
//private final String url = "jdbc:microsoft:sqlserver://";
private final String serverName = "192.168.1.103";
//private final String portNumber = "1433";
private final String databaseName = "sdportaldb1";
private final String userName = "sddb1ownr";
private final String password = "judgmentDAY786";

// Informs the driver to use server a side-cursor,
// which permits more than one active statement
// on a connection.
//private final String selectMethod = "cursor";

public DB_Conn() {
}

private java.sql.Connection getConnection() {
try {
// Note: this class name changes for ms sql
server 2000 thats it
// It has to match the JDBC library that goes
with ms sql 2000
 
Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");
con =
DriverManager.getConnection(getConnectionUrl());

if (con != null)
System.out.println("Connection
Successful!");
} catch (Exception e) {
e.printStackTrace();
System.out.println("Error Trace in
getConnection() : "
+ e.getMessage());
}
return con;
}

private String getConnectionUrl() {
String url = "jdbc:sqlserver://" + serverName +
";user=" + userName
+ ";password=" + password +
";databaseName=" + databaseName
+ ";";
return url;
}

/*
 Display the driver properties, database details
 */

public void displayDbProperties() {
java.sql.DatabaseMetaData dm = null;
java.sql.ResultSet rs = null;
try {
con = this.getConnection();
if (con != null) {
dm = con.getMetaData();
System.out.println("Driver
Information");
System.out.println("\tDriver Name: " +
dm.getDriverName());
System.out
.println("\tDriver
Version: " + dm.getDriverVersion());
System.out.println("\nDatabase
Information ");
System.out.println("\tDatabase Name: "
+
dm.getDatabaseProductName());
System.out.println("\tDatabase
Version: "
+
dm.getDatabaseProductVersion());
System.out.println("Avalilable
Catalogs ");
rs = dm.getCatalogs();
while (rs.next()) {
System.out.println("\tcatalog:
" + rs.getString(1));
}
rs.close();
rs = null;
closeConnection();
} else
System.out.println("Error: No active
Connection");
} catch (Exception e) {
e.printStackTrace();
}
dm = null;
}

private void closeConnection() {
try {
if (con != null)
con.close();
con = null;
} catch (Exception e) {
e.printStackTrace();
}
}

public static void main(String[] args) throws Exception {
DB_Conn myDbTest = new DB_Conn();
myDbTest.displayDbProperties();
}
}

and now i wana use this class in GWT Project

how i used it some one guide me plz

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



Request Context clear queue on method invocations when onConstraintViolation is called

2012-04-27 Thread Alex Vakaloudis
To perform save  in a view I am using RequestFactoryEditorDriver to flush 
any changes to a RequestContext and then I call 

save(the edited proxy).to(MyReceiver).fire();

MemberRequest s = (MemberRequest)editorDriver.flush();
MemberProxy sectorProxy = (MemberProxy)getProxy();
s.saveMember(sectorProxy).to(new MyReceiver()).fire();

MyReceiver has a onConstraintViolation method which displays violations 
generated in the server. I am using my own 
 ServiceLayerDecorator.validate() to check for any business-related 
constraints.

To this point it works fine. However when after more than one attempts the 
user "fixes" all violations and the entity reaches the service, the save 
method is invoked multiple times (as many attempts it took to pass 
validation). I understand that  this is because the request context is 
queuing all method invocations and by calling onConstraintViolation. this 
queue is not cleared and this leads to multiple calls to the server.

My question is how/where to clear the request context of any method 
invocations that have lead to the call of onConstraintViolation 

thanks in Advance
Alex

-- 
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/-/-xRnHK7QqzEJ.
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: chrome - prompting me to install gwt plugin but already installed

2012-04-27 Thread Xavophonic
Hi,

Here is my configuration

Google Web Toolkit 2.0.4 on my server Jetty.
Chrome version 18.0.1025.162 m
Windows XP PS3.
Google Web Toolkit Developer Plugin version 1.0.9738.

After installed the plugin, I restart Chrome. I come back to my
development page. I still have got the message : "Development Mode
requires the Google Web Toolkit Developer Plugin". I tried the former
URLs to an old version of the plugin, but they are broken.

Publishing the old version of the plugin in the extention gallery
would be helpfull.

Could someone help me ?

Best regards,

Xavier

-- 
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: chrome - prompting me to install gwt plugin but already installed

2012-04-27 Thread Xavophonic
Hello,

I have got the same problem. Here is my Congiguration

Eclipse 3.5
Google Web Toolkit 2.0.4
Chrome 18.0.1025.162 m
GWT Developer Plugin1.0.9738 (enabled)
The options of the plugin are :
localhost   Include
127.0.0.1:1460  Include
127.0.0.1:9997  Include
127.0.0.1   Include
127.0.0.1:  Include

I run my Application with the Jetty Server by rick-clicking in Eclipse
and select Run as + g Web Application.
Then I richt click in the Development Mode tab on the url and select
Open With : Google Chrome.
A page is diplayed : "Development Mode requires the Google Web Toolkit
Developer Plugin"

I haved tried to install the old version of the plugins but the URLs
displayed above are now broken.

Can someone help me ?

Best regards,

Xavier

-- 
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: Compile Gin-enabled GWT application with ant

2012-04-27 Thread Sergey Stupin
I find the answer. Modify classpath by adding your compiled GWT classes 
(that's why GWT compiler could not found it), because GIN needs class files 
to compile successfully.
 
 
  
  
  

It helps to me.

суббота, 12 декабря 2009 г., 23:16:58 UTC+4 пользователь Chris написал:
>
> Hi 
>
> I'm trying to build by gwt application with ant. I can succesfully 
> compile everything together, but I'm having trouble actually doing the 
> gwt-compile. 
>
> These are what my two tasks look like: 
>
>  
>  
>  classpathref="classpath"> 
>  
>  
>
>  
>  failonerror="true" 
> fork="true" 
> classname="com.google.gwt.dev.Compiler" 
> > 
>
>  
>
>  
>
>  
>  value="com.tyndalehouse.step.web.stepwebapp"/> 
>  
>
>
> I get the following errors: 
>
>
>
> compile-gwt: 
>  [java] Compiling module com.tyndalehouse.step.web.stepwebapp 
>  [java]Resolving 
> com.tyndalehouse.step.web.client.gin.StepInjector 
>  [java]   Found type 
> 'com.tyndalehouse.step.web.client.gin.StepInjector' 
>  [java]  [ERROR] Annotation error: cannot resolve 
> com.tyndalehouse.step.web.client.gin.StepClientModule 
>  [java] java.lang.ClassNotFoundException: 
> com.tyndalehouse.step.web.client.gin.StepClientModule 
>  [java] at 
> java.net.URLClassLoader$1.run(URLClassLoader.java:200) 
>  [java] at java.security.AccessController.doPrivileged(Native 
> Method) 
>  [java] at 
> java.net.URLClassLoader.findClass(URLClassLoader.java: 
> 188) 
>  [java] at 
> java.lang.ClassLoader.loadClass(ClassLoader.java:307) 
>  [java] at sun.misc.Launcher$AppClassLoader.loadClass 
> (Launcher.java:301) 
>  [java] at 
> java.lang.ClassLoader.loadClass(ClassLoader.java:252) 
>  [java] at java.lang.ClassLoader.loadClassInternal 
> (ClassLoader.java:320) 
>  [java] at java.lang.Class.forName0(Native Method) 
>  [java] at java.lang.Class.forName(Class.java:247) 
>  [java] at 
> com.google.gwt.dev.javac.TypeOracleMediator.resolveAnnotationValue 
> (TypeOracleMediator.java:666) 
>  [java] at 
> com.google.gwt.dev.javac.TypeOracleMediator.resolveAnnotationValue 
> (TypeOracleMediator.java:605) 
>  [java] at 
> com.google.gwt.dev.javac.TypeOracleMediator.createAnnotation 
> (TypeOracleMediator.java:399) 
>  [java] at 
> com.google.gwt.dev.javac.TypeOracleMediator.resolveAnnotation 
> (TypeOracleMediator.java:568) 
>  [java] at 
> com.google.gwt.dev.javac.TypeOracleMediator.resolveAnnotations 
> (TypeOracleMediator.java:583) 
>  [java] at 
> com.google.gwt.dev.javac.TypeOracleMediator.resolveClass 
> (TypeOracleMediator.java:724) 
>  [java] at 
> com.google.gwt.dev.javac.TypeOracleMediator.addNewUnits 
> (TypeOracleMediator.java:353) 
>  [java] at 
> com.google.gwt.dev.javac.CompilationState.assimilateUnits 
> (CompilationState.java:135) 
>  [java] at com.google.gwt.dev.javac.CompilationState. 
> (CompilationState.java:79) 
>  [java] at 
> com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom 
> (CompilationStateBuilder.java:284) 
>  [java] at 
> com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom 
> (CompilationStateBuilder.java:181) 
>  [java] at 
> com.google.gwt.dev.cfg.ModuleDef.getCompilationState 
> (ModuleDef.java:280) 
>  [java] at com.google.gwt.dev.Precompile.precompile 
> (Precompile.java:502) 
>  [java] at com.google.gwt.dev.Precompile.precompile 
> (Precompile.java:414) 
>  [java] at com.google.gwt.dev.Compiler.run(Compiler.java:201) 
>  [java] at 
> com.google.gwt.dev.Compiler$1.run(Compiler.java:152) 
>  [java] at com.google.gwt.dev.CompileTaskRunner.doRun 
> (CompileTaskRunner.java:87) 
>  [java] at 
> com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger 
> (CompileTaskRunner.java:81) 
>  [java] at com.google.gwt.dev.Compiler.main(Compiler.java:159) 
>  [java]  [ERROR] Annotation error: expected class 
> java.lang.Class, got null 
>  [java]Scanning for additional dependencies: file:/D:/STEPSVN/ 
> StepWebApp/src/main/java/com/tyndalehouse/step/web/client/ 
> StepEntryPoint.java 
>  [java]   Computing all possible rebind results for 
> 'com.tyndalehouse.step.web.client.gin.StepInjector' 
>  [java]  Rebinding 
> com.tyndalehouse.step.web.client.gin.StepInjector 
>  [java] Invoking 
> com.google.gwt.dev.javac.StandardGeneratorContext@1b7e7e1 
>  [java]   

Re: Firefox 12 release

2012-04-27 Thread mark
Can you also create the Windows xpi? Thanks man.

-- 
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: Firefox 12 release

2012-04-27 Thread Daniel Dunér
Thank you Allan, you are a hero!

Windows? Heh.. how quaint.

On Thursday, April 26, 2012 3:45:52 PM UTC+2, Marcel Stör wrote:
>
> What about Windows?

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



GWT applications session management

2012-04-27 Thread Adio
Hi guys, i am a new to GWT applications to AJAX applications in
general. i am making sample applications, to learn GWT applications. I
am creating a very simple bank system -ok, by very simple i mean very
very simple- and i reached the part the authentication and
authorization logic is needed.

Can someone explain the authentication logic in GWT apps ?

Anyone explain the entire authentication and authorization logic in
Ajax application ?

Session management in Ajax applications ?

If you don't want to bother yourselves with explaining and code
writing any useful links will be fine.

Thank you very mush.

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



Clear queue method invocations on RequestContext

2012-04-27 Thread Alex Vakaloudis
To perform a save  in a view I am using the RequestFactoryEditorDriver to 
flush any changes to a RequestContext and then I call save(the edited 
proxy).to(MyReceiver).fire();

MemberRequest s = (MemberRequest)editorDriver.flush();
MemberProxy sectorProxy = (MemberProxy)getProxy();
s.saveMember(sectorProxy).to(new MyReceiver()).fire();

MyReceiver has a onConstraintViolation method which displays violations 
generated in the server. I am using my own ServiceLayerDecorator.validate() 
to check for any business-related constraints.

To this point it works fine. However when after more than one  attempts the 
user finally "fixes" all violations and the entity reaches the service 
layer, the save method is invoked multiple times (as many attempts it took 
to pass validation). I understand that this is because the request context 
is queuing all method invocations and by calling onConstraintViolation. 
this queue is not cleared. As a result, when it passes validation there is 
a number of onvocations for saving which all then succeed in inserting to 
the database.

My question is how/where to clear the request context of any method 
invocations that have lead to the call of onConstraintViolation so the save 
to the service layer is called once only.

thanks in Advance
Alex

-- 
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/-/FqrtGq3fvxAJ.
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: Firefox 12 release

2012-04-27 Thread Mark Piergrossi
I second that - for Windows.

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



GWT + Hibernate + hsqldb

2012-04-27 Thread rahul.gamit89
Hello i have created a simple GWT application which allows user to
add  Name,address,email,sex and phone number.

E.G On UI there is 4 text boxes for Name,address,phone,email and
select box for sex

I have implemented hibernate and hsqldb, but when i am running the
program it gives me the following error.

[TRACE] [gwt_hibernate] - Finding entry point classes
[ERROR] [gwt_hibernate] - Errors in 'file:/I:/PROJECTS/gwt_hibernate/
src/gwt_hibernate/client/Gwt_hibernate.java'
[ERROR] [gwt_hibernate] - Line 39: The import
org.hibernate.HibernateException cannot be resolved
[ERROR] [gwt_hibernate] - Line 40: The import 
org.hibernate.Session
cannot be resolved
[ERROR] [gwt_hibernate] - Line 41: The import
org.hibernate.SessionFactory cannot be resolved
[ERROR] [gwt_hibernate] - Line 42: The import
org.hibernate.Transaction cannot be resolved
[ERROR] [gwt_hibernate] - Line 43: The import org.hibernate.cfg
cannot be resolved
[ERROR] [gwt_hibernate] - Line 164: SessionFactory cannot be
resolved to a type
[ERROR] [gwt_hibernate] - Line 166: Configuration cannot be 
resolved
to a type
[ERROR] [gwt_hibernate] - Line 168: Session cannot be resolved 
to a
type
[ERROR] [gwt_hibernate] - Line 191: HibernateException cannot be
resolved to a type
[ERROR] [gwt_hibernate] - Unable to find type
'gwt_hibernate.client.Gwt_hibernate'
[ERROR] [gwt_hibernate] - Hint: Previous compiler errors may 
have
made this type unavailable
[ERROR] [gwt_hibernate] - Hint: Check the inheritance chain from
your module; it may not be inheriting a required module or a module
may not be adding its source path entries properly
[ERROR] [gwt_hibernate] - Failed to load module 'gwt_hibernate' from
user agent 'Mozilla/5.0 (Windows NT 6.1) AppleWebKit/535.19 (KHTML,
like Gecko) Chrome/18.0.1025.162 Safari/535.19' at activate.adobe.com:
60298


I have created one hibernate.cfg.xml file, one persistent class and
other xml file.

Here is the code i did.

Persistent Class: cls_tbl_user
package gwt_hibernate.client;

public class cls_tbl_user
{

private String id;
private String name;
private String address;
private String email;
private String phone;
private String sex;

public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getAddress() {
return address;
}
public void setAddress(String address) {
this.address = address;
}
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public String getPhone() {
return phone;
}
public void setPhone(String phone) {
this.phone = phone;
}
public String getSex() {
return sex;
}
public void setSex(String sex) {
this.sex = sex;
}

}



hibernate.cfg.xml


http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd";>





org.hsqldb.jdbcDriver
jdbc:hsqldb:file:i:/HSQLDB/
test1db
SA


   
1


org.hibernate.dialect.HSQLDialect


thread


org.hibernate.cache.NoCacheProvider


true












cls_tbl_user.hbm.xml



 http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd";>













and following is the entrypoint class

Gwt_hibernate.java

public class Gwt_hibernate implements EntryPoint {
/**

/**
 * This is the entry point method.
 */
public void onModuleLoad() {
final FormPanel form_panel = new FormPanel();
form_panel.setAction("/my_from_handler");
form_panel.setEncoding(FormPanel.ENCODING_MULTIPART);
form_panel.setMethod(FormPanel.METHOD_POST);

VerticalPanel vertical_panel = new VerticalPanel();
HorizontalPanel hori_panel = new HorizontalPanel();

form_panel.setWidget(hori_panel);



DatePicker datePicker = new DatePicker();
final Label text = new Label();

datePicker.addValueChangeHandler(new ValueChangeHandler() 
{

@Override
public void onValueChange(ValueChangeEvent event) 
{
// TODO Auto-generated method stub
Date date = event.getValue();
   

Problem requiring GWT app to use HTTPS

2012-04-27 Thread David Robison
I have a GWT app that has been running fine over HTTP. I now want to
restrict it to using HTTPS. I've modified the web.xml file as follows:


http://java.sun.com/dtd/web-app_2_3.dtd";>



  
guiceFilter
com.google.inject.servlet.GuiceFilter
  

  
guiceFilter
/*
  

  
com.orci.vicads.server.AppConfigListener
  

  
AlarmClips.html
  

  

securedapp
/*


CONFIDENTIAL

  



I am running inside of JBoss AS5. When JBoss tries to startup the app
I get the following error:

ERROR org.apache.catalina.core.ContainerBase.[jboss.web].
[localhost].[/ORCI-GWT-V5MilestoneAlarmClips-1.0]  Error configuring
application listener of class com.orci.vicads.server.AppConfigListener
java.lang.ClassNotFoundException:
com.orci.vicads.server.AppConfigListener

However, when I remove the security-constraint, the app starts up
normally. Am I doing something wrong?
Thanks, David

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



Please - I 2nd the request for a Windows plugin

2012-04-27 Thread mark
Thanks Alan.

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



Dynamic CompositeCell

2012-04-27 Thread Aoxiang Cui
The title is too short, let me explain and simplify my situation.

Say, I have a dto which contains a list of Booleans. I need a column whose 
cell looks like below:

item_1  checkbox_1
item_2  checkbox_2
...
item_n  checkbox_n

If n is a fixed number, it is fine to use CompositeCell. The problem is we 
don't know the size of list and each cell can have different list size.
Is there any way to extend CompositeCell so as to make it support my 
situation. Or maybe I should write a new Cell?

-- 
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/-/slhetcYlVBsJ.
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: ff11 gwt dev plugin

2012-04-27 Thread guy2
Hello Alan,


Mozilla have just released FF 12.

Can you please compile the plugin for FF 12 ?

Personnally, I need the version for Win XP 32bits and Win 7 32/64 bits.

FYI, Mozilla changed at the end of 2011 (if I remember well) their policy 
about releasing FF.
Now, they release a new version every 6 weeks (FF12 has been released in 
fact 5 weeks after FF11).


Best regards,

Guy2


Le vendredi 16 mars 2012 20:58:34 UTC+1, Alan Leung a écrit :
>
> Wow! I didn't know it was released already.
>
> Some how I thought I had more time until FF11. I'll get on it. thanks for 
> the reminder.
>
>
> -Alan
>
>
> On Fri, Mar 16, 2012 at 7:08 AM, Olivier Scherler  > wrote:
>
>> I’m wondering, how long until Mozilla releases new version of Firefox 
>> faster than the GWT community can recompile the plugin?
>>
>>
>> On 16 March 2012 14:25, Fabricio Pizzichillo wrote:
>>
>>> Hello Alan.
>>> Can you compile the plugin for FF11?
>>>
>>> regards
>>
>>  -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Google Web Toolkit" group.
>> To post to this group, send email to google-web-toolkit@googlegroups.com.
>> To unsubscribe from this group, send email to 
>> google-web-toolkit+unsubscr...@googlegroups.com.
>> For more options, visit this group at 
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>
>

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



GWT RequestBuilder not working in Chrome and FireFox

2012-04-27 Thread the.wizard
Hi everyone,
I have a problem with RequestBuilder. When I run my code that using
RequestBuilder in IE 8, it's working well, but in Chrome and FireFox,
it just keep returning empty string. When I tried to debug it, the
response is "com.google.gwt.http.client.Request$1@5a7667be", and have
no headers, the code is 0. I also get an exception like this :
07:33:50.734 [ERROR] [chameleonmain] Uncaught exception escaped

com.google.gwt.dev.shell.BrowserChannel$RemoteDeathError: Remote
connection lost
at
com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:
354)
at
com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:
218)
at
com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:
136)
at
com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:
561)
at
com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:
269)
at
com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:
91)
at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:213)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
at
com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
at
com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:
172)
at
com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:
292)
at
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:
546)
at
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:
363)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.net.SocketException: Connection reset by peer: socket
write error
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:
92)
at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
at
java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:
123)
at java.io.DataOutputStream.flush(DataOutputStream.java:106)
at com.google.gwt.dev.shell.BrowserChannel
$ReturnMessage.send(BrowserChannel.java:1310)
at com.google.gwt.dev.shell.BrowserChannel
$ReturnMessage.send(BrowserChannel.java:1315)
at
com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:
340)
at
com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:
218)
at
com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:
136)
at
com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:
561)
at
com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:
269)
at
com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:
91)
at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:213)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
at
com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
at
com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:
172)
at
com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:
292)
at
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:
546)
at
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:
363)
at java.lang.Thread.run(Thread.java:662)

Is there any way to solve this problem?
Here is my code :
RequestBuilder request = new RequestBuilder(RequestBuilder.GET, url);
request.setHeader("Content-Type", "text/html");
RequestCallback callback = new RequestCallback() {
@Override
public void onResponseReceived(Request request, Response response) {
String userIdentity = response.getText();
}

@Override
public void onError(Request request, Throwable exception) {
exception.printStackTrace();
}
};
request.sendRequest(null, callback);

Please anyone kindly help me to solve this problem.
Thank you.

Regards,
W

GWT SERIALIZATION PROBLEM

2012-04-27 Thread Nitheesh Chandran
Hello  Guys ,

I have a problem ,I want to save an object to the database. I passed
the object to the server using a function. Like this
http://www.easywayserver.com/blog/how-to-serializable-object-in-java-2/.
But my RPC is getting failed every time. What will be the problem ? i
used isSerializable marker interface for serialization. Cant we send
client object to the server through RPC?

-- 
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: Compile Gin-enabled GWT application with ant

2012-04-27 Thread Sergey Stupin
I have exactly the same problem. I've been spent already 2 days researching 
this case. How can I fix this f***ing error?

суббота, 12 декабря 2009 г., 23:16:58 UTC+4 пользователь Chris написал:
>
> Hi 
>
> I'm trying to build by gwt application with ant. I can succesfully 
> compile everything together, but I'm having trouble actually doing the 
> gwt-compile. 
>
> These are what my two tasks look like: 
>
>  
>  
>  classpathref="classpath"> 
>  
>  
>
>  
>  failonerror="true" 
> fork="true" 
> classname="com.google.gwt.dev.Compiler" 
> > 
>
>  
>
>  
>
>  
>  value="com.tyndalehouse.step.web.stepwebapp"/> 
>  
>
>
> I get the following errors: 
>
>
>
> compile-gwt: 
>  [java] Compiling module com.tyndalehouse.step.web.stepwebapp 
>  [java]Resolving 
> com.tyndalehouse.step.web.client.gin.StepInjector 
>  [java]   Found type 
> 'com.tyndalehouse.step.web.client.gin.StepInjector' 
>  [java]  [ERROR] Annotation error: cannot resolve 
> com.tyndalehouse.step.web.client.gin.StepClientModule 
>  [java] java.lang.ClassNotFoundException: 
> com.tyndalehouse.step.web.client.gin.StepClientModule 
>  [java] at 
> java.net.URLClassLoader$1.run(URLClassLoader.java:200) 
>  [java] at java.security.AccessController.doPrivileged(Native 
> Method) 
>  [java] at 
> java.net.URLClassLoader.findClass(URLClassLoader.java: 
> 188) 
>  [java] at 
> java.lang.ClassLoader.loadClass(ClassLoader.java:307) 
>  [java] at sun.misc.Launcher$AppClassLoader.loadClass 
> (Launcher.java:301) 
>  [java] at 
> java.lang.ClassLoader.loadClass(ClassLoader.java:252) 
>  [java] at java.lang.ClassLoader.loadClassInternal 
> (ClassLoader.java:320) 
>  [java] at java.lang.Class.forName0(Native Method) 
>  [java] at java.lang.Class.forName(Class.java:247) 
>  [java] at 
> com.google.gwt.dev.javac.TypeOracleMediator.resolveAnnotationValue 
> (TypeOracleMediator.java:666) 
>  [java] at 
> com.google.gwt.dev.javac.TypeOracleMediator.resolveAnnotationValue 
> (TypeOracleMediator.java:605) 
>  [java] at 
> com.google.gwt.dev.javac.TypeOracleMediator.createAnnotation 
> (TypeOracleMediator.java:399) 
>  [java] at 
> com.google.gwt.dev.javac.TypeOracleMediator.resolveAnnotation 
> (TypeOracleMediator.java:568) 
>  [java] at 
> com.google.gwt.dev.javac.TypeOracleMediator.resolveAnnotations 
> (TypeOracleMediator.java:583) 
>  [java] at 
> com.google.gwt.dev.javac.TypeOracleMediator.resolveClass 
> (TypeOracleMediator.java:724) 
>  [java] at 
> com.google.gwt.dev.javac.TypeOracleMediator.addNewUnits 
> (TypeOracleMediator.java:353) 
>  [java] at 
> com.google.gwt.dev.javac.CompilationState.assimilateUnits 
> (CompilationState.java:135) 
>  [java] at com.google.gwt.dev.javac.CompilationState. 
> (CompilationState.java:79) 
>  [java] at 
> com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom 
> (CompilationStateBuilder.java:284) 
>  [java] at 
> com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom 
> (CompilationStateBuilder.java:181) 
>  [java] at 
> com.google.gwt.dev.cfg.ModuleDef.getCompilationState 
> (ModuleDef.java:280) 
>  [java] at com.google.gwt.dev.Precompile.precompile 
> (Precompile.java:502) 
>  [java] at com.google.gwt.dev.Precompile.precompile 
> (Precompile.java:414) 
>  [java] at com.google.gwt.dev.Compiler.run(Compiler.java:201) 
>  [java] at 
> com.google.gwt.dev.Compiler$1.run(Compiler.java:152) 
>  [java] at com.google.gwt.dev.CompileTaskRunner.doRun 
> (CompileTaskRunner.java:87) 
>  [java] at 
> com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger 
> (CompileTaskRunner.java:81) 
>  [java] at com.google.gwt.dev.Compiler.main(Compiler.java:159) 
>  [java]  [ERROR] Annotation error: expected class 
> java.lang.Class, got null 
>  [java]Scanning for additional dependencies: file:/D:/STEPSVN/ 
> StepWebApp/src/main/java/com/tyndalehouse/step/web/client/ 
> StepEntryPoint.java 
>  [java]   Computing all possible rebind results for 
> 'com.tyndalehouse.step.web.client.gin.StepInjector' 
>  [java]  Rebinding 
> com.tyndalehouse.step.web.client.gin.StepInjector 
>  [java] Invoking 
> com.google.gwt.dev.javac.StandardGeneratorContext@1b7e7e1 
>  [java][ERROR] Generator 
> 'com.google.gwt.inject.rebind.GinjectorGenerator' threw threw an 
> excep

RequestFactory Error -- java.lang.IllegalArgumentException: Something other than a Java object was returned from JSNI method

2012-04-27 Thread Pradeep B Pillai


The following is the other error i get  frequently and this seems like
its more related to request factory
and I dont know why its happening ..Should I open a bug ?

I'm using GWT 2.4, browser Chrome 18.0.1025.1065

One or more exceptions caught, see full set in
UmbrellaException#getCauses -
 CAUSE java.lang.IllegalArgumentException: Something other than a Java
object was returned from JSNI method
'@com.google.web.bindery.autobean.gwt.client.impl.ClientPropertyContext
$Setter::beanSetter(Lcom/google/web/bindery/autobean/shared/impl/
AbstractAutoBean;Ljava/lang/String;)': JS value of type boolean,
expected java.lang.Object
java.lang.IllegalArgumentException: Something other than a Java object
was returned from JSNI method
'@com.google.web.bindery.autobean.gwt.client.impl.ClientPropertyContext
$Setter::beanSetter(Lcom/google/web/bindery/autobean/shared/impl/
AbstractAutoBean;Ljava/lang/String;)': JS value of type boolean,
expected java.lang.Object
 STACKTRACE :
com.google.web.bindery.requestfactory.shared.impl.AbstractRequestContext
$StandardPayloadDialect.processPayload(AbstractRequestContext.java:
387)
com.google.web.bindery.requestfactory.shared.impl.AbstractRequestContext
$5.onTransportSuccess(AbstractRequestContext.java:1108)
com.google.web.bindery.requestfactory.gwt.client.DefaultRequestTransport
$1.onResponseReceived(DefaultRequestTransport.java:136)
com.citrix.ws.democenter.module.shared.client.requestfactory.DemoCenterRequestTransport
$1.onResponseReceived(DemoCenterRequestTransport.java:84)
com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:
287)
com.google.gwt.http.client.RequestBuilder
$1.onReadyStateChange(RequestBuilder.java:395)
sun.reflect.GeneratedMethodAccessor352.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
java.lang.reflect.Method.invoke(Method.java:597)
com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:
172)
com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:
337)
com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:
218)
com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:
136)
com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:
561)
com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:
269)
com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:
91)
com.google.gwt.core.client.impl.Impl.apply(Impl.java)
com.google.gwt.core.client.impl.Impl.entry0(Impl.java:213)
sun.reflect.GeneratedMethodAccessor345.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
java.lang.reflect.Method.invoke(Method.java:597)
com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:
172)
com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:
292)
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:
546)
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:
363)
java.lang.Thread.run(Thread.java:680)
 from
sourceClasscom.google.web.bindery.event.shared.UmbrellaExceptionwith
exception com.google.web.bindery.event.shared.UmbrellaException: One
or more exceptions caught, see full set in UmbrellaException#getCauses

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



Unicode security considerations in GWT

2012-04-27 Thread Endovélico
Are there any real unicode security considerations would should taken
into account when it comes to user input?

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



RequestFactory check if client got most recent proxy

2012-04-27 Thread Kiril P
Hi,

I my requestfactory implementation I have use case where entities can be 
updated by multiple clients.

Is there a way for client to check that it has got latest version of entity 
proxy before trying to save changes?


-- 
Best regards,
Kiril Piskunov

-- 
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/-/t-D1SL93Kp4J.
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: A problem with richtextareas in Firefox 11.0

2012-04-27 Thread antoine

We also have the same issue with FF11 when using multiple richtextareas but 
when we try resizing the screen, the text comes back.

Does anyone have found another way around ?
Any bug report ?

Thanks in advance,
Antoine


Le mardi 17 avril 2012 16:48:56 UTC+2, pop.ionut84 a écrit :
>
> I have the same issue with Firefox 11. The strange thing is that if you 
> investigate with firebug, the text is present in the iframe.
>
> On Thursday, April 5, 2012 6:26:44 PM UTC+3, Niki wrote:
>>
>> Hi,
>> I am developing a web-application with GWT 2.4.It was working pretty 
>> well in all major browsers.Until I upgraded my Firefox 8 with Firefox 11.0.
>> Then only in FF 11 I noticed this problem.
>> The app has one TabPanel at the top.In every tab there are different 
>> number of Richtextarea-s.
>> After loading,all richtextareas on the first tab are working well.
>> The problem rise when I go to some other tab.Then only one richtextarea 
>> per page is working.Namely the first one.
>> All the consequent RTA-s in the tab neither accept the cursor,neither 
>> accept input,neither show the initial text.
>> And this happens in every tab I go,including back to the first one.
>> Do you have any idea, how I can solve this issue?
>> Maybe submit a bug report to Mozilla?
>> I have made a sample app.You can take a look here:
>> http://firefox11problem.appspot.com/Index.html
>> Regards!
>> Niki
>>
>

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



Re: GWT "The type XXX is already defined" error on package-private classes with NO previous definition.

2012-04-27 Thread Darek kay
Since I spent some time searching for a solution, here it is. Don't put top 
level classes like this:

public class1{
}

class2{
}

Although it's a valid java syntax, GWT doesn't seem to handle this very 
well. That's what it should look like:

public class1{
 static class2{
 }
}

-- 
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/-/HBYrUR5lW9wJ.
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: Introducing DataGrid to an older code base

2012-04-27 Thread Stephen Lawlor
I think this might be the underlying problem:
   [ERROR] Errors in 
'jar:file:/C:/Program%20Files/eclipse-i/plugins/com.google.gwt.eclipse.sdkbundle_2.4.0.v201203300216-rel-r37/gwt-2.4.0/gwt-user.jar!/com/google/gwt/user/client/ui/NativeHorizontalScrollbar.java'
  [ERROR]  Internal compiler error
java.lang.AbstractMethodError: 
com.documentum.xerces_2_6_2.xerces.dom.ElementNSImpl.setUserData(Ljava/lang/String;Ljava/lang/Object;Lorg/w3c/dom/UserDataHandler;)Ljava/lang/Object;
at 
com.google.gwt.uibinder.rebind.W3cDocumentBuilder.startElement(W3cDocumentBuilder.java:127)
at 
com.documentum.xerces_2_6_2.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:491)
at 
com.documentum.xerces_2_6_2.xerces.impl.dtd.XMLDTDValidator.startElement(XMLDTDValidator.java:806)
at 
com.documentum.xerces_2_6_2.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:325)
at 
com.documentum.xerces_2_6_2.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(XMLNSDocumentScannerImpl.java:620)
at 
com.documentum.xerces_2_6_2.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1635)
at 
com.documentum.xerces_2_6_2.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:338)
at 
com.documentum.xerces_2_6_2.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:831)
at 
com.documentum.xerces_2_6_2.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:761)
at 
com.documentum.xerces_2_6_2.xerces.parsers.XMLParser.parse(XMLParser.java:152)
at 
com.documentum.xerces_2_6_2.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1184)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
at 
com.google.gwt.uibinder.rebind.W3cDomHelper.documentFor(W3cDomHelper.java:64)
at 
com.google.gwt.uibinder.rebind.UiBinderGenerator.getW3cDoc(UiBinderGenerator.java:201)
at 
com.google.gwt.uibinder.rebind.UiBinderGenerator.generateOnce(UiBinderGenerator.java:171)
at 
com.google.gwt.uibinder.rebind.UiBinderGenerator.generate(UiBinderGenerator.java:127)
at 
com.google.gwt.core.ext.GeneratorExtWrapper.generate(GeneratorExtWrapper.java:48)
at 
com.google.gwt.core.ext.GeneratorExtWrapper.generateIncrementally(GeneratorExtWrapper.java:60)
at 
com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally(StandardGeneratorContext.java:647)
at com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:41)
at 
com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind(StandardRebindOracle.java:78)
at 
com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:268)
at 
com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:257)
at 
com.google.gwt.dev.DistillerRebindPermutationOracle.getAllPossibleRebindAnswers(DistillerRebindPermutationOracle.java:91)
at 
com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.doFindAdditionalTypesUsingRebinds(WebModeCompilerFrontEnd.java:96)
at 
com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.process(AbstractCompiler.java:254)
at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:444)
at 
com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.compile(AbstractCompiler.java:173)
at 
com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.compile(AbstractCompiler.java:288)
at 
com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.access$400(AbstractCompiler.java:139)
at 
com.google.gwt.dev.jdt.AbstractCompiler.compile(AbstractCompiler.java:588)
at 
com.google.gwt.dev.jdt.BasicWebModeCompiler.getCompilationUnitDeclarations(BasicWebModeCompiler.java:97)
at 
com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.getCompilationUnitDeclarations(WebModeCompilerFrontEnd.java:52)
at 
com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:569)
at 
com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:33)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:284)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:233)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:145)
at com.google.gwt.dev.Compiler.run(Compiler.java:232)
at com.google.gwt.dev.Compiler.run(Compiler.java:198)
at com.google.gwt.dev.Compiler$1.run(Compiler.java:170)
at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:88)
at 
com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:82)
at com.google.gwt.dev.Compiler.main(Compiler.java:177)

   [ERROR] Unexpected internal compiler error
java.lang.AbstractMethodError: 
com.documentum.xerces_2_6_2.xerces.dom.ElementNSImpl.setUserData(Ljava/lang/String;Ljava/lang/Object;Lorg/w3c/dom/UserDataHandler;)Ljava/lang/Object;
at 
com.google.gwt.uibinder.rebind.W3cDocumentBuilder.startElement(W3cDocumentBuilder.java:127)
at 
com.documentum.xerces_2_6_2.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:491)

GWT for starters

2012-04-27 Thread sbt
Suggest the book/tutorial to learn "Google Web Toolkit" for 
newbies.?

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



Thoughts on User defined time in the UI

2012-04-27 Thread GlasgowSteve
I would like to have a field in my UI which allows the user to pass a
24h time - I will then use the time to do a search on events occuring
after that time. There should not be a date asociated with the time on
the UI. The time passed should be in the format "hh:mm:ss".

I'm using plain ol' GWT - extensions or addtional libraries are
unavailble here for all intents and purposes (I've seen a few options
in gwt-ext and smartGWT but would rather avoid.

What would be the best method of allowing users to define time in the
UI using core GWT? A textbox which assumes 6 digits (hhmmss) that can
then be parsed? Three seperate text boxes for hour minute second which
would be easier to validate? Extending a Calander Widgit? Another
Widgit I've overlooked that should be considered? Or something I
haven't considered at all?


Thanks for your help

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



Preventing selection event propagation

2012-04-27 Thread ALB-PSP-DV1
Our application has two tabs. On selecting the tabs we have to display
a confirmation window(dialog box). Depending on whether user clicks
"Yes" or "No" button in the confirmation window, the tab selection
event should proceed or stop.

I know we have event.stopPropagation() method for click event. However
there is no such method for selection event.

Is there any work around to stop the propagation of the selection
event. Any help is much appreciated.

Thanks in advance.

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



Re: does any Breedcrumb widget in gwt 2.4?

2012-04-27 Thread 大橋啓介
Hi guys.
I'm one of gwt-bootstrap commiter.

GWT-bootstrap is library to use Twitter's interface library with
Google Web Toolkit.

Right now,we don't provide Breedcrumb widgets.
we don't plan providing it on our first release *yet*.
But we plan to implement all Bootstrap features. ;-)

If you guys have any questions, Please post our mailing list.
http://groups.google.com/group/gwt-bootstrap

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



Entities in GWT 2.4

2012-04-27 Thread Ashu
Hi,
 
I am using GWT2.4 version.
 
how to use value proxies without entities?
 
If possible please provide me some sample example.
 
Thanks

-- 
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/-/VZMr_N4-kSsJ.
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: Runtime exception: com.google.web.bindery.requestfactory.server.UnexpectedException: Could not find static method with a single parameter of a key type

2012-04-27 Thread Ashu
How to initialize entity manager here
Iam not able to intialize this.
 
Could you please help me on this?
On Monday, 23 April 2012 17:21:48 UTC+5:30, Ashu wrote:

> Hi,
>  
> I am getting the above exception while running the GWT application.
>  
> I am using Entity and EntityProxies.
>  
> Below is the code:
>  
> @Entity
> @Table(name = "tlkpState")
> public class State{
> .
> }
> @ProxyFor(value = State.class)
> public interface StateProxy extends EntityProxy {
>   
>  public String getFips();
>  public String getName();
>  EntityProxyId stableId();
> }
> @Service(value = StateServiceImpl.class)
>  public interface StateRequest extends RequestContext {
>   Request> getStates() throws Exception;
>   //Request getStates() throws Exception;
>  }
> in widget.java
> try {
>
> clientFactory.getRequestFactory().stateRequestContext().getStates().fire(new 
> Receiver>(){
> @Override
> public void onSuccess(List response) {
>  // TODO Auto-generated method stub
>  System.out.println("on success");
> }
> 
>  @Override
>  public void onFailure(ServerFailure error) {
>  System.out.println("on Failure");
>  }
>});
>   } catch (Exception e) {
>// TODO Auto-generated catch block
>e.printStackTrace();
>   }
>  
> when i call getstate() method with return type void it is working fine.
> but the same method with return type List it is throwing the 
> following exception:
>  
>  
> * 
>
> com.google.web.bindery.requestfactory.server.UnexpectedException
> *: Could not find static method with a single parameter of a key type 
>
> at com.google.web.bindery.requestfactory.server.ServiceLayerDecorator.die(
> *ServiceLayerDecorator.java:216*) 
>
> at 
> com.google.web.bindery.requestfactory.server.ReflectiveServiceLayer.getFind(
> *ReflectiveServiceLayer.java:253*) 
>
> at 
> com.google.web.bindery.requestfactory.server.ReflectiveServiceLayer.getFind(
> *ReflectiveServiceLayer.java:271*) 
>
> at 
> com.google.web.bindery.requestfactory.server.ReflectiveServiceLayer.getFind(
> *ReflectiveServiceLayer.java:271*) 
>
> at 
> com.google.web.bindery.requestfactory.server.ReflectiveServiceLayer.isLive(
> *ReflectiveServiceLayer.java:200*) 
>
> at 
> com.google.web.bindery.requestfactory.server.ServiceLayerDecorator.isLive(
> *ServiceLayerDecorator.java:116*) 
>
> at 
> com.google.web.bindery.requestfactory.server.LocatorServiceLayer.doIsLive(
> *LocatorServiceLayer.java:186*) 
>
> at com.google.web.bindery.requestfactory.server.LocatorServiceLayer.isLive(
> *LocatorServiceLayer.java:85*) 
>
> at 
> com.google.web.bindery.requestfactory.server.ServiceLayerDecorator.isLive(
> *ServiceLayerDecorator.java:116*) 
>
> at 
> com.google.web.bindery.requestfactory.server.SimpleRequestProcessor.createReturnOperations(
> *SimpleRequestProcessor.java:274*) 
>
> at 
> com.google.web.bindery.requestfactory.server.SimpleRequestProcessor.process(
> *SimpleRequestProcessor.java:232*) 
>
> at 
> com.google.web.bindery.requestfactory.server.SimpleRequestProcessor.process(
> *SimpleRequestProcessor.java:127*) 
>
> at 
> com.google.web.bindery.requestfactory.server.RequestFactoryServlet.doPost(
> *RequestFactoryServlet.java:133*) 
>
> at javax.servlet.http.HttpServlet.service(
> *HttpServlet.java:637*) 
>
> at javax.servlet.http.HttpServlet.service(
> *HttpServlet.java:717*) 
>
> at org.mortbay.jetty.servlet.ServletHolder.handle(
> *ServletHolder.java:487*) 
>
> at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(
> *ServletHandler.java:1097*) 
>
> at com.yieldstar.mpfui.server.MpfAuthFilter.doFilter(
> *MpfAuthFilter.java:41*) 
>
> at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(
> *ServletHandler.java:1088*) 
>
> 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:729*) 
>
> at org.mortbay.jetty.webapp.WebAppContext.handle(
> *WebAppContext.java:405*) 
>
> at org.mortbay.jetty.handler.HandlerWrapper.handle(
> *HandlerWrapper.java:152*) 
>
> at org.mortbay.jetty.handler.RequestLogHandler.handle(
> *RequestLogHandler.java:49*) 
>
> at org.mortbay.jetty.handler.HandlerWrapper.handle(
> *HandlerWrapper.java:152*) 
>
> at org.mortbay.jetty.Server.handle(
> *Server.java:324*) 
>
> at org.mortbay.jetty.HttpConnection.handleRequest(
> *HttpConnection.java:505*) 
>
> at org.mortbay.jetty.HttpConnection$RequestHandler.content(
> *HttpConnection.java:843*) 
>
> at org.mortbay.jetty.HttpParser.parseNext(
> *HttpParser.java:647*) 
>
> at org.mortbay.jetty.HttpParser.parseAvailable(
> *HttpParser.java:211*) 
>
> at org.mortbay.jetty.HttpConnection.handle(
> *HttpConnection.java:380*) 
>
> at org.mortbay.io.nio.SelectChannelEndPoint.run(
> *SelectChan

FlexTable.getColumnFormatter().setWidth has no effect

2012-04-27 Thread tong123123
I have set the column width as follow but the output does not follow the 
.getColumnFormatter().setWidth as attached image, for example, column 3 
should be 5% but from the attached image, column 3 (the textbox next to the 
listbox) is must larger than 5%, why will these happen?

FlexTable ehr_noTable = new FlexTable();
> ehr_noTable.setWidget(0, 0, lblEhr_No);
> //miscTable.getFlexCellFormatter().setColSpan(0, 0, 3);
> ehr_noTable.setWidget(0, 1, lbEhr_No);
> ehr_noTable.setWidget(0, 2, txtEhr_No);
> FlexTable miscTable = new FlexTable();
> miscTable.setWidth("100%");
> miscTable.getColumnFormatter().setWidth(0, "14%");
> miscTable.getColumnFormatter().setWidth(1, "6%");
> miscTable.getColumnFormatter().setWidth(2, "5%");
> miscTable.getColumnFormatter().setWidth(3, "14%");
> miscTable.getColumnFormatter().setWidth(4, "6%");
> miscTable.getColumnFormatter().setWidth(5, "5%");
> miscTable.getColumnFormatter().setWidth(6, "14%");
> miscTable.getColumnFormatter().setWidth(7, "6%");
> miscTable.getColumnFormatter().setWidth(8, "5%");
> miscTable.getColumnFormatter().setWidth(9, "14%");
> miscTable.getColumnFormatter().setWidth(10, "6%");
> miscTable.getColumnFormatter().setWidth(11, "5%");
> miscTable.setWidget(1, 0, lblText1);
> miscTable.setWidget(1, 1, lbText1);
> miscTable.setWidget(1, 2, txtText1);
> miscTable.setWidget(1, 3, lblText2);
> miscTable.setWidget(1, 4, lbText2);
> miscTable.setWidget(1, 5, txtText2);
> miscTable.setWidget(1, 6, lblText3);
> miscTable.setWidget(1, 7, lbText3);
> miscTable.setWidget(1, 8, txtText3);
> miscTable.setWidget(1, 9, lblText4);
> miscTable.setWidget(1, 10, lbText4);
> miscTable.setWidget(1, 11, txtText4);
> //
> miscTable.setWidget(2, 0, lblText5);
> miscTable.setWidget(2, 1, lbText5);
> miscTable.setWidget(2, 2, txtText5);
> miscTable.setWidget(2, 3, lblText6);
> miscTable.setWidget(2, 4, lbText6);
> miscTable.setWidget(2, 5, txtText6);
> miscTable.setWidget(2, 6, lblText7);
> miscTable.setWidget(2, 7, lbText7);
> miscTable.setWidget(2, 8, txtText7);
> miscTable.setWidget(2, 9, lblText8);
> miscTable.setWidget(2, 10, lbText8);
> miscTable.setWidget(2, 11, txtText8);
> //
> miscTable.setWidget(3, 0, lblText9);
> miscTable.setWidget(3, 1, lbText9);
> miscTable.setWidget(3, 2, txtText9);
> miscTable.setWidget(3, 3, lblText10);
> miscTable.setWidget(3, 4, lbText10);
> miscTable.setWidget(3, 5, txtText10);
> miscTable.setWidget(3, 6, lblText11);
> miscTable.setWidget(3, 7, lbText11);
> miscTable.setWidget(3, 8, txtText11);
> miscTable.setWidget(3, 9, lblText12);
> miscTable.setWidget(3, 10, lbText12);
> miscTable.setWidget(3, 11, txtText12);
> //
> miscTable.setWidget(4, 0, lblText13);
> miscTable.setWidget(4, 1, lbText13);
> miscTable.setWidget(4, 2, txtText13);
> miscTable.setWidget(4, 3, lblText14);
> miscTable.setWidget(4, 4, lbText14);
> miscTable.setWidget(4, 5, txtText14);
> miscTable.setWidget(4, 6, lblText15);
> miscTable.setWidget(4, 7, lbText15);
> miscTable.setWidget(4, 8, txtText15);
> miscTable.setWidget(4, 9, lblText16);
> miscTable.setWidget(4, 10, lbText16);
> miscTable.setWidget(4, 11, txtText16);
> //
> miscTable.setWidget(5, 0, lblText17);
> miscTable.setWidget(5, 1, lbText17);
> miscTable.setWidget(5, 2, txtText17);
> miscTable.setWidget(5, 3, lblText18);
> miscTable.setWidget(5, 5, lbText18);
> miscTable.setWidget(5, 5, txtText18);
> miscTable.setWidget(5, 6, lblText19);
> miscTable.setWidget(5, 7, lbText19);
> miscTable.setWidget(5, 8, txtText19);
> miscTable.setWidget(5, 9, lblText20);
> miscTable.setWidget(5, 10, lbText20);
> miscTable.setWidget(5, 11, txtText20);
> FlowPanel miscFlowPanel = new FlowPanel();
> miscFlowPanel.add(ehr_noTable);
> miscFlowPanel.add(miscTable);
> DisclosurePanel miscPanel = new DisclosurePanel("search criteria - misc");
> miscPanel.setContent(miscFlowPanel);
> miscPanel.setWidth("100%");
> return miscPanel;
>

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

<>

Please recommend table widget to display a number of similar widgets

2012-04-27 Thread Vitaly Trifanov
Hi everybody.

I need to display a big amount(1000+) of similar widgets (each widget
contains photo + descrption - about 400*400 px total) in a table -
say, 10 rows and 2 columns per page. I don't need option to select,
drag, highlight or do smth else with these widgets - just display
them.

It seems that FlexTable doesn't support paging. CellTable does, but it
seems to be too complicated and best suited for displaying different
data in different columns while I need just to place similar widgets
in each cell.

So, I'm a bit confused about what table to use and need some help
about this.

Thanks in advance!

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



Re: Difficulty to run simple GWT application

2012-04-27 Thread Rahul Sharma
Hi Sebastian,

i am creating application as you suggest but when i deploying it on
tomcat server then it shows resources ins not available.so now what
should i do? help me .
Thanks
Rahul

On Apr 26, 7:38 pm, Sebastian Gurin  wrote:
> Hi Rahul, this is what I shlud do for getting started.
>
> first of all do not use tomcat yet, first feel confortable with the 
> GWT+eclipse
>
> 1) File->New->(Google)New Application proyect - create your gwt web 
> application project. Here use Google Web toolkit only, don't use Google App 
> engine yet.
>
> That will create you a new project with some interesting things:
>
> a) your.proj.YourProject.gwt.xml - this file is called a gwt module 
> definition.
> b) packages client, shared, server
> c) a root folder named "war" with a html file inside. This war folder is the 
> web application folder (what you put inside webapps in tomcat - but not yet.)
>
> in client package that is where your java that will be translated to 
> javascript by gwt are, there is two Greeting* classes (dont worry about these 
> yet) and a third class named YourProject.java (or whatever name you give to 
> your new project). thi s class is your entry point.
>
> the project has a sample applicatoin ready to be executed, right click on 
> your.proj.YourProject.gwt.xml and run as "Web application". The Developer 
> mode view will be shows and after the app is loaded, it will show you an url 
> likehttp://127.0.0.1:/Test12.html?gwt.codesvr=127.0.0.1:9997. Open this 
> url with firefox (version <=10) or with chrome. It will ask you to install a 
> browser plugin, do it. When the plugin is installed reopen that url and you 
> will be executing your sample webapp using the GWT hosted-mode. You can make 
> changes in the java sources, save then and reoloading the page will reflect 
> the changes. Try to change something...
>
> Now what about putting all this on a tomcat? its easy, first compile your 
> project like this: ijn "package explorer" view, right click your new project 
> -> Google -> GWT Compile... -> compile. When this is finish, GWT will put in 
> "war" the entinre webapp. just copy or link the "war" folder to your tomcat's 
> webapps folder and rename it acordingly, for example, "yourproject". Start 
> tomcat and go tohttp://localhost:8080/yourProject/yourProject.html.
>
> I have ant scripts for doing all this with ant if you want I can share.
>
> hope this can help you ...
>
> On Thu, 26 Apr 2012 07:06:04 -0700 (PDT)
>
>
>
>
>
>
>
>
>
> Rahul Sharma  wrote:
> > I am making gwt application as following step: 1. Firstly i install
> > gwt plugin in my eclipse(Helios). 2. now i am creating dynamic
> > project. 3. now i am adding gwt plugin through goto to property page
> > of the project, select google-webtoolkit, check "use GWT", then go to
> > google-web application, the directory name to "web-content". 4.now i
> > am creating gwt module in my project then create entry point class
> > then html. 5.now i am creating a button in onModule method of entry
> > point class.
>
> > and then i am running application in tomcat server just right click on
> > project and select run as web application(run with tomcat server). As
> > result of this I am getting a blank page on browser? There is no
> > excption in server log. I am not able to debug where i am doing wrong?
> > Please help me to sort out this problem.
>
> > I am not using google web application because i was getting difficulty
> > to create war file. As i solution of this I got the above process to
> > develop GWT application.
>
> > Thanks Rahul
>
> > --
> > 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 
> > athttp://groups.google.com/group/google-web-toolkit?hl=en.
>
> --
> Sebastian Gurin 

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



Difficulty to run simple GWT application on tomcat server.

2012-04-27 Thread Rahul Sharma
I am creating a gwt application as following steps:
First install gwt plugin in my eclipse(Helios).
Create GWT project
Add Dynamic web plugin
going to property page of the project
project Facets tab
Select Dynamic Web Module and java
ok to apply changes.
Write code
and i try to run on server tomcat7 then it shows resources not
available.But when i run as internal server of gwt as just right
clicking on project and selecting run as web application.
then it run successfully. so please help to run my application on
tomcat server.
Thanks
Rahul

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



Re: How to make parent window read only and background color to gray when dialogbox open

2012-04-27 Thread Dayananda B V
Hi All,
setGlassEnabled is worked.
thanks you so much, appreciate your help



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



Re: how to avoid mulitple dilogbox opening from the parent window

2012-04-27 Thread Dayananda B V
Hi Andrei,
setGlassEnabled is worked.
thanks you so much, appreciate your help



On Apr 25, 12:39 am, Andrei  wrote:
> Add .setGlassEnabled to your dialog boxes.

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