file download using requestbuilder

2009-06-04 Thread abbu

Hi all,
Here in my application i have some data to be downloaded. currently im
using request builder to access the download servlet. its connecting
to the servlet perfectly. but inside the servlet i have to do some
manipulations on the data and then flush it through output stream. I
have to pass a list, and a string to the servlet. how do i pass them
using a request builder and how can i access the objects in my
servlet?

thnx 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
-~--~~~~--~~--~--~---



java.io.file

2009-06-04 Thread abbu

Hi all,
Is java.io.File present in the gwt emulation jre library?
If it is present i'm not able to access it on the client side. im
getting an exception upon start up of application asking to inherit
the required module.

if java.io.File is not present in the emulation library, is there any
replacement avalible from gwt side for it?

Please tell me how to create File instances on the client side?

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



Remove KeyBoard Listenere

2009-05-24 Thread abbu

Hi all,
I have a login page in my application. Upon the entry of wrong
username or password it shows me alert popups. i have a keyboard
listener for the 'enter' key. if i enter the correct username and pwd
and press enter key TWICE subsequently, request is send twice and my
page is double loaded, i mean the page contents are cascaded one below
the other twice. How to remove the keyboard listeners after a
succesful request has been made?

Thanx in advance.
Asif
--~--~-~--~~~---~--~~
You received 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: Exception Handling

2009-05-20 Thread abbu

Thnxfor the reply. what do u mean by specific? can u explain it a lil
bit clearly please? what wrong im doing in the above code? Can u give
me an working example please

On May 12, 11:30 am, "Paul Grenyer"  wrote:
> IIRC GWT doesn't like serializing Object. You need to use something more 
> specific.
>
> Sent from my BlackBerry® wireless device
>
>
>
> -Original Message-
> From: abbu 
>
> Date: Mon, 11 May 2009 23:06:20
> To: Google Web Toolkit
> Subject:ExceptionHandling
>
> Hi everybody,
> I have a customexceptionclass which extendsException. But im not
> able to use it in my entry point class. on the load itself its
> throwing an error saying sub types are not serializable which is not
> so. can anybody help me regarding this?
>
> This is my custom ApplicationException class:
>
> package com.cts.swiss.gwt.server.common.exception;
>
> public class ApplicationException extendsException{
>         private String errorMessage;
>         private Throwable throwable;
>         private Object[] messageParams;
>
>         public ApplicationException(String errorMessage, Object[] params){
>                 super(errorMessage);
>                 this.errorMessage=errorMessage;
>                 this.messageParams=params;
>         }
>         public ApplicationException(String errorMessage, Object[]
> params,Throwable throwable){
>                 super(errorMessage,throwable);
>                 this.errorMessage=errorMessage;
>                 this.messageParams=params;
>                 this.throwable=throwable;
>         }
>         /**
>          * @return the errorMessage
>          */
>         public String getErrorMessage() {
>                 return errorMessage;
>         }
>
>         /**
>          * @return the throwable
>          */
>         public Throwable getThrowable() {
>                 return throwable;
>         }
>
>         /**
>          * @return the messageParams
>          */
>         public Object[] getMessageParams() {
>                 return messageParams;
>         }
>
> }- 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
-~--~~~~--~~--~--~---



Inherit java.seurity and commons-codec-1.3.jar

2009-05-20 Thread abbu

Im using java.security and commons-codec-1.3 jar for passwprd hashing.
but im unable to inherit those jars. I always get a compilation error
that the required module is not inherited. How to inherit external
jars even when they are included in ur lib folder and classpath. Or
does gwt provides any alternative for these functionalities?

Thnx in advance.
Asif.
--~--~-~--~~~---~--~~
You received 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
-~--~~~~--~~--~--~---



Pagination Example

2009-05-11 Thread abbu

Hi everybody,
Here i have a FlexTable and a datalist which is getting populated in
the table. since the results are more i wanna have a paginator for the
flextable. could anybody please provide an example how to have a
paginator in GWT.

Thnx 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
-~--~~~~--~~--~--~---



Exception Handling

2009-05-11 Thread abbu

Hi everybody,
I have a custom exception class which extends Exception. But im not
able to use it in my entry point class. on the load itself its
throwing an error saying sub types are not serializable which is not
so. can anybody help me regarding this?

This is my custom ApplicationException class:

package com.cts.swiss.gwt.server.common.exception;

public class ApplicationException extends Exception {
private String errorMessage;
private Throwable throwable;
private Object[] messageParams;

public ApplicationException(String errorMessage, Object[] params){
super(errorMessage);
this.errorMessage=errorMessage;
this.messageParams=params;
}
public ApplicationException(String errorMessage, Object[]
params,Throwable throwable){
super(errorMessage,throwable);
this.errorMessage=errorMessage;
this.messageParams=params;
this.throwable=throwable;
}
/**
 * @return the errorMessage
 */
public String getErrorMessage() {
return errorMessage;
}

/**
 * @return the throwable
 */
public Throwable getThrowable() {
return throwable;
}

/**
 * @return the messageParams
 */
public Object[] getMessageParams() {
return messageParams;
}

}



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