Re: Hello Noob question

2024-03-12 Thread Vijay Kishen Hampapur
Thanks , I figured out that the parent webapp didnt have the
dependency called out. Followed by resources of the .nocache.js not
being part of the jetty xml. Fixed and working now

Thanks

On Tue, Mar 12, 2024 at 9:02 AM 'tim_mac...@yahoo.co.uk' via GWT Users
 wrote:
>
> I am hoping to continue using this with upgrade to gwt 2.11.0 , 
> gwt-maven-plugin 1.1.0 , java source level 11.
> I checked it as far as calling
> Polymer.startLoading()
> Polymer.importHref( .. )
> No errors so far.
>
> in module.gwt.xml  I presume you have:
>   
>
> did you add the dependency in the -client pom file?
> 
>   com.vaadin.polymer
>   vaadin-gwt-polymer-elements
>   1.9.3.1
> 
>
> On Tuesday, March 12, 2024 at 7:28:15 AM UTC Vijay H wrote:
>>
>> Created a starter using the modular-webapp archetype, and am trying to 
>> change the client module to use polymer elements and running into these sort 
>> of errors. Before I debug too far wanted to check if this is something that 
>> is doable or even recommended. This is for a class project.
>>
>> > Loading inherited module 'com.mycompany.mywebapp.App'
>> > [INFO]   Loading inherited module 'com.vaadin.polymer.Elements'
>> > [INFO]  [ERROR] Unable to find 
>> > 'com/vaadin/polymer/Elements.gwt.xml' on your classpath; could be a typo, 
>> > or maybe you forgot to include a classpath entry for source?
>>
>>
>> thanks
>> Vijay
>
> --
> You received this message because you are subscribed to a topic in the Google 
> Groups "GWT Users" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/google-web-toolkit/DPT5No0b2KI/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to 
> google-web-toolkit+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/google-web-toolkit/20efcc19-88ce-477f-8976-821357bfb92dn%40googlegroups.com.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/CAKzfLJKmukv3W87cYsrfVwKe7B42ctzxkEa3DZTtkrqt-TFDqw%40mail.gmail.com.


Hello Noob question

2024-03-12 Thread Vijay H
Created a starter using the modular-webapp archetype, and am trying to 
change the client module to use polymer elements and running into these 
sort of errors. Before I debug too far wanted to check if this is something 
that is doable or even recommended. This is for a class project. 

> Loading inherited module 'com.mycompany.mywebapp.App'
> [INFO]   Loading inherited module 'com.vaadin.polymer.Elements'
> [INFO]  [ERROR] Unable to find 
'com/vaadin/polymer/Elements.gwt.xml' on your classpath; could be a typo, 
or maybe you forgot to include a classpath entry for source?


thanks
Vijay 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/b88cc06f-d6ea-438a-9d0b-42b883f05dc3n%40googlegroups.com.


Re: The import org.apache.commons.lang cannot be resolved in GWT 2.7

2020-05-13 Thread Vijay Kanta
Hey thanks all. I was able to fix the same problem in BigBlueButton 
server's Java demo app.

On Tuesday, 17 March 2015 13:41:21 UTC+5:30, Bhumika Thaker wrote:
>
> Hi,
>
> I have upgraded gwt version from gwt 2.5 to gwt 2.7.
>
> It shows error after upgrading 
>
> The import org.apache.commons.lang.StringUtils cannot be resolved. 
> org.apache.commons.lang.StringEscapeUtils cannot be resolved. 
>
> At a line no. if (!StringUtils.isEmpty(pCommande)) 
> StringEscapeUtils.unescapeHtml(file);
>
> Is gwt remove support for it? is there alternate api for same? why is it 
> removed?
>
> Thanks,
> Bhumika
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/2a640da8-b7f0-4c93-95dd-ee260c009dcb%40googlegroups.com.


Re: CellBrowser not displaying (2.1.0) ...(2.4)

2015-05-02 Thread Vijay Zala
You also need to specify the unit... eg. px, em etc.

Here is the example
CellBrowser browser =new CellBrowser(model,null);
browser.setKeyboardSelectionPolicy(KeyboardSelectionPolicy.ENABLED);
browser.setHeight("200px");
browser.setWidth("630px");

It should work after this change.

Thanks
Vijay Zala


On Tuesday, July 23, 2013 at 7:56:34 PM UTC+5:30, Salvatore Vitale wrote:
>
>
> I'm using GWT 2.4. I'm setting width and height on cellBrovser but 
> nothing...i don'y see nothing!
> That'is my source:
>
> public void onModuleLoad() {
>> // Add the widgets to the root panel.
>> 
>> //solution 1 : OK
>> RootLayoutPanel.get().add(createCellBrowser()); 
>> 
>> //soluzione 2 : KO
>> //RootPanel.get("gwtContainer").add(createCellBrowser());
>> 
>> //soluzione 3 : KO
>> //VerticalPanel vp = new VerticalPanel();
>> //vp.add(createCellBrowser());
>> //RootPanel.get("gwtContainer").add(vp);
>> 
>> //soluzione 4 : KO
>> //initWidget(createCellBrowser());
>> 
>> //soluzione 5 : KO
>> //VerticalPanel vp = new VerticalPanel();
>> //vp.add(createCellBrowser());
>> //initWidget(vp);
>> 
>> }
>>
>
> private CellBrowser createCellBrowser(){
>> // Create a model for the browser.
>> TreeViewModel model =new CustomTreeModel();
>> /*
>> * Create the browser using the model. We use null as
>> * the default value of the root node. The default value will be
>> * passed to CustomTreeModel#getNodeInfo();
>> */
>> CellBrowser browser =new CellBrowser(model,null);
>> 
>> browser.setKeyboardSelectionPolicy(KeyboardSelectionPolicy.ENABLED);
>> browser.setHeight("200");
>> browser.setWidth("630");
>> return browser;
>> }
>>
>
> I've tried  to set "...extends Composite..." for using initWidget 
> method...but nothing...   :|
> I would like set my div conteiner..  :| 
>
> Il giorno mercoledì 1 dicembre 2010 16:21:51 UTC+1, John LaBanca ha 
> scritto:
>>
>> CellBrowser implements RequiresResize, so it needs an unbroken change of 
>> parents that all implement ProvidesResize, up to the RootLayoutPanel (not 
>> RootPanel).  You can find more documentation about LayoutPanels in the dev 
>> guide:
>>
>> http://code.google.com/webtoolkit/doc/latest/DevGuideUiPanels.html#LayoutPanels
>>
>> Alternatively, you can give the CellBrowser an explicit height and width. 
>>
>> Thanks,
>> John LaBanca
>> jlab...@google.com
>>
>>
>> On Wed, Dec 1, 2010 at 8:34 AM, sevendays  wrote:
>>
>>> I am having trouble getting a CellBrowser component to display in my
>>> existing GWT 2.1 project. I have tried both CellBrowserExample1.java
>>> and CellBrowserExample2.java, by converting the entry point classes to
>>> VerticalPanels, then adding them to my application. For example, this
>>> is a modified
>>>
>>> http://google-web-toolkit.googlecode.com/svn/trunk/user/javadoc/com/google/gwt/examples/cellview/CellBrowserExample2.java
>>> :
>>>
>>>public NodeCellBrowser() {
>>>TreeViewModel model = new CustomTreeModel();
>>>
>>>/*
>>> * Create the browser using the model. We use 
>>> null
>>> as the
>>> * default value of the root node. The default value will be
>>> passed to
>>> * CustomTreeModel#getNodeInfo();
>>> */
>>>CellBrowser browser = new CellBrowser(model, null);
>>>
>>> browser.setKeyboardSelectionPolicy(KeyboardSelectionPolicy.ENABLED);
>>>
>>>// Add the browser to the root layout panel.
>>>this.add(new Label("This displays fine")); // <-- added by me 
>>> to
>>> test
>>>this.add(browser); // nothing displays here
>>>this.add(new Label("This also displays fine")); // <-- added 
>>> by
>>> me to test
>>>}
>>>
>>> The symptoms of the problem are:
>>>
>>> 1) No CellBrowser displays; nothing appears on the screen (i.e. at
>>> this.add(browser)), however the two test labels appear fine.
>>> 2) No exceptions app

Re: DataGrid header style has problem in IE8

2014-07-08 Thread vijay gohel
Please apply column width of datagrid.setColumnWidth method it will set 
header fix and white space will not display.

Example  datagrid.setColumnWidth(projectCode, columWidth + "px");

On Tuesday, 4 December 2012 13:48:17 UTC+5:30, tong123123 wrote:
>
> as shown in the attachment, in IE8, in datagrid header, even I set the 
>  element background color to #bcee68, the result is just separate 
>  in the  is change background color, not the whole 
> I found this problem only occur in IE8, but not in firefox.
> also, this problem will not occur when first load the page or the 
> datagrid's row has contents, the problem only shown when the search button 
> is pressed and no result return.
>
> How to solve it?
>
> I try to set the background color of  element inside datagrid, but 
> this will cause the background color of the  label "record not found" 
> changed also.
>
>
>

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


Wrapping the tabs in the TabPanel

2012-03-20 Thread vijay k
Hi Experts,

I wanted to wrap the tabs in the TabPanel.

Ex.,
Suppose i have 10 tabs in tabpanel.I wanted to display 5 tabs in the
first line and display the remaining five tabs in the (second) next
line.

And wanted to know, which are the panels in gwt will support the
wrapping of the tabs.


Thanks in Advance.

Vijay

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



GWT + MySql

2012-03-19 Thread vijay Rana Bhat
if anyone have a demo program to connect the database from gwt please
mail me

thank u..

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



Re: please help y ds code is not working

2012-03-16 Thread vijay

>
> so, do i need to hv connection code in server side..
>>
>>

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



please help y ds code is not working

2012-03-16 Thread vijay Rana Bhat
package conn.client;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.dev.generator.ast.Statement;
public class login implements EntryPoint {

public void onModuleLoad() {

try {
Class.forName("com.mysql.jdbc.Driver").newInstance();   
Connection
conn=DriverManager.getConnection("jdbc:mysql://localhost:3306/demo","root","myPassword");
 Statement st=(Statement) 
conn.createStatement();
 ResultSet rs=((java.sql.Statement) 
st).executeQuery("select *
from login");
ResultSet result=((PreparedStatement) 
st).executeQuery();
Window.alert(result.getString(1));  
}
catch(Exception ex)
{
}   
}
}

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



gwt,mysql and hibernate.

2012-03-14 Thread vijay
i am new to gwt and hibernate.. and i am doing a project with
gwt,mysql and hibernate please help me with some  example project..

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



Re: How to set back ground color to a textfield

2012-01-31 Thread Katta Vijay
I tried like you suggested but it did't work for a textfield !

On Jan 31, 10:10 pm, Qrunk  wrote:
> I tried the same on a button(*add *button), its working for me,
>
> try out this :
>
> @UiHandler("add")
>     void onAddClick(ClickEvent event) {
>         //addRows();
>         add.setEnabled(false);
>         if(!add.isEnabled()){
>             System.out.println("Hello");
>             add.getElement().getStyle().setBorderColor("red");
>         }
>
>     }
>
> Here add is button added using UiBinder, onClick I make it disabled and
> change the border color to red

-- 
You received 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 set back ground color to a textfield

2012-01-31 Thread Katta Vijay
Here I'm trying to create a textfield as disabled with background
color as a red/green!
i can able to make it as a disabled but color doesn't rendering in
browser...
i'm using

textfield.setStyleAttribute("backgroundColor","green"); method but
it's not rendering into browser !

any idea about this kind of issue .

Thanks in advance

Vijay Katta

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



marquee in gwt

2011-12-21 Thread Katta Vijay
how can i create a marquee in gwt  ? is there any library available
for this in gwt .
i tried in this group previous posts there is no proper information
available .

can any one help me !

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



Dynamic Mapping Of Click Events to Touch Event

2011-09-15 Thread Vijay Sarin
Hi,

I am working on a Project in which i have to make my website optimized for 
iPad and Android Tablets. So in case of click events, when we do some click, 
it takes 300ms delay which i calculated, for the click to complete. So is 
there any option to fix this possibly by mapping all click events to touch 
events without changing the entire code. I have problem editing the code 
because this is a huge enterprise project. So optimization in MVP here is a 
difficult and tedious task. Can anyone here help me?

Thanks

*VIJAY SARIN*

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



GWT Browser Support Restriction

2011-08-02 Thread Vijay Sarin
Hi Team,

Can we Restrict Browser Support of GWT Application to a Single One.
For Example, i want my application to be working only on Microsoft
Internet Explorer, and when opened in Mozilla Firefox or Safari or
Chrome, it must show a message Stating that "You must need IE6 or
Higher to view this Page" or something else like that.

My Suggestion is, when compiling a GWT Application we are Actually
Compiling for Each Various Browsers. That is the Output Stating
"Compiling Permutations". So can we restrict this.

I am waiting for all of your valuable replies to move on to the next
section of my GWT Learning.

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



websites designed with GWT are mobile browser compatible?

2011-06-28 Thread vijay sali
Hello Guys,
 I am planning to develop a web application using GWT, but before
that I need to make few clarifications. The web app what I am
developing should be compatible with Mobile phone browsers
considerable smart phone browsers.

I googled a lot to know this but I did not find supporting or
sufficient documentations.

If GWT doesnt support what would be the other framework, which is open
source java based framework?

-- 
You received 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 integrate jboss errai & gwt

2011-01-12 Thread vijay gohel
hi,all

please Give me step how to make project jboss errai + gwt for rich
application

how to run?

how to configure?

what is requirement for errai + gwt

Thanks
&
Regards,
Vijay Gohel

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



please Help me GWT Listbox

2011-01-05 Thread vijay gohel
i want aout put like

Group1
 Item1-1
 Item1-2
 Item1-3
 Item1-4
Group2
 Item2-1
 Item2-2
 Item2-3
 Item2-4
etc

for that  in HTML

there is option in "Select Tag" and Option in "Select Tag" is
"optiongroup"

i want that's output in get list box

thanks

Vijay


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



about Listbox

2011-01-03 Thread vijay gohel
hi all,

please help me in listbox widget


i would like to add option group in Listbox widget like optiongroup in
select tag in html

how we make ?

please reply me

thanks in advance

-- 
Regards,
Vijay Gohel

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



please Help me GWT Listbox

2011-01-03 Thread vijay gohel
hi,

please Help Me in Listbox widget

i want to add option Group like "Select tag's Option group"  in List
box

How it is Possible. i don't Know.

Please Help me on it

thanks in advance


Regards,
Vijay Gohel

-- 
You received 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: Re: Announcing GWT 2.1

2010-11-01 Thread rahul vijay shinde
These mail are been wrongly marked to mePlease avoid.RegardsRahul ShindeOn Mon, 
01 Nov 2010 10:04:12 +0530 Shawn Brown wrote>>> That being said, I'm 
not a Spring (nor Guice) fan, so would actually>>> enjoy seeing 
numbers that show, say, your stack w/Spring takes x% more>>> time than 
the same stack w/o Spring.>>One 
more:>>http://www.streamhead.com/google-appengine-java-loading-request-analysis/>>Shawn>>--
 >You received 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: Re: Announcing GWT 2.1

2010-11-01 Thread rahul vijay shinde
These mail are been wrongly marked to mePlease avoid.RegardsRahul ShindeOn Mon, 
01 Nov 2010 11:01:25 +0530 Stephen Haberman wrote>Hi Shawn,>>Thanks 
for the links.>>Moving off JDO and Spring MVC (the web framework, not DI) 
seemed to be>the biggest startup time wins, which is in line with my 
assertion that>DI itself is not typically the bottleneck.>>That being 
said, the streamhead link:>>> 
http://www.streamhead.com/google-appengine-java-loading-request-analysis/>>Was
 the most interesting because he truly did DI/no-DI comparison>(trusting his 
approach anyway), and saw base DI adding 1s overhead.>>That is more than 
I would have guessed, but given it's Spring, I guess>I can believe 
it.>>I do enjoy seeing startup time highlighted--way too many pointy 
haired>managers (or architects) don't think 10s+, 30s+, 60s+ app startups 
times>affect their developers' productivity. It's terribly 
frustrating.>>Thanks again,>Stephen>>-- >You received 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: Re: CellTree "reordering" nodes?

2010-11-01 Thread rahul vijay shinde
These mail are been wrongly marked to mePlease avoid.RegardsRahul ShindeOn Mon, 
01 Nov 2010 13:53:51 +0530 David Pinn wrote>I don't know you you've screwed 
up; but if you have, so have I.>>I too have been seeing very strange 
event-handling behaviour, with>values being passed to getNodeInfo that are 
not for the node clicked>on. Using your trick with .add(0, Object) made my 
problem go away too.>Right now I'm really happy because it is just that 
little bit less>likely that we are both stupid. maybe.>>On Nov 1, 3:04 
am, decitrig  wrote:>> This problem is a bit 
tricky to describe; forgive me. I have a cell>> tree where nodes are 
added programmatically by doing a getList().add()>> on a ListDataProvider 
field. However, I found that using>> the .add(Object) method would do 
strange things to the ordering, i.e.>> the node *rendered* as "Item 1" 
would be passed as *value* "Item 2" to>> getNodeInfo(), and thus it 
looked like Item 1 got Item 2's children. The really strange 
thing is that if I do .add(0, Object), then>> everything works 
fine. The actual code can be found 
here:http://bitbucket.org/slide_rule/umd-code-review/src/tip/src/edu/umd/r...;
 I just want to have list operations reflected in the tree, is this a>> 
bug or have I just screwed this up somehow? -->> 
rwsims>>-- >You received 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: Re: lib-gwt-svg 0.5 for GWT 2.1 is available

2010-11-01 Thread rahul vijay shinde
These mail are been wrongly marked to mePlease avoid.RegardsRahul ShindeOn Mon, 
01 Nov 2010 14:09:38 +0530 Sorinel C wrote>This is a great news -- I'll give 
it a try 
...>>Cheers!>http://ui-programming.blogspot.com/>>>-- >You 
received this message because you are subscribed to the Google Groups "Google 
Web Toolkit" group.>To post to this group, send email to 
google-web-tool...@googlegroups.com.>To unsubscribe from this group, send 
email to google-web-toolkit+unsubscr...@googlegroups.com.>For more options, 
visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.>>; 

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



Re: New Website with a huge database using GWT

2010-09-09 Thread Rahul Vijay
Hi gal,

  Thanks for that. Does anyone know some nice hosting service providers who
would provide tomcat hosting?

~ Rahul

On Fri, Sep 10, 2010 at 1:16 AM, Gal Dolber  wrote:

> I think that anything you can do in javascript, GWT can do it better... the
> alternative is server-side-only.. but we all like ajax
>
> 2010/9/9 Rahul Vijay 
>
>> Hi All,
>>
>>   I am planning to start a new website where the consumer and the
>> producer interact directly over the website. I am planning to use GWT
>> for implementing this website. I will be making use of a significantly
>> large MySQL database. Is GWT good enough for such kind of a website?
>> And also what kind of  hosting should I go in for if I am using tomcat
>> as my application server? Can someone suggest some nice hosting
>> websites where I can get sufficiently large / unlimited DB space at a
>> very affordable price?
>>
>> Thanks,
>> Rahul
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To post to this group, send email to google-web-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.
>>
>>
>
>
> --
> Guit: Elegant, beautiful, modular and *production ready* gwt applications.
>
> http://code.google.com/p/guit/
>
>
>
>  --
> You received 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.



New Website with a huge database using GWT

2010-09-09 Thread Rahul Vijay
Hi All,

   I am planning to start a new website where the consumer and the
producer interact directly over the website. I am planning to use GWT
for implementing this website. I will be making use of a significantly
large MySQL database. Is GWT good enough for such kind of a website?
And also what kind of  hosting should I go in for if I am using tomcat
as my application server? Can someone suggest some nice hosting
websites where I can get sufficiently large / unlimited DB space at a
very affordable price?

Thanks,
Rahul

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-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.



ApplicationCreator

2010-08-13 Thread Vijay

Hi,
I had my old application namly FirstGWT. I deleted it. Then created
another application. when i run the new one I found the error :
"Launch configuration ApplicationCreator references non-existing
project FirstGWT."

How can i fix 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: Newbie question : Problem with GWT RPC when running running through GWT + AppEngine tutorial

2010-04-01 Thread vijay
Thanks Abdullah, I got that working.
The 
tutorial<http://code.google.com/webtoolkit/doc/latest/tutorial/appengine.html>
tells
to download stockwacher
projec<http://code.google.com/webtoolkit/doc/latest/tutorial/projects/GettingStartedAppEngine.zip>t
and import it in eclipse. The package contains old gwt-rpc.jar which is not
compatible with new gwt sdk and  hence fails with exception I pasted in my
earlier mail.
A easy fix is to build new project and copy jar from new project to
stockwatcher one.

On Wed, Mar 31, 2010 at 8:15 PM, Abdullah Shaikh <
abdullah.shaik...@gmail.com> wrote:

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

Re: Parameter 0 of is of an unknown type 'java.lang.String/2004016611' - error when running through AppEngine+ GWT tutorial

2010-04-01 Thread vijay
Thanks Trevor, I got that working.
The 
tutorial<http://code.google.com/webtoolkit/doc/latest/tutorial/appengine.html>
tells
to download stockwacher
projec<http://code.google.com/webtoolkit/doc/latest/tutorial/projects/GettingStartedAppEngine.zip>t
and import it in eclipse. The package contains old gwt-rpc.jar which is not
compatible with new gwt sdk and  hence fails with exception I pasted in my
earlier mail.
A easy fix is to build new project and copy jar from new project to
stockwatcher one.

On Thu, Apr 1, 2010 at 9:06 PM, Trevor Skaife  wrote:

> If I remember correctly, I think it's due to having compiled with one
> version of GWT, but using a different version the gwt jar in your
> classpath.
>
> Trevor
>
> On Mar 30, 12:49 pm, vijay  wrote:
> > hi,
> > I am using GWT 2.0.3 version, I am going through the steps mentioned in
> GWT
> > tutorial
> >
> > http://code.google.com/webtoolkit/doc/latest/tutorial/appengine.html
> >
> > When trying to integrate login service I get following exception.
> >
> > Mar 30, 2010 6:44:49 PM
> > com.google.appengine.tools.development.ApiProxyLocalImpl log
> > SEVERE: [1269974689208000] javax.servlet.ServletContext log:
> loginService:
> > ERROR: Failed to parse the policy file
> > '/stockwatcher/748E07BA5F0BCE26285053278C0378CB.gwt.rpc'
> > java.text.ParseException: Expected: className, [true | false]
> > at
> >
> com.google.gwt.user.server.rpc.SerializationPolicyLoader.loadFromStream(Ser
> ializationPolicyLoader.java:116)
> > at
> >
> com.google.gwt.user.server.rpc.RemoteServiceServlet.doGetSerializationPolic
> y(RemoteServiceServlet.java:234)
> > at
> >
> com.google.gwt.user.server.rpc.RemoteServiceServlet.getSerializationPolicy(
> RemoteServiceServlet.java:117)
> > at
> >
> com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.prepare
> ToRead(ServerSerializationStreamReader.java:429)
> > at com.google.gwt.user.server.rpc.RPC.decodeRequest(RPC.java:234)
> > at
> >
> com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServi
> ceServlet.java:164)
> > at
> >
> com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceSer
> vlet.java:86)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
> > at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
> > at
> >
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandle
> r.java:1093)
> > at
> >
> com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFi
> lter.java:51)
> > at
> >
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandle
> r.java:1084)
> > at
> >
> com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(Trans
> actionCleanupFilter.java:43)
> > at
> >
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandle
> r.java:1084)
> > at
> >
> com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFile
> Filter.java:121)
> > at
> >
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandle
> r.java:1084)
> > at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
> > at
> >
> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
> > at
> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
> > at
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
> > at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
> > at
> >
> com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEn
> gineWebAppContext.java:70)
> > at
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
> > at
> >
> com.google.appengine.tools.development.JettyContainerService$ApiProxyHandle
> r.handle(JettyContainerService.java:352)
> > at
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
> > at org.mortbay.jetty.Server.handle(Server.java:313)
> > at
> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)
> > at
> >
> org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java
> :844)
> > at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:644)
> > at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
> > at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
> > at
> >
> org.mortbay.io.nio.Sele

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

2010-03-30 Thread vijay
Ping!

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

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

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

2010-03-30 Thread vijay
hi,
I am using GWT 2.0.3 version, I am going through the steps mentioned in GWT
tutorial

http://code.google.com/webtoolkit/doc/latest/tutorial/appengine.html

When trying to integrate login service I get following exception. I tried
using a normal GWT RPC and it also gave me similar exception.

Mar 30, 2010 6:44:49 PM
com.google.appengine.tools.development.ApiProxyLocalImpl log
SEVERE: [1269974689208000] javax.servlet.ServletContext log: loginService:
ERROR: Failed to parse the policy file
'/stockwatcher/748E07BA5F0BCE26285053278C0378CB.gwt.rpc'
java.text.ParseException: Expected: className, [true | false]
at
com.google.gwt.user.server.rpc.SerializationPolicyLoader.loadFromStream(SerializationPolicyLoader.java:116)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.doGetSerializationPolicy(RemoteServiceServlet.java:234)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.getSerializationPolicy(RemoteServiceServlet.java:117)
at
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.prepareToRead(ServerSerializationStreamReader.java:429)
at com.google.gwt.user.server.rpc.RPC.decodeRequest(RPC.java:234)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:164)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:86)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
at
com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java:51)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
at
com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:43)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
at
com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFileFilter.java:121)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
at
com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java:70)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
at
com.google.appengine.tools.development.JettyContainerService$ApiProxyHandler.handle(JettyContainerService.java:352)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
at org.mortbay.jetty.Server.handle(Server.java:313)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)
at
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:844)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:644)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)
at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)

Mar 30, 2010 6:44:49 PM
com.google.appengine.tools.development.ApiProxyLocalImpl log
SEVERE: [1269974689224000] javax.servlet.ServletContext log: loginService:
An IncompatibleRemoteServiceException was thrown while processing this call.
com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException: Parameter
0 of is of an unknown type 'java.lang.String/2004016611'
at com.google.gwt.user.server.rpc.RPC.decodeRequest(RPC.java:277)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:164)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:86)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
at
com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java:51)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
at
com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:43)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
at
com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFileFilter.java:121)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java

Parameter 0 of is of an unknown type 'java.lang.String/2004016611' - error when running through AppEngine+ GWT tutorial

2010-03-30 Thread vijay
hi,
I am using GWT 2.0.3 version, I am going through the steps mentioned in GWT
tutorial

http://code.google.com/webtoolkit/doc/latest/tutorial/appengine.html

When trying to integrate login service I get following exception.

Mar 30, 2010 6:44:49 PM
com.google.appengine.tools.development.ApiProxyLocalImpl log
SEVERE: [1269974689208000] javax.servlet.ServletContext log: loginService:
ERROR: Failed to parse the policy file
'/stockwatcher/748E07BA5F0BCE26285053278C0378CB.gwt.rpc'
java.text.ParseException: Expected: className, [true | false]
at
com.google.gwt.user.server.rpc.SerializationPolicyLoader.loadFromStream(SerializationPolicyLoader.java:116)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.doGetSerializationPolicy(RemoteServiceServlet.java:234)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.getSerializationPolicy(RemoteServiceServlet.java:117)
at
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.prepareToRead(ServerSerializationStreamReader.java:429)
at com.google.gwt.user.server.rpc.RPC.decodeRequest(RPC.java:234)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:164)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:86)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
at
com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java:51)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
at
com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:43)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
at
com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFileFilter.java:121)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
at
com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java:70)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
at
com.google.appengine.tools.development.JettyContainerService$ApiProxyHandler.handle(JettyContainerService.java:352)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
at org.mortbay.jetty.Server.handle(Server.java:313)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)
at
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:844)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:644)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)
at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)

Mar 30, 2010 6:44:49 PM
com.google.appengine.tools.development.ApiProxyLocalImpl log
SEVERE: [1269974689224000] javax.servlet.ServletContext log: loginService:
An IncompatibleRemoteServiceException was thrown while processing this call.
com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException: Parameter
0 of is of an unknown type 'java.lang.String/2004016611'
at com.google.gwt.user.server.rpc.RPC.decodeRequest(RPC.java:277)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:164)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:86)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
at
com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java:51)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
at
com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:43)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
at
com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFileFilter.java:121)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandl

GWT Books

2009-09-16 Thread vijay
Hi All,I am new to GWT and would like to get in depth knowledge of GWT, I
think it would be better to read through some books which have more detailed
information about GWT features and its internal working. I referred GWT
page
http://code.google.com/webtoolkit/books.html

but it has books whose edition are of 2007 or early 2008, I am looking for
more updated information.
I would be thankful if someone can help me with this.

Regards,
Vijay Garg

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



New features of GWT 1.7 compared to 1.6 version

2009-07-15 Thread vijay

HI,

Can any one please let us know the new features in 1.7 version

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



Need some design related help

2009-05-25 Thread vijay
HI All,I am working on a application using GWT and AppEngine (Java with
datastore) , got stuck in design phase.

The application need to take input from barcode reader and will fill up
some text boxes with information corresponding to the barcode. You can
assume it to be a bookstore selling application which can fill up the book
details like book name and  price from the barcode when preparing the bill.
Now my worries are:

1. As the information can change on server by admin the individual seller
should be in sync with server. but it would be very time taking if for every
barcode readed I send a request to server so I think we should store the
information on client side and keep it in sync with the server as the
changes are not expected to be very often.

2. If I keep all information on client side it is not possible to keep all
barcodes information in memory as they can be in huge numbers may be
millions, is there a effective way to keep all information on client side or
any other way instead of storing it on client side.

3. Also i don't want my user to loose any information if there is any
disruption in internet connectivity.so can i use something like a offline
mode which will store all information locally if internet is not connected
and as soon as connection is there it gets sync with server similar to java
web start.

I am beginner, it would be great if you guys can tell me about any others
issues I should be aware of while developing such application with GWT and
AppEngine.


Thanks,
Vijay

--~--~-~--~~~---~--~~
You received 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: getbytes() is undefined for the type string

2009-05-18 Thread vijay
Thanks Adam,I want to use app engine cache which stores value as bytes, Is
there any other way to do it other than implementing my own getbytes
function.

On Tue, May 19, 2009 at 10:30 AM, Adam T  wrote:

>
> Hi Vijay,
>
> GWT emulates a subset of Java, so you can get caught out if you're
> relying on Eclipse autocompletion and compilation - as that will show
> you all of Java.
>
> To see what is implemented, check out the GWT JRE documentation:
> http://code.google.com/intl/sv-SE/webtoolkit/doc/1.6/RefJreEmulation.html
>
> (You'll see under java.lang.String that getBytes() is not listed, so
> it's not available in GWT).
>
> Hope that explains/helps
>
> //Adam
>
> On 19 Maj, 00:21, vijay  wrote:
> > Hi All,
> > I am getting a error
> >
> > *getbytes*() *is undefined for the type string*
> >
> > the code is
> >
> > String primary_name = e.getPrimaryName();
> > byte[] value = primary_name.getBytes();
> >
> > The eclipse showed me the method getbytes for autocompletion and eclipse
> is
> > happpy with it but when i try to run the application it gives me a above
> > error.
> > I tried to Google it for hours but couldn't find any thing helpful. I
> think
> > i have done some silly mistake, Please help.
> >
> > Regards,
> > Vijay
> >
>

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



getbytes() is undefined for the type string

2009-05-18 Thread vijay
Hi All,
I am getting a error

*getbytes*() *is undefined for the type string*



the code is

String primary_name = e.getPrimaryName();
byte[] value = primary_name.getBytes();

The eclipse showed me the method getbytes for autocompletion and eclipse is
happpy with it but when i try to run the application it gives me a above
error.
I tried to Google it for hours but couldn't find any thing helpful. I think
i have done some silly mistake, Please help.


Regards,
Vijay

--~--~-~--~~~---~--~~
You received 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-appengine] Re: New bie question: import com.google.appengine cannot be resolved

2009-05-14 Thread vijay
Thanks Jason,As also pointed out by Shawn that we cannot simply use Key in
client code we need write a super class instead.
So now i have changed my implementation to use Long instead of key.

On Tue, May 12, 2009 at 12:03 AM, Jason (Google) wrote:

> Hi Vijay. I believe the issue here is that the GWT compiler cannot find the
> source code for the Key class, as detailed in the post at
> http://fredsa.allen-sauer.com/2009/04/1st-look-at-app-engine-using-jdo.html
> .
>
> You should be able to follow the steps in that post, stubbing out the Key
> class, to get your application working.
>
> - Jason
>
>
> On Fri, May 8, 2009 at 3:04 PM, vijay  wrote:
>
>> Hi,
>> I am using GWT+ Appengine for building a simple web application and got
>> stuck with a error.
>>
>> I am using JDO to save some objects in datastore, I have a created a
>> service which returns a field of persistent class which is of type
>>  com.google.appengine.api.datastore.Key, i am calling this service from my
>> main .java file and hence imported the required path. When running the
>> application I got error as
>>
>> Line 6: The import com.google.appengine cannot be resolved
>>
>> The path com.google.appengine was auto completed and also it was not
>> showing any error for files under .server package, the error are only for
>> files under .client package.
>> I think I am missing something very basic here. Is there any restriction
>> that I cannot import appengine packages in .client package?
>>
>> Please let me know if my problem is not clear.
>>
>> Regards,
>> Vijay
>>
>>
>>
>
> >
>

--~--~-~--~~~---~--~~
You received 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: JDOObjectNotFound exception when using getObjectById

2009-05-14 Thread vijay
HI All,

@ datanucleus
yeah i missed that, it solved my problem.Thanks!

@Alyxandor and others
my category class look something like

@PersistenceCapable(identityType = IdentityType.APPLICATION,
detachable="true")
public class Category {
@PrimaryKey
@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
Long id;
 @Persistent
private String primary_name;
 @Persistent
private Set names;
 @Persistent
private Set childrens;
 @Persistent
private Long parent;
}


I am using autoindexing, Do you see a problem with it?


On Wed, May 13, 2009 at 7:46 PM, Alyxandor <
a.revolution.ultra.b...@gmail.com> wrote:

>
> Is that the whole Category class, or is there more?
>
> Because, if you have a persistent field with a null value, it gets
> skipped by index operations.
>
> The low-level query will succeed because an equality test on the
> primary key uses the default, built-in automatic index table, whilst
> all other queries use different index tables based on your index-
> definitions.  ANY OBJECT WITH A NULL VALUE FOR A PERSISTENT FIELD IN
> ANY JDO / JPA QUERY WILL BE SKIPPED.  Check your admin console, and
> post what the actual data listed there says.
>
> Are you using auto-indexing?  What does your datastore-indexes.xml
> look like?  How did you Annotate Category?
>
> ...I'm still fairly fresh with appengine, so take my advice with a
> couple grains of salt, hopefully a master of the arts will find this
> thread and tell you exactly what's wrong.
> >
>

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



JDOObjectNotFound exception when using getObjectById

2009-05-13 Thread vijay
Hi All,
I am stuck with a very weird case here while using getObjectById() function,

I have a persistent class called Category and i am saving it to appengine
datastore using JDO.
I have tried to fetch a particular entry using query and getObjectById()
method, the query is passing and returning me the correct results but
getObjectById is throwing exception JDOObjectNotFound.

The Category class have a primary key field called id, a parent key and a
child key. the child and parent are actually primary key of other Category
instances.( I am trying to buuld a heirarchy of similar objects here. I am
using unowned one to many relationship here.)


// In following code we get the Id of parent and remove the child's
information from it.
Long id = e.getParent(); // returns parent Id.

Query query = pm.newQuery(Category.class);
query.setFilter("id == cat_id"); // get the Category with primary key id =
cat_id.
query.declareParameters("Long cat_id");
List results = (List) query.execute(id); // get parent
category. results contain the expected information.
if (results.iterator().hasNext()) {
   for (Category e3 : results) {
  Set child = e3.getChildrens(); // get the childrens.
   }
  }

Category e2 = (Category) pm.getObjectById(id); // throws JDOObjectNotFound
exception. It is expected to contain the same information as in results 1st
element.
e2.removeChildren(e.getId());
pm.deletePersistent(e);


As you must have seen in the code i am fetching same id using the query and
it returning me the expected objects while
the getObjectById is throwing the exception JDOObjectNotFound. Any clues why
it is throwing that exception.

I tried to google it but could not find any obvious reason,
Can somebody help me figuring out where I am doing it wrong.

Regards,
Vijay

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



JDOObjectNotFound exception when using getObjectById

2009-05-13 Thread vijay
Hi All,
I am stuck with a very weird case here while using getObjectById() function,

I have a persistent class called Category and i am saving it to appengine
datastore using JDO.
I have tried to fetch a particular entry using query and getObjectById()
method, the query is passing and returning me the correct results but
getObjectById is throwing exception JDOObjectNotFound.

The Category class have a primary key field called id, a parent key and a
child key. the child and parent are actually primary key of other Category
instances.( I am trying to buuld a heirarchy of similar objects here. I am
using unowned one to many relationship here.)


// In following code we get the Id of parent and remove the child's
information from it.
Long id = e.getParent(); // returns parent Id.

Query query = pm.newQuery(Category.class);
query.setFilter("id == cat_id"); // get the Category with primary key id =
cat_id.
query.declareParameters("Long cat_id");
List results = (List) query.execute(id); // get parent
category. results contain the expected information.
if (results.iterator().hasNext()) {
   for (Category e3 : results) {
  Set child = e3.getChildrens(); // get the childrens.
   }
  }

Category e2 = (Category) pm.getObjectById(id); // throws JDOObjectNotFound
exception. It is expected to contain the same information as in results 1st
element.
e2.removeChildren(e.getId());
pm.deletePersistent(e);


As you must have seen in the code i am fetching same id using the query and
it returning me the expected objects while
the getObjectById is throwing the exception JDOObjectNotFound. Any clues why
it is throwing that exception.

I tried to google it but could not find any obvious reason,
Can somebody help me figuring out where I am doing it wrong.

Regards,
Vijay

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



New bie question: import com.google.appengine cannot be resolved

2009-05-08 Thread vijay
Hi,
I am using GWT+ Appengine for building a simple web application and got
stuck with a error.

I am using JDO to save some objects in datastore, I have a created a service
which returns a field of persistent class which is of type
 com.google.appengine.api.datastore.Key, i am calling this service from my
main .java file and hence imported the required path. When running the
application I got error as

Line 6: The import com.google.appengine cannot be resolved

The path com.google.appengine was auto completed and also it was not showing
any error for files under .server package, the error are only for files
under .client package.
I think I am missing something very basic here. Is there any restriction
that I cannot import appengine packages in .client package?

Please let me know if my problem is not clear.

Regards,
Vijay

--~--~-~--~~~---~--~~
You received 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 to app-engine

2009-04-19 Thread vijay
Thanks everyone for your replies, I think the situation is more clear to me
now.

On Mon, Apr 20, 2009 at 2:35 AM, Salvador Diaz wrote:

>
> > > Isn't using GWT with AppEngine  productive and popular??
>
> Productive yes, popular I don't think so, as AppEngine has only been
> available for a couple of weeks.
>
> > It would be great if you people can give me some tips and other things I
> > should be careful about during the development phase
>
> You should read all of the docs very carefully, normally that'll give
> you enough guidance. If you encounter any particular problems, ask
> here or at the app engine discussion group.
>
> Cheers,
>
> Salvador
>
> >
>

--~--~-~--~~~---~--~~
You received 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 to app-engine

2009-04-19 Thread vijay
+GWT users

On Mon, Apr 20, 2009 at 12:14 AM, vijay  wrote:

>
> Hi All,I am planning to use gwt + appengine to develop and deploy my
> website. I am new to both of this though I completed the installation part
> and getting started tutorial of both of this.
> It would be great if you people can give me some tips and other things I
> should be careful about during the development phase. Actually I see a lot
> of help on GWT and appengine individual usage but there is nothing related
> to using gwt with appengine and at this point i am confused if I am missing
> something,
> Isn't using GWT with AppEngine  productive and popular??
>
> Regards,
> Vijay
>

--~--~-~--~~~---~--~~
You received 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: The import com.google.gwt.event cannot be resolved

2009-04-16 Thread vijay
Great!  It resolved my problem.

Thanks a lot Thomas,


On Thu, Apr 16, 2009 at 4:14 PM, Thomas Broyer  wrote:

>
>
>
> On 16 avr, 12:32, vijay  wrote:
> > Hi All,I am very new to GWT and was going through the initial tutorial
> for
> > creating a stock watcher application, I got stuck at a point where it was
> not
> > able to resolve the com.google.gwt.event.* imports. I could not find any
> > related topic through google aswell so thought i am missing something.
> [...]
> > C:\Documents and Settings\vijaygarg\Desktop\gwt-windows-1.5.3
>
> com.google.gwt.event.* is new to GWT 1.6. Either switch to using GWT
> 1.6, or use the com.google.gwt.user.client.ui.*Listener classes from
> GWT 1.5 instead of the com.google.gwt.event.client.*Handler from GWT
> 1.6.
> >
>

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



The import com.google.gwt.event cannot be resolved

2009-04-16 Thread vijay
Hi All,I am very new to GWT and was going through the initial tutorial for
creating a stock watcher application, I got stuck at a point where it was not
able to resolve the com.google.gwt.event.* imports. I could not find any
related topic through google aswell so thought i am missing something.

I am using eclipse and when i press ctrl-space on com.google.gwt. it shows
me all packages like http,dom, user etc but it doesn't have an option for
event.

CLASSPATH

I have installed my gwt on desktop and  CLASSPATH has a path

C:\Documents and Settings\vijaygarg\Desktop\gwt-windows-1.5.3

The project directory is also present within gwt directory, so i think path
should not be a problem.

xml file:


  
  
  
  


test2.java file

package com.google.gwt.sample.test2.client;

import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.FlexTable;
import com.google.gwt.user.client.ui.HorizontalPanel;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.RootPanel;
import com.google.gwt.user.client.ui.TextBox;
import com.google.gwt.user.client.ui.VerticalPanel;
import com.google.gwt.event.dom.client.KeyCodes;
import com.google.gwt.event.dom.client.KeyPressEvent;
import com.google.gwt.event.dom.client.KeyPressHandler;
import com.google.gwt.user.client.Window;
import java.util.ArrayList;

public class test2 implements EntryPoint {

  private VerticalPanel mainPanel = new VerticalPanel  etc.


I would be thankful if anyone can help me out.

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

2009-03-28 Thread vijay

Hi,
I faced the same problem and figured out that the problem was PATH
variable which i set as environment variable, can you try removing/
correcting that variable if you have set that else check that the path
where you created your project is inside gwt directory

On Feb 11 2008, 9:58 am, SBTECH  wrote:
> I am new to the GWT. Have been a JSF developer for awhile. I am going
> through the GWT in action book and working on the Dashboard exercise.
> I am using Eclipse Europa 3.2. I am having problem when trying to
> execute the application as described in the book. When I right click
> the project and select RUN. I get an alert the says "Could not find
> main class. Program will exit." Also the console displays the
> following:
>
> java.lang.NoClassDefFoundError: com/google/gwt/util/tools/ToolBase
>         at java.lang.ClassLoader.defineClass1(Native Method)
>         at java.lang.ClassLoader.defineClass(Unknown Source)
>         at java.security.SecureClassLoader.defineClass(Unknown Source)
>         at java.net.URLClassLoader.defineClass(Unknown Source)
>         at java.net.URLClassLoader.access$100(Unknown Source)
>         at java.net.URLClassLoader$1.run(Unknown Source)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(Unknown Source)
>         at java.lang.ClassLoader.loadClass(Unknown Source)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
>         at java.lang.ClassLoader.loadClass(Unknown Source)
>         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> Exception in thread "main"
>
> I am I missing a jar file that has the ToolBase? Another interesting
> thing is that I can run the application if I just double click on the
> "Dashboard-shell.cmd" file. Any insightwould be appreciated. I really
> would like to get through this book and get up to speed with GWT. JSF
> is just not giving me everything my users want.
>
> Thanks,
> SBTECH

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



Events loop

2009-02-04 Thread Vijay

Hi

I am new to GWT and currently developing an application.I am facing
one problem. I have TabPanel and i have added the listeners to handle
the data which loads in the each TabIems but the problem is when i
change the tab the whole Panel freezes I could see that the
application is waiting for events in threaddumps

"main" prio=6 tid=0x000379a0 nid=0x17e4 runnable
[0x0007f000..0x0007fc3c]
at org.eclipse.swt.internal.win32.OS.WaitMessage(Native Method)
at org.eclipse.swt.widgets.Display.sleep(Display.java:3736)
at com.google.gwt.dev.GWTShell.sleep(GWTShell.java:749)
at com.google.gwt.dev.GWTShell.pumpEventLoop(GWTShell.java:721)
at com.google.gwt.dev.GWTShell.run(GWTShell.java:593)
at com.google.gwt.dev.GWTShell.main(GWTShell.java:357)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:
90)


Can anyone help me to debug this problem. ??  i have disabled all the
listeners and still i can see this problem :-(

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: Sharing data between pre-existing data in a JSP and the GWT module

2008-11-26 Thread Vijay

I was searching for something like this for quite some time, thanks a
million !!!

On Nov 21, 8:24 am, Suri <[EMAIL PROTECTED]> wrote:
> Aha. You're right too Olivier. Thanks for the tip. Tottally missed
> that. Appreciate it.
>
> On Nov 21, 3:55 am, "olivier nouguier" <[EMAIL PROTECTED]>
> wrote:
>
> > Hi Suri,
> >  Thanks for this tip !
> >  But IMHO in your case I think that the problem is in the hosted page:
> >  Try replacing:
> > var testVar = <%= request.getAttribute("someValue") %>
> >  by:
> > var testVar = "<%= request.getAttribute("someValue") %>"
>
> > Notice the quote !
> > Then the generate js will be:
> >   var testVar = "12345"; // a string
> > Instead of
> >  var testVar = 12345; // an int
>
> > However your solution seems pretty to me and it's better check twice
> > those JS type.
>
> > Best regards
> > Olivier.
>
> > On Thu, Nov 20, 2008 at 10:19 PM, Suri <[EMAIL PROTECTED]> wrote:
>
> > > Hi Olivier,
> > > I just thought I'd let you know. The script you have works great
> > > however needs one additional modification.
>
> > > public static native String jnsiGetString(String jsVar, String
> > > defaultValue)/*-{
> > >      var value = eval('$wnd.'+jsVar);
> > >      if(value){
> > >        return value.toString();
> > >      }
> > >      return defaultValue;
> > >    }-*/;
>
> > > and
>
> > > public String getSomeValue(){
> > >   return jnsiGetString("someValue", null);
>
> > > }
>
> > > Notice the .toString(). This is so that the value being returned is
> > > truly converted to a String datatype. As part of doing some work I had
> > > used the script but the variable that was being referenced, happened
> > > to have a numeric value. Thus, when trying to do an RPC, the system
> > > kept giving me a ClassCastException although I was sure I was passing
> > > a String (it also passed the instanceof test) but once I put
> > > the .toString() it worked correctly. I guess something funky happens
> > > there no idea what. e.g
> > > --- JSP-
> > > 
> > >  // someValue happens to be an integer although its sent as a String
> > > in Java e.g "123456"
> > >  var testVar = <%= request.getAttribute("someValue") %>
> > > 
> > > ---
>
> > > - Client Code 
>
> > > ...
> > >  String testValue = getString("testVar", "0");
> > > // Although this executes correctly and works fine, it acts up later
> > > in the code unless the .toString() method is called in the javascript
> > > as shown before.
> > > 
>
> > > Thanks
>
> > > Suri
> > > On Nov 20, 11:34 am, Suri <[EMAIL PROTECTED]> wrote:
> > >> Thanks Olivier. That makes sense. I'll have to use the String and
> > >> validate it at the server side I guess.
>
> > >> Suri
>
> > >> On Nov 20, 10:08 am, "olivier nouguier" <[EMAIL PROTECTED]>
> > >> wrote:
>
> > >> > There is no long datatype in javascript !
>
> > >> >http://www.google.com/search?q=GWT+long+emulation&sourceid=navclient-...
>
> > >> > On Thu, Nov 20, 2008 at 3:31 PM, Suri <[EMAIL PROTECTED]> wrote:
>
> > >> > > Hi Olivier,
> > >> > > I actually saw your post later on another thread and used the default
> > >> > > solution. Thanks for that. Pretty neat.
> > >> > > A different question now, I observed that after obtaining the value I
> > >> > > wanted, I could not convert it to a Long type. i.e
>
> > >> > > in my client java code after retrieving the value using the native
> > >> > > method above I try something like
>
> > >> > > Long longVal = Long.parseLong("returnedValue");
>
> > >> > > And that seems to throw an error in the browser. I do remember 
> > >> > > reading
> > >> > > about some issues with Long datatype and javascript, however any
> > >> > > explanation is welcome. I'd like to understand it better.
> > >> > > Thanks
> > >> > > Suri
>
> > >> > > On Nov 20, 3:43 am, "olivier nouguier" <[EMAIL PROTECTED]>
> > >> > > wrote:
> > >> > >> public native String getSomeValue() /*- {
> > >> > >>    return $wnd.someValue.}*-/;
>
> > >> > >> But be aware of "undef" !!!
> > >> > >> should be:
> > >> > >> public native String getSomeValue() /*- {
> > >> > >>    if($wnd.someValue){
> > >> > >>      return $wnd.someValue.
> > >> > >>    }
> > >> > >>    return null;
>
> > >> > >> }*-/;
>
> > >> > >> More generic:
>
> > >> > >>  public static native String jnsiGetString(String jsVar, String
> > >> > >> defaultValue)/*-{
> > >> > >>       var value = eval('$wnd.'+jsVar);
> > >> > >>       if(value){
> > >> > >>         return value;
> > >> > >>       }
> > >> > >>       return defaultValue;
> > >> > >>     }-*/;
>
> > >> > >> and
>
> > >> > >> public String getSomeValue(){
> > >> > >>    return jnsiGetString("someValue", null);
>
> > >> > >> }
>
> > >> > >> HIH
>
> > >> > >> On Wed, Nov 19, 2008 at 8:46 PM, Suri <[EMAIL PROTECTED]> wrote:
>
> > >> > >> > As an update question as well,
>
> > >> > >> > Does anyone know if this is correct syntax and if not what would 
> > >> > >> > be
> > >> > >> > the correct w