AutoBeanUtils.getAutoBean/ShimHandler.maybeWrap is causing JVM crash

2017-06-22 Thread Rakesh Wagh


We are suspecting that a notorious payload might be causing this crash. 
Yes, the JVM crashes after this exception. Following exception is picked up 
from the crash log: 


Environment: 

GWT 2.8.0

JDK 180_102

Jboss EAP 7

Re dhat Enterprise Linux OS

 

Stack: [0x7f867d742000,0x7f867d843000],  sp=0x7f867d840ab0,  
free space=1018k

Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native 
code)

J 31252 C2 
com.google.web.bindery.autobean.shared.AutoBeanUtils.getAutoBean(Ljava/lang/Object;)Lcom/google/web/bindery/autobean/shared/AutoBean;
 
(21 bytes) @ 0x7f8b00782b0c [0x7f8b00782880+0x28c]

J 37685 C2 
com.google.web.bindery.autobean.vm.impl.ShimHandler.maybeWrap(Ljava/lang/Class;Ljava/lang/Object;)Ljava/lang/Object;
 
(103 bytes) @ 0x7f8affd3f9ac [0x7f8affd3f960+0x4c]

J 35743 C2 
com.google.web.bindery.autobean.vm.impl.ShimHandler.invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;
 
(221 bytes) @ 0x7f8b01706ed8 [0x7f8b01706940+0x598]

J 37720 C2 
com.google.web.bindery.autobean.shared.impl.AutoBeanCodexImpl$MapCoder.encode(Lcom/google/web/bindery/autobean/shared/impl/AutoBeanCodexImpl$EncodeState;Ljava/lang/Object;)V
 
(360 bytes) @ 0x7f8affd49ee0 [0x7f8affd49920+0x5c0]

J 37750 C2 
com.google.web.bindery.autobean.shared.impl.AutoBeanCodexImpl$PropertyGetter.encodeProperty(Ljava/lang/String;Ljava/lang/Object;Lcom/google/web/bindery/autobean/shared/AutoBeanVisitor$PropertyContext;)V
 
(93 bytes) @ 0x7f8b01e45b58 [0x7f8b01e455c0+0x598]

J 39466 C2 
com.google.web.bindery.autobean.shared.impl.AutoBeanCodexImpl$PropertyGetter.visitReferenceProperty(Ljava/lang/String;Lcom/google/web/bindery/autobean/shared/AutoBean;Lcom/google/web/bindery/autobean/shared/AutoBeanVisitor$PropertyContext;)Z
 
(18 bytes) @ 0x7f8affaa6da8 [0x7f8affaa6d40+0x68]

J 35602 C2 
com.google.web.bindery.autobean.vm.impl.ProxyAutoBean.traverseProperties(Lcom/google/web/bindery/autobean/shared/AutoBeanVisitor;Lcom/google/web/bindery/autobean/shared/impl/AbstractAutoBean$OneShotContext;)V
 
(448 bytes) @ 0x7f8aff2050cc [0x7f8aff204600+0xacc]

J 42352 C2 
com.google.web.bindery.autobean.shared.impl.AutoBeanCodexImpl$CollectionCoder.encode(Lcom/google/web/bindery/autobean/shared/impl/AutoBeanCodexImpl$EncodeState;Ljava/lang/Object;)V
 
(109 bytes) @ 0x7f8b02af44c0 [0x7f8b02af4080+0x440]

J 37750 C2 
com.google.web.bindery.autobean.shared.impl.AutoBeanCodexImpl$PropertyGetter.encodeProperty(Ljava/lang/String;Ljava/lang/Object;Lcom/google/web/bindery/autobean/shared/AutoBeanVisitor$PropertyContext;)V
 
(93 bytes) @ 0x7f8b01e45b58 [0x7f8b01e455c0+0x598]

J 39466 C2 
com.google.web.bindery.autobean.shared.impl.AutoBeanCodexImpl$PropertyGetter.visitReferenceProperty(Ljava/lang/String;Lcom/google/web/bindery/autobean/shared/AutoBean;Lcom/google/web/bindery/autobean/shared/AutoBeanVisitor$PropertyContext;)Z
 
(18 bytes) @ 0x7f8affaa6da8 [0x7f8affaa6d40+0x68]

J 35602 C2 
com.google.web.bindery.autobean.vm.impl.ProxyAutoBean.traverseProperties(Lcom/google/web/bindery/autobean/shared/AutoBeanVisitor;Lcom/google/web/bindery/autobean/shared/impl/AbstractAutoBean$OneShotContext;)V
 
(448 bytes) @ 0x7f8aff204fb4 [0x7f8aff204600+0x9b4]

J 39707 C2 
com.google.web.bindery.autobean.shared.AutoBeanCodex.encode(Lcom/google/web/bindery/autobean/shared/AutoBean;)Lcom/google/web/bindery/autobean/shared/Splittable;
 
(40 bytes) @ 0x7f8b021fa89c [0x7f8b021fa000+0x89c]

J 55999 C2 
com.google.web.bindery.requestfactory.server.RequestFactoryServlet.doPost(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V
 
(315 bytes) @ 0x7f8b03a890c4 [0x7f8b03a884e0+0xbe4]

J 47925 C2 
javax.servlet.http.HttpServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V
 
(251 bytes) @ 0x7f8b01c2a6e0 [0x7f8b01c2a3e0+0x300]

J 47728 C2 
javax.servlet.http.HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V
 
(125 bytes) @ 0x7f8affc45e54 [0x7f8affc45a40+0x414]

J 47946 C2 
io.undertow.servlet.handlers.ServletHandler.handleRequest(Lio/undertow/server/HttpServerExchange;)V
 
(334 bytes) @ 0x7f8b01c41adc [0x7f8b01c417e0+0x2fc]

 


Any pointers that will help us investigate this issue will be really 
appreciated. 


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


Re: GWT 2.7.0 is here

2015-04-21 Thread rakesh pabbathi
Hi Daniel 
how to i convert my application which is in 2.3 version to 2.7 ? plz 
provide me some steps to convert the version to 2.7.

On Thursday, 20 November 2014 16:29:06 UTC+5:30, Daniel Kurka wrote:
>
> Today we are excited to announce the GWT 2.7.0 release.  Thanks to 
> everyone who contributed to this release, especially our non-Google open 
> source contributors.
>
> One major feature of this release is a new super fast compilation path in 
> Super Dev mode that replaces the old dev mode.
> For a run-down of all changes since GWT 2.6.1, read the release notes 
> .
>
> The release is available for download here 
>  or on maven central.
>
> If you find any issues with this release, please file a bug in our issue 
> tracker.
>
> Daniel,
> on behalf of the GWT team at Google
>
>

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


Re: GWT 2.4.0 native drag and drop... does it *really* work with IE9?

2012-01-24 Thread rakesh wagh
we found that the drag and drop api is not usable at this point. There
is not a single browser in which this api work as expected. I think
the api is still in development and should not be used at this point,
unless you require part of it to work with specific browser.



On Jan 24, 11:44 am, Rori Stumpf  wrote:
> Following the example from Google I/O 2011 (youtube video), I wrote
> the following code which successfully implements drag and drop on
> Chrome, Firefox and Safari.
> But, of course, it does not work with IE9..
>
> Here is the code... any obvious problems? What's up with GTW & native
> drag and drop with IE9?
>
> Thanks in advance... (p.s. I'd prefer to stick with native rather than
> use a lib)
>
>         public void onModuleLoad() {
>
>                 RootPanel.get("flow").add(dropLabel);
>                 RootPanel.get("flow-components").add(dragLabel);
>
>                 // Configure the draggable element
>                 dragLabel.getElement().setDraggable(Element.DRAGGABLE_TRUE);
>                 dragLabel.addDragStartHandler(new DragStartHandler() {
>                         @Override
>                         public void onDragStart(DragStartEvent event) {
>                                 event.setData("text", "drag-data");
>                                 
> event.getDataTransfer().setDragImage(dragLabel.getElement(), 0,
> 0);
>                         } });
>
>                 // Configure the drop target
>                 dropLabel.addDragOverHandler(new DragOverHandler() {
>                         @Override
>                         public void onDragOver(DragOverEvent event) {
>                                 dropLabel.setText("Dragging Over");
>                         } });
>                 dropLabel.addDragLeaveHandler(new DragLeaveHandler() {
>                         @Override
>                         public void onDragLeave(DragLeaveEvent event) {
>                                 dropLabel.setText("Drop Here");
>                         } });
>                 dropLabel.addDropHandler(new DropHandler() {
>                         @Override
>                         public void onDrop(DropEvent event) {
>                                 Window.alert("Dropped!");
>                         } });
>
>         }

-- 
You received 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 Developer Plugin for Firefox 8

2011-11-30 Thread rakesh wagh
I got the file. works well! good job... keep it up. 

-- 
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/-/85mdDCq0NQIJ.
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 Developer Plugin for Firefox 8

2011-11-28 Thread rakesh wagh
unfortunately fileswap.com is blocked here. Is there an alternate location 
from where I can download? I am looking for firefox plugin on 64bit/win7. 
Thanks, greatly appreciated! 

Rakesh Wagh 

-- 
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/-/Z64C_ccmq5oJ.
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 handle custom server side exceptions

2011-10-19 Thread rakesh wagh
forgot to mention this:
public class MyRequestFactoryServlet extends RequestFactoryServlet {
private static final long serialVersionUID = 1L;

public MyRequestFactoryServlet() {
this(new DefaultExceptionHandler(), new 
MyServiceLayerDecorator());
}

public MyRequestFactoryServlet(ExceptionHandler exceptionHandler,
ServiceLayerDecorator... serviceDecorators) {
super(exceptionHandler, serviceDecorators);
}
}

On Oct 18, 4:17 pm, rakesh wagh  wrote:
> also changed web.xml mapping of servlet class from
>  class>com.google.web.bindery.requestfactory.server.RequestFactoryServlet servlet-class>
> to
> com.test.server.MyRequestFactoryServlet
>
> On Oct 18, 4:15 pm, rakesh wagh  wrote:
>
>
>
>
>
>
>
> > How I resolved this:
> > public class MyServiceLayerDecorator extends ServiceLayerDecorator {
>
> >         public 
> > java.util.Set> validate(T
> > domainObject) {
> >                 Set> set = new 
> > HashSet>();
>
> >                 PathImpl path = PathImpl.createNewPath("name");
> >                 ConstraintViolation voilation = 
> > (ConstraintViolation)new
> > ConstraintViolationImpl("custom bean error", "custom bean
> > error", Person.class, (Person)domainObject, (Person)domainObject,
> > ((Person)domainObject).getAddress(), path, null, ElementType.FIELD);
> >                 Set> voilations =
> > super.validate(domainObject);
> >                 voilations.add(voilation);
> >                 return voilations;
> >         };
>
> > On Oct 18, 11:02 am, rakesh wagh  wrote:
>
> > > with that said, what is the right way to reconstruct server side
> > > business validations(ConstraintViolation) on client (so that they can
> > > be directly added to editor.setErrors(voilations))?
>
> > > Also, I didnt understand how to set a callback in Request (to catch
> > > server exception). At this point as you rightly noted I am using
> > > requestContext's fire/Receiver pair.
>
> > > Thanks
>
> > > On Oct 18, 4:35 am, Thomas Broyer  wrote:
>
> > > > Validation in RequestFactory is done after the object graph has been
> > > > reconstructed but before any service method is invoked. It's the only 
> > > > place
> > > > where validation errors will lead to onConstraintViolations being called
> > > > back on the client side (for all the Receivers attached to the
> > > > RequestContext).
> > > > When service method invocations are processed, each one can succeed or
> > > > throw, independently of the others, and will cause the onSuccess or
> > > > onFailure of the Receiver _for that particular invocation_ (the one 
> > > > passed
> > > > to the to() or fire() method of Request –but not the fire() method of
> > > > RequestContext!–) to be called back.
> > > > FYI, the global Receiver's (the one passed to the fire() method of
> > > > RequestContext) onFailure method is only called when the object graph 
> > > > cannot
> > > > be reconstructed or serialized on the server-side; in that case, the
> > > > onFailure of all Receivers is also called. In any other case (except
> > > > onConstraintViolations), onSuccess will be called (even if all 
> > > > invocations
> > > > failed).

-- 
You received 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 handle custom server side exceptions

2011-10-18 Thread rakesh wagh
also changed web.xml mapping of servlet class from
com.google.web.bindery.requestfactory.server.RequestFactoryServlet
to
com.test.server.MyRequestFactoryServlet

On Oct 18, 4:15 pm, rakesh wagh  wrote:
> How I resolved this:
> public class MyServiceLayerDecorator extends ServiceLayerDecorator {
>
>         public 
> java.util.Set> validate(T
> domainObject) {
>                 Set> set = new 
> HashSet>();
>
>                 PathImpl path = PathImpl.createNewPath("name");
>                 ConstraintViolation voilation = (ConstraintViolation)new
> ConstraintViolationImpl("custom bean error", "custom bean
> error", Person.class, (Person)domainObject, (Person)domainObject,
> ((Person)domainObject).getAddress(), path, null, ElementType.FIELD);
>                 Set> voilations =
> super.validate(domainObject);
>                 voilations.add(voilation);
>                 return voilations;
>         };
>
> On Oct 18, 11:02 am, rakesh wagh  wrote:
>
>
>
>
>
>
>
> > with that said, what is the right way to reconstruct server side
> > business validations(ConstraintViolation) on client (so that they can
> > be directly added to editor.setErrors(voilations))?
>
> > Also, I didnt understand how to set a callback in Request (to catch
> > server exception). At this point as you rightly noted I am using
> > requestContext's fire/Receiver pair.
>
> > Thanks
>
> > On Oct 18, 4:35 am, Thomas Broyer  wrote:
>
> > > Validation in RequestFactory is done after the object graph has been
> > > reconstructed but before any service method is invoked. It's the only 
> > > place
> > > where validation errors will lead to onConstraintViolations being called
> > > back on the client side (for all the Receivers attached to the
> > > RequestContext).
> > > When service method invocations are processed, each one can succeed or
> > > throw, independently of the others, and will cause the onSuccess or
> > > onFailure of the Receiver _for that particular invocation_ (the one passed
> > > to the to() or fire() method of Request –but not the fire() method of
> > > RequestContext!–) to be called back.
> > > FYI, the global Receiver's (the one passed to the fire() method of
> > > RequestContext) onFailure method is only called when the object graph 
> > > cannot
> > > be reconstructed or serialized on the server-side; in that case, the
> > > onFailure of all Receivers is also called. In any other case (except
> > > onConstraintViolations), onSuccess will be called (even if all invocations
> > > failed).

-- 
You received 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 handle custom server side exceptions

2011-10-18 Thread rakesh wagh
How I resolved this:
public class MyServiceLayerDecorator extends ServiceLayerDecorator {

public 
java.util.Set> validate(T
domainObject) {
Set> set = new 
HashSet>();
PathImpl path = PathImpl.createNewPath("name");
ConstraintViolation voilation = (ConstraintViolation)new
ConstraintViolationImpl("custom bean error", "custom bean
error", Person.class, (Person)domainObject, (Person)domainObject,
((Person)domainObject).getAddress(), path, null, ElementType.FIELD);
Set> voilations =
super.validate(domainObject);
voilations.add(voilation);
return voilations;
};


On Oct 18, 11:02 am, rakesh wagh  wrote:
> with that said, what is the right way to reconstruct server side
> business validations(ConstraintViolation) on client (so that they can
> be directly added to editor.setErrors(voilations))?
>
> Also, I didnt understand how to set a callback in Request (to catch
> server exception). At this point as you rightly noted I am using
> requestContext's fire/Receiver pair.
>
> Thanks
>
> On Oct 18, 4:35 am, Thomas Broyer  wrote:
>
>
>
>
>
>
>
> > Validation in RequestFactory is done after the object graph has been
> > reconstructed but before any service method is invoked. It's the only place
> > where validation errors will lead to onConstraintViolations being called
> > back on the client side (for all the Receivers attached to the
> > RequestContext).
> > When service method invocations are processed, each one can succeed or
> > throw, independently of the others, and will cause the onSuccess or
> > onFailure of the Receiver _for that particular invocation_ (the one passed
> > to the to() or fire() method of Request –but not the fire() method of
> > RequestContext!–) to be called back.
> > FYI, the global Receiver's (the one passed to the fire() method of
> > RequestContext) onFailure method is only called when the object graph cannot
> > be reconstructed or serialized on the server-side; in that case, the
> > onFailure of all Receivers is also called. In any other case (except
> > onConstraintViolations), onSuccess will be called (even if all invocations
> > failed).

-- 
You received 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 handle custom server side exceptions

2011-10-18 Thread rakesh wagh
with that said, what is the right way to reconstruct server side
business validations(ConstraintViolation) on client (so that they can
be directly added to editor.setErrors(voilations))?

Also, I didnt understand how to set a callback in Request (to catch
server exception). At this point as you rightly noted I am using
requestContext's fire/Receiver pair.

Thanks

On Oct 18, 4:35 am, Thomas Broyer  wrote:
> Validation in RequestFactory is done after the object graph has been
> reconstructed but before any service method is invoked. It's the only place
> where validation errors will lead to onConstraintViolations being called
> back on the client side (for all the Receivers attached to the
> RequestContext).
> When service method invocations are processed, each one can succeed or
> throw, independently of the others, and will cause the onSuccess or
> onFailure of the Receiver _for that particular invocation_ (the one passed
> to the to() or fire() method of Request –but not the fire() method of
> RequestContext!–) to be called back.
> FYI, the global Receiver's (the one passed to the fire() method of
> RequestContext) onFailure method is only called when the object graph cannot
> be reconstructed or serialized on the server-side; in that case, the
> onFailure of all Receivers is also called. In any other case (except
> onConstraintViolations), onSuccess will be called (even if all invocations
> failed).

-- 
You received 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 handle custom server side exceptions

2011-10-18 Thread rakesh wagh
Hi, I am using gwt's bean validation framework for error validation. I
am trying to understand the mechanism to create custom
ConstraintViolationImpl in my server's service code and send it over
to client. Following is my code in persist() method:


Set> set = new 
HashSet>();
PathImpl path = new PathImpl();
ConstraintDescriptor descriptor = null;
ConstraintViolation violation = new
ConstraintViolationImpl("custom bean error", "custom bean
error", Person.class, person, person, person.getAddress(),
path.append("name"), null, ElementType.FIELD);

set.add(violation);
throw new ConstraintViolationException(set);


on persist, I expect onConstraintViolation() of Receiver to be
triggered. However I get the callback in onSuccess. What am I doing
wrong here?

Any kind of help and/or reference greatly appreciated.

Thanks,
Rakesh Wagh

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



Help designing app

2011-09-29 Thread Rakesh
Hi guys,

I've read the docs and am itching to get started!! Still unsure about how to
put the pieces together though.

So lets say I'm building a site which sells products:

1. I have to display a list of products (divided into categories, each in
their own 'pod').
2. A basket that automatically updates as the customer selects products.

What are the constituent parts I would need?

I can see the initial 'drawing' of the screen and the 'pods' that would
contains the products. Does the Product class have to be modelled twice? One
for the front end and one for the server? Or is it a good practice to make
it compatible with both?

When the user selects a product (say the display of the product includes a
checkbox), I need to update the product to show a tick in a checkbox (an
image) and then update the basket. I don't want the basket to be tied
directly to the onclick event of every product so I need to use the event
bus concept?

Not sure what the server calls would be in this situation though?

Any help appreciated!

Thanks

R

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



Questions about GWT suitability

2011-09-15 Thread Rakesh
Hi,

knowing very little about GWT apart from the main headlines, I am
considering using it for my upcoming projects.

Others are criticizing this choice on 2 main points:

1. The application is not rich enough - the app is a shop where products are
added to a basket and user details and payment details are captured.
2. Customizing the UI to the business requirements may not be possible. Does
GWT constrain in any way how you style components?

Thanks

R

-- 
You received 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: Announcing gwt4air 1.0

2010-11-01 Thread rakesh wagh
How would it be different from using say Mozilla Prism? Prism does not
require anything special.

Rakesh Wagh

On Oct 31, 4:30 pm, nino ekambi  wrote:
> Hello community,
> It s been a long way but i m proud to annouce the release of Gwt4Air 1.0
> Gwt4Air will give you the the ability to turn  your GWT apps in to desktop
> apps using adobe air.
>
> You can download the jar herehttp://code.google.com/p/gwt4air/.
> The first release is compatible with gxt 2.2, gwt 2.0 and adobe air 2. It
> includes the following features:
>
>  1) Access to the core AIR APi from GWT, you basically can do anything you
> would do in actionscript or javascript.
>  2) An adapter to make GXT(Ext-GWT) works inside the air application sandbox
>  3) A pdf module to read and write pdf files.
>  4) A google maps module, so you can produce maps even when your web client
> is offline
>  5) An adapter to male RPC and RequestBuilder calls possible with AIR.
>  6) A sample app with source code that shows some examples. One of the
> example is how you can export an GXT chart to pdf using gwt4air.
>
> The next releases will add more and more features(check out the roadmap)
> To get started you can check out the wiki page.
>
> I hope you guys are going to like this and provide some good feedbacks.
> For any question please feel free to contact me.
>
> best regards,
>
> Alain

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



Re: Regarding google visualization(Annotated Timeline)

2010-07-22 Thread gourineni rakesh
Hi,

 Thank You Nicky.I am new to Visualization.Can u plz tell me how to set the
m_vpMainPanel width and height ...

Regards,
Rakesh.

On Fri, Jul 16, 2010 at 2:58 PM, Nicky  wrote:

> The error says it all. set m_vpMainPanel width and height explicitly.
> >
> > com.google.gwt.core.client.JavaScriptException: (Error): Container width
> is
> > zero. Expecting a valid width.
> >  fileName:
> http://www.google.com/uds/api/visualization/1.0/e9f5bea2f5fcf88c5d872...
> >  lineNumber: 604
> >  stack: Error("Container width is zero. Expecting a valid width.")@:0
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

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



Regarding google visualization(Annotated Timeline)

2010-07-16 Thread gourineni rakesh
hi,
 I m Rakesh Kumar Gourineni. I m working on Annotated Timeline in google
visualization. The error i got was given below. I searched in many forums
for the solution.But i was unlucky. Please please try to  look the source
code  which is at the bottom n plz try to figure out the problem.

The source code is below

package edu.msstate.gri.client;

 import com.google.gwt.user.client.Window;
import com.google.gwt.user.client.ui.HorizontalPanel;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.Panel;
import com.google.gwt.user.client.ui.VerticalPanel;
import com.google.gwt.visualization.client.AbstractDataTable;
import com.google.gwt.visualization.client.VisualizationUtils;
import com.google.gwt.visualization.client.DataTable;
import com.google.gwt.visualization.client.Selection;
import com.google.gwt.visualization.client.AbstractDataTable.ColumnType;
import com.google.gwt.visualization.client.events.SelectHandler;
import com.google.gwt.visualization.client.visualizations.PieChart;
import
com.google.gwt.visualization.client.visualizations.PieChart.Options;*/
import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.ui.RootPanel;
import com.google.gwt.visualization.client.events.SelectHandler;
import com.google.gwt.visualization.client.VisualizationUtils;
import com.google.gwt.user.client.ui.VerticalPanel;
import com.google.gwt.core.client.JavaScriptException;
import com.google.gwt.core.client.JavaScriptObject;
import com.google.gwt.user.client.Window;
import com.google.gwt.user.client.ui.Widget;
import com.google.gwt.visualization.client.DataTable;
import com.google.gwt.visualization.client.Properties;
import com.google.gwt.visualization.client.AbstractDataTable.ColumnType;
import com.google.gwt.visualization.client.events.Handler;
import com.google.gwt.visualization.client.events.RangeChangeHandler;
import
com.google.gwt.visualization.client.visualizations.AnnotatedTimeLine;
import
com.google.gwt.visualization.client.visualizations.AnnotatedTimeLine.Options;

import java.util.Date;


public class Gvisualization {
 public static VerticalPanel m_vpMainPanel = new VerticalPanel();

  private AnnotatedTimeLine widget;


  @SuppressWarnings("deprecation")
  public Gvisualization() {
@SuppressWarnings("unused")
int year, month, day;

//Options options = Options.create();
//options.setDisplayAnnotations(true);

 //System.out.println("Reaching here");
Runnable onLoadCallback = new Runnable() {
  public void run() {

  AnnotatedTimeLine.Options options =
AnnotatedTimeLine.Options.create();
options.setDisplayAnnotations(true);
//options.setOption("displayRangeSelector",
false);

 //options.setScaleType(AnnotatedTimeLine.ScaleType.ALLFIXED);
// options.setAnnotationsWidth(20);
//options.setAnnotationsHeight(20);

// Create a  chart visualization.

   widget = new AnnotatedTimeLine(createTable(), options, "700px",
"240px");
   addHandler();


//widget.createSelectHandler(createSelectHandler(widget));
m_vpMainPanel.add(widget);
RootPanel.get().add(m_vpMainPanel);
   }
};
// Load the visualization api, passing the onLoadCallback to be called
// when loading is done.
VisualizationUtils.loadVisualizationApi(onLoadCallback, widget.PACKAGE);



  }

  private void addHandler() {
widget.addRangeChangeHandler(new RangeChangeHandler() {
  @Override
  public void onRangeChange(RangeChangeEvent event) {
Window.alert("The range has changed.\n" + event.getStart() +
"\nFalls mainly on the plains.\n" + event.getEnd());

  }
});
  }


  private DataTable createTable() {
  int month, day, year;
DataTable data = DataTable.create();
data.addColumn(ColumnType.DATE, "Date");
data.addColumn(ColumnType.NUMBER, "Sold Pencils");
data.addColumn(ColumnType.STRING, "title1");
data.addColumn(ColumnType.STRING, "text1");
data.addColumn(ColumnType.NUMBER, "Sold Pens");
data.addColumn(ColumnType.STRING, "title2");
data.addColumn(ColumnType.STRING, "text2");
data.addRows(6);
try {
  data.setValue(0, 0, new Date(year = 2008 - 1900, month = 1, day = 1));
  data.setValue(1, 0, new Date(year = 2008 - 1900, month = 1, day = 2));
  data.setValue(2, 0, new Date(year = 2008 - 1900, month = 1, day = 3));
  data.setValue(3, 0, new Date(year = 2008 - 1900, month = 1, day = 4));
  data.setValue(4, 0, new Date(year = 2008 - 1900, month = 1, day = 5));
  data.setValue(5, 0, new Date(year = 2008 - 1900, month = 1, day = 6));
} catch (JavaScript

How to get the loading symbol while the application is loading in gwt 2.0.3

2010-07-09 Thread gourineni rakesh
Hi,
   I am using gwt 2.0.3 in an Eclipse project. When I run the java code in
eclipse I get the url n by pasting it in the web browser I need to wait for
some time to get the application.So I need to get "The application is
 loading" while I wait for the appliocation to load .  I have no idea how to
do this plz help me.
  thanls in advance.

Regards,
Rakesh.

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



Re: how to display a JSP page inside a DecoratedTabPanel

2010-06-30 Thread rakesh wagh
the answer is embedded in your question: "framed".
Use com.google.gwt.user.client.ui.Frame


On Jun 30, 10:51 am, Denis  wrote:
> Hello,
>
> I have existing JSP pages that should be framed inside a GWT
> DecoratedTabPanel.
> Is this doable at all?
>
> Thanks for your reply.

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



Re: Regarding GWT 2.0.3

2010-06-22 Thread gourineni rakesh
hi Andres,
I m encountering the following errors while running the application.
Plz check them


The site for access:http://www.ndbc.noaa.gov/data/5day2/42040_5day.txt
[WARN] Server class 'com.google.gwt.json.client.JSONException' could not be
found in the web app, but was found on the system classpath
   [WARN] Adding classpath entry
'file:/C:/Users/rakesh/Desktop/eclipse/plugins/com.google.gwt.eclipse.sdkbundle.2.0.3_2.0.3.v201002191036/gwt-2.0.3/gwt-user.jar'
to the web app classpath for this session
   For additional info see:
file:/C:/Users/rakesh/Desktop/eclipse/plugins/com.google.gwt.eclipse.sdkbundle.2.0.3_2.0.3.v201002191036/gwt-2.0.3/doc/helpInfo/webAppClassPath.html
[WARN] Server class
'com.google.gwt.visualization.client.AbstractDataTable$ColumnType' could not
be found in the web app, but was found on the system classpath
   [WARN] Adding classpath entry
'file:/D:/My%20Work/Visualization%20files/gwt-visualization-1.1.0/gwt-visualization.jar'
to the web app classpath for this session
   For additional info see:
file:/C:/Users/rakesh/Desktop/eclipse/plugins/com.google.gwt.eclipse.sdkbundle.2.0.3_2.0.3.v201002191036/gwt-2.0.3/doc/helpInfo/webAppClassPath.html
[WARN] Server class
'com.google.gwt.widgetideas.table.client.RowPagingListenerCollection' could
not be found in the web app, but was found on the system classpath
   [WARN] Adding classpath entry
'file:/D:/cosemware/BuoyApplication/lib/gwt-incubator-10-25-07.jar' to the
web app classpath for this session
   For additional info see:
file:/C:/Users/rakesh/Desktop/eclipse/plugins/com.google.gwt.eclipse.sdkbundle.2.0.3_2.0.3.v201002191036/gwt-2.0.3/doc/helpInfo/webAppClassPath.html
INSIDE GET MEASUREMENTS1
Number of lines read:0
java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 2
at java.util.Vector.get(Unknown Source)
at
edu.msstate.gri.server.BuoyDataServiceImpl.getMeasurements1(BuoyDataServiceImpl.java:150)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:562)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:188)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:224)
at
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
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.handle(ServletHandler.java:362)
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(SelectChannelEndPoint.java:395)
at
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)
INSERT INTO feature_of_interest VALUES ('id_42040','Station
42040','Freeport, TX 60 NM South of Freeport,
TX',GeometryFromText('POINT(29.18 88.21)',4236),'http://www.ndbc.noaa.gov');
INSERT INTO procedure VALUES ('urn:ogc:def:procedure:DACT-42040','DACT buoy
station','Buoy for DACT PAYLOAD)');
INSERT INTO proc_phen VALUES
('urn:ogc:def:procedure:DACT-42040','urn:ogc:def:phenomenon:windDirection');
INSERT INTO proc_foi VALUES ('urn:ogc:def:procedure:DACT-42040','id_42040');
org.postgresql.util.PSQLException: ERROR: duplicate key violates unique
constraint "procedure_pkey"
at
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:1548)
at
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1316)
at
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:191)
at
org.postgresql.

Re: UIBinder Benefits?

2010-06-21 Thread rakesh wagh
uibinder separate layout out of your ui. pre uibinder we would use
inner class to create hierarchy like structure for layout right inside
java! That kind of code would look bit messy and unstructured to some
one who is not familiar with the style of programming. As a developer,
I would like to keep complete control with me and avoid more moving
parts, especially non debug-able xml code!

But in a way your java code looks much cleaner with uibinder. Since
uibinder is responsible only for laying out your components, it nicely
separates itself from the corresponding java class. Once you get used
to it, you start liking it. When uibinder was introduced, I was
hesitant myself but now I have adopted it. In fact I am craving for
better support of some panels and widgets. Gwt  programming is such
that in most cases(unless you go out of the way) you end of creating
not more than one or 2 pages of ui.xml files. hence uibinder files are
very readable and usable!

Infact my question is, why xml? why not yaml or
json?

Rakesh Wagh

On Jun 20, 6:23 pm, spierce7  wrote:
> Does using the UI Binder provide any benefits? I watched some of the I/
> O conference, and it seemed like they made reference that the UI
> Binder using the browsers native rendering engine (or something like
> that), and it being a lot faster, but they didn't really specify
> whether that was the layout panels, or using the ui binder.
>
> What are the benefits to using the UIBinder, and where can I learn to
> use it?

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



Re: Million access to GWT Appl ??

2010-06-21 Thread rakesh wagh
You can either drive a nail using hammer or break some one's head! It
really depends on how you use the tool; be it the hammer or gwt.

as far as million access is concerned, it completely depends on your
server if it can handle that load or not. Look into your server side
code, server infrastructure, network limitations, etc.

In your client code you should avoid unnecessary server calls. Or
atleast try to club multiple calls into one(if practically possible).
As far as sluggishness of code is concerned for big size apps, you
should divide your app into modules, use code splitting, etc.

If you compare gwt app with jsp based app:
- jsp app will make server trip for every user application. example
multiple paged data table.
- data being transferred between client and the server is more in case
of jsp, as the entire page has to reload.
- gwt app is usually single page based. Server calls are only made for
data.
- gwt app can execute most logic on client side and use server only to
persist or fetch data.
- In a nutshell, a well written gwt app will always reduce your server
trips and amount of data being transferred when compared to
traditional jsp/struts based applications.

If you compare gwt to other js based toolkits, they all behave similar
as far as client to server communication is concerned. gwt only makes
life simple for the developers.

Rakesh Wagh

On Jun 19, 7:44 pm, manish kumar  wrote:
> Hi, i have gone through many articles on web and found that GWT is not
> good for an application that has million users access simultaniouly.
> Is that really true? If not then what should i do make it accessible
> by million users?Is that really tough job in GWT?

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



Re: Regarding GWT 2.0.3

2010-06-18 Thread gourineni rakesh
Hi Andres,
these is  the attached web.xml


2010/6/18 Andrés Cerezo 

> Try to attach the file, please.
>
> 2010/6/18 gourineni rakesh 
>
> Hi Andres,
>> the below is my web.xml file. Plz check this and let me know
>> if there r any errors in that.
>>
>>
>>
>> 
>> > PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
>> "http://java.sun.com/dtd/web-app_2_3.dtd";>
>>
>> 
>>
>>
>>   
>> BuoyDataService
>>
>>  edu.msstate.gri.server.BuoyDataServiceImpl
>>   
>>
>>
>>
>>   
>> BuoyDataService
>> /buoyapplication/buoyDataService
>>   
>>
>>
>>   
>>
>>   
>>
>> BuoyApplication.html
>>
>> 
>>
>> 
>>
>>
>> Regards,
>> Rakesh.
>>
>>
>> 2010/6/17 Andrés Cerezo 
>>
>>> Yes send me it by email.
>>>
>>> 2010/6/17 gourineni rakesh 
>>>
>>> Thanks Cerezo for the reply
>>>>   I had opened web.xml file from xml editor but I
>>>> couldnt find any error. Can you check whether my web.xml format is
>>>> correct?
>>>>
>>>>
>>>> Regards,
>>>> Rakesh
>>>>
>>>> 2010/6/17 Andrés Cerezo 
>>>>
>>>> Try to open it with the xml editor of eclipse (design view) perhaps It
>>>>> has an erroneus character (space, etc) and you can`t see it.
>>>>>
>>>>> 2010/6/16 gourineni rakesh 
>>>>>
>>>>>> Hi,
>>>>>> I m Rakesh. I m developing a GWT based eclipse project.The project
>>>>>> is about sensor web application for Buoys n i used google maps to display
>>>>>> the Buoy locations.For this the GWT i m using is 2.0.3, eclipse is 3.4
>>>>>> Ganemade n Tomcat is 5.5.9. Recently I have upgraded the Sensor Web 
>>>>>> project
>>>>>> from gwt 1.4.62 to 2.0.3. I m able to get the application in the web 
>>>>>> browser
>>>>>> but i m unable to update the database into PostgreSql {version is 8.2.}
>>>>>>
>>>>>>  My *Web.xml* is shown below
>>>>>>
>>>>>> 
>>>>>> >>>>> PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
>>>>>> "http://java.sun.com/dtd/web-app_2_3.dtd";>
>>>>>>
>>>>>> 
>>>>>>
>>>>>>
>>>>>>   
>>>>>> BuoyDataService
>>>>>>
>>>>>>  
>>>>>> edu.msstate.gri.server.BuoyDataServiceImpl
>>>>>>   
>>>>>>
>>>>>>
>>>>>>
>>>>>>   
>>>>>> BuoyDataService
>>>>>> /buoyapplication/buoyDataService
>>>>>>   
>>>>>>
>>>>>>
>>>>>>   
>>>>>>
>>>>>>   
>>>>>>
>>>>>> BuoyApplication.html
>>>>>>
>>>>>> 
>>>>>>
>>>>>> 
>>>>>>
>>>>>>
>>>>>> And my *gwt.xml* file is given below
>>>>>>
>>>>>> 
>>>>>> 
>>>>>>   
>>>>>>   
>>>>>>
>>>>>>   
>>>>>>   
>>>>>>   
>>>>>>   
>>>>>>   
>>>>>>   
>>>>>>   
>>>>>>   
>>>>>>   
>>>>>>   
>>>>>>   
>>>>>>   
>>>>>>
>>>>>>   
>>>>>>
>>>>>>   
>>>>>>   
>>>>>>
>>>>>>   
>>>>>>   
>>>>>>
>>>>>>
>>>>>> 
>>>>>>
>>>>>>
>>>>>>
>>>>>> When I start my Tomcat I m getting the
>>>>>>
>>>>>>  "End event threw exception" in startup window and following this
>>>>>> another error " Parse error in application web.xml"
>>>>>>
>>>>>> Is there

Re: Regarding GWT 2.0.3

2010-06-18 Thread gourineni rakesh
Hi Andres,
the below is my web.xml file. Plz check this and let me know if
there r any errors in that.




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




  
BuoyDataService

 edu.msstate.gri.server.BuoyDataServiceImpl
  



  
BuoyDataService
/buoyapplication/buoyDataService
  


  

  

BuoyApplication.html






Regards,
Rakesh.


2010/6/17 Andrés Cerezo 

> Yes send me it by email.
>
> 2010/6/17 gourineni rakesh 
>
> Thanks Cerezo for the reply
>>   I had opened web.xml file from xml editor but I
>> couldnt find any error. Can you check whether my web.xml format is
>> correct?
>>
>>
>> Regards,
>> Rakesh
>>
>> 2010/6/17 Andrés Cerezo 
>>
>> Try to open it with the xml editor of eclipse (design view) perhaps It has
>>> an erroneus character (space, etc) and you can`t see it.
>>>
>>> 2010/6/16 gourineni rakesh 
>>>
>>>> Hi,
>>>> I m Rakesh. I m developing a GWT based eclipse project.The project
>>>> is about sensor web application for Buoys n i used google maps to display
>>>> the Buoy locations.For this the GWT i m using is 2.0.3, eclipse is 3.4
>>>> Ganemade n Tomcat is 5.5.9. Recently I have upgraded the Sensor Web project
>>>> from gwt 1.4.62 to 2.0.3. I m able to get the application in the web 
>>>> browser
>>>> but i m unable to update the database into PostgreSql {version is 8.2.}
>>>>
>>>>  My *Web.xml* is shown below
>>>>
>>>> 
>>>> >>> PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
>>>> "http://java.sun.com/dtd/web-app_2_3.dtd";>
>>>>
>>>> 
>>>>
>>>>
>>>>   
>>>> BuoyDataService
>>>>
>>>>  edu.msstate.gri.server.BuoyDataServiceImpl
>>>>   
>>>>
>>>>
>>>>
>>>>   
>>>> BuoyDataService
>>>> /buoyapplication/buoyDataService
>>>>   
>>>>
>>>>
>>>>   
>>>>
>>>>   
>>>>
>>>> BuoyApplication.html
>>>>
>>>> 
>>>>
>>>> 
>>>>
>>>>
>>>> And my *gwt.xml* file is given below
>>>>
>>>> 
>>>> 
>>>>   
>>>>   
>>>>
>>>>   
>>>>   
>>>>   
>>>>   
>>>>   
>>>>   
>>>>   
>>>>   
>>>>   
>>>>   
>>>>   
>>>>   
>>>>
>>>>   
>>>>
>>>>   
>>>>   
>>>>
>>>>   
>>>>   
>>>>
>>>>
>>>> 
>>>>
>>>>
>>>>
>>>> When I start my Tomcat I m getting the
>>>>
>>>>  "End event threw exception" in startup window and following this
>>>> another error " Parse error in application web.xml"
>>>>
>>>> Is there any error in my* web.xml file*.Plz help me
>>>>
>>>> Thanks in advance,
>>>> Rakesh.
>>>>
>>>>
>>>>
>>>>  --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Google Web Toolkit" group.
>>>> To post to this group, send email to
>>>> google-web-tool...@googlegroups.com.
>>>> To unsubscribe from this group, send email to
>>>> google-web-toolkit+unsubscr...@googlegroups.com
>>>> .
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>>>
>>>
>>>  --
>>> You received this message because you are subscribed to the Google Groups
>>> "Google Web Toolkit" group.
>>> To post to this group, send email to google-web-toolkit@googlegroups.com
>>> .
>>> To unsubscribe from this group, send email to
>>> google-web-toolkit+unsubscr...@googlegroups.com
>>> .
>>> For more options, visit this group at
>>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>>
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To post to this group, send email to google-web-tool...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-web-toolkit+unsubscr...@googlegroups.com
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

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



Re: Regarding GWT 2.0.3

2010-06-17 Thread gourineni rakesh
Thanks Cerezo for the reply
  I had opened web.xml file from xml editor but I
couldnt find any error. Can you check whether my web.xml format is
correct?


Regards,
Rakesh

2010/6/17 Andrés Cerezo 

> Try to open it with the xml editor of eclipse (design view) perhaps It has
> an erroneus character (space, etc) and you can`t see it.
>
> 2010/6/16 gourineni rakesh 
>
>> Hi,
>> I m Rakesh. I m developing a GWT based eclipse project.The project is
>> about sensor web application for Buoys n i used google maps to display the
>> Buoy locations.For this the GWT i m using is 2.0.3, eclipse is 3.4 Ganemade
>> n Tomcat is 5.5.9. Recently I have upgraded the Sensor Web project from gwt
>> 1.4.62 to 2.0.3. I m able to get the application in the web browser but i m
>> unable to update the database into PostgreSql {version is 8.2.}
>>
>>  My *Web.xml* is shown below
>>
>> 
>> > PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
>> "http://java.sun.com/dtd/web-app_2_3.dtd";>
>>
>> 
>>
>>
>>   
>> BuoyDataService
>>
>>  edu.msstate.gri.server.BuoyDataServiceImpl
>>   
>>
>>
>>
>>   
>> BuoyDataService
>> /buoyapplication/buoyDataService
>>   
>>
>>
>>   
>>
>>   
>>
>> BuoyApplication.html
>>
>> 
>>
>> 
>>
>>
>> And my *gwt.xml* file is given below
>>
>> 
>> 
>>   
>>   
>>
>>   
>>   
>>   
>>   
>>   
>>   
>>   
>>   
>>   
>>   
>>   
>>   
>>
>>   
>>
>>   
>>   
>>
>>   
>>   
>>
>>
>> 
>>
>>
>>
>> When I start my Tomcat I m getting the
>>
>>  "End event threw exception" in startup window and following this another
>> error " Parse error in application web.xml"
>>
>> Is there any error in my* web.xml file*.Plz help me
>>
>> Thanks in advance,
>> Rakesh.
>>
>>
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To post to this group, send email to google-web-tool...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-web-toolkit+unsubscr...@googlegroups.com
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

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



GWT

2010-06-17 Thread gourineni rakesh
Hi,
I m Rakesh. I m developing a GWT based eclipse project.The project is
about sensor web application for Buoys n i used google maps to display the
Buoy locations.For this the GWT i m using is 2.0.3, eclipse is 3.4 Ganemade
n Tomcat is 5.5.9. Recently I have upgraded the Sensor Web project from gwt
1.4.62 to 2.0.3. I m able to get the application in the web browser but i m
unable to update the database into PostgreSql {version is 8.2.}

 My *Web.xml* is shown below


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




  
BuoyDataService

 edu.msstate.gri.server.BuoyDataServiceImpl
  



  
BuoyDataService
/buoyapplication/buoyDataService
  


  

  

BuoyApplication.html






And my *gwt.xml* file is given below



  
  

  
  
  
  
  
  
  
  
  
  
  
  

  

  
  

  
  






When I start my Tomcat I m getting the

 "End event threw exception" in startup window and following this another
error " Parse error in application web.xml"

Is there any error in my* web.xml file*.Plz help me

Thanks in advance,
Rakesh.

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



Regarding GWT 2.0.3

2010-06-17 Thread gourineni rakesh
Hi,
I m Rakesh. I m developing a GWT based eclipse project.The project is
about sensor web application for Buoys n i used google maps to display the
Buoy locations.For this the GWT i m using is 2.0.3, eclipse is 3.4 Ganemade
n Tomcat is 5.5.9. Recently I have upgraded the Sensor Web project from gwt
1.4.62 to 2.0.3. I m able to get the application in the web browser but i m
unable to update the database into PostgreSql {version is 8.2.}

 My *Web.xml* is shown below


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




  
BuoyDataService

 edu.msstate.gri.server.BuoyDataServiceImpl
  



  
BuoyDataService
/buoyapplication/buoyDataService
  


  

  

BuoyApplication.html






And my *gwt.xml* file is given below



  
  

  
  
  
  
  
  
  
  
  
  
  
  

  

  
  

  
  






When I start my Tomcat I m getting the

 "End event threw exception" in startup window and following this another
error " Parse error in application web.xml"

Is there any error in my* web.xml file*.Plz help me

Thanks in advance,
Rakesh.

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



Re: MMLc: a Tool to convert HTML in GWT widgets

2010-05-24 Thread rakesh wagh
good job
congrats!
keep it up.

On May 23, 10:59 pm, Davi Pires  wrote:
> Hi all,
>
> I'd like to announce that the tool I mentioned here earlier (6 months
> ago) has finally been opened.
> We call it MMLc. From the project description:
>
> "MMLc is a GWT generator that processes files written in an enriched
> HTML like syntax and outputs code that instantiates the precise
> widgets to represent that code.
>
> MMLc improves collaboration between programmer and designers in GWT
> projects, bringing back to the designers control over UI and style.
> Programmers need only to worry with programmers's stuff, which is a
> Good Thing."
>
> We are trying to turn GWT into a more team-friendly tool. So far,
> within our team, we have achieved great success with it.
>
> Links:
> - Project page:http://code.google.com/p/mmlc/
> - An about page that explains it 
> all:http://code.google.com/p/mmlc/wiki/AboutMMLC
> - The original mail thread on this 
> group:http://groups.google.com/group/google-web-toolkit/browse_thread/threa...
> - Some people asked for a comparison between this project and the
> UiBinder. We explain it better 
> here:http://code.google.com/p/mmlc/wiki/ComparisonToUIBinder
>
> Some parts of the project (namely, i18n support and extensibility)
> still lack proper documentation. It should be fixed soon.
>
> Looking forward to your valuable feedback.
>
> Cheers,
> Davi Pires
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group 
> athttp://groups.google.com/group/google-web-toolkit?hl=en.

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



Re: gwt webgl smartgwt

2010-05-11 Thread rakesh wagh
Use emulateIE7 in your html page. I personally had limited luck with
this.
Another work around is: frames.
If your underlying layout is in smartgwt, load your canvas piece as
different module html in a frame and vice versa.

Both are really bad options, however smartgwt and gwt2 mix and match
does not really work well!

Rakesh Wagh

On May 11, 2:25 pm, Alan Chaney  wrote:
> Hi
>
> I've started to build an application using GWT 2 which will needs an
> HTML 5 canvas element to display WebGL. I was intending to use smartgwt
> for the bulk of the UI. Sadly, smartgwt gives layout problems when I add
> the  required by HTML 5 to the main html page of my app.
>
> Hopefully this will be fixed in a future version of smartgwt, but does
> anyone have any ideas for a workaround? For example, could I create a
> widget which wrapped an iframe and set the URL of the iframe to a page
> with an html 5 doctype? I could then use this widget to "embed" my webgl
> viewer.
>
> Any suggestions welcome!
>
> 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-tool...@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.

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



Re: Popuppanel hight/width set to itself, does not work as expected

2010-01-30 Thread rakesh wagh
any one?

On Jan 27, 11:11 am, rakesh wagh  wrote:
> Check this code:
>
> PopupPanel p = new PopupPanel();
> p.setSize(p.getOffsetWidth() + "px", p.getOffsetHeight() + "px");
>
> As expected, nothing should happen., size of the popup panel should
> not change But you can notice that the size changes. Both height and
> width increases by the amount of padding padding/margin/border
> specified in the style. I you make those attribute 0px, it works. This
> problem is not seen with DecoratedPopupPanel, reason being,
> DecoratedPopupPanel does not use those attributes.
>
> Any one know the workaround, or what's wrong here?

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



Re: Feature Request - Improve Visual Look

2010-01-30 Thread rakesh wagh
if you ask me, I like the default theme; simple and elegant! but my
boss and many others I know need something more aesthetically
pleasing.

On Jan 28, 1:27 pm, Simon  wrote:
> Hi
>
> I think some of the most aesthetically pleasing UI components can be
> found in extJS so I would like to suggest that GWT further improve the
> visual appearance of their widgets.
>
> Simon

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



Re: Feature Request - Improve Visual Look

2010-01-30 Thread rakesh wagh
gwt is by and for developers. However gwt is open source and if
desired, graphics artists with little development knowledge(or with
help from developers) can contribute themes on line of standard/chrome/
dark which are already included. Sorry but the looks of gwt's
decorator based panels are not the best in the world... they can get
better, much better. (actually what hurts is that the constructor to
create custom decorator panels is package scope, hence difficult to
extend them for look and feel change!).

There is no harm in having professional looking themes; they should be
included in seperated user contribution download section. If I am not
wrong gwt introduced standard/chrome/dark in 1.5; after that I
expected many more css's would be contributed by artists who work in
gwt related projets. but none came :(

On Jan 29, 2:07 pm, "Parvez Shah"  wrote:
> Yes you are right, we got css to make the app look amazing, but I am sure 
> some of us have got hooked to GWT as we are not good in web technology, not 
> that we should use this reason to sulk and wait for GWT team to really make 
> amazing looking skin out of the box
>
> From: mariyan nenchev
> Sent: Saturday, January 30, 2010 1:05 AM
> To: google-web-toolkit@googlegroups.com
> Subject: Re: Feature Request - Improve Visual Look
>
> There is no need gwt widgets to be "beautiful". They are easy customizable 
> with css.
>
> On Fri, Jan 29, 2010 at 9:30 PM, Paul Grenyer  wrote:
>
>   Why not just use GXT then?
>
>
>
>   -Original Message-
>   From: Marcos Alcantara 
>   Date: Fri, 29 Jan 2010 11:19:28
>   To: Google Web Toolkit
>   Subject: Re: Feature Request - Improve Visual Look
>
>   Couldn´t agree more.
>
>   GWT is great as whole and so flexible, it hurts.
>
>   Although, the core widgets could have a better visual appearance to
>   make them as good as Vaadin's or ext's but without the "desktop
>   application" appeal.
>
>   =)
>
>   Marcos Alcantara
>
>   On 28 jan, 16:27, Simon  wrote:
>   > Hi
>
>   > I think some of the most aesthetically pleasing UI components can be
>   > found in extJS so I would like to suggest that GWT further improve the
>   > visual appearance of their widgets.
>
>   > Simon
>
>   --
>   You received this message because you are subscribed to the Google Groups 
> "Google Web Toolkit" group.
>   To post to this group, send email to google-web-tool...@googlegroups.com.
>   To unsubscribe from this group, send email to 
> google-web-toolkit+unsubscr...@googlegroups.com.
>   For more options, visit this group 
> athttp://groups.google.com/group/google-web-toolkit?hl=en.
>
>   --
>   You received this message because you are subscribed to the Google Groups 
> "Google Web Toolkit" group.
>   To post to this group, send email to google-web-tool...@googlegroups.com.
>   To unsubscribe from this group, send email to 
> google-web-toolkit+unsubscr...@googlegroups.com.
>   For more options, visit this group 
> athttp://groups.google.com/group/google-web-toolkit?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group 
> athttp://groups.google.com/group/google-web-toolkit?hl=en.

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



Popuppanel hight/width set to itself, does not work as expected

2010-01-27 Thread rakesh wagh
Check this code:

PopupPanel p = new PopupPanel();
p.setSize(p.getOffsetWidth() + "px", p.getOffsetHeight() + "px");

As expected, nothing should happen., size of the popup panel should
not change But you can notice that the size changes. Both height and
width increases by the amount of padding padding/margin/border
specified in the style. I you make those attribute 0px, it works. This
problem is not seen with DecoratedPopupPanel, reason being,
DecoratedPopupPanel does not use those attributes.

Any one know the workaround, or what's wrong here?

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



popuppanel hight/width set to itself, does not work as expected

2010-01-26 Thread rakesh wagh
Check this code:

PopupPanel p = new PopupPanel();
p.setSize(p.getOffsetWidth() + "px", p.getOffsetHeight() + "px");

As expected, nothing should happen., size of the popup panel should
not change But you can notice that the size changes. Both height and
width increases by the amount of padding padding/margin/border
specified in the style. I you make those attribute 0px, it works. This
problem is not seen with DecoratedPopupPanel, reason being,
DecoratedPopupPanel does not use those attributes.

Any one know the workaround, or what's wrong here?

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



Re: GWT and portlet

2009-12-14 Thread rakesh wagh
"portlet" by itself is a broad term. You have to be more specific on
what you need to achieve. If all you are looking for is portlet like
boxes where some information can be displayed, look into demo 4 and 5
of gwt-dnd library. If you need more like jsr 168 compliance etc, you
will have to put some more efforts. Check these articles if they are
any help:

https://technical.wiki.d4science.research-infrastructures.eu/documentation/index.php/Developing_Portlets_with_GWT
http://blogs.sun.com/insidemyhead/entry/google_web_toolkit_gwt_modules

On Dec 12, 7:10 am, Rascio88  wrote:
> Hi!
> i'm new using GWT. Where can i find some documentation on how i can
> make a portlet using the GWT?
> And there's some Maven archetype that can i use to make this?

--

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




Re: Can GWT do this?

2009-12-14 Thread rakesh wagh
ofcourse you can do that... It would help if you can elaborate. A
simple implementation would be to make use of deckpanel where you
switch the deck card based on editMode flag. put a label and textbox
in the deck. If editMode == true, display textbox. if false, display
label. This is one simple implementation. It depends on what your
exact use case is.

Rakesh Wagh

On Dec 13, 11:23 am, sportscode  wrote:
> I would like to create an application that has,
> 1. Edit Mode - Acts as an editor where i can design buttons and labels
> 2. Application Mode - Where it acts as an application on the newly
> designed buttons
>
> Thanks and 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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: Which is the best way to manage many rows in a table with pagination?

2009-10-28 Thread rakesh wagh

>>  I was seeing the incubator's widget
ScrollPagingTable, what do you think about it?

it is really good, use it!

Rakesh Wagh

On Oct 28, 6:43 am, iaio81  wrote:
> Hi all,
> which is according to you the best way to manage many rows in a table
> through pagination? I was seeing the incubator's widget
> ScrollPagingTable, what do you think about it?
--~--~-~--~~~---~--~~
You received 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: Announcing GWT 2.0 Milestone 1

2009-10-06 Thread Rakesh

great release ... especially the declarative ui, download on demand
and multiple browsers piece!!! good going gwt team... you rock!!

--~--~-~--~~~---~--~~
You received 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: Very! basis question: Call from JavaScript to Java

2009-09-21 Thread Rakesh

look into jsni:
http://googlewebtoolkit.blogspot.com/2008/07/getting-to-really-know-gwt-part-1-jsni.html

On Sep 21, 9:48 am, "kuri...@googlemail.com" 
wrote:
> Hi,
>
> i have a pretty simple problem i guess, and i cant get the solution
> because i cant all the examples available in the web work.
>
> I have a HTMLPanel with the following content:
>
>  (th...@com.meinskat.client.content.components.msloginpage::getLink()
> ());\">> hier
>
> my method in the class: MSLoginPage is: getLink(){ return "test"}
>
> Nothing is working...
> can anybody give me a hint or the solution how i can call a Java
> Method through javascript?
>
> Thanks alot,
>
> Christian
--~--~-~--~~~---~--~~
You received 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: Creating a wizard - Series of steps with GWT

2009-09-16 Thread Rakesh

Steps:
- Create a Composite widget called Wizard
- This widget will have a DeckPanel and back/next buttons in a main
VerticalPanel.
- Add your screens(different widgets) into the base DeckPanel.
- If you have lot of data that is shared across the screens, wrap it
up in a value object.
- Share this value object across screens.
- Each screen is a composite widget that is aware of how to render
itself with the passed data.

you can make the wizard generic by accepting list of screen widgets
(Widget[]) and adding them all to the deckpanel; on back/next move the
visible deck as required.

It is very simple! Little playing around with gwt and you will do it.
good luck...

Rakesh Wagh

On Sep 15, 9:31 pm, Karan Sardana  wrote:
> Scenario is -  The user needs to enter and submit a lot of
> information, & the mechanism to collect such information is often
> organized into many screens with next/previous/finish buttons.
>
> Is there any way in which I can create this with GWT?
>
> Thanks,
> Karan
--~--~-~--~~~---~--~~
You received 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: Is it possible to "clone" Widgets?

2009-08-21 Thread Rakesh

typo:
private class TestClone extends Composite{
public TestClone (TestClone src){
setElement(new HTML(src.toString()).getElement
());
}
public TestClone (){
initWidget(new VerticalPanel(){
  {add(new TextBox()); add(new CheckBox());}
});
}

}

On Aug 21, 12:38 pm, Rakesh  wrote:
> It is not impossible, though not very straight forward;
> To start with, you can create a simple replica of any of your widget
> by flattening it into html, and creating element out of this html.
> private class TestClone extends Composite{
>                 public TestComposite(TestClone src){
>                         setElement(new HTML(src.toString()).getElement());
>                 }
>                 public TestComposite(){
>                         initWidget(new VerticalPanel(){
>                           {add(new TextBox()); add(new CheckBox());}
>                         });
>                 }
>
> }
>
> ...
>
> TestClone original = new TestClone();
> TestClone cloned = new TestClone(original);//Cloned!
>
> This simple construct will work on basic Widgets that does not have
> private variables and other handler related references attached to
> them. Technically you should be able to achieve complete cloning if
> you are able to link the html and its corresponding variable
> references properly.
>
> Rakesh Wagh
>
> On Aug 13, 8:53 am, Ice13ill  wrote:
>
> > If i have a Widget, in a VerticalPanel let's say, and i want to add a
> > widget with the same properties in another panel, is it possible to
> > clone that widget? Or to create a Widget from that first widget ?
>
> > (Smth like : Widget w = new Widget(firstWidget) )
--~--~-~--~~~---~--~~
You received 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: Textbox event key code not case sensitive?

2009-08-21 Thread Rakesh

Thomas, I am not sure I understand what you are saying. I need the
last char pressed by the user(on key down/up). How do you get that?

On Aug 14, 6:31 pm, Thomas Broyer  wrote:
> On 14 août, 21:37,rakeshwagh wrote:
>
>
>
> > Today While extending the TextBox, I encountered very strange
> > behaviour.
> > All alphabets returned by event.getNativeKeyCode() are upper case.
> > Here is sample program:
>
> > public class TextBox extends com.google.gwt.user.client.ui.TextBox{
> >         public TextBox() {
> >                         super();
> >                         addKeyDownHandler(new KeyDownHandler(){
> >                                 public void onKeyDown(KeyDownEvent event) {
> >                                         int key = event.getNativeKeyCode();
> >                                         System.out.println("key: " + 
> > (char)key);
> >                                 }
> >                         }
> >         }
>
> > }
>
> > Enter characters in lower case, it will print upper case to the
> > console. I thought of checking with the group before raising it as an
> > issue. Any idea on what's going on here?
>
> You're confusing "key codes" with "characters". Key codes (as well as
> keydown and keyup events) are really about keyboard *keys* that you
> depress (or at least should be, as it differs a bit amongst browsers).
>
> This was really confusing in GWT 1.5 and previous versions, since GWT
> 1.6 and the new events, it's a bit clearer, but still somewhat buggy
> (see issue 
> 3753:http://code.google.com/p/google-web-toolkit/issues/detail?id=3753
> )
>
> See also issues 72 (among 
> others):http://code.google.com/p/google-web-toolkit/issues/detail?id=72
--~--~-~--~~~---~--~~
You received 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: Is it possible to "clone" Widgets?

2009-08-21 Thread Rakesh

It is not impossible, though not very straight forward;
To start with, you can create a simple replica of any of your widget
by flattening it into html, and creating element out of this html.
private class TestClone extends Composite{
public TestComposite(TestClone src){
setElement(new HTML(src.toString()).getElement());
}
public TestComposite(){
initWidget(new VerticalPanel(){
  {add(new TextBox()); add(new CheckBox());}
});
}

}

...

TestClone original = new TestClone();
TestClone cloned = new TestClone(original);//Cloned!

This simple construct will work on basic Widgets that does not have
private variables and other handler related references attached to
them. Technically you should be able to achieve complete cloning if
you are able to link the html and its corresponding variable
references properly.

Rakesh Wagh

On Aug 13, 8:53 am, Ice13ill  wrote:
> If i have a Widget, in a VerticalPanel let's say, and i want to add a
> widget with the same properties in another panel, is it possible to
> clone that widget? Or to create a Widget from that first widget ?
>
> (Smth like : Widget w = new Widget(firstWidget) )
--~--~-~--~~~---~--~~
You received 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
-~--~~~~--~~--~--~---



Textbox event key code not case sensitive?

2009-08-14 Thread rakesh wagh

Today While extending the TextBox, I encountered very strange
behaviour.
All alphabets returned by event.getNativeKeyCode() are upper case.
Here is sample program:

public class TextBox extends com.google.gwt.user.client.ui.TextBox{
public TextBox() {
super();
addKeyDownHandler(new KeyDownHandler(){
public void onKeyDown(KeyDownEvent event) {
int key = event.getNativeKeyCode();
System.out.println("key: " + (char)key);
}
}
}
}

Enter characters in lower case, it will print upper case to the
console. I thought of checking with the group before raising it as an
issue. Any idea on what's going on here?

Thanks,
Rakesh Wagh
--~--~-~--~~~---~--~~
You received 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: prerequisities of GWT to develop JPA

2009-08-11 Thread Rakesh

Read this tutorial:
http://code.google.com/intl/fr/webtoolkit/articles/using_gwt_with_hibernate.html

It might have answers to most of your questions.

Rakesh Wagh

On Aug 11, 2:04 am, tolga ozdemir  wrote:
> Hi everybody,
>
> I am starting to learn GWT stuff for a while. I am really getting
> enjoy it. Now, I am considering to use JPA to access my database.. I
> read a lot of articles about this.. (took a look at GWT 1.4 and GWT
> 1.5 samples also)
>
> But guys, I have not succeeded yet.. Any help about this would be
> great.. Bu my question is different..
>
> Would you jote down a list what we need to use JPA with GWT
>
> JDK? (I have Java SE 1.6 JDK)
> Server? (I use hosted mode, I love it)
> Database (I can use MySQL and MsSql)
> GWT SDK (1.7)
> Google App SDK (1.2.2)
> Hibernate api
> Any more tools do we need to develop???
>
> please write a simple list to me, maybe I missing the point right
> there.. My tools are enough??
>
> Thank you,
>
> Tolga
--~--~-~--~~~---~--~~
You received 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: New GWT user has a simple qustion using eclipse

2009-07-11 Thread Rakesh

The cleanup is really very minimal.
Clean the EntryPoint class
Clean RPC: delete the three files: async, service and impl.
Remove the table and header from html

I hope you will not mind the css...
Rakesh Wagh
On Jul 11, 9:35 am, tedpottel  wrote:
> Hi,
> I was able to use eclipse to create a project and run it. When I
> create a new project using eclipse it startes out with a simple
> program instad of empty code. Is there a way to have it so when you
> create a new project the code is just a empty class?
> -Ted
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-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: multiple dialog box/popup panel overlap issue

2009-07-08 Thread Rakesh

Ian, you are right about the zindex.
However the problem is that I need to have access to all the windows/
popups(floating divs) that are on my screen; and need to control
zindexes of all. This might not always be possible. For example I am
writing an reusable widget that has multiple popups which will always
stay on the screen once my widget is instantiated. This widget will be
used in different applications in my company. I have little or no
access to what other popups/widgets/absolute divs will be open on the
screen. However I need to make sure that any of the dialogboxes shown
in my re usable widget are always on the top once they are dragged...

thanks any way...

Do you by any chance happen to know how gwt manages the "popup on top
of listbox" issue in its code?

Rakesh Wagh

On Jul 8, 5:29 pm, Ian Bambury  wrote:
> Hide/Sow will work. So will zIndex. Try this:
> public class Main implements EntryPoint, MouseDownHandler
> {
>     DialogBox a = new DialogBox(false, false);
>     DialogBox b = new DialogBox(false, false);
>
>     public void onModuleLoad()
>     {
>         a.setText("AAA");
>         a.setWidget(new Label("a"));
>         a.getElement().getStyle().setProperty("backgroundColor", "cyan");
>         a.getCaption().addMouseDownHandler(this);
>         a.center();
>
>         b.setText("B");
>         b.setWidget(new Label("bb"));
>         b.getElement().getStyle().setProperty("backgroundColor", "yellow");
>         b.getCaption().addMouseDownHandler(this);
>         b.center();
>     }
>
>     @Override
>     public void onMouseDown(MouseDownEvent event)
>     {
>         Widget d = (Widget) event.getSource();
>         DialogBox c = (DialogBox) d.getParent();
>         a.getElement().getStyle().setProperty("zIndex", "0");
>         b.getElement().getStyle().setProperty("zIndex", "0");
>         c.getElement().getStyle().setProperty("zIndex", "1");
>     }
>
> }
>
> Ian
>
> http://examples.roughian.com
>
> 2009/7/8 Rakesh 
>
>
>
>
>
> > as I said,
> > hide/show is not an option. Consider that the DialogBoxes are always
> > in show state. User can drag them over each other.
>
> > Does any one know how PopupPanel manages z-index and lisbox on top
> > issue? I looked in the PopupPanel class several times, without any
> > luck :(
>
> > Rakesh Wagh
>
> > On Jul 7, 9:53 pm, Ian Bambury  wrote:
> > > Have you actually *tried* a hide followed by a show to see the effect?
> > > Ian
>
> > >http://examples.roughian.com
>
> > > 2009/7/8 Rakesh 
>
> > > > typo:
> > > > ...All dialog boxes mantain the other ...
> > > > =
> > > > ...All dialog boxes mantain the "order" ...
>
> > > > On Jul 7, 9:39 pm, rakesh wagh  wrote:
> > > > > I have multiple dialog boxes(or popup panels) on my screen. When I
> > > > > drag one, it should show up on top of others. But that does not
> > > > > happen. All dialog boxes mantain the other in which they were added.
> > > > > Unfortunately show()/hide() is not the option for me. All my non
> > modal
> > > > > dialog box windows are always in the show() state.
>
> > > > > Any solution??
>
> > > > > I tried playing around z-index a bit, but no luck so far.
>
> > > > > Thanks...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: multiple dialog box/popup panel overlap issue

2009-07-08 Thread Rakesh

as I said,
hide/show is not an option. Consider that the DialogBoxes are always
in show state. User can drag them over each other.

Does any one know how PopupPanel manages z-index and lisbox on top
issue? I looked in the PopupPanel class several times, without any
luck :(

Rakesh Wagh

On Jul 7, 9:53 pm, Ian Bambury  wrote:
> Have you actually *tried* a hide followed by a show to see the effect?
> Ian
>
> http://examples.roughian.com
>
> 2009/7/8 Rakesh 
>
>
>
>
>
> > typo:
> > ...All dialog boxes mantain the other ...
> > =
> > ...All dialog boxes mantain the "order" ...
>
> > On Jul 7, 9:39 pm, rakesh wagh  wrote:
> > > I have multiple dialog boxes(or popup panels) on my screen. When I
> > > drag one, it should show up on top of others. But that does not
> > > happen. All dialog boxes mantain the other in which they were added.
> > > Unfortunately show()/hide() is not the option for me. All my non modal
> > > dialog box windows are always in the show() state.
>
> > > Any solution??
>
> > > I tried playing around z-index a bit, but no luck so far.
>
> > > Thanks...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: multiple dialog box/popup panel overlap issue

2009-07-07 Thread Rakesh

typo:
...All dialog boxes mantain the other ...
=
...All dialog boxes mantain the "order" ...

On Jul 7, 9:39 pm, rakesh wagh  wrote:
> I have multiple dialog boxes(or popup panels) on my screen. When I
> drag one, it should show up on top of others. But that does not
> happen. All dialog boxes mantain the other in which they were added.
> Unfortunately show()/hide() is not the option for me. All my non modal
> dialog box windows are always in the show() state.
>
> Any solution??
>
> I tried playing around z-index a bit, but no luck so far.
>
> Thanks...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Initial release of GWT-cs, GWT application construction with Spring

2009-07-07 Thread Rakesh

do you have an example some where that will explain its use???

Thanks,
Rakesh Wagh

On Jul 7, 7:22 pm, "colin.zhao"  wrote:
> I am pleased to announce the initial release of GWT-cs, which allows
> you to use Springframework's bean configuration xml file to define GWT
> client side application structure.  It leverages GWT generator API and
> Spring BeanFactory API, and so the module itself is tiny.
>
> My intention is to externalize the inter page/screen structure and
> eventually store it in a relational form for an application life cycle
> management system.
>
> So here is the project url:http://code.google.com/p/gwt-cs/
>
> Hope you find it useful.
>
> Colin
--~--~-~--~~~---~--~~
You received 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
-~--~~~~--~~--~--~---



multiple dialog box/popup panel overlap issue

2009-07-07 Thread rakesh wagh

I have multiple dialog boxes(or popup panels) on my screen. When I
drag one, it should show up on top of others. But that does not
happen. All dialog boxes mantain the other in which they were added.
Unfortunately show()/hide() is not the option for me. All my non modal
dialog box windows are always in the show() state.

Any solution??

I tried playing around z-index a bit, but no luck so far.

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



Re: Excel and GWT

2009-06-30 Thread Rakesh

use jdbc on the server side to select and insert data into your excel
spread sheet. If you are using MS, try the ODBC-JDBC method. Or check
this project: https://xlsql.dev.java.net/

On Jun 30, 12:41 am, garshita  wrote:
> Hi,
> I need to read data from my excel sheet and display it using GWT
> dynamically...I am very new to the topic. Can u suugest me a base so
> tht i can proceed... ?
--~--~-~--~~~---~--~~
You received 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: GWTetris - enjoy it :)

2009-06-05 Thread Rakesh

good work, keep it up!

On Jun 2, 10:41 pm, Janusz Prokulewicz  wrote:
> Hi everyone!
>
> I'd like to invite all of you to play my own Tetris which I
> implemented with GWT. It's called GWTetris :p and I hope you'll enjoy
> it :) I added high scores feature so I think it'll be fun.
>
> You can find it here:http://mars.iti.pk.edu.pl/~swoosh/GWTTetris.html
>
> Greetings,
>
> Janusz Prokulewicz
>
> BTW I'm looking for a job in Poland as a GWT developer (more or
> less)...
--~--~-~--~~~---~--~~
You received 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: Resizable Disclosure panel

2009-06-01 Thread Rakesh

try gwt-mosaic or gwt-dnd panels/widgets for your purpose.

On Jun 1, 4:42 am, java_hunter  wrote:
> Hello ,
>
> I am using Disclosure panel to populate some customer information.
> I need to make the disclosure panel as resizable.
> But I could not find any functions for it.
> Is there a way to make the disclosure panel as resizable?
> Or any other panel options that I can use as resizable?
>
> 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: Introducing Shandor Xul: Run you app as Gwt, Swing and SWT

2009-05-27 Thread Rakesh

Do you have an online showcase that would show us how a simple sample
application would "look like" all the three platforms? And also the
code associated with it?

On May 20, 12:20 pm, codeoncoffee  wrote:
> For the past year Pentaho has been developing a Java Xul framework for
> writing apps that run in Swing, Swt and Gwt without code modification.
> It's been open source from the start (LGPLv2) but not advertised.
> We've recently moved the project out into BitBucket.org as Shandor Xul
> and are looking for contributors!
>
> About Shandor Xul:
> Shandor allows you to write applications in a UI agnostic framework
> built on the Mozilla XUL declarative mark-up syntax. Shandor is not
> code-gen! It's a runtime framework with agnostic interfaces that you
> code against. There's an live abstract DOM representing your
> application that you can interact with and bind your code to.
>
> Below are some of the Killer things Shandor can do for you:
>
> Built-in Binding Framework (including collections to UI)
> Includes and Overlays (overlays allow runtime changing of the UI, free
> plug-in framework!)
> IOC ready (Spring, Juice, etc.)
> Groovy event handler support.
> Built-in i18n
>
> Being able to change a UI without recompiling is fantastic for our
> users as well as our Graphic Designers. Not having to write and
> maintain the same code in 3 places... dead sexy.
>
> Shandor has been of great use to us and we hope that it can do the
> same for the larger java community. We're looking for anyone who would
> like to contribute to the project, from users to coders!
>
> The code, doc (some) and a sample application can be found 
> here:http://bitbucket.org/codeoncoffee/shandor-xul/wiki/Home
--~--~-~--~~~---~--~~
You received 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
-~--~~~~--~~--~--~---



Getting started with gwt 1.6 and Intellij 8

2009-05-16 Thread Rakesh

hi all,

I'm trying to learn GWT (well Ext GWT top be precise) and have lots of
issues using Intellij.

Firstly, I purchased a book but the examples are based on Eclipse. I'm
trying to translate for Intellij but running into issues the main one
being that Intellij doesn't seem to want to create all the directories
for you. There is a demo on the Jet brains site but its out of date as
the GWT Studio plug in has been deprecated. The new 'facet' system
doesn't create a sample app. I did find a menu item when I created a
new gwt project that said 'Sample App' but it said i needed version
1.5 of GWT or later but I am using 1.6

To top it all, I saw posts by the Jetbrains people to say 'proper'
support will be available in Intellij 9!!!

Bottom line, is it easier to just use Eclipse? Or is there some
staright forward resource out there which will show me how to create a
gwt app in Intellij 8?

Frustrated!!!

R

--~--~-~--~~~---~--~~
You received 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 Collections with GWT?

2009-05-12 Thread Rakesh

FYI:
http://groups.google.com/group/google-collections-users/browse_thread/thread/b0873c9e59050ed3/a3915e9e3db8314a?lnk=gst&q=gwt#a3915e9e3db8314a

On May 12, 11:57 am, Rakesh  wrote:
> it would be interesting to have google collections work in gwt!
>
> On May 8, 7:46 am, sullymandias  wrote:
>
> > Are Google Collections passable over GWT-RPC? I've been trying to get
> > this to work for a few hours now with no luck. I'm using GWT 1.6.4. I
> > managed to get Maven to download the source for google collections 1.0-
> > rc1, and get it in my classpath for the GWT Compiler, but the compiler
> > is not succeeding in processing that source. I get the following
> > error:
>
> >      [java]             [ERROR] Errors in 'jar:file:/home/sullivan/
> > NetBeansProjects/rnateam/war/WEB-INF/lib/google-collections-1.0-rc1-
> > sources.jar!/com/google/common/collect/TreeMultimap.java'
> >      [java]                [ERROR] Line 32: The import
> > javax.annotation.Nullable cannot be resolved
> >      [java]                [ERROR] Line 135: Nullable cannot be
> > resolved to a type
> >      [java]                [ERROR] Line 136: Nullable cannot be
> > resolved to a type
> >      [java]                [ERROR] Line 179: Nullable cannot be
> > resolved to a type
> >      [java]                [ERROR] Line 180: Nullable cannot be
> > resolved to a type
>
> > I went and added the jar and source-jar for javax.annotation:jsr250-
> > api:1.0 and got it in the classpath for the GWT Compiler, but no luck.
> > As it turns out, there is no javax.annotation.Nullable in the jsr250-
> > api.jar
>
> > Any suggestions?
>
> > Thanks, John
--~--~-~--~~~---~--~~
You received 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 Collections with GWT?

2009-05-12 Thread Rakesh

it would be interesting to have google collections work in gwt!


On May 8, 7:46 am, sullymandias  wrote:
> Are Google Collections passable over GWT-RPC? I've been trying to get
> this to work for a few hours now with no luck. I'm using GWT 1.6.4. I
> managed to get Maven to download the source for google collections 1.0-
> rc1, and get it in my classpath for the GWT Compiler, but the compiler
> is not succeeding in processing that source. I get the following
> error:
>
>      [java]             [ERROR] Errors in 'jar:file:/home/sullivan/
> NetBeansProjects/rnateam/war/WEB-INF/lib/google-collections-1.0-rc1-
> sources.jar!/com/google/common/collect/TreeMultimap.java'
>      [java]                [ERROR] Line 32: The import
> javax.annotation.Nullable cannot be resolved
>      [java]                [ERROR] Line 135: Nullable cannot be
> resolved to a type
>      [java]                [ERROR] Line 136: Nullable cannot be
> resolved to a type
>      [java]                [ERROR] Line 179: Nullable cannot be
> resolved to a type
>      [java]                [ERROR] Line 180: Nullable cannot be
> resolved to a type
>
> I went and added the jar and source-jar for javax.annotation:jsr250-
> api:1.0 and got it in the classpath for the GWT Compiler, but no luck.
> As it turns out, there is no javax.annotation.Nullable in the jsr250-
> api.jar
>
> Any suggestions?
>
> Thanks, John
--~--~-~--~~~---~--~~
You received 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
-~--~~~~--~~--~--~---



Newbie question about testing guis

2009-05-11 Thread rakesh mailgroups
Hi,

I've just been told by the powers-that-be that I will be taking over
development of a GWT-Ext app thats just been started.

I know very little about GWT and intend to read up soon but I have a
question that I will probably not find in the docs and thought I would ask
this group.

My previous experience of testing guis has been prone to problems. The main
one being testing lots of use cases and the build taking a lot of time to
run.

I was wondering whether it would be possible to test the GWT app with
stubbed server-side components? Is that possible?

Thanks

R

--~--~-~--~~~---~--~~
You received 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 Mail sample using Spring & Dreamsource ORM

2009-04-22 Thread Rakesh

> Why would anyone want to use this ORM when theres hibernate ?
Check the author name of that project!

Nevertheless, good job!

On hibernate: After using hibernate for years, we are seriously
considering other options like toplink essentials, cayenne or even
ibatis. I think we should remove the blind fold and start using
whatever makes sense for a specific problem domain.

Rakesh Wagh

On Apr 22, 3:11 am, mP  wrote:
> Why would anyone want to use this ORM when theres hibernate ?
> Hibernate has lots of additional features, caching, different fetch
> strategies, tooling, the list goes on etc none of which are mentioned
> in the wiki..
>
> The main page doesnt mention has this package solves the detached
> enhanced object problem so many people have raised questions and
> discussed in thsi forumDoes this lib solve that problem - if so
> please elaborate...
>
> On Apr 21, 4:16 pm, Jim  wrote:
>
>
>
> > I modified the GWT mail sample distributed with GWT. The mail sample
> > can retrieve emails from HSQLDB and update contacts in the database. I
> > use the following features - Spring IOC and Spring AOP transaction,
> > Dreamsource ORM. You can lauch http://www.leeonsoft.com/mail/
> > Mail.html">this application. The source code is available 
> > fromhttp://dreamsource-orm.googlecode.com/files/mail_1.0.0_04202009.jar.
> > You need Dreamsource ORM source code that is also available 
> > fromhttp://dreamsource-orm.googlecode.com/files/dreamsource2_0_1_04202009
>
> > Dreamsource ORM is making big difference in developing GWT
> > application. Any feedback is welcome.
>
> > Jim Xie
--~--~-~--~~~---~--~~
You received 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: File Upload with rpc call

2009-04-14 Thread Rakesh

Look into google gears. You can upload a file of up to 1 GB in youtube
with google gears installed.
Look for:
Blob slice(offset, length)
and
HttpRequest API
--~--~-~--~~~---~--~~
You received 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: Folks.. I need a direction

2009-04-06 Thread Rakesh

You are missing something here. and that is RPC. Calling get set on
your beans will modify that value only in the client browser. You want
to communicate this value back to the server. So you need to make an
RPC call. Now, you can generate a bean that will make RPC calls in its
get set methods... why not? However, there is no such library or
framework currently that work this way. With little code, you can
create this behaviour. However I will recommend that let a bean be
bean. do a rpc when set is called on the bean. Send the entire bean to
your service layer. In service layer make the db call.

On Apr 6, 10:32 am, ammours  wrote:
> Hello All,
>
> My goal is to use a developed persistence layer where validation,
> fetch , add , update and delete operations are performed with GWT.
> This persistence is not EJB, Spring nor hibernate. They are simple
> objects doing validations and operations.
>
> I am looking for a mechanism to pass beans to the UI then making those
> beans triggering the persistence layer , pass updates and receive OK
> or errors based on the business validation rules. Something like bean
> property change fire etc...
>
> What would be the best direction to follow with GWT? Are there such
> examples? Any help is appreciated
--~--~-~--~~~---~--~~
You received 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: Why not use applets?

2009-04-02 Thread Rakesh

>>Weak reference (Weak listener in SWT/Swing) that isn't supported
>>in javascript, but does in javaFX (java).
You can simulate this in gwt.
About speed and performance: Remember js runs inside the browser. It
is completely at the mercy of browser(unlike applets). You should see
the js engine improvements in firefox 3.1 and chrome. They are
ultrafast for js. Js differs from pure java in the sense that it is
single threaded. However this will change in coming years. We recently
developed a sizeably big application using gwt over the past 1.5
years. I can tell you that without any code for freeing/releasing/
cleaning up objects etc, we had pretty good performance...

If I am working with browsers, my first choice will be browser dom and
not plugins! GWT makes so much sense with that aspect... As I said
earlier, google should submit the gwt as a jsr in jcp. Or sun enggs
should rethink for client side java. Again, translating java into js
or any other code that runs on client would be better than forcing the
jvm/bytecode approach. And I say this after writing my first ever web
based program as java applet and not jsp/aps/servlet or cgi script.


On Mar 31, 4:02 am, Ed  wrote:
> > - New scripting language. Why? Why should I learn a new scripting
> > language? I love java... and sun is asking me to write my code in
>
> Can't agree with you on this one. You should see javaFx as a DSL
> (Domain Specific Language).
> That is: every problems asks for another solution. In this case javaFX
> simple fits better in solving the RIA solutions.
> And don't worry, you can still do a lot in java, and javaFX looks a
> lot like it.
> If you are a swing/gwt programming, it has some reay nice things
> like for example the "bind" keyword. Just one keyword to bind a
> variable to some screen presentation. I gwt, you have to use a
> listener, listener collection, etc... to realize this (and clean it up
> properly to overcome memory problems).
> I can give you man advantages of this... Not even to speak about
> the Weak reference (Weak listener in SWT/Swing) that isn't supported
> in javascript, but does in javaFX (java).
> My experience: in complex RIA app's, this isn't a NICE to have, this
> is a MUST-have...
>
> Try it and you will understand what I mean. I had about the same
> thoughts before trying it and only playing with simple RIA app's...!
>
> > Disclaimer: I have not developed a real application from javafx. My
> > knowledge is restricted to samples and demos provided by sun.
>
> That explains the above remarks...
>
> What I miss in this discussion: the whole enterpise strategy plans,
> which will break/make javaFx. Just the same as how Microsoft made sure
> their OS was accepted and a success was born (together with the
> richest man on this planet)... S time will tell how Java will
> be accepted in the browser and if we can really use javaFX in a year
> or so just like Flash. Things look promising, but still. it's Sun
> behind it, and not microsoft and they aren't so well in Marketing
>
> Just my thoughs,
> Ed
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Why not use applets?

2009-03-30 Thread Rakesh

correction: netscape => firefox

On Mar 29, 11:46 pm, Rakesh  wrote:
> My thoughts on javafx:
> - jnpl start: Web apps are supposed to run in web browser!  More over
> they are supposed to co-exist with other stuff on the webpage, example
> javascript, html. While I like the concept of webstart for deploying
> desktop based applications through internet, I dont really buy the
> idea of calling a webstart based app as RIA. I would rather call it as
> desktop based swing app with a different skin!
> - New scripting language. Why? Why should I learn a new scripting
> language? I love java... and sun is asking me to write my code in
> something else? why? Who is sun targeting? Developers or designers? or
> both?? I am confused here... JavaFX Script is a big no no for me.
> - Its not cool enough! Java fx would had been cool if it was released
> in early swing days, not now. It is not smooth enough. It is not
> catchy enough. Compare it with Flash... it simply doesn't fly. Flash's
> main advantage is animation and vector graphics which is not captured
> properly by javafx.
>
> I can go on and on... The point here is that if sun is coming up with
> a client side tech(browser based or otherwise), it should 1. try to
> bring in something better in comparison to the competition and 2.
> Learn from its past mistakes(pushing applets and java run time in
> client machine).
>
> Disclaimer: I have not developed a real application from javafx. My
> knowledge is restricted to samples and demos provided by sun.
>
> I wonder why google-gwt team didnt register a jsr for gwt?
>
> Browser is getting faster and feature rich. Java should make browser
> work to its advantage. Sun's approach is isolation... it wants to get
> out of the browser into its own jvm to do things. Html 5 is so
> exciting. Imagine a swing based application rendering in HTML5 canvas!
> As I said earlier, Sun should think out of its jvm/jre mind set at
> least for client apps.
>
> Silverlight: Not much knowledge/experience in that area. I will go
> with flash instead of Silverlight any day(another discussion!)
>
> Finally: I think javascript and HTML5 is the future of Internet based
> applications. With that said, any technology that works in that
> direction is a good technology. gwt, gears, canvas, netscape browser
> itself, etc ... all are going fwd technologies
>
> RakeshWagh
> On Mar 29, 10:35 pm, Guy Rouillier  wrote:
>
> > On Mar 29, 9:46 pm,Rakesh wrote:
>
> > > oops, forgot to mention: javafx is such a wrong initiative and waste
> > > of time energy and resources in wrong direction!
>
> > Care to expand on why you think so?  Why is JavaFX more a waste of
> > time than, say, Silverlight?
--~--~-~--~~~---~--~~
You received 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: Why not use applets?

2009-03-29 Thread Rakesh

My thoughts on javafx:
- jnpl start: Web apps are supposed to run in web browser!  More over
they are supposed to co-exist with other stuff on the webpage, example
javascript, html. While I like the concept of webstart for deploying
desktop based applications through internet, I dont really buy the
idea of calling a webstart based app as RIA. I would rather call it as
desktop based swing app with a different skin!
- New scripting language. Why? Why should I learn a new scripting
language? I love java... and sun is asking me to write my code in
something else? why? Who is sun targeting? Developers or designers? or
both?? I am confused here... JavaFX Script is a big no no for me.
- Its not cool enough! Java fx would had been cool if it was released
in early swing days, not now. It is not smooth enough. It is not
catchy enough. Compare it with Flash... it simply doesn't fly. Flash's
main advantage is animation and vector graphics which is not captured
properly by javafx.

I can go on and on... The point here is that if sun is coming up with
a client side tech(browser based or otherwise), it should 1. try to
bring in something better in comparison to the competition and 2.
Learn from its past mistakes(pushing applets and java run time in
client machine).

Disclaimer: I have not developed a real application from javafx. My
knowledge is restricted to samples and demos provided by sun.

I wonder why google-gwt team didnt register a jsr for gwt?

Browser is getting faster and feature rich. Java should make browser
work to its advantage. Sun's approach is isolation... it wants to get
out of the browser into its own jvm to do things. Html 5 is so
exciting. Imagine a swing based application rendering in HTML5 canvas!
As I said earlier, Sun should think out of its jvm/jre mind set at
least for client apps.

Silverlight: Not much knowledge/experience in that area. I will go
with flash instead of Silverlight any day(another discussion!)

Finally: I think javascript and HTML5 is the future of Internet based
applications. With that said, any technology that works in that
direction is a good technology. gwt, gears, canvas, netscape browser
itself, etc ... all are going fwd technologies

Rakesh Wagh
On Mar 29, 10:35 pm, Guy Rouillier  wrote:
> On Mar 29, 9:46 pm, Rakesh  wrote:
>
> > oops, forgot to mention: javafx is such a wrong initiative and waste
> > of time energy and resources in wrong direction!
>
> Care to expand on why you think so?  Why is JavaFX more a waste of
> time than, say, Silverlight?
--~--~-~--~~~---~--~~
You received 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: Why not use applets?

2009-03-29 Thread Rakesh

oops, forgot to mention: javafx is such a wrong initiative and waste
of time energy and resources in wrong direction!

On Mar 29, 8:18 pm, Rakesh  wrote:
> sun did bad job when it comes to browser side java. Microsoft's
> strategies, and there dislike towards sun made sure that applets never
> succeeded(remember ie has and had the largest browser market share).
> However if some one has to be blamed, I think it is Sun's vision and
> Engineering. In my opinion, Sun engineering failed to:
> - Move out of the fixed mindset of "jre based browser plugin" and
> think differently
> - Visualize something like gwt is possible
> - Learn lessons from the popularity of flash plugin.
> - get rid of the ugly gray screen and refresh issues.
> - Make applets light weight like flash.
>
> I still think that it is not too late for sun to change its course.
> They should drop the concept of applet and launch the concept called
> "client side java". "Client side java" should compile into various
> targets like javascript, swf, silverlight to name few. This way java
> users would write browser/client based apps and run them everywhere...
> In one sense this is the true defn of java! Sun should get away from
> the notion of java to bytecode. Instead they should develop the notion
> of java to anything! You will write code in java and run it anywhere,
> literally! One simple bridge of java to swf would change the applet
> world...
>
> just my 2c...
>
> On Mar 29, 5:52 pm, Dobes Vandermeer  wrote:
>
> > After some more research it looks like the java plugin isn't as
> > popular as I thought, only 50%-80% penetration, whereas javascript is
> > supported in all browsers, and flash has 80%-99% penetration.
>
> > Thus, applets are not cool ... oh well.
>
> > On Mar 29, 3:17 pm, Dobes  wrote:
>
> > > Recently while cursing the slowness of GWT compilation, the slowness
> > > in the browser, and the lack of Java 6 features, it occurred to me
> > > that if GWT had simply been built on top of the Java Applet technology
> > > it could really overcome these limitations.
>
> > > Does anyone know why GWT wouldn't be much better if it were java
> > > bytecode running in an applet?  All the major browsers support
> > > applets, the Java VM runs the code nice and fast, and applets have
> > > decent access to the DOM and the ability to run javascript.
> > > Everything that is needed to implement GWT is available to an applet,
> > > as far as I can tell.
>
> > > Thoughts?
>
> > > If I had time I'd experiment and try making a knock-off of GWT using a
> > > hidden applet so I could just write every in Java, run and debug it in
> > > the Java VM ... could even use Java's built-in RPC mechanism if I
> > > wanted to.  Interesting concept, although it's likely I'm missing
> > > something important about why the GWT team didn't go this route in the
> > > first place.
--~--~-~--~~~---~--~~
You received 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: Why not use applets?

2009-03-29 Thread Rakesh

sun did bad job when it comes to browser side java. Microsoft's
strategies, and there dislike towards sun made sure that applets never
succeeded(remember ie has and had the largest browser market share).
However if some one has to be blamed, I think it is Sun's vision and
Engineering. In my opinion, Sun engineering failed to:
- Move out of the fixed mindset of "jre based browser plugin" and
think differently
- Visualize something like gwt is possible
- Learn lessons from the popularity of flash plugin.
- get rid of the ugly gray screen and refresh issues.
- Make applets light weight like flash.

I still think that it is not too late for sun to change its course.
They should drop the concept of applet and launch the concept called
"client side java". "Client side java" should compile into various
targets like javascript, swf, silverlight to name few. This way java
users would write browser/client based apps and run them everywhere...
In one sense this is the true defn of java! Sun should get away from
the notion of java to bytecode. Instead they should develop the notion
of java to anything! You will write code in java and run it anywhere,
literally! One simple bridge of java to swf would change the applet
world...

just my 2c...


On Mar 29, 5:52 pm, Dobes Vandermeer  wrote:
> After some more research it looks like the java plugin isn't as
> popular as I thought, only 50%-80% penetration, whereas javascript is
> supported in all browsers, and flash has 80%-99% penetration.
>
> Thus, applets are not cool ... oh well.
>
> On Mar 29, 3:17 pm, Dobes  wrote:
>
> > Recently while cursing the slowness of GWT compilation, the slowness
> > in the browser, and the lack of Java 6 features, it occurred to me
> > that if GWT had simply been built on top of the Java Applet technology
> > it could really overcome these limitations.
>
> > Does anyone know why GWT wouldn't be much better if it were java
> > bytecode running in an applet?  All the major browsers support
> > applets, the Java VM runs the code nice and fast, and applets have
> > decent access to the DOM and the ability to run javascript.
> > Everything that is needed to implement GWT is available to an applet,
> > as far as I can tell.
>
> > Thoughts?
>
> > If I had time I'd experiment and try making a knock-off of GWT using a
> > hidden applet so I could just write every in Java, run and debug it in
> > the Java VM ... could even use Java's built-in RPC mechanism if I
> > wanted to.  Interesting concept, although it's likely I'm missing
> > something important about why the GWT team didn't go this route in the
> > first place.
--~--~-~--~~~---~--~~
You received 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: Announcing GWT 1.6 Release Candidate

2009-03-22 Thread Rakesh

great job! keep the momentum going... Gwt is the most vibrant open
source project I have team. Thanks to the google gwt team...

On Mar 18, 3:32 pm, Bruce Johnson  wrote:
> Good news! Google Web Toolkit 1.6 RC is ready for you to download and try
> out:
>
> http://code.google.com/p/google-web-toolkit/downloads/list?q=1.6.2
>
> For background on what's new in GWT 1.6, please see the still-in-progress
> doc:
>
> http://code.google.com/docreader/?p=google-web-toolkit-doc-1-6&s=goog...
>
> as well as previous 1.6-related announcements:
>
> "Announcing GWT 1.6 Milestone 
> 1"http://groups.google.com/group/Google-Web-Toolkit/browse_thread/threa...
>
> and
>
> "Announcing GWT 1.6 Milestone 
> 2"http://groups.google.com/group/Google-Web-Toolkit/browse_thread/threa...
>
> For complete details, the GWT issue tracker has the full list of changes:
>
> http://code.google.com/p/google-web-toolkit/issues/list?can=2&q=miles...
>
> We expect this to be a short RC cycle, so a more comprehensive blog post
> with an overview of the features in GWT 1.6 should be just around the
> corner.
>
> -- Bruce, on behalf of the GWT team
--~--~-~--~~~---~--~~
You received 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: Dealing with session timeout and container managed security

2009-03-06 Thread Rakesh

we use server push for session time out and it works really great!

On Feb 28, 1:26 am, marcelstoer  wrote:
> Is there some consensus or best practice in the GWT community as for
> how to deal with session timeout and container managed security? There
> are some pointers if you search for this subject, but some of the
> ideas are wild...
>
> In my case I use the Servlet container's built in security features
> for authentication as described in the Servlet specification. Hence,
> in my web.xm I protect access to the GWT application like so:
>
>   
>     
>       my app
>       /app/*
>       GET
>       POST
>       PUT
>       DELETE
>     
>     
>       *
>     
>   
>
>   
>     FORM
>     
>       /public/login.jsp
>       /public/login.jsp?retry=true
>     
>   
>
>   
>     *
>   
>
> So, the application (host/bootstrap page, RPC Servlet, etc.) is in the
> "app" folder and the login form (login.jsp) is in the "public" folder.
> This works flawlessly except for the session timeout use case.
> The application sends an RPC request to /app/AppServlet, the Servlet
> container requires authentication because the session had timed out
> and dutifully *forwards* to the login page. Hence, the result of the
> request is not some RPC/JSON/XML object as expected by the client but
> the login page HTML structure. The client simply isn't prepared for
> that and freezes i.e. doesn't do anything.
>
> I believe that on the server side everything is set up correctly. If
> the session timed out the requests don't even reach the RPC Servlet
> because it's intercepted by the container, fine.
>
> But how do you deal with this in the client?
> Should one write some custom AsyncCallback class that handles the
> reponse sent by the container?
>
> Thanks for your feedback.
> Marcel
--~--~-~--~~~---~--~~
You received 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: Drang/drop files to GWT app - any progress?

2009-02-25 Thread Rakesh

GWT, as mars said, is based on js and hence inherit all of its
restrictions.
You should probably request the Gears team for this feature. Gears is
a browser plugin.
If the gears team has enough user request and a good use case, they
might add this feature to the plugin.

Rakesh Wagh

On Feb 24, 4:16 am, dduck  wrote:
> Hi,
>
> I have searched the archives and the web, and all I could find was
>
> 1) Drag/drop projects that were only related to widgets.
> 2) Some discussions, all at least a year old, concluding that it was
> either hard and non-standards compliant, or impossible.
>
> Any progress?
>
> Regards
> Anders
--~--~-~--~~~---~--~~
You received 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: Third party libraries for GWT

2009-02-18 Thread rakesh wagh

Vanilla Gwt with our set of custom reusable widgets as and when
required. You cannot beat the performance and flexibility in design
you get by this approach!

Rakesh Wagh

On Feb 14, 9:38 pm, Omer Shakil  wrote:
> Today while searching on the web, I came across GWT EXT, EXT GWT, SmartGwt,
> and a ton of other third party libraries. I found a lot of arguments in
> favor and against them. Can we summarize them here once again please?
> In short:
>
> 1. Which third-party libraries would you recommend in general and why.
> 2. Which third-party libraries would you want to stay away from and why.
>
> Thanks in advance.
> Omer
--~--~-~--~~~---~--~~
You received 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: What are you using for a backend??

2009-01-20 Thread rakesh wagh

php and perl are light weight compared to j2ee stack. Tomcat php perl
linux hosting is usually cheap because all the software required are
free; also the hardware requirement is relatively low. Because of
these advantages, over the past years a vast community of small and
medium size applications has been developed around these software. It
is relatively easy to setup and support a hosting service with php-
tomcat-mysql combo. Moreover there is a huge open source domain that
has various libraries and applications written in php. I am sure, you
will find java-tomcat/jboss based hosting service but the fee will be
much more when compared to those "php deals". Try the Amazon cloud
computing platform. I have not tried that myself, but it sounds
promising.

Rakesh Wagh

On Jan 20, 7:24 am, sloughran  wrote:
> So, in my messing around with GWT for the past year or so, I have been
> using RPC's to communicate to the server. The thing is, my projects
> have never gotten past my Eclipse project, so my "server" has just
> been a folder on my computer.
>
> I am looking at web hosting companies and I just see things like PHP,
> RUBY, PERL and such being allowed. I am not seeing JAVA being allowed,
> which I would need for my RPC's.
>
> So, my question is, what do people use for server side code? Do you
> use a web host with JAVA allowed? Do you use PHP and talk to it
> through HTML gets?
--~--~-~--~~~---~--~~
You received 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: Multiple web pages how-to

2009-01-11 Thread rakesh wagh

You are still thinking in the classical web development paradigm. You
should start thinking web2.0 now! The concept of multiple pages and
they linked with each other through form submits or hyper link clicks
etc is gone now!

Now your entire application is a "module" with a single entry point
and it loads in one single page. Once loaded every thing happen in
that same page... popups, tabs, button clicks, hyperlinks, form
submits, table render, data fetch, insert, updates, etc, etc all
happens in that same page. However, as per gwt's philosophy you can
break your application into multiple functional groups called modules.
Modules will load in separate pages and can link to each other using
classic hyperlinks or other methods. But for most purpose your entire
application will be one page! With that said, there is no default back/
fwd or history related functionality build in your application as you
are not navigating through data any more. To accomplish this behavior,
gwt has provides "History" api. You can use the History api and events
to simulate the back/fwd and bookmark functionality. It is a little
tedious, but the good news is you get all the control over difficult
to manipulate browser functions. I am sure you will learn these
concepts through practice.



Hope that helps!
Rakesh Wagh


On Jan 8, 11:18 pm, "Sahil Dave"  wrote:
> Hi all,
>
> i am new to GWT. I have gone thru the gwt's online tutorial and have
> understood how everything works. But 1 thing that i am not able to
> understand is, if i have multiple interlinked pages in my web application
> then, do i need to create multiple classes and do all those classes need to
> implement the EntryPoint interface.
> I am using Eclipse & the basic project contains just a single class & its
> associated .gwt.xml file
>
> can someone explain this.??
>
> --
> Sahil
--~--~-~--~~~---~--~~
You received 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 attach a click listener to an existing SPAN element?

2009-01-11 Thread rakesh wagh

See the Label class. They do similar stuff for Div. Copy it for
Span... Not sure what all events span handles.

On Jan 10, 6:06 pm, "Fred Janon"  wrote:
> Hi,
>
> I need to add some functionality to an existing web page with a SPAN element
> and add a click listener to it. The SPAN element is not created with GWT. Is
> there a way to do that?
>
> Thanks
>
> Fred
--~--~-~--~~~---~--~~
You received 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: Getting java.net.SocketTimeoutException: Read timed out

2009-01-04 Thread rakesh wagh

Please provide more details on what you are doing. Are you getting
this error on client or server? How much time does your request waits?
Is it because of long executing methods? The error message clearly
reads that it is a time out exception. My guess is some operation on
server is taking more time than your time out  values set.

For a better answer, give us more  information.

Rakesh Wagh

On Jan 4, 12:45 am, tin  wrote:
> Hi All,
>
> I occassionally get this exception when my app's page is getting
> downloaded in the broser. In my application, I make few rpc calls to
> fetch the data once the JSP is downloaded by the browser.
>
> Any help in this will greatly be appreciated. No concrete answer could
> be found for this on the internet but it seeems others have faced this
> problem too.
>
> Stack Trace:
>
> java.net.SocketTimeoutException: Read timed out
>  at java.net.SocketInputStream.socketRead0(Native Method)
>  at java.net.SocketInputStream.read(Unknown Source)
>  at org.apache.coyote.http11.InternalInputBuffer.fill
> (InternalInputBuffer.java:747)
>  at org.apache.coyote.http11.InternalInputBuffer
> $InputStreamInputBuffer.doRead(InternalInputBuffer.java:777)
>  at org.apache.coyote.http11.filters.IdentityInputFilter.doRead
> (IdentityInputFilter.java:115)
>  at org.apache.coyote.http11.InternalInputBuffer.doRead
> (InternalInputBuffer.java:712)
>  at org.apache.coyote.Request.doRead(Request.java:427)
>  at org.apache.catalina.connector.InputBuffer.realReadBytes
> (InputBuffer.java:283)
>  at org.apache.tomcat.util.buf.ByteChunk.substract(ByteChunk.java:379)
>  at org.apache.catalina.connector.InputBuffer.read(InputBuffer.java:
> 298)
>  at org.apache.catalina.connector.CoyoteInputStream.read
> (CoyoteInputStream.java:180)
>  at com.google.gwt.user.server.rpc.RPCServletUtils.readContentAsUtf8
> (RPCServletUtils.java:146)
>  at com.google.gwt.user.server.rpc.RemoteServiceServlet.readContent
> (RemoteServiceServlet.java:335)
>  at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost
> (RemoteServiceServlet.java:77)
>  at org.gwtwidgets.server.spring.GWTSpringController.handleRequest
> (GWTSpringController.java:82)
>  at
> org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle
> (SimpleControllerHandlerAdapter.java:48)
>  at org.springframework.web.servlet.DispatcherServlet.doDispatch
> (DispatcherServlet.java:875)
>  at org.springframework.web.servlet.DispatcherServlet.doService
> (DispatcherServlet.java:809)
>  at org.springframework.web.servlet.FrameworkServlet.processRequest
> (FrameworkServlet.java:523)
>  at org.springframework.web.servlet.FrameworkServlet.doPost
> (FrameworkServlet.java:463)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
--~--~-~--~~~---~--~~
You received 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: Newbie Question on GWT/JSON

2009-01-04 Thread rakesh wagh

You probably got your answer by now. Think this way. JSON string is
like any other string. The transport mechanism does not have to know
weather it is json or text or number or binary or otherwise. With that
said, you can use forms with get or post(knowing the advantages
drawback of each will help you select the right mechanism) and simply
posting it to your php page. In your php page, read the request
parameters as if they were any other parameters.

As a matter of fact you can even append the json string as part of
your target page url with a variable name and expect the json string
(with a hyperlink click) to reach its destination as expected.

Good luck!
Rakesh Wagh

On Jan 3, 9:09 pm, Ian  wrote:
> I am new to the Web application world; I am trying to encapsulate my
> set of data in a JSONObject, convert to string, and send it  (async
> POST) to a PHP page using GWT's RequestBuilder. GWT's tutorial
> discusses the trip from the server back to the client and not the
> other way around where I am unclear about.
>
> Do I need to set the header? Currently I set it to:
>  builder.setHeader("Content-Type", "application/x-www-form-
> urlencoded");
>
> However, this works fine as long as am sending
> key1=value1&key2=values where I can retrieve variable via $_POST
> ['key1'] or $_POST['key2']
>
> But I am not sure how to send a JSON string where it can be retrieved
> in a php page. I have tried sending myvar=MyJsonString but cannot
> retrieve in my php page. How should $_POST reference the JSON object?
>
> Any clarification would be much appreciated.
>
> Thanks,
>
> Ian
--~--~-~--~~~---~--~~
You received 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: about GWT compiler performance

2009-01-02 Thread rakesh wagh

some quick tips:
1. Hardware: U need to increase your CPU power over memory. Adding
gigs of ram is not going to help much. Instead use dual/quad
processors with higher configurations. Also use a faster HD and a
higher FSB(try to match with your RAM speed).
2. Compile for one browser using user-agent mentioned earlier.
3. Code design! This is the biggest area where you can speed things
up. Use lazy initialization in every possible class. There are many
threads that explain this concept. I will give you a quick example:

public class MyPopup extends DialogPanel{

  public DialogPanel(){
   ...
  }
  private void initialized = false;
  private void init(){
   setWidget(createWidget());
  }
  @Override
  public void show(){
if (!initialized){
  init();
  initialized = true;
 }
  }
}




With the current GWT toolkit #3 is your key to significantly reduce
the load time. It also makes your application design better.

Rakesh Wagh


On Nov 7 2008, 5:06 pm, surfer  wrote:
> since often the main development of an application is viewed and
> debugged with one single type of browser and only sometimes verified
> on the others, does anybody know if it's possible to force GWT
> compiler to build javascript code for just one single target browser,
> in order to increase compiling phase performance ?
>
> thanx
--~--~-~--~~~---~--~~
You received 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: ANNOUNCE: HtmlUnit 2.4 released

2008-12-31 Thread rakesh wagh

Is there a document that explains how to set gwt rpc parameters?

On Dec 31, 9:43 am, Ahmed Ashour  wrote:
> Dear Rakesh,
>
> > I was wondering if there is a way to useHTMLUnitfor Load testing a
> > gwt application? Any GWT andHTMLUnitarticles will help...
>
> Testing any web application is fairly straight forward, no special
> thing to do for Ajax/JavaScript.
>
> You can see actual GWT 1.5.3 cases 
> inhttp://htmlunit.svn.sourceforge.net/viewvc/htmlunit/trunk/htmlunit/sr...
>
> Please have a look 
> into:http://htmlunit.sourceforge.net/gettingStarted.htmlhttp://htmlunit.sourceforge.net/javascript-howto.html
>
> Also, user list is helpful if you couldn't easily find your answer.
>
> Hope that helps,
> Ahmed
--~--~-~--~~~---~--~~
You received 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: ANNOUNCE: HtmlUnit 2.4 released

2008-12-31 Thread rakesh wagh

I was wondering if there is a way to use HTMLUnit for Load testing a
gwt application? Any GWT and HTMLUnit articles will help...
Thanks,
Rakesh Wagh

On Dec 31, 12:16 am, Ahmed Ashour  wrote:
> Happy New Year everyone!
>
> The team is very pleased to announce the new release of the GUI-Less
> java browser, which allows high-level manipulation of web pages, such
> as filling forms, clicking links, accessing attributes and values of
> specific elements within the pages, you do not have to create lower-
> level requests of TCP/IP or HTTP, but just getPage(url), find a
> hyperlink, click() and you have all the HTML, JavaScript, and Ajax are
> automatically processed.
>
> The main enhancements in this release:
>     - Improved JavaScript support, now all jQuery and Mochikit tests
> pass, adding to already supported GWT and Sarissa
>     - Native ActiveX support
>     - Initial applet handling
>     - Internet Explorer conditional comments
>     - As usual, various bug fixes, three were reported by GWT users
>
> You can find more information in the official website (http://
> htmlunit.sourceforge.net/), the development team is looking forward to
> getting your feedback.
--~--~-~--~~~---~--~~
You received 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: Get file from server with GWT-RPC

2008-12-27 Thread rakesh wagh

Cannot comment on what you are doing wrong without looking into the
code. However I see no need for setUrl on server side. You should have
a "Servlet" that will parse the parameters, read the appropriate image
file(either file system or db or any doc mgmt system for that matter),
set a proper content type and just spit out the byte stream.

>From the client just call this servlet with appropriate params for it
to retrieve the image. In essence:
Image img = new Image();
img.setUrl("/servlet?photoId=39934&width=50");

Rakesh Wagh

On Dec 26, 4:26 pm, Daniele  wrote:
> I cannot planning image manipulation.
> If images are on client sides, setUrl() etc it works.
>
> On server side, I have an undefined number of folders that represent
> photo category, but if I put on setUrl() method path to folders on
> server, it's not work.
>
> 2008/12/26 rakesh wagh :
>
>
>
> > ask yourself:
> > Even if you get your image/files using rpc, what will you do with it?
> > I mean there is no real application of getting binary files using rpc
> > yet. Are you planning to do image manipulations like rotation,
> > filters, etc on the client side? js is not yet ready for that. However
> > if you wish, you can get the entire file using rpc method. But
> > sticking it to the image tag is very difficult. Search through the
> > group, some one mentioned how you can embed the actual bytes and
> > construct a img tag that will display the image. Good luck, because
> > that is very non standard and your millage can greatly vary.
>
> > You might also want to look at Gears, it allows you to store and
> > retrieve Blobs in client database... not sure if it has to do anything
> > with your requirement but will come handy if you are playing a lot
> > with files etc. ..
>
> > Rakesh Wagh
>
> > On Dec 24, 8:01 am, Daniele B  wrote:
> >> Hi.
> >> I work on a photogallery application for my thesis.
> >> I have a problem.
> >> How can I do to retrieve image files stored on a server folder trought
> >> GWT-RPC?
>
> >> Thanks at all!
> >> Sorry fo my english!!! :)
>
> >> Daniele.
--~--~-~--~~~---~--~~
You received 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: IDE for GWT

2008-12-27 Thread rakesh wagh

Eclipse vs netbeans vs IntelliJ is actually matter of personal
preference and any such comparison should probably be part of some
other forum. None of thes IDE I believe has anything out of the box
for GWT. And even if they did, most of those features are easy to do
manually(of course with little practice). As far as application
builder, project builder and drag and drop facilities are concerned,
they are all beginners tool. For example, creating a debug/run
configuration is matter of knowing what jars to include at runt time
and what parameters to supply. Doing it manually some times is much
simpler than running the creators! If I change or add a RPC method,
changing 3 files is hardly a matter of few more seconds.

As far as visual designers are concerned, I would recommend: Design
the code such that it loads "fast" in hosted mode(use lazy
initialization of objects, you can find many threads out here). This
way you have complete control over your design/code and whatever
changes you do, will be seen immediately in hosted mode on refresh.
Again, all the assistance tools are good for beginners and small size
application... but as the application grows, you are most of the time
pretty much on your own.. and it is good to be that way so that you
have the complete control and less unknowns.

Any tool that helps you write java code should be equally helpful for
gwt.

vi ny1? ;) :)

just my 2c.

Rakesh Wagh

On Dec 20, 7:48 pm, "Eduardo Henrique" 
wrote:
> What IDE are you using???
> Do you use any Eclipse's Plugin for GWT?
>
> --
> Eduardo Henrique(Hitek) -www.eduardohitek.blogspot.com
> Desenvolvimento
> SoftSite -www.softsite.com.br
--~--~-~--~~~---~--~~
You received 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: To draw a line

2008-12-27 Thread rakesh wagh

1. GWT Canvas
2. JSGraphics(Using GWT Widget Library).
You have x and y co-ordinates of your two widgets. To calculate length
of the line, do simple mathematics. Remember Pythagoras?

Rakesh Wagh

On Dec 25, 11:47 pm, arun  wrote:
> Hi frends,
>
> I have a requirment to connect two widget by a line and also need to
> find the length of line to measure the distance between two widget.
> Please help me how can i draw the lne and calculate the distance.
> Any help would be appreciated.
--~--~-~--~~~---~--~~
You received 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: Are RPC servlets Thread safe

2008-12-27 Thread rakesh wagh

cheers!

On Dec 26, 5:57 pm, byhisdeeds  wrote:
> Sorry for bothering everybody in this season of good cheer. I found
> the problem which was my own (of course). I had my json object
> instantiated per the RPC servlet class and not the servlet method.
>
> Think I'll go and have a drink now.
>
> John
>
> On Dec 26, 4:05 pm, byhisdeeds  wrote:
>
> > Please forgive me if the question seems a bit daft. Its christmas and
> > maybe I have had too much to drink. I have a GWT 1.5 application using
> > RPC to access some server side code running under tomcat 6.xxx. I've
> > just recently seen something that puzzles me. When I let fly with 10
> > or 20 independent RPC calls from my client, each of which queries a
> > database and returns an entry for a single row in a table, I see all
> > the calls being received by the server RPC method, but  when I look at
> > the response being sent back to the client (within the RPC method) I
> > see some overwriting each other. That is, I instantiate a JSONObject
> > (http://www.jason.orglibrary) within the RPC myMethod(String s){...}
> > and see that different call to the RPC method result in the same
> > values for the JSON object just before returning. Since I instantiate
> > these within myMethod(String s){...} I expect that they should not
> > interfere with each other. Am I missing something.
>
> > John
> > P.S. A merry Christmas and Happy New Year when it comes (even if you
> > can';t help me solve my problem).
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Get file from server with GWT-RPC

2008-12-26 Thread rakesh wagh

ask yourself:
Even if you get your image/files using rpc, what will you do with it?
I mean there is no real application of getting binary files using rpc
yet. Are you planning to do image manipulations like rotation,
filters, etc on the client side? js is not yet ready for that. However
if you wish, you can get the entire file using rpc method. But
sticking it to the image tag is very difficult. Search through the
group, some one mentioned how you can embed the actual bytes and
construct a img tag that will display the image. Good luck, because
that is very non standard and your millage can greatly vary.

You might also want to look at Gears, it allows you to store and
retrieve Blobs in client database... not sure if it has to do anything
with your requirement but will come handy if you are playing a lot
with files etc. ..

Rakesh Wagh

On Dec 24, 8:01 am, Daniele B  wrote:
> Hi.
> I work on a photogallery application for my thesis.
> I have a problem.
> How can I do to retrieve image files stored on a server folder trought
> GWT-RPC?
>
> Thanks at all!
> Sorry fo my english!!! :)
>
> Daniele.
--~--~-~--~~~---~--~~
You received 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
-~--~~~~--~~--~--~---



Ivy integration support with GWT

2008-12-21 Thread Rakesh

Hi -
  I am using Ivy to maintain the build process. How do we best
integrate gwt with ivy and what would be the central repository to use
the same ( until gwt 1.5 release ).

--~--~-~--~~~---~--~~
You received 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: New release of the GWT project Tatami

2008-12-19 Thread rakesh wagh

How does your js loading happen? For example if I need to use just gfx
in my application, will tatami load only the gfx related dojo js
files?

I have not played around with tatami. We use lot of gfx in our
application. Will you recommend switching to Tatami... ?

Thanks for the release
Rakesh WAgh
On Dec 19, 2:08 am, vgrassaud  wrote:
> Hi
>
> We are really excited to announce the release of Tatami v1.3.
>
> Visit the homepage to give it a try, see the demos...
>
> http://code.google.com/p/tatami/
>
> We will be glad to have your feedback!
>
> Not exhaustive change list:
> - License switched from LGPL only to LGPL or Apache License or BSD
> - Now relies on latest Dojo 1.2.3 release
> - Charting support
> - Tree Widget
> - Dojo drag and drop can now be used in Tatami
> - The border container has been ported, advantageously replacing both
> GWT DockPanel and SplitPanels
> - Relies on custom dojo builds, optimizing it for the very usage of
> Tatami
> - Easier dijit Theme integration
> - New HTML online documentation
> - The grid wrapping has been ported from dojo's DataGrid 1.1 to
> DataGrid
> 1.2
> - Release of TatamiX, extensions for Tatami including an HMVC
> design-pattern implementation
>
> Cheers,
>
> The Tatami Team.
--~--~-~--~~~---~--~~
You received 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: Waiting on multiple RPC calls

2008-12-19 Thread rakesh wagh

performance:
Are you acquiring handles to three different RPC services for your 3
calls? If yes, you can improve performance by clubbing them into a
single call. If you do a little client side profiling, you will
realize that creating a async reference on client side is a not a very
quick operation. It is always a good idea to cache(static) your rpc
service references on client once you create it for the very first
time.

Rakesh Wagh

On Dec 19, 3:38 am, "stephen.sm...@paretopartners.com"
 wrote:
> Thats exactly the thing i need!!!
>
> Thanks :)
>
> On Dec 18, 11:17 pm, Dobes  wrote:
>
> > Hi Stephen,
>
> > I had a lot of scenarios like this, so I added some utility classes to
> > help.  For example, I have a class called AsyncCallbackGroup which
> > allows you to wait on multiple parallel RPC calls and then when they
> > are all complete it calls another callback.  In your case you could
> > create a group with the first two operations, then pass a callback
> > whose onSuccess() method called the next call.
>
> > You can get the source code for these classes in the kiyaa project:
>
> >http://code.google.com/p/kiyaa/
>
> > On Dec 18, 2:14 am, "stephen.sm...@paretopartners.com"
>
> >  wrote:
> > > Firstly, before any1 goes off on 1 about "You cant do syncronous rpc
> > > calls in gwt" or "JS is single threaded" im fully aware of these
> > > facts. However i also know that like many things there are usually
> > > work arounds or at least better solutions than i have thought of...
>
> > > So my problem is this. I have 3 RPC calls. The first 2 are totally
> > > seperate however the third depends on the result of both the first 2.
>
> > > The 3rd call is unfortunately rather large as it requires some DB
> > > access on the server and sorting/filtering etc. and i would therefor
> > > like to get this going asap.
>
> > > There is also alot of other initalisation code on the client that can
> > > be done at almost any stage. so it would be preferable to do this
> > > during any (and possibly all) of the rpc calls
>
> > > This is all currently done in module load and i am chaining my 3 rpc
> > > calls. This causes the total load time to be a bit slow. This seems
> > > such a horrible way to do it and even for me it gets a little
> > > confusing and i wrote it.
>
> > > Does any one have a better solution to how i can "wait" on the first 2
> > > calls before making the 3rd whilst still executing the client
> > > initalisation code.
>
> > > Thanks in advance,
> > > Steve- Hide quoted text -
>
> > - Show quoted text -
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-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: window;open in the same window

2008-12-18 Thread rakesh wagh

Window.open("http://url";,   "_self", "");



On Dec 18, 12:11 pm, arnaud  wrote:
> Hi every one,
> at the moment i can open a new window that contains the pdf document
> and it's properties in the new winddows by using  window.open
> I want to open the same document but not in a new window.How can i do?
> Sincerly
> Arnaud
--~--~-~--~~~---~--~~
You received 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: Dollar sign in filename

2008-12-17 Thread rakesh wagh

those files are automatically generated by the compiler. They are
typically inner classes. What is your concern by the way?

On Dec 16, 5:55 pm, jchimene  wrote:
> Hi,
>
> Would someone please post a link to the documentation for the
> filenaming convention that allows for names like: "RichTextToolbar
> $Strings.properties"
--~--~-~--~~~---~--~~
You received 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: Image viewer widget

2008-12-16 Thread rakesh wagh

com.google.gwt.user.client.ui.Image
is all you need.
You should develop your own Composite on top of it.
Add a zoom in, zoom out buttons; handle the click events; and resize
your image accordingly;
it is that easy!



On Dec 16, 4:56 am, ArunDhaJ  wrote:
> Hi All,
> Is there any widget developed in gwt for viewing Image. The widget
> should have the ability to zoom. Please let me know if any such
> widgets available...
>
> Thanks in Advance !!!
> ArunDhaJwww.arundhaj.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Dialog Box Appears Behind Another Widget

2008-12-15 Thread rakesh wagh

never used openlayers...
but try this:
for your dialog box, where you do dialoBox.show(), call the .hide()
method first and then call ..show();

or try .show() .hide() .show in a sequence and see if it works... its
basically about setting the proper z-index.



On Dec 15, 3:26 pm, WebDude  wrote:
> I'm using the gwt-OpenLayers plug-in.  In Firefox and Chrome, any
> DialogBoxes appear beneath the Map widget.  It makes things a little
> tricky for modal dialogs.  In Hosted mode and IE it works fine.
>
> I've dried modifying the zIndex of the dialogs and the map to force
> the dialogs to appear on top.  I am unable to get the dialogs to be in
> front.
>
> Any ideas on how to get the dialogs on top?
>
> Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Clickable text

2008-12-15 Thread rakesh wagh

fyi: The above widget also has a enable/disable functionality which is
missing in a regular hyperlink. (The functionality is not fully
tested). Use the widget at your own risk(if you have to). But I dont
see any reason why it should fail.

Rakesh Wagh
--~--~-~--~~~---~--~~
You received 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: Clickable text

2008-12-15 Thread rakesh wagh

Here is a simple class we wrote for our purpose. :



public class TextLink extends Label{
boolean enabled = true;
public TextLink() {
super();
init();
}

public TextLink(Element element) {
super(element);
init();
}

public TextLink(String text, boolean wordWrap) {
super(text, wordWrap);
init();
}

public TextLink(String text) {
super(text);
init();
}

private void init(){
addStyleName("TextLink");
}
@Override
public void onBrowserEvent(Event event) {
if (enabled)
super.onBrowserEvent(event);
}
private void setEnabled(boolean enabled) {
if (this.enabled == enabled)
return;
if (enabled){
removeStyleName("TextLink-disabled");
addStyleName("TextLink");
}else{
removeStyleName("TextLink");
addStyleName("TextLink-disabled");
}
this.enabled = enabled;

}
}



.TextLink{
color: #AA;
text-decoration:underline;
cursor:pointer;cursor:hand;
}

.TextLink-disabled{
color: #EE;
text-decoration:underline;
cursor:pointer;cursor:hand;
}


On Dec 15, 9:07 am, Smith  wrote:
> All,
>
> Is there a way to add some clickable text into a panel? I am aware of
> Hyperlink, but I don't need history support. All I need is to show
> another panel when a text is clicked on.
--~--~-~--~~~---~--~~
You received 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: Drawing seperator (Line) between widgets

2008-12-15 Thread rakesh wagh

Horizontal:
new HTML("");


Vertical:
new HTML("  ");

On Dec 15, 6:02 am, Arul  wrote:
> Hi,
>    Would you please help me How I can draw line(Horizontal or
> Vertical) between widgets?.
> I understand it is web tool kit, but supposed to give importance to
> this areas as well. The core idea is to replace presentation layer.
>   Pease reply with out re-directing to some where.
>
> Thanks
> Arul
--~--~-~--~~~---~--~~
You received 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 have a layered panel?

2008-12-10 Thread rakesh wagh

Yup glasspanel is really handy. Do remember to turn off the
scrollbars... they could mess up the page big time!
Window.enableScrolling(false);

On Dec 9, 12:32 am, Petrus Pelser <[EMAIL PROTECTED]> wrote:
> The component in the incubator is called a GlassPanel and it works
> really well. Though I did have some issues with the blur event in IE,
> but I could easily fix it by catching and ignoring the onBlur() call.
>
>
>
> Suri wrote:
> > Hi Rakesh, Isaac & Litty
> > Thanks for the replies. Since I'm currently already using the
> > incubator jar for a table, I'll first attempt Isaac's suggestion which
> > seems least effort-consuming at the moment. If i do need to create my
> > own panel, I'll try both of your suggestions and update everyone on
> > the results.
>
> > Thanks a bunch all. You guys are really great help in this forum.
>
> > On Dec 8, 3:11 pm, rakesh wagh <[EMAIL PROTECTED]> wrote:
>
> >> Correction to my earlier post:
> >> Use PopupPanel, not AbsolutePanel.
> >> I just tried this code in a class that extends DialogBox:
> >>         @Override
> >>         public void show() {
> >>                 mask.setPixelSize(Window.getClientWidth(), 
> >> Window.getClientHeight
> >> ());
> >>                 mask.setPopupPosition(0, 0);
> >>                 mask.setWidget(new Label("test"));
> >>                 mask.setStyleName("trans-bg");
> >>                 mask.show();
> >>                 super.hide();
> >>                 super.show();
> >>         }
> >>         @Override
> >>         public void hide() {
> >>                 mask.hide();
> >>                 super.hide();
> >>         }
>
> >> .trans-bg{
> >>                 background-color: black;
> >>                 filter: alpha(opacity=50);
> >>                 -moz-opacity: .5;
>
> >>         }
>
> >> And I am able to show a translucent background to any of my dialog
> >> box!
>
> >> Rakesh Wagh
>
> >> On Dec 8, 9:37 am, rakesh wagh <[EMAIL PROTECTED]> wrote:
>
> >>> if you are trying to do this on your own, you will probably need a
> >>> absolute panel that is placed on the screen based on the screen size
> >>> (0, 0, max clientx, max clienty). Select a proper style: color and
> >>> transparency. Now just put your widget or popup on top of this panel.
> >>> This way the z index of your translucent panel will be between the
> >>> main screen and your visible widget.
>
> >>> You might also have to put a screen resize handler to resize the size
> >>> of your panel.
>
> >>> I think the gwt incubator has a ready to use widget.
>
> >>> Rakesh Wagh
>
> >>> On Dec 6, 11:04 pm, Suri <[EMAIL PROTECTED]> wrote:
>
> >>>> Hey all,
> >>>> In GWT how would we create a layered panel/widget that basically acts
> >>>> like a semi-opaque screen for the stuff below it. Sort of looking like
> >>>> the screen is in a disabled mode. Thanks for any ideas.
>
> >>>> Suri
>
> --
> Petrus Pelser
> Software Developer, CTO
> Codewave (http://www.codewave.co.za)
> mailto:[EMAIL PROTECTED]
> Cell: +27 79 522 6463
> 
--~--~-~--~~~---~--~~
You received 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: TestBox inside CheckBox's text

2008-12-09 Thread rakesh wagh

Create a Composite widget with a checkbox and textbox inside it.

On Dec 9, 5:45 am, "Danny Schimke" <[EMAIL PROTECTED]> wrote:
> I want to use a TextBox inside the CheckBox- label.
>
> For example:
> *[X]* Save in ** minutes
>
> I can do it by using the toString()- method on TextBox, but it is behaving
> incorrectly:
> - Firefox (un)checks the CheckBox by clicking into the TextBox
> - The TextBox- Object is not the TextBox which is displayed - no changes in
> the original TextBox.
>
> Is there a possible way to realize. Except i have to split the components...
--~--~-~--~~~---~--~~
You received 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: How to have a layered panel?

2008-12-08 Thread rakesh wagh

Correction to my earlier post:
Use PopupPanel, not AbsolutePanel.
I just tried this code in a class that extends DialogBox:
@Override
public void show() {
mask.setPixelSize(Window.getClientWidth(), 
Window.getClientHeight
());
mask.setPopupPosition(0, 0);
mask.setWidget(new Label("test"));
mask.setStyleName("trans-bg");
mask.show();
super.hide();
super.show();
}
@Override
public void hide() {
mask.hide();
super.hide();
}

.trans-bg{
background-color: black;
filter: alpha(opacity=50);
-moz-opacity: .5;

}


And I am able to show a translucent background to any of my dialog
box!

Rakesh Wagh

On Dec 8, 9:37 am, rakesh wagh <[EMAIL PROTECTED]> wrote:
> if you are trying to do this on your own, you will probably need a
> absolute panel that is placed on the screen based on the screen size
> (0, 0, max clientx, max clienty). Select a proper style: color and
> transparency. Now just put your widget or popup on top of this panel.
> This way the z index of your translucent panel will be between the
> main screen and your visible widget.
>
> You might also have to put a screen resize handler to resize the size
> of your panel.
>
> I think the gwt incubator has a ready to use widget.
>
> Rakesh Wagh
>
> On Dec 6, 11:04 pm, Suri <[EMAIL PROTECTED]> wrote:
>
> > Hey all,
> > In GWT how would we create a layered panel/widget that basically acts
> > like a semi-opaque screen for the stuff below it. Sort of looking like
> > the screen is in a disabled mode. Thanks for any ideas.
>
> > Suri
--~--~-~--~~~---~--~~
You received 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: How to have a layered panel?

2008-12-08 Thread rakesh wagh

if you are trying to do this on your own, you will probably need a
absolute panel that is placed on the screen based on the screen size
(0, 0, max clientx, max clienty). Select a proper style: color and
transparency. Now just put your widget or popup on top of this panel.
This way the z index of your translucent panel will be between the
main screen and your visible widget.

You might also have to put a screen resize handler to resize the size
of your panel.

I think the gwt incubator has a ready to use widget.

Rakesh Wagh

On Dec 6, 11:04 pm, Suri <[EMAIL PROTECTED]> wrote:
> Hey all,
> In GWT how would we create a layered panel/widget that basically acts
> like a semi-opaque screen for the stuff below it. Sort of looking like
> the screen is in a disabled mode. Thanks for any ideas.
>
> Suri
--~--~-~--~~~---~--~~
You received 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Suggestions with code design

2008-12-08 Thread rakesh wagh

gwt is not going to help you a lot here(Think in terms of html and js.
If html and js cannot do, gwt can neither.). Did you check the recent
javafx release? I think it is best suited for your work. At least the
image manipulation part.

On Dec 6, 10:54 pm, Rohan Redkar <[EMAIL PROTECTED]> wrote:
> Hi everyone,
>
> My application requires the user to select a bunch of images from his
> system. Then I need to do modifications on these images(example aline
> them horizontally into a single image).
> I need some design suggestions on how I can achieve this?
> I guess, AWT cannot be directly used at the client side code. So if I
> am transfering these images to the server to do these operations, can
> I use rpc or will I run into Serialization issues? Is upload via the
> normal multipart request the only option in this case?
> Any help will be appreciated. Thank you.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: How to share work between Java developers and HTML/CSS designers?

2008-12-04 Thread rakesh wagh

Here are few things to consider:
- Check the Instantiation Designer tool. Personally never used it
beyond evaluation... but you and your team might have some luck with
it.
- Let the HTML team design the layout. Let the GWT team design the
application and place the components as per the layout. Gwt team uses
the default widget css. Then let the HTML team work only with the css
provided by the gwt team and modify it to meet the new look and feel.
- GWT team takes both the layout and the CSS from html team, and
include the CSS element as the project progresses.

Finally this is what we did:
- We created our own widget library with common components for tables,
hyperlinks, menus etc. We(developers) spared some time designing the
common components as per the graphics design. Finally for most of the
part it was only the matter of following the layout.

good luck!
Rakesh Wagh

On Dec 2, 11:36 pm, Nizam <[EMAIL PROTECTED]> wrote:
> Are there any best practices in bringing together a multi-disciplinary
> team of Java developers and HTML/CSS designers in developing a
> commercial GWT application? Our Java guys cannot do CSS and our HTML/
> CSS guys prefer working in DreamWeaver. I haven't seen any material
> that talks about the team collaboration aspect. Any thoughts?
--~--~-~--~~~---~--~~
You received 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Interesting question:how can I get the rownumber of a cell that contain a button when I click this ?

2008-12-02 Thread rakesh wagh

Are you quizzing us or asking for help? I would go with alex.d 's
solution.

Other method(which I personally hate) is to write a for loop in the
onClick event of the button that will read the widget in each r,c and
match it with the "sender" or button instance itself.

Rakesh Wagh

On Dec 1, 7:24 pm, Alex Luya <[EMAIL PROTECTED]> wrote:
>          Remember: no pre-condition,no external variable that defined
> the location of this button.
--~--~-~--~~~---~--~~
You received 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Portlet Layout - Similar to iGoogle

2008-12-02 Thread rakesh wagh

Check demo #3, #5 and #7 of gwt-dnd demo.
demo link:
http://allen-sauer.com/com.allen_sauer.gwt.dnd.demo.DragDropDemo/DragDropDemo.html#WindowExample

You will require the "draggable and resizable Iframe" from demo7. And
place those widgets in a layout similar to that of demo 5.

Here is the project link: http://code.google.com/p/gwt-dnd/

Hope that helps.
Rakesh Wagh




On Nov 28, 4:58 am, StrongSteve <[EMAIL PROTECTED]> wrote:
> Hi Everybody!
>
> I have a very basic question and you hope you can provide me an
> answer! ;)
>
> So basically I have an existing web-application consisting of several
> JSP/HTML pages that provide different "simple" tasks.
>
> What I want to do now, is change the user interface in a way, that it
> looks like the main screen of iGoogle.
>
> So that I have a wide area with different widgets, that can be dragged
> around, hidden, ...
> Within each widget I want to display one of my existing Java Server
> Pages.
>
> Is this possible with GWT? Or do I need additional libraries to
> support this behaviour.
>
> Can you please point me out the major steps that would be necessary to
> reach this goal?
>
> Thanks in Advance for both your time and your knowledge!
>
> Greetings
> Stefan
--~--~-~--~~~---~--~~
You received 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



  1   2   >