Re: GWT Plugin 3.0 fails to download connection reset after a while

2018-09-19 Thread Rahul Maharishi


This link is again not working.
http://storage.googleapis.com/gwt-eclipse-plugin/v3/release

Has it moved, can you please share the correct link.

Downloading from browser would work, can you please share the link.

On Monday, 26 February 2018 22:53:37 UTC+5:30, Brandon Donnelson wrote:
>
> @Kommon If you try what Jens tried, downloading from the browser would it 
> work for you? 
>
> Are you dropping packets on your nic? 
>
> On Monday, February 26, 2018 at 6:58:26 AM UTC-8, Jens wrote:
>>
>> Unable to read repository at 
>>> http://storage.googleapis.com/gwt-eclipse-plugin/v3/release/plugins/com.gwtplugins.gdt.eclipse.platform_3.0.0.201710131939.jar
>>> .
>>>
>>
>> I can download that jar without issues using a browser. Maybe it is some 
>> virus scanner or proxy causing the issue.
>>
>> -- J. 
>>
>

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


Adjust HTMLPanel Height as paer srcdoc content

2016-11-18 Thread Rahul M


I have an HTMPLPanel, It has an Iframeelement inside it. for Iframe I had 
set srcdoc attribute which is content of an input HTML page. Content is 
shown fine, but there are display issues the way it is shown.

   1. Scroll is hidden for both panel and frame 
   2. 2.There is still scroll shown, I feel it comes from HTML 
   3. 3.But content shown in very small portion and scroll appears 
   always.even for small HTML content.

Somehow I am not able to increase height of HTML panel so that if content 
is small it would be visible as a full.

Can anybody provide suggestions

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


Gwt with Rest Architecture problem

2015-06-23 Thread Rahul Vij
hi,

I have 2 separate wars. 1 with gwt views and second war with rest web 
services (which returns JSON response).
Now the gwt war can be deployed on a different server and the rest war can 
be deployed on a different server.

My problem is that calling the rest services from the gwt views does not 
work because of cross ite scripting. Its gives error when i try to call the 
service.
I do not want to add headers in rest services to allow this because of 
security risk.

I cannot use JSONP because it expects a JSONP response from the server.

Is my arcitecture incorrect for the project or is there something which i 
can do?

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


Re: Building a Calendar Widget like Google Calendar with GWT advisable?

2014-10-21 Thread rahul kumar
Since cellpadding is not supporting in HTML5 you should use CSS
 
http://www.corelangs.com/css/table/css-tables.html
 
Ling

On Sunday, January 24, 2010 9:31:18 PM UTC+5:30, John V Denley wrote:

 Thanks Scholle, it actually turned out to be the border-collapse:collapse; 
 setting that made the difference, but what I was doing wrong was applying 
 it to the individual cells rather than the root table itself! 

 Looking at information on wc3schools (below) it seems that the cellspacing 
 and cellpadding are html settings and dont apply to CSS settings. Although 
 I did find somewhere that cellspacing is valid if you 
 have border-collapse:separate; set in your CSS... but i cant find that 
 reference anymore!

 Ref:
 http://www.w3schools.com/Css/pr_tab_border-collapse.asp
 http://www.w3schools.com/tags/att_table_cellspacing.asp
  http://www.w3schools.com/Css/pr_tab_border-collapse.asp
 http://www.w3schools.com/tags/att_table_cellpadding.asp


 Good luck with your project too, its been good to talk,
 J

 2010/1/23 mst...@googlemail.com javascript: mst...@googlemail.com 
 javascript:

 Hi John,

 my name is actually Matthias, but I prefer using Scholle...

 Anyway, thanks for the feedback. I think I know what I need to know
 and will get this done next week.

 Regarding your problem with the gaps. It's a typical cellpadding /
 cellspacing problem.

 Thanks to the Firebug guys, I just looked at your DOM representation
 and found that there are 3 three tables with class daygrid (table
 for days, table for employee/owner, table for the main grid itself).
 All three tables missing the two attributes cellpadding=0 and
 cellspacing=0. Add them and you are where you want to be...

 Good luck...

 Scholle

 On Jan 23, 6:34 pm, John Denley j...@deba.org.uk wrote:
  Great to have some technical feedback on this at last Scholle (is that 
 your
  first name?) I've been pretty much flying alone on this over the last 
 few
  months. I only started with java/GWT/GAE in September having done 
 virtually
  no programming for  nearly 10 years before that! I only say this 
 because a
  lot of what you have said below would have been totally meaningless to 
 me 6
  months ago. I have built what I have done based on whatever was the 
 easiest
  and most workable solution I could figure out at the time, so in answer 
 to
  your question, I have not put any thought into the methods behind what 
 Ive
  been doing. This product originally started off as one row per hour, 
 and 3
  vertical columns as a proof of principle so see if GWT would work for 
 me,
  and if it worked fast enough! Ive extended as and when I have learned 
 new
  functionality and methods.
 
  It has always been my intention that as soon as we get some additional
  funding, then we can employ a real programmer or two, to reconstruct 
 the
  product in a more streamlined way (it does a huge amount more than what 
 you
  can see in that small demo!)
 
  I love your ideas of flowing the views to make it look smooth and 
 cool.
  The philosophy behind what I have done has always intended to be a
  replication of a paper diary as close as possible, such that it is not 
 too
  alien to anyone who has NOT used something like outlook in the past. 
 This
  is why we have the month/week/day forward and backwards buttons, 
 trying to
  make it a little like turning the page of a paper diary. As such for me 
 it
  would be nice to make it LOOK like you were actually turning the page 
 (ive
  seen this in online magazines etc, but they usually use flash to do it).
 
  The google approach is surely the best way to go, as we certainly need 
 the
  ability to create appointments that do not comply with a standard slot
  (incidentally, in the admin section, you can change the number of
  appointment slots per hour, currently 4 (=15 min))
 
  I currently have a small problem with my version, in that I cannot get 
 rid
  of the gaps between each table cell. I thought that setting
  border-collapse: collapse; in the CSS would achieve this, and it may 
 well
  do, but I suspect I have not set it in the correct place, so if you or
  anyone else reading this can help, please do let me know!
 
  Thanks, it was great to hear from you,
  John
 
  On 23 January 2010 15:28, mstu...@googlemail.com 
 mstu...@googlemail.comwrote:
 
   Hi John,
 
   first, I just visited your calendar app and it looks like a nice piece
   of code... I like the feature of being able to select the number of
   days and also the separation of different concepts such as Employee,
   Owner... Regarding the first, I have this feature on my list as well.
   I was also thinking about giving the user the possibility to choose
   the granularity of the hours axis, so let's say you have field like
   1-2, 3-4,  This option might be useful if you have events lasting
   several hours. I was also thinking about implementing a more advanced
   switch between any time range. Let's say you have a week view and
   press the 

Re: keyboard shortcuts with CTRL

2014-08-08 Thread Rahul Agrawal
Hi Marcin,

We are using shortcut keys in our application. I have written the below 
code which uses CTRL+S. But there is an additional requirement that when 
the window is opened using the same CTRL+S the window should close. Is this 
possible. How do we do something like this.

Event.addNativePreviewHandler(new Event.NativePreviewHandler() {
  @Override
  public void onPreviewNativeEvent(Event.NativePreviewEvent event) {
  NativeEvent ne = event.getNativeEvent();
  final int eventType = event.getTypeInt();
  boolean keyHandled = false;
  switch (eventType) {
  case Event.ONKEYDOWN:
  if (ne.getCtrlKey()) {
  switch (ne.getKeyCode()) {
  case 's':
  case 'S':
ne.preventDefault();
Scheduler.get().scheduleDeferred(new 
ScheduledCommand() {  
  @Override
  public void execute() {

processSearchEvents(params);
  }
});
break;
  }
  }
  }
   
}
 });

Thanks,
Rahul

On Monday, October 4, 2010 7:44:05 PM UTC+5:30, Marcin Misiewicz wrote:

 Here i post the solution. 

 Actually it's very easy : 

 HandlerRegistration logHandler = 
 Event.addNativePreviewHandler(new 
 NativePreviewHandler() { 

 @Override 
 public void 
 onPreviewNativeEvent(NativePreviewEvent event) { 
 NativeEvent ne = event.getNativeEvent(); 
 if (ne.getCtrlKey()  
 (ne.getKeyCode()=='l' || 
 ne.getKeyCode()=='L')) { 
 ne.preventDefault(); 
 DeferredCommand.addCommand(new 
 Command() { 

 @Override 
 public void execute() { 
 loggerWindow.show(); 

 } 
 }); 
 } 
 } 
 }); 

 CTRL+l oraz CTRL+L - opens the window with log messages. 

 On 1 Paź, 00:35, Marcin Misiewicz misq...@gmail.com wrote: 
  I'm also interested in that topic. Does anybody has some experience 
  with keyboard shortcuts in gwt. 
  
  I'd like to have at least one application wide shortcut for opening a 
  log panel and a few shortcuts 
  dependent of what panel actually has focus on. 
  
  On 1 Wrz, 19:13, levier levi.mail.l...@gmail.com wrote: 
  
  
  
  
  
  
  
   Hi all, 
  
   I'm developing an enterprise application and all users scream 
 forkeyboardshortcuts. 
   And not shortcuts like you see in GMail (focus some widget, press c to 
   compose a new mail etc) but true CTRL+N, CTRL+S like you see in a 
   desktop application. 
   I thought it really couldn't be done, till I tried the google docs in 
   Chrome: CTRL+B made my text bold. Wow, that works! But probably it 
   only works on Chrome right, I thought, so I didn't really believe in 
   it and let it pass. 
  
   Then I saw Microsoft releasingkeyboardshortcuts in Hotmail. I tried 
   one and I got a pop up saying hey you pressed some key, did you mean 
   it askeyboardshortcut?... hahaha, so again I let it pass and 
   thought it couldn't be done. 
   But today I saw Microsoft releasing their Word, Excel... Office suite 
   on-line (search for Office Web Apps). I tried CTRL+B and it put my 
   text in bold and didn't show my Bookmarks bar instead! In IE8 and 
   Chrome. 
  
   Now, some proof that it doesn't really work all of the time: I 
   selected the text on the top of the page, hit CTRL+S and nothing 
   happens... there goes my belief in in-browserkeyboardshortcuts 
   again. 
   I guess thekeyboardlistener is only put on the textarea and ribbon 
   bar and not a true browser window listener. 
  
   Still, my question stands: 
   how can I blockkeyboardshortcuts like CTR+O, CTRL+N and do something 
   with them instead of letting the browser handle them (CTRL+N typically 
   opens a new browser window, I don't want that)? Any advice is much 
   appreciated.

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

Re: Use SuggestBox suggestions in another widget

2013-07-02 Thread rahul neekhra
Thanks Kartik...
with Customized Display u mean a simple panel right? or its diff widget.
And also i donnot need the suggestion which we usually(like google search) 
show in suggest box instead i need to show it in seprate panel. how can I 
refresh my suggestion all the time in another panel when we type in suggest 
box?
please refer some code if you can.
 
Thanks
Rahul

On Tuesday, 2 July 2013 15:49:13 UTC-4, Kartik Suba wrote:

 Hey you can easily make Customized Suggestion box and also a Customized 
 Display associated with it that will show the suggestions in the panel 
 where ever it is. I have already implemented a Custom Suggest box as I 
 wanted the SuggestionList to be displayed even when nothing is entered. So 
 that I can easily extend and incorporate your functionality. Do try making 
 customized one altogether. Do let me know if you needa code for reference.  

 Kartik...

 On Tuesday, 2 July 2013 03:26:50 UTC+5:30, rahul neekhra wrote: 

 I need similar thing, but in my case i want to hide the suggestion from 
 text box and need to list them in seprate Panel with additional info.
 How we have achieve it?
  
 Regards
 Rahul

 On Tuesday, 16 June 2009 13:56:08 UTC-4, Josh wrote:

 Hi, 

 I have been trying to think of a good way to add a specific feature to 
 my application to search through a list of data, but can't figure 
 anything out.  Here is what I would like: 

 The interface would be a suggest box, and a vertical panel, or grid of 
 some sort with data. 

 Initially all of the options are shown, as links, in the vertical 
 panel/grid.  When the user starts to type in the SuggestBox, not only 
 does the normal SuggestBox functioanlity occur, but also the panel/ 
 grid of all data updates as well to only have entries that match the 
 users input. 

 Is this possible? 

 Thanks, 
 Josh 



-- 
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/groups/opt_out.




Re: Use SuggestBox suggestions in another widget

2013-07-01 Thread rahul neekhra
I need similar thing, but in my case i want to hide the suggestion from 
text box and need to list them in seprate Panel with additional info.
How we have achieve it?
 
Regards
Rahul

On Tuesday, 16 June 2009 13:56:08 UTC-4, Josh wrote:

 Hi, 

 I have been trying to think of a good way to add a specific feature to 
 my application to search through a list of data, but can't figure 
 anything out.  Here is what I would like: 

 The interface would be a suggest box, and a vertical panel, or grid of 
 some sort with data. 

 Initially all of the options are shown, as links, in the vertical 
 panel/grid.  When the user starts to type in the SuggestBox, not only 
 does the normal SuggestBox functioanlity occur, but also the panel/ 
 grid of all data updates as well to only have entries that match the 
 users input. 

 Is this possible? 

 Thanks, 
 Josh 


-- 
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/groups/opt_out.




GWT Suggest Box

2013-07-01 Thread rahul neekhra
Hi,
 
I have a requirement where i dont have to show the Suggestion in a dropdown 
as we show it in Google search page,  but I need to display all the 
suggestions in a separate page. I get to know this is there in 2.4 version 
but what we call it, any URL which can help me in implementing it?
 
Thanks
 
Regards
Rahul

-- 
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/groups/opt_out.




Does GWT will work on mobile for drag and drop

2013-05-23 Thread Rahul Gurjar


https://lh6.googleusercontent.com/-csi4PNV5B2Q/UZ5nyHSHG2I/AE8/5cChr0YvGpM/s1600/Untitled.jpg
Currently i am working on a project in which i have to make UI with drag 
and drop feature, but problem is i would like work it on android mobile.
Please suggest some resource and idea.
Here is screen shot of intented UI.

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Cannot complete the install because of a conflicting dependency

2013-05-01 Thread Rahul Mangulkar
Hi All,

I am trying to install gwt designer on my eclipse, however getting 
following message...Can somebody help me out?
--
Cannot complete the install because of a conflicting dependency.
  Software being installed: Swing Designer 1.5.2.r36x201303071654 (org.
eclipse.wb.swing.feature.feature.group 1.5.2.r36x201303071654)
  Software currently installed: WindowBuilder Core 1.5.0.r36x201206111201 
(org.eclipse.wb.core.feature.feature.group 1.5.0.r36x201206111201)
  Only one of the following can be installed at once: 
WindowBuilder Win32 OS Support 1.5.0.r36x201206111201 (org.eclipse.wb.os
.win32 1.5.0.r36x201206111201)
WindowBuilder Win32 OS Support 1.5.2.r36x201303061457 (org.eclipse.wb.os
.win32 1.5.2.r36x201303061457)
  Cannot satisfy dependency:
From: WindowBuilder Core 1.5.0.r36x201206111201 (org.eclipse.wb.core.
feature.feature.group 1.5.0.r36x201206111201)
To: org.eclipse.wb.os.win32 [1.5.0.r36x201206111201]
  Cannot satisfy dependency:
From: WindowBuilder Core 1.5.2.r36x201303061457 (org.eclipse.wb.core.
feature.feature.group 1.5.2.r36x201303061457)
To: org.eclipse.wb.os.win32 [1.5.2.r36x201303061457]
  Cannot satisfy dependency:
From: Swing Designer 1.5.2.r36x201303071654 (org.eclipse.wb.swing.
feature.feature.group 1.5.2.r36x201303071654)
To: org.eclipse.wb.core.feature.feature.group 1.5.2.r36x201303061457

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: CellTree, adding data to a child node and refresh

2013-03-26 Thread Rahul Agrawal
Hi Umit,

I am having a hard time to refresh the Cell tree I have the tree working 
but when I create new folder(I am using a menubar then on right click) I am 
making an RPC call to create a nee folder. But the child gets updated only 
when I reload the whole page. Is there any way to refresh only the parent 
folder. Also I am using an AsyncDataProvider.

On Thursday, November 4, 2010 2:09:27 PM UTC+5:30, Ümit Seren wrote:

 Thanks John, 
 I was thinking in the same thing. 
 One last question. If I update the ListDataProvier of the Child 
 Objects will the nodes that were open stay open or will they be 
 automatically be closed? 

 cheers 
 Uemit 


 On Nov 3, 7:38 pm, John LaBanca jlaba...@google.com wrote: 
  You are correct that refreshing the ListDataProviderObjectA will only 
  update that level of the tree.  You need to keep a reference to 
  ListDataProviderObjectB in order to refresh that section of the tree. 
   That probably means creating a parallel tree structure of 
  ListDataProviders, or at least having a map for ObjectA to the 
  ListDataProviderObjectB that represents its children. 
  
  One workaround is to close/reopen the TreeNode, which will cause it to 
  request a new DefaultNodeInfo from the TreeViewModel. 
  
  Thanks, 
  John LaBanca 
  jlaba...@google.com 
  
  
  
  
  
  
  
  On Wed, Nov 3, 2010 at 1:13 PM, Ümit uemit.se...@gmail.com wrote: 
   Hi all, 
  
   I have an issue with the CellTree and adding new items to a child 
   node. I am not exactly sure if my approach is flawed or maybe there is 
   an issue with the CellTree but maybe somebody can help with that 
   problem. 
   So basically I followed the CellTree example from the showace. 
  
   I have a CellTree which consists of 3 nodes which correspond to three 
   different DTO's (let's say: ObjectA, ObjectB and ObjectC) 
   Each ObjectA instance contains a list of ObjectBs and each ObjectB has 
   a list of ObjectCs. 
  
   ObjectA should be displayed in the root node, ObejctB in the second 
   node and ObjectC in the third node (= leaf node). 
  
   I created a CustomTreeModel with a custom constructor which takes a 
   List of ObjectA instances as a parameter. In the constructor I create 
   a ListDataProvider which is stored as a member variable in the 
   CustomTreeModel. 
  
   Then I define the necessary Cells for each node level and implement 
   the  public T NodeInfo? getNodeInfo(T value)  function. 
  
   This looks something like this: 
   public T NodeInfo? getNodeInfo(T value) { 
  if (value == null) 
  { 
  return new DefaultNodeInfoObjectA 
  (listDataProvider,new TextCell()); 
  } 
  else if (value instanceof ObjectA) 
  { 
  ObjectA object  = (ObjectA)value; 
  return new DefaultNodeInfoObjectB(new 
   ListDataProviderObjectB(object.getObjectBList()),new TextCell()); 
  } 
  else if (value instanceof ObjectB) 
  { 
  ObjectB object  = (ObjectB)value; 
  return new DefaultNodeInfoObjectC(new 
   ListDataProviderObjectC(object.getObjectCList()),new TextCell()); 
  } 
  String type = value.getClass().getName(); 
  throw new IllegalArgumentException(Unsupported object 
 type: 
   + 
   type); 
  } 
  
   getObjectBList(),getObjectCList() return the List of the child 
   Objects. 
  
   I pass this model to the CellTree and the CellTree is displayed 
   correctly. 
  
   Now I try to add a new ObjectB instance to the list of ObjectBs in the 
   one of the ObjectA instances. In order to update the CellTree I have 
   to update the DataProvider. I define a updateData function in the 
   CustomTreeModel: 
  
   public void updateData(ListObjectA objects){ 
  listDataProvider.setList(objects);  //listDataProvider 
 of 
   the root 
   node level is stored in the CustomTreeModel 
  listDataProvider.refresh(); //probably not necessary as 
   setList 
   already takes care of refreshing the Tree. 
   } 
  
   Now when I call this method and pass the List of ObjectA instances 
   (one of them has modified List of ObjectB instances). the CellTree 
   doesn't get updated/refreshed. 
  
   My assumption is that listDataProvider.setList() only checks the List 
   of ObjectAs and as I haven't changed anything in the root list but in 
   one of its client lists, the CellTree doesn't get updated. One 
   workaround is that I call listDataProvider.setList(new 
   ArrayListObjectA()) (empty list) before calling setList with the 
   actual list. However this causes the CellTree Nodes to get collapsed, 
   which I want to avoid. 
  
   Another approach would be to store the DataProviders for the ObjectB 
   and ObjectC instances (which I now only create as a 

Re: gwt-compile issue

2013-01-07 Thread Rahul Chauhan


Hi,Naveen Gayar  it help for you

Make sure your Eclipse gives priority to GWT hosted mode libraries.

Go to your GWT project properties (In project Explorer right click on the 
project and select Properties). Then navigate to J*ava Build Path-Order 
And Export tab. Move the GWT SDK bundle above any other library(like in Top 
for eg. you will see in bottom, you should up to top) *(i.e. it should be 
above the JRE libraries and any other libs you may have - maven libs etc).



On Friday, 17 June 2011 16:45:30 UTC+5:30, Naveen Gayar wrote:

 I have imported working project. It is giving the following error. please 
 let me know asap.

 Compiling module com.ge.inds.evse.io.EVSEGRI
 [ERROR] Unexpected
 java.lang.NoSuchFieldError: 
 reportUnusedDeclaredThrownExceptionIncludeDocCommentReference
  at 
 com.google.gwt.dev.javac.JdtCompiler.getCompilerOptions(JdtCompiler.java:398)
 at 
 com.google.gwt.dev.javac.JdtCompiler$CompilerImpl.init(JdtCompiler.java:228)
  at com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java:689)
 at 
 com.google.gwt.dev.javac.CompilationStateBuilder$CompileMoreLater.compile(CompilationStateBuilder.java:215)
  at 
 com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom(CompilationStateBuilder.java:406)
 at 
 com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:299)
  at 
 com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java:325)
 at com.google.gwt.dev.Precompile.precompile(Precompile.java:507)
  at com.google.gwt.dev.Precompile.precompile(Precompile.java:492)
 at com.google.gwt.dev.Precompile.precompile(Precompile.java:405)
  at com.google.gwt.dev.Compiler.run(Compiler.java:215)
 at com.google.gwt.dev.Compiler.run(Compiler.java:187)
  at com.google.gwt.dev.Compiler$1.run(Compiler.java:159)
 at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:87)
  at 
 com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:81)
 at com.google.gwt.dev.Compiler.main(Compiler.java:166)


-- 
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/-/Lp7cnQ-E61cJ.
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: Printing

2012-10-08 Thread rahul ranjan
i Freller can u send me the full code for printing a doc  in 
gwt2.4(rahul.ranja...@gmail.com)
Actually i very new to gwt so plz help me out.

On Monday, January 15, 2007 8:05:55 PM UTC+5:30, Freller wrote:


 Following the thread about printing at

  
 http://groups-beta.google.com/group/Google-Web-Toolkit/browse_frm/thread/53624cb05aa85624/247e890d73a76948?lnk=gstq=printrnum=2#247e890d73a76948
  


 I created a simple class that can print any HTML, DOM.Element or Widget 
 without opening a new window.

 Regards,
 Freller

 /**
  * pre
  * Generic printing class
  * can be used to print the Window it self, DOM.Elements, UIObjects 
 (Widgets) and plain HTML
  *
  * Usage:
  *  You must insert this iframe in your host page:
  *  iframe id=__printingFrame 
 style=width:0;height:0;border:0/iframe 
  *
  *  Window:
  *  Print.it();
  *
  *  Objects/HTML:
  *  Print.it(RootPanel.get(myId));
  *  
 Print.it(DOM.getElementById(myId)); 
  

  *  Print.it(Just bPrint.it()/b!);
  *
  *  Objects/HTML using styles:
  *  Print.it(link rel='StyleSheet' type='text/css' 
 media='paper' href='/paperStyle.css', RootPanel.get('myId'));
  *  Print.it(style type='text/css' media='paper' .newPage { 
 page-break-after: always; } /style,
  *
   
 Hip class='newPage'/pBy); 
  * /pre
  */

 package org.gwtcommons.user.client;

 import com.google.gwt.user.client.Element;
 import com.google.gwt.user.client.ui.UIObject;

 public class Print {

 public static native void it() /*-{ 
 $wnd.print();
 }-*/;

 public static native void it(String html) /*-{
 var frame = $doc.getElementById('__printingFrame');
 if (!frame) {
 $wnd.alert(Error: Can't find printing frame.); 
 return;
 }
 frame = frame.contentWindow;
 var doc = frame.document;
 doc.open();
 doc.write(html);
 doc.close();
 frame.focus();
 frame.print();
 }-*/;

 public static void it(UIObject obj) {
 it(, obj.getElement().toString());
 }

 public static void it(Element element) {
 it(, element.toString());
 }

 public static void it(String style, String it) {
 it(itheader+style+/headerbody+it+/body/it); 
 }

 public static void it(String style, UIObject obj) {
 it(style, obj.getElement().toString());
 }

 public static void it(String style, Element element) {
 it(style, element.toString ());
 }

 } // end of class Print





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



Re: GWT 2.5 RC1 Is Here!

2012-09-13 Thread Rahul
I starting using 2.5RC now in my local testing with GWTP, GWT-Bootstrap. 
Superdev is fast! Reduced compile time considerably. Though, setting up is 
a bit of pain. 

Any ideas when is 2.5 getting released? Looking fwd to it. Keep up the good 
work

On Wednesday, June 27, 2012 10:39:07 PM UTC+2, Rajeev Dayal wrote:

 Hey all,

 We're excited to announce the GWT 2.5 Release Candidate! Read about it on 
 the GWT Blog http://googlewebtoolkit.blogspot.com/2012/06/gwt-2.html, 
 and download it here http://developers.google.com/web-toolkit/download 
 (bottom 
 of the page). The RC has been uploaded to Maven Central with the version 
 string of 2.5.0-rc1.

 Please give it a try and let us know your feedback! Also, many thanks to 
 all of you for your contributions. Without your help, we wouldn't have had 
 a GWT 2.5 release at all!


 -Rajeev, on behalf of the GWT team


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



Re: GWT 2.5 RC1 Is Here!

2012-09-13 Thread Rahul
Great. Looking forward to it!

On Thursday, September 13, 2012 10:52:18 AM UTC+2, Thomas Broyer wrote:



 On Thursday, September 13, 2012 10:10:54 AM UTC+2, Rahul wrote:

 I starting using 2.5RC now in my local testing with GWTP, GWT-Bootstrap. 
 Superdev is fast! Reduced compile time considerably. Though, setting up is 
 a bit of pain. 

 Any ideas when is 2.5 getting released? Looking fwd to it. Keep up the 
 good work


 RC2 should hit the street next week, with the final release by the end of 
 month, roughly.


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



Re: GWT-Bootstrap 2.0.4.0 was released

2012-08-12 Thread Rahul
Great Job! 

On Saturday, August 11, 2012 8:18:49 AM UTC+2, soundTricker wrote:

 Hi Great gwt hackers.

 We released gwt-bootstrap 2.0.4.0.

 Maybe gwt-bootstrap 2.0.4.0 will be deployed to maven central repositry in 
 few days.
 Download : https://github.com/gwtbootstrap/gwt-bootstrap/downloads
 Showcase : http://gwtbootstrap.github.com
 Project : https://github.com/gwtbootstrap
 Mailing-list : gwt-bo...@googlegroups.com javascript:

 Thanks our contributers, our  users ,our commiters and Great GWT hackers.

 --
 keisuke a.k.a soundTricker


-- 
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/-/05_LO5OhgQgJ.
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 dev plugin for Chrome 21.0.1180.60 m not installing

2012-08-02 Thread Rahul
Hi,

I recently reinstalled my chrome and new version is 21.0.1180.60 m.

When I try to install GWT dev mode plugin, all I get is .crx file but it 
cannot be installed on Chrome. The new version of chrome only allows 
extensions from the chrome store.

What can do to get in running on new chrome.

For now I am running dev mode on IE9.. but hate it. Config: GWT 2.4 / GAE: 
1.7 on Windows 7 environment.

Regards,
Rahul

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



Re: GWT dev plugin for Chrome 21.0.1180.60 m not installing

2012-08-02 Thread Rahul
Hi Jens,

Thanks tracking the topics now. Seems like solution still eludes though.

/Rahul

On Thursday, August 2, 2012 2:29:56 PM UTC+2, Jens wrote:

 See 
 http://techie-buzz.com/browsers/chrome-blocking-extension-apps-scripts-chrome-web-store.html

 as mentioned in 
 https://groups.google.com/forum/#!topic/google-web-toolkit/jDg3KoXoVPc/discussion

 -- J.


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/2ZmVmtZVgJsJ.
To post to this group, send email to google-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: DevMode not working in Chrome after update

2012-08-02 Thread Rahul
+1 for the issue. Annoying.

On Thursday, August 2, 2012 9:20:45 AM UTC+2, Moshe Shaham wrote:

 I have the same problem with newest chrome 21
 it was not installed previously. tried to install, and doesn't let me, 
 says i need to install from the store



 On Tuesday, July 17, 2012 5:16:03 PM UTC+3, Andy wrote:

 I updated Chrome this morning and now when I try to use DevMode I get an 
 error Could not load GWT DevMode Plugin and an offer to Download the GWT 
 Developer Plugin. When I try to download it (it's already installed), it 
 says Extensions, apps, and user scripts can only be added from the Chrome 
 Web Store. and there's no GWT plugin in the store.



-- 
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/-/JOel_ml5tKUJ.
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: Using Gilead with GWT 2.0 ms1

2012-07-31 Thread Rahul Gamit
Hi,

The error was successfully solved by the jack you have suggested Trevor.

I am just trying to run the Sample Gilead Hibernate code given on google 
groups. Was getting the Parameter 0 error previously. But after putting the 
2 files you have given, I was able to get rid of it. But now I get a new 
error and that says the following:

500 The call failed on the server; see server log for details

Can you please suggest me the way out for this error.

Thanks,
Rahul

On Thursday, 21 January 2010 03:17:38 UTC+5:30, Trevor Skaife wrote:

 my guess is that your issue has to do with the 2 versions you have of
 some of the beanlib jars.

 The ones I have are:
 beanlib-5.0.2beta1.jar
 beanlib-hibernate-5.0.2beta1.jar

 On Jan 19, 11:28 am, John Ivens john.wagner.iv...@gmail.com wrote:
  Oops.. the list, easier to read..
 
  adapter-core-1.2.3.823.jar
 
  adapter4gwt-1.2.3.823.jar
 
  antlr-2.7.6.jar
 
  asm-3.2.jar
 
  beanlib-3.3.0beta6.jar
 
  beanlib-hibernate-3.3.0beta6.jar
 
  beanlib-hibernate-5.0.2beta-bundle.jar
 
  beanlib-hibernate-5.0.2beta.jar
 
  cglib-2.2.jar
 
  commons-collections-3.1.jar
 
  commons-lang-2.4.jar
 
  commons-logging-1.1.1.jar
 
  dom4j-1.6.1.jar
 
  hibernate-util-1.2.3.823.jar
 
  hibernate3.jar
 
  hsqldb.jar
 
  javassist-3.4.GA.jar
 
  jboss-serialization.jar
 
  jta-1.1.jar
 
  log4j-1.2.15.jar
 
  mysql-connector-java-3.0.17-ga-bin.jar
 
  slf4j-api-1.5.2.jar
 
  slf4j-simple-1.5.2.jar
 
  trove-2.0.4.jar
 
  On Tue, Jan 19, 2010 at 10:26 AM, John Ivens 
 john.wagner.iv...@gmail.comwrote:
 
 
 
   Anyone seen this error message?
 
   [WARN] Exception while dispatching incoming RPC call
 
   java.lang.NoSuchMethodError:
   
 net.sf.beanlib.hibernate.UnEnhancer.unenhanceClass(Ljava/lang/Class;)Ljava/ 
 lang/Class;
   I am getting this using gilead with hibernate with GWT 2.0, and I 
 suspect
   that I am having some library conflict... I cannot understand which
   library.  Could someone tell me what they have working under GWT 2.0, 
 what
   all of the jars they include in the war file are...
 
   This is my list:
 
   On Tue, Jan 19, 2010 at 7:27 AM, Dan Billings debil...@gmail.com 
 wrote:
 
   FYI
 
   A guy on sourceforge apparently made some more changes because it
   wasn't working for him.
 
  
 http://sourceforge.net/projects/gilead/forums/forum/957377/topic/3493335
 
   On Dec 28 2009, 9:57 am, Trevor Skaife tska...@gmail.com wrote:
RB,
 
That's odd you had an error at that line, though it probably is a
difference in the versions ofGileadwe are using. The classes were
created usingGilead1.2.3.823. But it's true if you are using GWT
2.0.0 that line of code would never see the light of day.
 
Trevor
 
On Dec 25, 7:39 pm, Richard Berger richardlan...@gmail.com wrote:
 
 Trevor:
 
 Thank you for the post - it was a life saver.  When I copied the 
 java
 files to my system, I had a compiler error at line 161 of
 RPCCopy.java:
 return RPCCopy_GWT16.invoke(target, serviceMethod, args,
 serializationPolicy);
 The error was:
 The method invoke(Object, Method, Object[], SerializationPolicy) 
 is
 undefined for the type RPCCopy_GWT16.
 
 Since I am on GWT2, I figured I could replace that line with
 return null;
 
 Seemed to work for me.
 
 Thanks again for your work here!
 RB
 
 On Dec 23, 6:02 am, Trevor Skaife tska...@gmail.com wrote:
 
  I'm just glad to see people are able to use my fix for 
 usinggilead
  with GWT 2.0.0
 
  On Dec 22, 11:08 am, lucamen epped...@gmail.com wrote:
 
   Thanks Josh!! That really help me a lot and now everything is
   working
   properly!
 
   BTW Bruno (theGileadmain developer) wrote herehttp://
   sourceforge.net/projects/gilead/forums/forum/868076/topic/3484314
   that a new release is coming very soon... so just wait and 
 hope
   in a
   stable version that works with gwt2.0
 
   Thanks again and merry christmas! :-P
 
   On 18 Dic, 22:53, Josh Martin alodar...@gmail.com wrote:
 
What worked for me was to add the files Trevor specified to 
 'my'
project, and not into the originalgileadsource directories. 
  You
just have to make sure to match the original package 
 directory
   he
specified of: src/com/google/gwt/user/server/rpc in your 
 project
directory.  Any project that you create now that uses the
   adapter4gwt
library should include those two files as source files as 
 well.
Your
application should compile with those source files in it, as
   long as
you have the adapter4gwt library files included (which you 
 would
   have
to have to usegileadanyway).
 
I, too, thought he meant to put them in the originalgilead
directories and recreate the entire adapter4gwt library, but
   after re-
reading what he suggested, I realized his real suggestion 
 was
   far
easier. (Thanks Trevor!)
 
Hope

Difficulty to run simple GWT application on tomcat server.

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

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



Re: Difficulty to run simple GWT application

2012-04-27 Thread Rahul Sharma
Hi Sebastian,

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

On Apr 26, 7:38 pm, Sebastian Gurin sgu...@softpoint.org wrote:
 Hi Rahul, this is what I shlud do for getting started.

 first of all do not use tomcat yet, first feel confortable with the 
 GWT+eclipse

 1) File-New-(Google)New Application proyect - create your gwt web 
 application project. Here use Google Web toolkit only, don't use Google App 
 engine yet.

 That will create you a new project with some interesting things:

 a) your.proj.YourProject.gwt.xml - this file is called a gwt module 
 definition.
 b) packages client, shared, server
 c) a root folder named war with a html file inside. This war folder is the 
 web application folder (what you put inside webapps in tomcat - but not yet.)

 in client package that is where your java that will be translated to 
 javascript by gwt are, there is two Greeting* classes (dont worry about these 
 yet) and a third class named YourProject.java (or whatever name you give to 
 your new project). thi s class is your entry point.

 the project has a sample applicatoin ready to be executed, right click on 
 your.proj.YourProject.gwt.xml and run as Web application. The Developer 
 mode view will be shows and after the app is loaded, it will show you an url 
 likehttp://127.0.0.1:/Test12.html?gwt.codesvr=127.0.0.1:9997. Open this 
 url with firefox (version =10) or with chrome. It will ask you to install a 
 browser plugin, do it. When the plugin is installed reopen that url and you 
 will be executing your sample webapp using the GWT hosted-mode. You can make 
 changes in the java sources, save then and reoloading the page will reflect 
 the changes. Try to change something...

 Now what about putting all this on a tomcat? its easy, first compile your 
 project like this: ijn package explorer view, right click your new project 
 - Google - GWT Compile... - compile. When this is finish, GWT will put in 
 war the entinre webapp. just copy or link the war folder to your tomcat's 
 webapps folder and rename it acordingly, for example, yourproject. Start 
 tomcat and go tohttp://localhost:8080/yourProject/yourProject.html.

 I have ant scripts for doing all this with ant if you want I can share.

 hope this can help you ...

 On Thu, 26 Apr 2012 07:06:04 -0700 (PDT)









 Rahul Sharma rahul.sharma1...@gmail.com wrote:
  I am making gwt application as following step: 1. Firstly i install
  gwt plugin in my eclipse(Helios). 2. now i am creating dynamic
  project. 3. now i am adding gwt plugin through goto to property page
  of the project, select google-webtoolkit, check use GWT, then go to
  google-web application, the directory name to web-content. 4.now i
  am creating gwt module in my project then create entry point class
  then html. 5.now i am creating a button in onModule method of entry
  point class.

  and then i am running application in tomcat server just right click on
  project and select run as web application(run with tomcat server). As
  result of this I am getting a blank page on browser? There is no
  excption in server log. I am not able to debug where i am doing wrong?
  Please help me to sort out this problem.

  I am not using google web application because i was getting difficulty
  to create war file. As i solution of this I got the above process to
  develop GWT application.

  Thanks Rahul

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

 --
 Sebastian Gurin sgu...@softpoint.org

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



Difficulty to run simple GWT application

2012-04-26 Thread Rahul Sharma
I am making gwt application as following step: 1. Firstly i install
gwt plugin in my eclipse(Helios). 2. now i am creating dynamic
project. 3. now i am adding gwt plugin through goto to property page
of the project, select google-webtoolkit, check use GWT, then go to
google-web application, the directory name to web-content. 4.now i
am creating gwt module in my project then create entry point class
then html. 5.now i am creating a button in onModule method of entry
point class.

and then i am running application in tomcat server just right click on
project and select run as web application(run with tomcat server). As
result of this I am getting a blank page on browser? There is no
excption in server log. I am not able to debug where i am doing wrong?
Please help me to sort out this problem.

I am not using google web application because i was getting difficulty
to create war file. As i solution of this I got the above process to
develop GWT application.

Thanks Rahul

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



Unsubscribe mail

2012-02-14 Thread rahul sharma
Please unsubscribe google group mail.

-- 

Thank you.
 Rahul sharma
Contact No:- 9893923514

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



Disable Datepicker date

2011-12-27 Thread Rahul Mathur
Hi,
I am using From and To datpickers, when I select date from from
datepicker, I want all dates in calender before 'From date' to get
disabled. Like if, 'From date' chosen from it is : 22/12/2011, I want
all dates before it in calendar to be seen as disable.
Please reply with your valuable answers. :)

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



Adsense with GWT

2011-12-22 Thread Rahul
I know this is an ongoing issue. Is there any progress on this? There
was the program of AdSensef for AJAX, but there is no update.

Please kindly provide some sort of timeline. I want to decide if I
should ditch GWT altogether or rather wait. 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.



Clearing cache of fileupload widget.

2011-12-21 Thread Rahul Sharma
Hi,
Can anyone help me out in clearing the contents of the fileupload
widget.
I mean for textbox we write textBox.setText() to clear the content
of it, is there anyway to clear the FIleupload also.

Thanks in Advance
rahul

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



FTP file upload in gwt

2011-12-05 Thread Rahul Sharma
Hello,

I want to use ftp upload instead of http and store the uploaded file
in remote system.I want that my local system file upload to ftp domain
usinf ftp upload in gwt .So suggest me how can i upload file .


Thanks
Rahul

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



About creating 3D maps using GWT

2011-10-05 Thread rahul
Hello,

I am new to gwt.I am interested in working on 3D maps using GWT.And
also add some widgets like check boxes,textboxes,buttons to my 3D maps
on my html page.I also want some information on geocoding in gwt 3d
maps.Can you guys help me??

Regards,
Rahul

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



Creating ReadOnly Tree

2011-09-07 Thread rahul
I have created a tree which has its nodes taken from datasource. Now i
have to use that tree for view purpose only(It is a combobox
tree(Multiple Select)). So how i can do that one. Disabling the widget
had almost work for me but it is not the way since i cannot use the
expand button . All i need is to diasble the checkbox

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



Help to set Chart Height in Visualization API

2011-07-26 Thread Rahul Radhakrihsnan
Hi


I am not able to fix % for height whereas % is working for witdh
(example 100%).
I can set height only in pixels


AnnotatedTimeLine theChart = new AnnotatedTimeLine(createTable(),
createOptions(), 100%, 100% );

is not working

AnnotatedTimeLine theChart = new AnnotatedTimeLine(createTable(),
createOptions(), 100%, 100 );

is working
Please help me to set the height also in %

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



How to add a SliderBar to a panel instead of RootPanel?

2011-04-18 Thread rahul sanghi
I am trying to develop a HTML5 based player. Wanted to know how we can
add the Slider bar to a Panel and add this Panel to the RootPanel
instead of adding it directly to the RootPanel.
The SliderBar doesnt work/render properly when i try to do the former,
but works perfectly when i try to add it directly to the RootPanel.
I am using Firefox browser. Please let me know any workaround, or if i
am missing out on something!

Here's my code snippet:

 SliderBar slider = new SliderBar(0.0, 100);
slider.setStepSize(10);
slider.setCurrentValue(5);
slider.setNumTicks(10);
slider.setNumLabels(10);
slider.setWidth(100%);
slider.redraw();

//TODO Create playButton, stopButton, timeLabel,
fullSreenButton
//TODO Assemble playStopPanel. horizontal
playControlPanel.add(playPauseButton);
playControlPanel.add(stopButton);
playControlPanel.add(volumeButton);
playControlPanel.add(timeLabel);
playControlPanel.add(fullScreenButton);
//playControlPanel.add(progressBar);
playControlPanel.setWidth(100%);
playControlPanel.add(slider);

// TODO Assemble Main panel.
mainPanel.add(playControlPanel);

// TODO Associate the Main panel with the HTML host page.
RootPanel.get(playerPanel).add(mainPanel);//doesnt render
properly
RootPanel.get(playerPanel).add(slider);//works fine

Thanks!
Rahul

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



How to add a SliderBar to a panel instead of RootPanel?

2011-04-18 Thread Rahul Sanghi
I am trying to develop a HTML5 based player. Wanted to know how we can
add the Slider bar to a Panel and add this Panel to the RootPanel
instead of adding it directly to the RootPanel.
The SliderBar doesnt work/render properly when i try to do the former,
but works perfectly when i try to add it directly to the RootPanel.
I am using Firefox browser. Please let me know any workaround, or if i
am missing out on something!

Here's my code snippet:

 SliderBar slider = new SliderBar(0.0, 100);
   slider.setStepSize(10);
   slider.setCurrentValue(5);
   slider.setNumTicks(10);
   slider.setNumLabels(10);
   slider.setWidth(100%);
   slider.redraw();

   //TODO Create playButton, stopButton, timeLabel,
fullSreenButton
   //TODO Assemble playStopPanel. horizontal
   playControlPanel.add(playPauseButton);
   playControlPanel.add(stopButton);
   playControlPanel.add(volumeButton);
   playControlPanel.add(timeLabel);
   playControlPanel.add(fullScreenButton);
   //playControlPanel.add(progressBar);
   playControlPanel.setWidth(100%);
   playControlPanel.add(slider);

   // TODO Assemble Main panel.
   mainPanel.add(playControlPanel);

   // TODO Associate the Main panel with the HTML host page.
   RootPanel.get(playerPanel).add(mainPanel);//doesnt render
properly
   RootPanel.get(playerPanel).add(slider);//works fine

Thanks and Regards

Rahul Sanghi

-- 
You received 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: 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 wrotegt;This is a great news -- I'll give 
it a try 
...gt;gt;Cheers!gt;http://ui-programming.blogspot.com/gt;gt;gt;-- gt;You 
received this message because you are subscribed to the Google Groups Google 
Web Toolkit group.gt;To post to this group, send email to 
google-web-tool...@googlegroups.com.gt;To unsubscribe from this group, send 
email to google-web-toolkit+unsubscr...@googlegroups.com.gt;For more options, 
visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.gt;gt; 

-- 
You received 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 wrotegt;gt;gt; That being said, I'm 
not a Spring (nor Guice) fan, so would actuallygt;gt;gt; enjoy seeing 
numbers that show, say, your stack w/Spring takes x% moregt;gt;gt; time than 
the same stack w/o Spring.gt;gt;One 
more:gt;gt;http://www.streamhead.com/google-appengine-java-loading-request-analysis/gt;gt;Shawngt;gt;--
 gt;You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.gt;To post to this group, send email to 
google-web-tool...@googlegroups.com.gt;To unsubscribe from this group, send 
email to google-web-toolkit+unsubscr...@googlegroups.com.gt;For more options, 
visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.gt;gt; 

-- 
You received 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 wrotegt;Hi Shawn,gt;gt;Thanks 
for the links.gt;gt;Moving off JDO and Spring MVC (the web framework, not DI) 
seemed to begt;the biggest startup time wins, which is in line with my 
assertion thatgt;DI itself is not typically the bottleneck.gt;gt;That being 
said, the streamhead link:gt;gt;gt; 
http://www.streamhead.com/google-appengine-java-loading-request-analysis/gt;gt;Was
 the most interesting because he truly did DI/no-DI comparisongt;(trusting his 
approach anyway), and saw base DI adding 1s overhead.gt;gt;That is more than 
I would have guessed, but given it's Spring, I guessgt;I can believe 
it.gt;gt;I do enjoy seeing startup time highlighted--way too many pointy 
hairedgt;managers (or architects) don't think 10s+, 30s+, 60s+ app startups 
timesgt;affect their developers' productivity. It's terribly 
frustrating.gt;gt;Thanks again,gt;Stephengt;gt;-- gt;You received this 
message because you are subscribed to the Google Groups Google Web Toolkit 
group.gt;To post to this group, send email to 
google-web-tool...@googlegroups.com.gt;To unsubscribe from this group, send 
email to google-web-toolkit+unsubscr...@googlegroups.com.gt;For more options, 
visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.gt;gt; 

-- 
You received 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 wrotegt;I don't know you you've screwed 
up; but if you have, so have I.gt;gt;I too have been seeing very strange 
event-handling behaviour, withgt;values being passed to getNodeInfo that are 
not for the node clickedgt;on. Using your trick with .add(0, Object) made my 
problem go away too.gt;Right now I'm really happy because it is just that 
little bit lessgt;likely that we are both stupid. maybe.gt;gt;On Nov 1, 3:04 
am, decitrig lt;rws...@gmail.comgt; wrote:gt;gt; This problem is a bit 
tricky to describe; forgive me. I have a cellgt;gt; tree where nodes are 
added programmatically by doing a getList().add()gt;gt; on a ListDataProvider 
field. However, I found that usinggt;gt; the .add(Object) method would do 
strange things to the ordering, i.e.gt;gt; the node *rendered* as Item 1 
would be passed as *value* Item 2 togt;gt; getNodeInfo(), and thus it 
looked like Item 1 got Item 2's children.gt;gt;gt;gt; The really strange 
thing is that if I do .add(0, Object), thengt;gt; everything works 
fine.gt;gt;gt;gt; The actual code can be found 
here:http://bitbucket.org/slide_rule/umd-code-review/src/tip/src/edu/umd/r...gt;gt;gt;gt;
 I just want to have list operations reflected in the tree, is this agt;gt; 
bug or have I just screwed this up somehow?gt;gt;gt;gt; --gt;gt; 
rwsimsgt;gt;-- gt;You received this message because you are subscribed to 
the Google Groups Google Web Toolkit group.gt;To post to this group, send 
email to google-web-tool...@googlegroups.com.gt;To unsubscribe from this 
group, send email to google-web-toolkit+unsubscr...@googlegroups.com.gt;For 
more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.gt;gt; 

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



Re: How to generate the drop down options onModuleLoad

2010-10-01 Thread Rahul Jain
thanks david that seems to be a solution to it will give it a try

On Fri, Oct 1, 2010 at 7:51 PM, David Chandler (Google) 
drfibona...@google.com wrote:

 Hi Rahul,

 The GWT host page doesn't have to be static HTML. You can generate it
 dynamically in PHP and write Javascript variables into the generated
 HTML, then read them from GWT code using the Dictionary class
 referenced earlier in this thread.

 HTH,
 --
 David Chandler
 Developer Programs Engineer, Google Web Toolkit
 Atlanta, GA USA

 On Sep 29, 11:18 am, Rahul Jain jainrahul...@gmail.com wrote:
  Yes u may say that i am using plain old html but this html is generated
 on
  the fly which is my desired result i dont have to do any page reload. for
  example take a case that i have to display a image of the user when he
 logs
  in so image of each user in the same directory but with different file
 name
  so we have a different url for every user req in the src attribute of the
  image tag but. so with gwt i have to send a xhr request. if it was a
 single
  request it would have been easy but in my form i have around 15-25 fields
  whose data has to be populated on the fly. so method best suited would be
  some how i am able to design the html page on module load only
 
  what do u suggest??
 
 
 
 
 
  On Wed, Sep 29, 2010 at 8:28 PM, Steve Moyer smoye...@gmail.com wrote:
   Well ... if you were using plain-old HTML, you'd have a page reload of
 some
   sort to update the drop-down lists right?  An XHR is way less expensive
 than
   that.
 
   I generally load cargo data with one or a few XHR requests right after
 the
   application loads, but for really dynamic DDLs or SuggestBoxes, you
 don't
   have a choice.  If you're doing something simple like the first DDL has
 10
   options and the second DDL has 10 options that change depending on the
 first
   DDL's value, you just load all 110 values into the browser and write
 the
   logic to deal with changing the lists (enabling/disabling controls,
 changing
   focus, etc) in GWT.
 
   smoyer
 
   On Wed, Sep 29, 2010 at 10:50 AM, Rahul Jain jainrahul...@gmail.com
 wrote:
 
   Thanks Steve for ur response. i tought about this but this wont help
 me
   with my project because most of the fields present in the form are
 dynamic
   ones so sending a XHR request for field would be very expensive. could
 u
   please suggest any another way around.
 
   On Wed, Sep 29, 2010 at 4:48 PM, Steve Moyer smoye...@gmail.com
 wrote:
 
   The compiled HTML and JavaScript runs in the browser, so you need to
 make
   a GWT-RPC or XMLHTTPRequest call to the server for the list contents.
 
   Hang in there ... once you get over the hump it makes a lot more
 sense!
Try using the GWT plugin and Eclipse ... when you generate a new
 project
   there is a greeting service that shows how the client-server
 communication
   is done.
 
   Good luck!
 
   smoyer
 
   On Wed, Sep 29, 2010 at 3:16 AM, Rahul jainrahul...@gmail.com
 wrote:
 
   please respond its really urgent
 
   On Sep 28, 6:55 pm, Rahul jainrahul...@gmail.com wrote:
Hello,
 
Presently am working on GWT to build an front end for my SaaS
 based
application and facing a little difficulty with generating a drop
 down
list. What I have to do is based on the type of user logged in I
 have
to populate a drop down list onModuleLoad so the list of options
 are
always fetched from the server. Could anyone please suggest me the
procedure for the same. Since am new to GWT and as far as i have
 read
GWT complies the java code into html and javascript which is runs
 on
the server so the compiled code generates the html which is static
 but
i need a dynamic html.
 
At server am using PHP and want to get the same result as we use
 to
get the same result from GWT as generated by smarty templates.
 
Please suggest how should i proceed
 
   --
   You received this message because you are subscribed to the Google
   Groups Google Web Toolkit group.
   To post to this group, send email to
   google-web-tool...@googlegroups.com.
   To unsubscribe from this group, send email to
   google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs
 cr...@googlegroups.com
   .
   For more options, visit this group at
  http://groups.google.com/group/google-web-toolkit?hl=en.
 
   --
   Sent from my iBerry MacPhone
 
   --
   You received 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs
 cr...@googlegroups.com
   .
   For more options, visit this group at
  http://groups.google.com/group/google-web-toolkit?hl=en.
 
   --
   Rahul Jain
   +919990481340
 
   --
   You received

Re: How to generate the drop down options onModuleLoad

2010-09-29 Thread Rahul
please respond its really urgent

On Sep 28, 6:55 pm, Rahul jainrahul...@gmail.com wrote:
 Hello,

 Presently am working on GWT to build an front end for my SaaS based
 application and facing a little difficulty with generating a drop down
 list. What I have to do is based on the type of user logged in I have
 to populate a drop down list onModuleLoad so the list of options are
 always fetched from the server. Could anyone please suggest me the
 procedure for the same. Since am new to GWT and as far as i have read
 GWT complies the java code into html and javascript which is runs on
 the server so the compiled code generates the html which is static but
 i need a dynamic html.

 At server am using PHP and want to get the same result as we use to
 get the same result from GWT as generated by smarty templates.

 Please suggest how should i proceed

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



Re: How to generate the drop down options onModuleLoad

2010-09-29 Thread Rahul Jain
Thanks Steve for ur response. i tought about this but this wont help me with
my project because most of the fields present in the form are dynamic ones
so sending a XHR request for field would be very expensive. could u please
suggest any another way around.

On Wed, Sep 29, 2010 at 4:48 PM, Steve Moyer smoye...@gmail.com wrote:

 The compiled HTML and JavaScript runs in the browser, so you need to make a
 GWT-RPC or XMLHTTPRequest call to the server for the list contents.

 Hang in there ... once you get over the hump it makes a lot more sense!
  Try using the GWT plugin and Eclipse ... when you generate a new project
 there is a greeting service that shows how the client-server communication
 is done.

 Good luck!

 smoyer


 On Wed, Sep 29, 2010 at 3:16 AM, Rahul jainrahul...@gmail.com wrote:

 please respond its really urgent

 On Sep 28, 6:55 pm, Rahul jainrahul...@gmail.com wrote:
  Hello,
 
  Presently am working on GWT to build an front end for my SaaS based
  application and facing a little difficulty with generating a drop down
  list. What I have to do is based on the type of user logged in I have
  to populate a drop down list onModuleLoad so the list of options are
  always fetched from the server. Could anyone please suggest me the
  procedure for the same. Since am new to GWT and as far as i have read
  GWT complies the java code into html and javascript which is runs on
  the server so the compiled code generates the html which is static but
  i need a dynamic html.
 
  At server am using PHP and want to get the same result as we use to
  get the same result from GWT as generated by smarty templates.
 
  Please suggest how should i proceed

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




 --
 Sent from my iBerry MacPhone

 --
 You received 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




-- 
Rahul Jain
+919990481340

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



Re: How to generate the drop down options onModuleLoad

2010-09-29 Thread Rahul Jain
Yes u may say that i am using plain old html but this html is generated on
the fly which is my desired result i dont have to do any page reload. for
example take a case that i have to display a image of the user when he logs
in so image of each user in the same directory but with different file name
so we have a different url for every user req in the src attribute of the
image tag but. so with gwt i have to send a xhr request. if it was a single
request it would have been easy but in my form i have around 15-25 fields
whose data has to be populated on the fly. so method best suited would be
some how i am able to design the html page on module load only

what do u suggest??

On Wed, Sep 29, 2010 at 8:28 PM, Steve Moyer smoye...@gmail.com wrote:

 Well ... if you were using plain-old HTML, you'd have a page reload of some
 sort to update the drop-down lists right?  An XHR is way less expensive than
 that.

 I generally load cargo data with one or a few XHR requests right after the
 application loads, but for really dynamic DDLs or SuggestBoxes, you don't
 have a choice.  If you're doing something simple like the first DDL has 10
 options and the second DDL has 10 options that change depending on the first
 DDL's value, you just load all 110 values into the browser and write the
 logic to deal with changing the lists (enabling/disabling controls, changing
 focus, etc) in GWT.

 smoyer

 On Wed, Sep 29, 2010 at 10:50 AM, Rahul Jain jainrahul...@gmail.comwrote:

 Thanks Steve for ur response. i tought about this but this wont help me
 with my project because most of the fields present in the form are dynamic
 ones so sending a XHR request for field would be very expensive. could u
 please suggest any another way around.

 On Wed, Sep 29, 2010 at 4:48 PM, Steve Moyer smoye...@gmail.com wrote:

 The compiled HTML and JavaScript runs in the browser, so you need to make
 a GWT-RPC or XMLHTTPRequest call to the server for the list contents.

 Hang in there ... once you get over the hump it makes a lot more sense!
  Try using the GWT plugin and Eclipse ... when you generate a new project
 there is a greeting service that shows how the client-server communication
 is done.

 Good luck!

 smoyer


 On Wed, Sep 29, 2010 at 3:16 AM, Rahul jainrahul...@gmail.com wrote:

 please respond its really urgent

 On Sep 28, 6:55 pm, Rahul jainrahul...@gmail.com wrote:
  Hello,
 
  Presently am working on GWT to build an front end for my SaaS based
  application and facing a little difficulty with generating a drop down
  list. What I have to do is based on the type of user logged in I have
  to populate a drop down list onModuleLoad so the list of options are
  always fetched from the server. Could anyone please suggest me the
  procedure for the same. Since am new to GWT and as far as i have read
  GWT complies the java code into html and javascript which is runs on
  the server so the compiled code generates the html which is static but
  i need a dynamic html.
 
  At server am using PHP and want to get the same result as we use to
  get the same result from GWT as generated by smarty templates.
 
  Please suggest how should i proceed

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




 --
 Sent from my iBerry MacPhone

 --
 You received 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




 --
 Rahul Jain
 +919990481340

 --
 You received 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




 --
 Sent from my iBerry MacPhone

 --
 You received 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en

How to generate the drop down options onModuleLoad

2010-09-28 Thread Rahul
Hello,

Presently am working on GWT to build an front end for my SaaS based
application and facing a little difficulty with generating a drop down
list. What I have to do is based on the type of user logged in I have
to populate a drop down list onModuleLoad so the list of options are
always fetched from the server. Could anyone please suggest me the
procedure for the same. Since am new to GWT and as far as i have read
GWT complies the java code into html and javascript which is runs on
the server so the compiled code generates the html which is static but
i need a dynamic html.

At server am using PHP and want to get the same result as we use to
get the same result from GWT as generated by smarty templates.

Please suggest how should i proceed

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



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 gal.dol...@gmail.com 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 rahul.vija...@gmail.com

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


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



TEST-1

2010-08-06 Thread 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.



Image not visible in chrome and IE 8 but working fine in firefox.

2010-05-12 Thread Rahul
I have added some images to the page which are rendered by gwt. The
images are displayed correctly in firefox but nothing comes up in
chrome and a java script error comes up IE 8.

What can be the possible cause for the same ?

Thanks

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



SubmitCompleteEvent.getResults() method returns null : IE8

2010-01-27 Thread Rahul
Hi,

I am using GWT 1.7.1. I am trying to upload a document and get back
response from server.
File upload works fine for me. But SubmitCompleteEvent.getResults()
method returns null.
I am facing this issue with IE 8. As same works fine for Firefox
3.0.X. My Response from server is in XML format.
Any workaround for this ?

Thanks

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



Re: Refresh is not working on Hosted mode and in IE

2009-09-24 Thread Rahul bhatt

any clue it seems to be very basic issue

Please help it is quite  critical for me

Regards
Rahul

On Sep 24, 10:31 am, Rahul bhatt rahul.anubh...@googlemail.com
wrote:
 HI

 I am using GWT and GXT to develop a rich application. I get blank page
 while refreshing home page in Hosted mode as well as with  Internet
 Explorer. this works fine when I use Fire fox every thing works fine

 Please help

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



GWT Issue with Internet Explorer works ok in Firefox Hostes mode

2009-09-23 Thread Rahul bhatt

Hi

I am quite new to GWT. I am trying to build an application using GWT
and Ext JS. I am facing issues in Page Navigation

This works fine in Hosted mode as well as Firefox 5.0

below are the steps when i am facing this issue.

1. user hits a url called http:\\localhost:8080\war\main.jsp in web
mode.

2. threr is a link to change settings like Theme color , Date format
etc.

3. User click on this and chages color this color gets saved in and
Config file for a user .

4. after saving it system tries to navigate to main page this does not
work with Internet explorer  but works absolutely ok with Firefox 5.0
and in Hosted mode as well. this is the native code I am calling to go
to Main page

private native void reloadApp(String locale) /*-{

$doc.getElementById('locale').value=locale;
$doc.getElementById('mainForm').submit();


}-*/;

I am not getting any java script error neither Exception.

Please help and do let me know if you need more info

Regards
Rahul

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



Re: GWT Issue with Internet Explorer works ok in Firefox Hostes mode

2009-09-23 Thread Rahul bhatt

to be more specific in case of IE it is not making server call at all.

As per my understanding GWT takes care of Cross browser compatablity
issues  as a Java devloper i dont have to bother abt this.

Please correct me if i am wrong.


On Sep 23, 12:27 pm, Rahul bhatt rahul.anubh...@googlemail.com
wrote:
 Hi

 I am quite new to GWT. I am trying to build an application using GWT
 and Ext JS. I am facing issues in Page Navigation

 This works fine in Hosted mode as well as Firefox 5.0

 below are the steps when i am facing this issue.

 1. user hits a url called http:\\localhost:8080\war\main.jsp in web
 mode.

 2. threr is a link to change settings like Theme color , Date format
 etc.

 3. User click on this and chages color this color gets saved in and
 Config file for a user .

 4. after saving it system tries to navigate to main page this does not
 work with Internet explorer  but works absolutely ok with Firefox 5.0
 and in Hosted mode as well. this is the native code I am calling to go
 to Main page

         private native void reloadApp(String locale) /*-{

                 $doc.getElementById('locale').value=locale;
                 $doc.getElementById('mainForm').submit();

         }-*/;

 I am not getting any java script error neither Exception.

 Please help and do let me know if you need more info

 Regards
 Rahul

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



Re: Hosted mode Caching problem

2009-09-08 Thread Rahul

Hi,
Thanks for the reply
I believe( i havent tired it yet) with this i would be able to have no
caching when i deploy my application on the web server(Apache tomcat)

What about when i am developing my application and testing in the
google webtoolkit hosted mode?


On Sep 6, 12:01 pm, ThomasWrobel darkfl...@gmail.com wrote:
 Have you tried using a .htaccess file on the sever to force no-
 cacheing?

 Files *
 Header set Cache-Control: private, pre-check=0, post-check=0, max-
 age=0
 Header set Expires: 0
 Header set Pragma: no-cache
 /Files

 (If you save this to a  *.htaccess file this will set everything in
 the directory not to be cached)
 Assumeing your sever is apache.

 On Sep 4, 5:02 pm, Rahul coolrahul18...@gmail.com wrote:

  Hi,
  I am reading an file A.xml each time and modifying it and saving it on
  my server. Now how can  the browser or the hosted mode that the file
  has been changed, because whenever it sees that the name of the file
  is same i.e. A.xml it never gets from the server, it just shows the
  content in it local cache which are the old values.

  I believe its a cache problem, as the browser never gets A.xml the
  next time because when seen in the other window of hosted mode, i see
  that the first time there is a 200 - GET operation which is that the
  file is send from server to client but the second or the third time,
  not such GET operation is done

  I hope i was clear with my problem statement, if not please ask so i
  can more elaborate.
--~--~-~--~~~---~--~~
You received 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: Hosted mode Caching problem

2009-09-08 Thread Rahul

Hi,
Yes I am using the war structure
Let us assume my xml file name is A.xml and my google web toolkit name
is test

I store my A.xml inside test\war\test folder

This is the code at the client side i used to invoke A.xml

final RequestBuilder builder2 = new RequestBuilder
(RequestBuilder.GET,A.xml);
try
{
Request request2 = 
builder2.sendRequest(null, new
RequestCallback()
{
public void 
onError(Request request2 , Throwable exceptopn) {

}
public void 
onResponseReceived(Request request2, Response
response2)
{


DocumentxmlDoc11 = XMLParser.parse(response2.getText());

// After this i parse xmlDoc11 to check 
attributes and tags and
display the contents



If I delete A.xml from the folder i get an error Uncaught exception
escaped because there is no file in the folder. If i paste the file i
still get the old value the one was in the beginning. If i copy the
contents of A.xml to B.xml and then run it (changing the
Requestbuilder to A.xml to B.xml) I see in my hosted mode that the
file is get from the server (because its the first time and not
cached) and then i see the change in the values

Thanks for helping me, if theres any more information you require
please tell.
Can you give me a solution for my problem?





On Sep 8, 1:00 pm, ThomasWrobel darkfl...@gmail.com wrote:
 Sorry, I didnt read your problem correctly.
 Thats really bizarre.
 Are you using the war structure? or the old one?
 Have you tried deleteing the files before it compiles?

 On Sep 8, 6:21 pm, Rahul coolrahul18...@gmail.com wrote:

  Hi,
  Thanks for the reply
  I believe( i havent tired it yet) with this i would be able to have no
  caching when i deploy my application on the web server(Apache tomcat)

  What about when i am developing my application and testing in the
  google webtoolkit hosted mode?

  On Sep 6, 12:01 pm, ThomasWrobel darkfl...@gmail.com wrote:

   Have you tried using a .htaccess file on the sever to force no-
   cacheing?

   Files *
   Header set Cache-Control: private, pre-check=0, post-check=0, max-
   age=0
   Header set Expires: 0
   Header set Pragma: no-cache
   /Files

   (If you save this to a  *.htaccess file this will set everything in
   the directory not to be cached)
   Assumeing your sever is apache.

   On Sep 4, 5:02 pm, Rahul coolrahul18...@gmail.com wrote:

Hi,
I am reading an file A.xml each time and modifying it and saving it on
my server. Now how can  the browser or the hosted mode that the file
has been changed, because whenever it sees that the name of the file
is same i.e. A.xml it never gets from the server, it just shows the
content in it local cache which are the old values.

I believe its a cache problem, as the browser never gets A.xml the
next time because when seen in the other window of hosted mode, i see
that the first time there is a 200 - GET operation which is that the
file is send from server to client but the second or the third time,
not such GET operation is done

I hope i was clear with my problem statement, if not please ask so i
can more elaborate.
--~--~-~--~~~---~--~~
You received 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
-~--~~~~--~~--~--~---



Hosted mode Caching problem

2009-09-04 Thread Rahul

Hi,
I am reading an file A.xml each time and modifying it and saving it on
my server. Now how can  the browser or the hosted mode that the file
has been changed, because whenever it sees that the name of the file
is same i.e. A.xml it never gets from the server, it just shows the
content in it local cache which are the old values.

I believe its a cache problem, as the browser never gets A.xml the
next time because when seen in the other window of hosted mode, i see
that the first time there is a 200 - GET operation which is that the
file is send from server to client but the second or the third time,
not such GET operation is done

I hope i was clear with my problem statement, if not please ask so i
can more elaborate.

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



Prevent duplicate record insertion on page refresh

2009-09-03 Thread Rahul

Hi,
I am displaying values in a listbox through connecting with an
sqlserver via RPC. Whenever I refresh the browser the values in the
listbox gets duplicated.

Can anyone tell me how to solve this problem? Is it something to do
with the client side of gwt or the server 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
-~--~~~~--~~--~--~---



Re: Need Help in setting up GWT

2009-09-02 Thread Rahul

Hi Satya,

Here are some tutorials which tell you step by step how to work with
GWT

http://code.google.com/webtoolkit/tutorials/1.6/create.html

also you would also like this, these are some basic tutorials abt gwt

http://examples.roughian.com/#Home

On Sep 2, 4:10 am, Satya satya@gmail.com wrote:
 Hello All,

 My need is to develop a web application with rich UI and deploy onto
 externat server, so i decided to use GWT.
 Can you let me understand in setting up dynamic web project in
 eclipse?

 I tried setting up project using WebAppCreator.cmd from gwt
 distribution but i cannot deploy that onto eclipse-integrated-tomcat-
 server. I created dynamic web project from eclipse but that does not
 run on hosted mode.
 I also created project by using google plugin, but no success on
 running on integrated-tomcat, but i can run this as
 GoogleWebApplication .

 How do I create a project in eclipse and proceed?

 Regards,
 Satya
--~--~-~--~~~---~--~~
You received 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: up gradation of gwt1.6 to 1.7

2009-09-01 Thread Rahul

Hi Chevron,
Could be more specific as in what is failing

On Sep 1, 6:18 am, monk3y darkside...@hotmail.com wrote:
 Its like asking How long is a piece of string?.

 On Aug 31, 2:49 pm, Chevron chevrontheco...@gmail.com wrote:

  Hi,
      I have upgraded my app from 1.6 to 1.7 but most of the things are
  not working the way it should be what are the changes I'll have to
  make.
  Thanks in advance
  Chevron
--~--~-~--~~~---~--~~
You received 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: Possible cause for IncompatibleRemoteServiceException

2009-08-31 Thread Rahul

Hi,
I am also getting the same exception, when i am trying to run it
outside the browser mode
SEVERE: greetServlet: An IncompatibleRemoteServiceException was thrown
while processing this call.
com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException:
This application is out of date, please click the refresh button on
your browser. ( Could not locate requested method 'greetServer3
(java.lang.String, java.lang.String)' in interface
'com.example.test10.client.GreetingService' )


Reading the above responses i am not able to see from where am i
getting that error. GreetServer3 function only executes an sql query
on the database and returns the result, and i havent extended any java
class for that.

So can anyone point how to solve this problem?



On Jul 30, 7:57 am, neshaug nesh...@gmail.com wrote:
 I have the same error, but only after I make the result from the
 persistence manager transient.

 The environment is the same as yours Ivo.
--~--~-~--~~~---~--~~
You received 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: Possible cause for IncompatibleRemoteServiceException

2009-08-31 Thread Rahul

Hi Sorry for the incomplete information earlier

I am using Windows XP+Elipse+GWT 1.70

I just upgraded my plugin again, and now the error seems to be gone
So it was a version issue? or something else?

On Aug 31, 10:25 am, Rahul coolrahul18...@gmail.com wrote:
 Hi,
 I am also getting the same exception, when i am trying to run it
 outside the browser mode
 SEVERE: greetServlet: An IncompatibleRemoteServiceException was thrown
 while processing this call.
 com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException:
 This application is out of date, please click the refresh button on
 your browser. ( Could not locate requested method 'greetServer3
 (java.lang.String, java.lang.String)' in interface
 'com.example.test10.client.GreetingService' )

 Reading the above responses i am not able to see from where am i
 getting that error. GreetServer3 function only executes an sql query
 on the database and returns the result, and i havent extended any java
 class for that.

 So can anyone point how to solve this problem?

 On Jul 30, 7:57 am, neshaug nesh...@gmail.com wrote:

  I have the same error, but only after I make the result from the
  persistence manager transient.

  The environment is the same as yours Ivo.
--~--~-~--~~~---~--~~
You received 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: Problem deploying with Firefox/Chrome

2009-08-31 Thread Rahul

Hi
I just checked and i am not getting an null response
xmlDoc1 is not empty with FireFox also



On Aug 28, 3:53 pm, Jeff Chimene jchim...@gmail.com wrote:
 On 08/28/2009 07:03 AM, Rahul wrote:





  Hi
  This is a sample code how i am using to create my UI from parsing XML
  files

     protected void fucn(final VerticalPanel verticalPanel, String
  substring,final PickupDragController drag) {
             // TODO Auto-generated method stub
             RequestBuilder builder1 = new RequestBuilder
  (RequestBuilder.GET,substring+.mdl);
             try
             {
                     Request request1 = builder1.sendRequest(null, new 
  RequestCallback()
                     {

                             public void onError(Request request1, Throwable 
  exception) {
                             }

                            �...@override
                             public void onResponseReceived(Request request1,
                                             Response response1)
                             {
                                     Document xmlDoc1 = 
  XMLParser.parse(response1.getText());

 You wrote earlier that ... I am believing that it gets an null response

 is xmlDoc1 indeed empty?

 My guess is that there is a subtle syntax error in the MDL file; which
 problem IE ignores. FF on the other hand doesn't let it slide.

                                     XMLParser.removeWhitespace(xmlDoc1);

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



Re: File Not Found While working with RPC

2009-08-31 Thread Rahul

Hi,
There should be another class called MyServiceAsync.java under client


On Aug 31, 10:41 am, Aximilli302 aximilli...@gmail.com wrote:
 The Exact error is:

 Aug 31, 2009 9:37:02 AM
 com.google.appengine.tools.development.LocalResourceFileServlet doGet
 WARNING: No file found for: /MyService

 On Aug 31, 9:38 am, Aximilli302 aximilli...@gmail.com wrote:

  Hello all,

  I'm having a slight issue with making server calls. I have set up a
  relitivly simple server, but am new to this, and have gotten most of
  what i've learned off the internet.

  At this point, the error is that the server can not be found. Here are
  a few tidbits of my code, where the issue likely lies.

  //Inside the Main Class
  ServiceDefTarget endpoint = (ServiceDefTarget) myService;

  endpoint.setServiceEntryPoint(/MyService);

  myService.myMethod(lbl.getText(), user.getUserName(), new
  AsyncCallbackString() {

  @Override
  public void onFailure(Throwable caught) {
  System.out.println(Into the onfailure method);
  lbl.setText(Failure to send);
  System.out.println(caught.getCause());
                                  }

  @Override
  public void onSuccess(String a) {
  System.out.println(Sucess);
  //Does everthing it's supposed to                                           
                      }
                  });

  I have the MyService interface, and the MyServiceAsync.
  The MyServiceImpl class returns a simple String

  The XML class contains the following lines:
  entry-point class='com.google.tabs.client.Tabs' /
    servlet path=/MyService
  class=com.google.tabs.server.MyServiceImpl /

  MyService is inside the .client class, while MyServiceImpl is
  inside .server

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



Re: Refresh page on loading

2009-08-31 Thread Rahul

Hi Ian,
Sorry for the late reply
The code which you wrote above is the same effect i am trying to make,
but i do it like:

a) Parse an xml file which has 6 or 7 enteries, so i make 6 to 7
vertical panels
b) Each entry calls another xml file which has 20 to 30 textboxes in
tht. It prints the textboxes on it
c) now after adding all textboxes to the vertical panel, I add submit
button to each vertical panel

so first time it comes it shows on top but later it shows on bottom
I will try to give a sample demo so you could see that problem
yourself soon


On Aug 24, 12:31 pm, Ian Bambury ianbamb...@gmail.com wrote:
 Hi Rahul,
 I tried the code below but it seems to work OK. Is it the kind of effect you
 are trying to get?

         VerticalPanel[] v1 = new VerticalPanel[5];
         TabPanel tabpanel = new TabPanel();
         for(int j = 0; j  5; j++)
         {
             v1[j] = new VerticalPanel();
             tabpanel.add(v1[j],  [XXX] );
             v1[j].add(new TextBox());
             v1[j].add(new TextBox());
             v1[j].add(new TextBox());
             v1[j].add(new TextBox());
             v1[j].add(new TextBox());
             v1[j].add(new TextBox());
             v1[j].add(new TextBox());
             v1[j].add(new TextBox());
             v1[j].add(new TextBox());
             v1[j].add(new TextBox());
             v1[j].add(new TextBox());
             v1[j].add(new Button(Submit));
         }
         RootPanel.get().add(tabpanel);
         tabpanel.selectTab(0);

 Ian

 http://examples.roughian.com

 2009/8/24 Rahul coolrahul18...@gmail.com



  Hi Ian,
  Sorry for the late reply, I was out of office for last few days

  here is part of the code
         for ( j = 0; j  URLs.getLength()-1; j++)
                                         {
                                                 v1[j] = new VerticalPanel();
                                                 String str =
  URLs.item(j).getAttributes().toString();
                                         //      System.out.println(str);

   tabpanel.add(v1[j],str.substring(13,16));

   fucn(v1[j],str.substring(13,16),drag);

   v1[j].setTitle(str.substring(13,16));
                                             b1 = new Button (Submit);
                                             b1.addClickHandler(handler2);
                                             v1[j].add(b1);

                                         //end of for loop
                                         }

  the button b1 is an public button

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



Re: File Manipulation / Processing in GWT

2009-08-31 Thread Rahul

I do file manipulations with gwt
i read an xml file with Requestbuilder and pass it as string to server
and write it to a file


On Aug 29, 8:29 pm, ThomasWrobel darkfl...@gmail.com wrote:
 Not sure how you mean.
 You can use GWT to read a file, then mess about with it as a string,
 then post the result to a PHP file that can write the file to your
 sever.

 On Aug 29, 8:31 am, alvinjayreyes jay_malu...@yahoo.com wrote:

  Anyone here has done some file manipulation through GWT?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-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: Problem with GWT Project Configuration - Inherits Module Problem

2009-08-31 Thread Rahul

Hi,
Yes there is some configuration problem with your project but i am
unable to solve it

but this getting started guide
http://code.google.com/webtoolkit/tutorials/1.6/gettingstarted.html

tells how to configure your classpath correctly


On Aug 31, 6:21 am, Prosky metticelasempretu...@hotmail.it wrote:
 Good morning to all users of the forum; i am a new user and i have a
 small problem with a gwt project.
 The Project is constituted by one module that is called Portal, that
 contain the entry point class, and by another support module that is
 called Canvas, that not contain another entry point.
 The project is completely but i can't execute him because i don't
 configurate the classhopath in the correctly mode.
 Infact during the execution i have this problem:

 [ERROR] Unable to load module entry point class
 org.unicam.resourceome.web.portal.client.Portal (see associated
 exception for details)
 com.google.gwt.core.client.JavaScriptException: (TypeError): Property
 or method doesn't support by the object
  number: -2146827850
  description: Property or method doesn't support by the object
         at
 org.unicam.gwt.graphics.client.canvas.impl.GWTCanvasImplDefault.createElement
 (Native Method)
         at org.unicam.gwt.graphics.client.canvas.GWTCanvas.init
 (GWTCanvas.java:138)
         at org.unicam.gwt.graphics.client.GWTGraphicsView.init
 (GWTGraphicsView.java:42)
         at org.unicam.gwt.graphics.client.GWTGraphicsView.init
 (GWTGraphicsView.java:38)
         at org.unicam.resourceome.web.portal.client.Portal.onModuleLoad
 (Portal.java:198)

 I would want to be more precise in the description but i don't speek a
 good english. Since the project is concluded and the problem of
 configuration should easily be resolvable there is a person exists to
 which could kindly pass the project so that you worry him about to
 directly resolve me him?

 Sorry for the bad english, thank you for the quickly answer. Bye.
 Marco.
--~--~-~--~~~---~--~~
You received 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: Hosted mode hanging 4 out of 10times

2009-08-28 Thread Rahul

Hi,
This is my code:

Client side, i am calling an RPC service to connect to sqlserver2005.
Its an simple login(very basic)

greetingService.greetServer3(username,password, new
AsyncCallbackInteger()
{

@Override
public void 
onFailure(Throwable caught) {
// TODO 
Auto-generated method stub

}

@Override
public void 
onSuccess(Integer result) {
// TODO 
Auto-generated method stub
if (result == 1)

Window.alert(log on successful);
else

Window.alert(Please check the username and password);
}

My implementation on server side is

 public Integer greetServer3(String str, String str1) {
// TODO Auto-generated method stub

 try
{
  Class.forName
(com.microsoft.sqlserver.jdbc.SQLServerDriver).newInstance();
  conn = 
DriverManager.getConnection(jdbc:sqlserver://
STI1121081:1433;database=Sql-obtv, username, password);
  stm = 
((java.sql.Connection)conn).createStatement();

  System.out.println(Values of string 
name+str+value of
pass+str1);
  rs = stm.executeQuery(select * from 
Password);

  while (rs.next())
  {
  user =rs.getString(Username);
  pass = rs.getString(Pass);
   }
  conn.close();
} catch (Exception e) {
 connString = e.getMessage();

}

   user =user.replaceAll(\\s+$, );
   pass = pass.replaceAll(\\s+$, );

if (str.equals(user) str1.equals(pass))
return 1;

else
return 0;

}

Also I am not using the Google Application engine as i am integrating
with sqlserver2005. I have seen similar problems whenever i try
integrating with sqlserver2005. I am using jdbc4 driver.

On Aug 27, 8:49 pm, Ian Bambury ianbamb...@gmail.com wrote:
 I don't think you'll find it there Rahul, That was only really a suggestion
 for next time :-)
 It sounds like a strange problem, but if you can provide some code, that at
 least means that other people can have a play - sometimes it happens that
 the code people provide works OK for other people - it all helps to pin it
 down though.

 Ian

 http://examples.roughian.com

 2009/8/27 Rahul coolrahul18...@gmail.com



  Hi Ian,
  I did try to cut out the call tired to find it out, but i was not
  successful in getting the answer whats causing the problem

  Sorry for my ignorance but i did not knew anything about the issue
  tracker. I would look at issue tracker first and if i am not able to
  get solution to that problem ill paste my code here.

  On Aug 27, 5:29 pm, Ian Bambury ianbamb...@gmail.com wrote:
   Hi Rahul,
   Why don't you cut out the call and find out?

   :-)

   It's very hard to answer questions like this when there is no code to
  look
   at.

   There are no blindingly desperate problems with GWT that I know of that
  do
   this. Since the server side is not anything to do with GWT, then that is
   very probably not a GWT problem (although connecting to the server might
   be).

   In this kind of situation, I'd say that the first stop is the issue
  tracker.
   Pretty much everything major has been picked up and even when there is a
  new
   release, the chances are that someone else will find it before you do
   (unless you are the most up-to-date, active and comprehensive user of GWT
   out of the 20,000 of us here - I'm not, so I check the issue tracker).

   Coming up with a simple example to demonstrate your problem is the next
   step. If you take a copy of your problem project and cut it down step by
   step will a) mean

Re: Problem deploying with Firefox/Chrome

2009-08-28 Thread Rahul

Hi
This is a sample code how i am using to create my UI from parsing XML
files

protected void fucn(final VerticalPanel verticalPanel, String
substring,final PickupDragController drag) {
// TODO Auto-generated method stub
RequestBuilder builder1 = new RequestBuilder
(RequestBuilder.GET,substring+.mdl);
try
{
Request request1 = builder1.sendRequest(null, new 
RequestCallback()
{

public void onError(Request request1, Throwable 
exception) {
}

@Override
public void onResponseReceived(Request request1,
Response response1)
{
Document xmlDoc1 = 
XMLParser.parse(response1.getText());
XMLParser.removeWhitespace(xmlDoc1);
Element root1 = 
xmlDoc1.getDocumentElement();
NodeList URLs1 = root1.getChildNodes();

for (int i =0; i URLs1.getLength();i++)
{

String str1 = 
URLs1.item(i).getAttributes().getNamedItem
(name).getNodeValue();
Field f1 = new Field (str1);
String str2 = 
URLs1.item(i).getAttributes().getNamedItem
(maxLength).getNodeValue();
int length = 
Integer.parseInt(str2);
f1.setMaxLength(length);
String str3 = 
URLs1.item(i).getAttributes().getNamedItem
(elementDef).getNodeValue();

fucn1(str1,verticalPanel,f1,str3);
verticalPanel.add(f1);

}


}

Again no output for Firefox/chrome but yes for IE


On Aug 27, 10:28 am, Rahul coolrahul18...@gmail.com wrote:
 Hi Jason,
 what do think is the problem?

 On Aug 26, 3:33 pm, Jason jason.newmo...@gmail.com wrote:

  Having same problem here but I don't think its related to the
  RequestBuilder.

  On Aug 26, 11:20 am, Rahul coolrahul18...@gmail.com wrote:

   Hi,
   There are few posts with problems with firefox but i was not able to
   find a solution reading those so i am having a new post.
   My code runs fine on IE but it fails on Firefox/Chrome.
   I am using RequestBuilder to parse some xml files and showing them as
   labels on my UI.

   The UI is build perfectly wit IE but not with Firefox/Chrome
   I am believing that it gets an null response received with
   RequestBuilder with firefox/chrome.
   any idea whats causing this problem and how to solve it
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Hosted mode hanging 4 out of 10times

2009-08-28 Thread Rahul

I dont get it, Ian told me to paste the code here
and the problem was specific to the gwt programming




On Aug 28, 10:38 am, Frank Argueta frank.argu...@gmail.com wrote:
 I hope your boss is reading your posts on this forum and your attempts
 to scavenge solutions to problems specific to *your* server side
 code / environment. That teeny bit of server side code you posted
 speaks volumes. I know what I'd do if I saw that kind of code in my
 codebase.

 On Aug 28, 9:57 am, Rahul coolrahul18...@gmail.com wrote:

  Hi,
  This is my code:

  Client side, i am calling an RPC service to connect to sqlserver2005.
  Its an simple login(very basic)

  greetingService.greetServer3(username,password, new
  AsyncCallbackInteger()
                                                  {

                                                          @Override
                                                          public void 
  onFailure(Throwable caught) {
                                                                  // TODO 
  Auto-generated method stub

                                                          }

                                                          @Override
                                                          public void 
  onSuccess(Integer result) {
                                                                  // TODO 
  Auto-generated method stub
                                                                  if (result 
  == 1)
                                                                          
  Window.alert(log on successful);
                                                                  else
                                                                          
  Window.alert(Please check the username and password);
                                                          }

  My implementation on server side is

   public Integer greetServer3(String str, String str1) {
                                  // TODO Auto-generated method stub

                                   try
                                      {
                                        Class.forName
  (com.microsoft.sqlserver.jdbc.SQLServerDriver).newInstance();
                                        conn = 
  DriverManager.getConnection(jdbc:sqlserver://
  STI1121081:1433;database=Sql-obtv, username, password);
                                        stm = 
  ((java.sql.Connection)conn).createStatement();

                                        System.out.println(Values of string 
  name+str+value of
  pass+str1);
                                        rs = stm.executeQuery(select * from 
  Password);

                                        while (rs.next())
                                        {
                                            user =rs.getString(Username);
                                            pass = rs.getString(Pass);
                                                                 }
                                        conn.close();
                                      } catch (Exception e) {
                                       connString = e.getMessage();

                                      }

                                     user =user.replaceAll(\\s+$, );
                                     pass = pass.replaceAll(\\s+$, );

                                      if (str.equals(user) 
  str1.equals(pass))
                                          return 1;

                                      else
                                          return 0;

                          }

  Also I am not using the Google Application engine as i am integrating
  with sqlserver2005. I have seen similar problems whenever i try
  integrating with sqlserver2005. I am using jdbc4 driver.

  On Aug 27, 8:49 pm, Ian Bambury ianbamb...@gmail.com wrote:

   I don't think you'll find it there Rahul, That was only really a 
   suggestion
   for next time :-)
   It sounds like a strange problem, but if you can provide some code, that 
   at
   least means that other people can have a play - sometimes it happens that
   the code people provide works OK for other people - it all helps to pin it
   down though.

   Ian

  http://examples.roughian.com

   2009/8/27 Rahul coolrahul18...@gmail.com

Hi Ian,
I did try to cut out the call tired to find it out, but i was not
successful in getting the answer whats causing the problem

Sorry for my ignorance but i did not knew anything about the issue
tracker. I would look at issue tracker first and if i am not able to
get solution to that problem ill paste my code here.

On Aug 27, 5:29 pm, Ian Bambury ianbamb...@gmail.com wrote:
 Hi Rahul,
 Why don't you cut out the call and find out?

 :-)

 It's very hard to answer questions like this when there is no code to
look
 at.

 There are no blindingly desperate problems with GWT that I know of 
 that
do

Re: Hosted mode hanging 4 out of 10times

2009-08-28 Thread Rahul

Hi Ian,
Yeah doing that now, its still hanging a lot
I don't know whats the problem. I guess the last option would be to
reinstall gwt

On Aug 28, 11:14 am, Ian Bambury ianbamb...@gmail.com wrote:
 I don't think that the problem is there, but try commenting out just that
 call and running the rest of the app. If the problem goes away, then I'm
 wrong :-)
 Ian

 http://examples.roughian.com

 2009/8/28 Rahul coolrahul18...@gmail.com



  Hi,
  This is my code:

  Client side, i am calling an RPC service to connect to sqlserver2005.
  Its an simple login(very basic)

  greetingService.greetServer3(username,password, new
  AsyncCallbackInteger()
                                                 {

                                                        �...@override
                                                         public void
  onFailure(Throwable caught) {
                                                                 // TODO
  Auto-generated method stub

                                                         }

                                                        �...@override
                                                         public void
  onSuccess(Integer result) {
                                                                 // TODO
  Auto-generated method stub
                                                                 if (result
  == 1)

   Window.alert(log on successful);
                                                                 else

   Window.alert(Please check the username and password);
                                                         }

  My implementation on server side is

   public Integer greetServer3(String str, String str1) {
                                 // TODO Auto-generated method stub

                                  try
                                     {
                                       Class.forName
  (com.microsoft.sqlserver.jdbc.SQLServerDriver).newInstance();
                                       conn =
  DriverManager.getConnection(jdbc:sqlserver://
  STI1121081:1433;database=Sql-obtv, username, password);
                                       stm =
  ((java.sql.Connection)conn).createStatement();

                                       System.out.println(Values of string
  name+str+value of
  pass+str1);
                                       rs = stm.executeQuery(select * from
  Password);

                                       while (rs.next())
                                       {
                                           user =rs.getString(Username);
                                           pass = rs.getString(Pass);
                                                                }
                                       conn.close();
                                     } catch (Exception e) {
                                      connString = e.getMessage();

                                     }

                                    user =user.replaceAll(\\s+$, );
                                    pass = pass.replaceAll(\\s+$, );

                                     if (str.equals(user)
  str1.equals(pass))
                                         return 1;

                                     else
                                         return 0;

                         }

  Also I am not using the Google Application engine as i am integrating
  with sqlserver2005. I have seen similar problems whenever i try
  integrating with sqlserver2005. I am using jdbc4 driver.

  On Aug 27, 8:49 pm, Ian Bambury ianbamb...@gmail.com wrote:
   I don't think you'll find it there Rahul, That was only really a
  suggestion
   for next time :-)
   It sounds like a strange problem, but if you can provide some code, that
  at
   least means that other people can have a play - sometimes it happens that
   the code people provide works OK for other people - it all helps to pin
  it
   down though.

   Ian

  http://examples.roughian.com

   2009/8/27 Rahul coolrahul18...@gmail.com

Hi Ian,
I did try to cut out the call tired to find it out, but i was not
successful in getting the answer whats causing the problem

Sorry for my ignorance but i did not knew anything about the issue
tracker. I would look at issue tracker first and if i am not able to
get solution to that problem ill paste my code here.

On Aug 27, 5:29 pm, Ian Bambury ianbamb...@gmail.com wrote:
 Hi Rahul,
 Why don't you cut out the call and find out?

 :-)

 It's very hard to answer questions like this when there is no code to
look
 at.

 There are no blindingly desperate problems with GWT that I know of
  that
do
 this. Since the server side is not anything to do with GWT, then that
  is
 very probably not a GWT problem (although connecting to the server
  might
 be).

 In this kind of situation, I'd say that the first stop is the issue
tracker.
 Pretty much everything

Re: Hosted mode hanging 4 out of 10times

2009-08-28 Thread Rahul

ok Frank,
how do you want me to address the issue
Certainly there's is some communication gap between us.
I understood the last time you said and i was at fault and i accept
that.

My hosted mode works 6 out of 10 times
should i just give my client code? and no server code at all?



On Aug 28, 11:02 am, Rahul coolrahul18...@gmail.com wrote:
 I dont get it, Ian told me to paste the code here
 and the problem was specific to the gwt programming

 On Aug 28, 10:38 am, Frank Argueta frank.argu...@gmail.com wrote:

  I hope your boss is reading your posts on this forum and your attempts
  to scavenge solutions to problems specific to *your* server side
  code / environment. That teeny bit of server side code you posted
  speaks volumes. I know what I'd do if I saw that kind of code in my
  codebase.

  On Aug 28, 9:57 am, Rahul coolrahul18...@gmail.com wrote:

   Hi,
   This is my code:

   Client side, i am calling an RPC service to connect to sqlserver2005.
   Its an simple login(very basic)

   greetingService.greetServer3(username,password, new
   AsyncCallbackInteger()
                                                   {

                                                           @Override
                                                           public void 
   onFailure(Throwable caught) {
                                                                   // TODO 
   Auto-generated method stub

                                                           }

                                                           @Override
                                                           public void 
   onSuccess(Integer result) {
                                                                   // TODO 
   Auto-generated method stub
                                                                   if 
   (result == 1)
                                                                           
   Window.alert(log on successful);
                                                                   else
                                                                           
   Window.alert(Please check the username and password);
                                                           }

   My implementation on server side is

    public Integer greetServer3(String str, String str1) {
                                   // TODO Auto-generated method stub

                                    try
                                       {
                                         Class.forName
   (com.microsoft.sqlserver.jdbc.SQLServerDriver).newInstance();
                                         conn = 
   DriverManager.getConnection(jdbc:sqlserver://
   STI1121081:1433;database=Sql-obtv, username, password);
                                         stm = 
   ((java.sql.Connection)conn).createStatement();

                                         System.out.println(Values of 
   string name+str+value of
   pass+str1);
                                         rs = stm.executeQuery(select * 
   from Password);

                                         while (rs.next())
                                         {
                                             user =rs.getString(Username);
                                             pass = rs.getString(Pass);
                                                                  }
                                         conn.close();
                                       } catch (Exception e) {
                                        connString = e.getMessage();

                                       }

                                      user =user.replaceAll(\\s+$, );
                                      pass = pass.replaceAll(\\s+$, );

                                       if (str.equals(user) 
   str1.equals(pass))
                                           return 1;

                                       else
                                           return 0;

                           }

   Also I am not using the Google Application engine as i am integrating
   with sqlserver2005. I have seen similar problems whenever i try
   integrating with sqlserver2005. I am using jdbc4 driver.

   On Aug 27, 8:49 pm, Ian Bambury ianbamb...@gmail.com wrote:

I don't think you'll find it there Rahul, That was only really a 
suggestion
for next time :-)
It sounds like a strange problem, but if you can provide some code, 
that at
least means that other people can have a play - sometimes it happens 
that
the code people provide works OK for other people - it all helps to pin 
it
down though.

Ian

   http://examples.roughian.com

2009/8/27 Rahul coolrahul18...@gmail.com

 Hi Ian,
 I did try to cut out the call tired to find it out, but i was not
 successful in getting the answer whats causing the problem

 Sorry for my ignorance but i did not knew anything about the issue
 tracker. I would look

Re: Hosted mode hanging 4 out of 10times

2009-08-28 Thread Rahul

Ok, Frank first of all
Stop accusing me of stuff
I do my research before posting things on GWT.

Every developer is not on the same expertise level like you and we
beginners also need help.

 JDBC ResultSet to ArrayList was started by me because i had no expertise with 
 RPC calls
 DOS commands i did my research my on java how to do that on server side and 
 when it was failing, it i posted on GWT, and why shouldn't I? I belive this 
 is somethin GWT spefiic
 XML to Pdf, if there is special library for drag and drop in GWT, why cant be 
 there special library for xml to pdf conversion in GWT. I did not find on net 
 so i asked what other people are doing for that with their applications in GWT
 Format XML, GWT has their own XML parser and i cant find so i posted
 XML manipulations fails on server, I am using standard java commands and its 
 failing on server, and its the server class provided by GWT so I want to ask 
 people why is it failing


I do my research well before on net to post a message and people are
very helpful to post their answer here. Also as again said, everyone
is not a experitse programmer like you and I am sure many beginners
like me who find these posts helpful


On Aug 28, 2:33 pm, Frank Argueta frank.argu...@gmail.com wrote:
 If you look at the posts by Rahul, who only started posting since
 July, you'll find that a lot of them are off topic. For example :

 - how do I connect to convert is JDBC ResultSet into ArrayList
 - how do I execute DOS commands
 - how do I convert XML to PDF
 - how do I format XML on the server
 - why xml manipulations fails on server
 - hosted mode hangs because I did something screwy on my server and
 here's my sample code :
 method opens a new connection on each invocation without closing
 it

 I realize you are a helpful bunch of smart guys, but imagine if every
 Java beginner starts posting such questions on the GWT forum. The
 traffic on the GWT forum is high enough that additional noise like
 this really doesn't help.

 Having been in the business a while, I recognize a certain type of
 developer that post questions without making the slightest of effort
 in trying to read up / search for a solution on their own. Taking the
 liberty to fire an email to the GWT group at the first signs of
 encountering a problem is definitely not helpful to any party
 involved. Moreover responding to such questions will only encourage
 him to post more server related questions without putting in a
 concerted effort to resolve it himself.

 Frank Argue-ta.

 On Aug 28, 2:03 pm, Ian Bambury ianbamb...@gmail.com wrote:

  2009/8/28 Isaac Truett itru...@gmail.com

   Ian,

   Yes, the name did not escape my notice. But I do find reference to it
   as a surname, probably of Spanish origin. Why not give him the benefit
   of the doubt?

  Because he's only posted 4 times and his previous comment to Rahul was

  Perhaps you should learn Java and also learn how to solve your
  problems instead, especially if its urgent to you - which does not
  make your issue urgent to anyone else. Please stop posting questions
  not related to GWT on this forum.

  The one after that was

  I would request that this group require message subjects and sender
  names to be in English. The foreign characters in sender name /
  subjects are quite distracting.
  He doesn't seem to be entering into the spirit IMO, and if he can't take it,
  he shouldn't dish it out.

  Ian

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



Re: Problem deploying with Firefox/Chrome

2009-08-27 Thread Rahul

Hi Jason,
what do think is the problem?


On Aug 26, 3:33 pm, Jason jason.newmo...@gmail.com wrote:
 Having same problem here but I don't think its related to the
 RequestBuilder.

 On Aug 26, 11:20 am, Rahul coolrahul18...@gmail.com wrote:

  Hi,
  There are few posts with problems with firefox but i was not able to
  find a solution reading those so i am having a new post.
  My code runs fine on IE but it fails on Firefox/Chrome.
  I am using RequestBuilder to parse some xml files and showing them as
  labels on my UI.

  The UI is build perfectly wit IE but not with Firefox/Chrome
  I am believing that it gets an null response received with
  RequestBuilder with firefox/chrome.
  any idea whats causing this problem and how to solve it
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Hosted mode hanging 4 out of 10times

2009-08-27 Thread Rahul

Hi,
This is been happening a lot lately with me.
Whenever i am running the hosted mode, the hosted mode just hangs 4
out of 10 times. At the left end of window, it shows that Connecting
to site 127.0.0.1
and if i just close it and start it again the application works or it
just says the same message again as above. After a few tries it starts
working.
This never happens when i am running on IE. Also my application
connects to sqlserver2005, is tht wht is causing this problem?


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



Re: Hosted mode hanging 4 out of 10times

2009-08-27 Thread Rahul

Hi Ian,
I did try to cut out the call tired to find it out, but i was not
successful in getting the answer whats causing the problem

Sorry for my ignorance but i did not knew anything about the issue
tracker. I would look at issue tracker first and if i am not able to
get solution to that problem ill paste my code here.

On Aug 27, 5:29 pm, Ian Bambury ianbamb...@gmail.com wrote:
 Hi Rahul,
 Why don't you cut out the call and find out?

 :-)

 It's very hard to answer questions like this when there is no code to look
 at.

 There are no blindingly desperate problems with GWT that I know of that do
 this. Since the server side is not anything to do with GWT, then that is
 very probably not a GWT problem (although connecting to the server might
 be).

 In this kind of situation, I'd say that the first stop is the issue tracker.
 Pretty much everything major has been picked up and even when there is a new
 release, the chances are that someone else will find it before you do
 (unless you are the most up-to-date, active and comprehensive user of GWT
 out of the 20,000 of us here - I'm not, so I check the issue tracker).

 Coming up with a simple example to demonstrate your problem is the next
 step. If you take a copy of your problem project and cut it down step by
 step will a) mean you end up with a good, reproducible example of the
 problem. But if your experience is anything like mine, you'll cut out one
 bit which can't possibly cause the problem and discover that the problem
 goes away. And then you have a Peter Glaze 'Doh!' moment (don't worry if you
 didn't get that 'Peter Glaze' reference reference, I'd be surprised if
 anyone does). Anyway, you might well look at a bit of code that you hadn't
 considered before.

 If you *do* get it down to a 10-50-line example, then you definitely have a
 problem, but then it is one that we can all reproduce and play about with.

 So ... I don't have an answer for you, but if you can come up with a demo of
 it, I'll have a look.

 There used to be a problem like this where clicking on the screen allowed
 the app to continue (something to do with multiple css files if I remember
 correctly) but I'm sure that was fixed in about 1.3.

 Just my 2p worth.

 Ian

 http://examples.roughian.com

 2009/8/27 Rahul coolrahul18...@gmail.com



  Hi,
  This is been happening a lot lately with me.
  Whenever i am running the hosted mode, the hosted mode just hangs 4
  out of 10 times. At the left end of window, it shows that Connecting
  to site 127.0.0.1
  and if i just close it and start it again the application works or it
  just says the same message again as above. After a few tries it starts
  working.
  This never happens when i am running on IE. Also my application
  connects to sqlserver2005, is tht wht is causing this problem?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Problem deploying with Firefox/Chrome

2009-08-26 Thread Rahul

Hi,
There are few posts with problems with firefox but i was not able to
find a solution reading those so i am having a new post.
My code runs fine on IE but it fails on Firefox/Chrome.
I am using RequestBuilder to parse some xml files and showing them as
labels on my UI.

The UI is build perfectly wit IE but not with Firefox/Chrome
I am believing that it gets an null response received with
RequestBuilder with firefox/chrome.
any idea whats causing this problem and how to solve it

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



Re: why xml manipulations fails on server

2009-08-26 Thread Rahul

Hi,
Thanks for your help
I got that issue solved


On Aug 26, 2:47 am, Manuel Carrasco Moñino
manuel.carrasc...@gmail.com wrote:
 could you send a piece of your code and the error stack?

 On Tue, Aug 25, 2009 at 7:07 PM, Rahul coolrahul18...@gmail.com wrote:

  Hi,
  Thanks for replying
  I am using import org.w3c.dom.Document;
  for creation of an document and its failing

  On Aug 25, 12:28 pm, Manuel Carrasco Moñino
  manuel.carrasc...@gmail.com wrote:
   I don't know which library are you using in server side, but If you are
   using gwt xml manipulation classes in server side they don't work because
   they uses browser's native methods.

   Manolo Carrasco

   On Tue, Aug 25, 2009 at 4:56 PM, Rahul coolrahul18...@gmail.com wrote:

Hi,
I am getting an xml document as string from my client to the server.
On the server i want to declare a document and want to manipulate the
contents from the client, but whenever i am using Document or
XMLParser, my server code fails?

Does anyone knows the reason why any xml manipulations are failing on
the server side?

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



Re: Facing a Problem with tomcat deployment

2009-08-25 Thread Rahul

Hi,
I also faced this problem
whenever u compile your gwt project, everything from the war directory
is deleted. So i believe your are accessing a file in ur gwt code
which was earlier in the gwt directory but now its not there
just copy the files in the war directory again and the problem would
be solved


On Aug 25, 3:59 am, Nitin Gupta nitingupta...@gmail.com wrote:
 Sorry here is the exception that I am facing

 java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

 Regards
 nitin

 -Original Message-
 From: tin [mailto:nitingupta...@gmail.com]
 Sent: Tuesday, August 25, 2009 1:20 PM
 To: Google Web Toolkit

 Cc: nitingupta...@gmail.com
 Subject: Facing a Problem with tomcat deployment

 Hi group

 I am getting this exception when any RPC call is being made.  I am not
 getting this when I am running the app in the hosted mode and web mode
 when running inside Eclipse. But when I deploy the war file in Tomcat,
 I start facing this problem.

 Please help.

 Regards
 Nitin
--~--~-~--~~~---~--~~
You received 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: Facing a Problem with tomcat deployment

2009-08-25 Thread Rahul

Hi,
I also faced this problem
whenever u compile your gwt project, everything from the war directory
is deleted. So i believe your are accessing a file in ur gwt code
which was earlier in the gwt directory but now its not there
just copy the files in the war directory again and the problem would
be solved


On Aug 25, 3:59 am, Nitin Gupta nitingupta...@gmail.com wrote:
 Sorry here is the exception that I am facing

 java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

 Regards
 nitin

 -Original Message-
 From: tin [mailto:nitingupta...@gmail.com]
 Sent: Tuesday, August 25, 2009 1:20 PM
 To: Google Web Toolkit

 Cc: nitingupta...@gmail.com
 Subject: Facing a Problem with tomcat deployment

 Hi group

 I am getting this exception when any RPC call is being made.  I am not
 getting this when I am running the app in the hosted mode and web mode
 when running inside Eclipse. But when I deploy the war file in Tomcat,
 I start facing this problem.

 Please help.

 Regards
 Nitin
--~--~-~--~~~---~--~~
You received 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: RequestBuilder with FireFox

2009-08-25 Thread Rahul

Hi,
I am also facing problem with RequestBuilder with Firefox. It is not
working with Chrome also. But it works fine with IE.

I am using requestbuilder to parse my xml files on the server and
generate an UI from it. In firefox and chrome i do not get any output,
i.e. the UI
any suggestions how should i proceed


On Aug 25, 9:49 am, ca eyrie dk...@labvantage.com wrote:
 Thanks for the reply - unfortunately it doesn't seem to help. I
 changed the routine as follows:

     public static void sendRequest( String ajaxClass, String
 requestCommand, PropertyList requestData, RequestCallback
 requestCallback ) throws RequestException {
         String url = GWT.getHostPageBaseURL() + /rc;
         RequestBuilder requestBuilder = new RequestBuilder
 ( RequestBuilder.POST, url );
         requestBuilder.setHeader( Content-Type, application/x-www-
 form-urlencoded );
         String data = command=ajaxajaxclass= + ajaxClass +
 requestcommand= + requestCommand +  + requestCommand + = +
 URL.encodeComponent( requestData.toString() );
         requestBuilder.setHeader( Content-Length, String.valueOf
 ( data.length() ) );
         requestBuilder.sendRequest( data, requestCallback );
     }

 On Aug 24, 3:27 pm, Radu Grigore radugrig...@gmail.com wrote:

  On Aug 24, 10:41 pm, ca eyrie dk...@labvantage.com wrote:

   I have the following utility method that builds a RequestBuilder
   object and sends a request to the server. This works perfectly for
   IE7/8 and Chrome but with FireFox it seems that the data parameter of
   the sendRequest method is ignored.

  If you use POST then put *all* parameters in the post data (not in the
  url) and, of course, make sure that on the server side you process
  POST requests (as opposed to GET).
--~--~-~--~~~---~--~~
You received 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
-~--~~~~--~~--~--~---



why xml manipulations fails on server

2009-08-25 Thread Rahul

Hi,
I am getting an xml document as string from my client to the server.
On the server i want to declare a document and want to manipulate the
contents from the client, but whenever i am using Document or
XMLParser, my server code fails?

Does anyone knows the reason why any xml manipulations are failing on
the server side?

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



Re: XMLParser return carriage

2009-08-25 Thread Rahul

Hi,
First of all thanks a lot for the above posts because finally i found
some information about the problem i am facing.

I am not still not clear with the CDATA issue.

Here is what i want to do :

I am a big xml file, which i read from the client and i manipulate it
a little. On the client i need to remove the white spaces. now i to
save the xml file so i send it back to the server. Now i would like my
xml to be indented,
can you please suggest how to do so?


On Aug 8, 9:31 pm, Christian Goudreau goudreau.christ...@gmail.com
wrote:
 Simply retreive tag element insteant of tags element and do a for on
 elements ? replacing item(0) by item(i)

 Christian

 On Sat, Aug 8, 2009 at 1:29 PM, Nickelnext nickeln...@gmail.com wrote:

  Using the previous example, i mean that i would render that string in
  this way in a Label or HTML widget.

  tags
      tagcontent/tag
      tagmore content/tag
  /tags

  but i tried using String.replace (like : string.replace(, \n)
  or string.replace(, br /)) method using both the special
  chars \n and br / (using html widget) but none of them is
  working. Any idea?

  Thanks

  Nickelnext
--~--~-~--~~~---~--~~
You received 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: Adding white spaces to my xml

2009-08-25 Thread Rahul

Hi Dean
Thanks a lot for replying
The link you gave me made me more understand about the problem i am
facing.

But i am facing an problem presently here, all this code i need to
write at the server side. I am trying to create an Document in which i
can parse my string which i receive from the client. The server does
not allow me to create an Document, its always failing to do so . the
code is this:

Document x1 = XMLParser.parse(string);

I tired using
import org.w3c.dom.Document;
and '
import com.google.gwt.xml.client.Document;
library
but its still failing
any suggestions wht might be going wrong?

On Aug 25, 12:49 am, Dean S. Jones deansjo...@gmail.com wrote:
 http://faq.javaranch.com/java/HowToPrettyPrintXmlWithJava
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: why xml manipulations fails on server

2009-08-25 Thread Rahul

Hi,
Thanks for replying
I am using import org.w3c.dom.Document;
for creation of an document and its failing



On Aug 25, 12:28 pm, Manuel Carrasco Moñino
manuel.carrasc...@gmail.com wrote:
 I don't know which library are you using in server side, but If you are
 using gwt xml manipulation classes in server side they don't work because
 they uses browser's native methods.

 Manolo Carrasco

 On Tue, Aug 25, 2009 at 4:56 PM, Rahul coolrahul18...@gmail.com wrote:

  Hi,
  I am getting an xml document as string from my client to the server.
  On the server i want to declare a document and want to manipulate the
  contents from the client, but whenever i am using Document or
  XMLParser, my server code fails?

  Does anyone knows the reason why any xml manipulations are failing on
  the server side?

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



Re: Adding white spaces to my xml

2009-08-25 Thread Rahul

Hi,
I don't understand how come this issue is not related to gwt.GWT
parser which is import com.google.gwt.xml.client.XMLParser;
has a function to remove white spaces so its common sense for someone
to think that there are predefined functions in GWT which does the
reversed functionality of that, so that the xml file can be retrieved
and seen in a nice output manner.

Yeah, I agree i should not have posted the urgent tag, except that I
still agree this is an GWT issue.


On Aug 25, 7:07 am, Frank Argueta frank.argu...@gmail.com wrote:
 Perhaps you should learn Java and also learn how to solve your
 problems instead, especially if its urgent to you - which does not
 make your issue urgent to anyone else. Please stop posting questions
 not related to GWT on this forum.

 On Aug 24, 11:50 pm, Rahul coolrahul18...@gmail.com wrote:

  Hi,
  I got another writer XML Writer but i am still not able to add white
  spaces into it.

  For example: i want a file like this

  ns:transformerControl xmlns:ns=http://cbesb.bostechcorp.com/trn/
  1.1ns:formatsns:input format=xsd name=$
  {cbesb_jbi_sa_proj}::src/formats/jdbc_request.xsd
  root=jdbc_responsens:namespacesns:namespace prefix=cbns1
  url=http://cbesb.bostechcorp.com/jdbc/1.0//ns:namespaces/
  ns:inputns:output format=hl7 name=${cbesb_esb_proj}::v2_2//ORU
  root=ORUns:namespacesns:namespace prefix=tns url=http://
  cbesb.bostechcorp.com/hl7/v2_2//ns:namespaces/ns:output/
  ns:formatsns:operationListns:operation class=OpDatabase
  name=database type=classns:parametersns:property name=mode
  value=Setup/ns:property name=variable 
  value=Connection1/ns:property name=connectionType 
  value=1/ns:property

  name=connectionFile value=${cbesb_jbi_sa_proj}::src/database/
  connections/SQLServer.dbc/ns:property name=driverName 
  value=/ns:property name=URL value=/ns:property name=user 
  value=/
  ns:property name=password value=/ns:property name=autoCommit

  value=false/ns:property name=connectionRetries 
  value=3/ns:property name=connectionInterval value=3000//

  ns:parameters/ns:operationns:operation name=iterate type=built-
  inns:parametersns:source type=absolute path=jdbc_response/rows/
  row/ns:property name=context value=Context1//
  ns:parametersns:operationList

  to be converted like this
  ?xml version=1.0 encoding=utf-8?
  ns:transformerControl xmlns:ns=http://cbesb.bostechcorp.com/trn/
  1.1
    ns:formats
      ns:input format=xsd name=${cbesb_jbi_sa_proj}::src/formats/
  jdbc_request.xsd root=jdbc_response
        ns:namespaces
          ns:namespace prefix=cbns1 url=http://cbesb.bostechcorp.com/
  jdbc/1.0 /
        /ns:namespaces
      /ns:input
      ns:output format=hl7 name=${cbesb_esb_proj}::v2_2//ORU
  root=ORU
        ns:namespaces
          ns:namespace prefix=tns url=http://cbesb.bostechcorp.com/
  hl7/v2_2 /
        /ns:namespaces
      /ns:output
    /ns:formats
    ns:operationList
      ns:operation class=OpDatabase name=database type=class
        ns:parameters
          ns:property name=mode value=Setup /
          ns:property name=variable value=Connection1 /
          ns:property name=connectionType value=1 /
          ns:property name=connectionFile value=$
  {cbesb_jbi_sa_proj}::src/database/connections/SQLServer.dbc /
          ns:property name=driverName value= /
          ns:property name=URL value= /
          ns:property name=user value= /
          ns:property name=password value= /
          ns:property name=autoCommit value=false /
          ns:property name=connectionRetries value=3 /
          ns:property name=connectionInterval value=3000 /
        /ns:parameters
      /ns:operation
      ns:operation name=iterate type=built-in
        ns:parameters
          ns:source type=absolute path=jdbc_response/rows/row /
          ns:property name=context value=Context1 /
        /ns:parameters
        ns:operationList
          ns:operation cl

  any suggestions anyone?
  I need it to work urgently

  On Aug 24, 11:45 am, Rahul coolrahul18...@gmail.com wrote:

   Hi,
   Confirmation, i opened my generated xml in XML notepad 2007, it added
   white spaces automatically and then i saved and then send to the
   application, it was giving me the desired output

   how should i add white spaces to my xml in gwt? also would i need to
   add it on server side when i am saving the modified xml?

   Sincerely,
   Rahul

   On Aug 24, 11:22 am, Rahul coolrahul18...@gmail.com wrote:

Hi,
My gwt application modifies an xml document, and sends it to another
application where the output is generated. Now for parsing with gwt, i
had to remove the white spaces in it because if i didnt it was givin
me an error.

Now my application wants my generated xml to have whitespaces in it,
any idea how can I add whitespaces to my xml document through gwt?

Sincerely,
Rahul
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web

Re: Adding white spaces to my xml

2009-08-25 Thread Rahul

Hi
anywaz i am able to solve the problem thanks to Dean reply.

If anyone is facing the same problem they can directly contact me :)

On Aug 25, 1:27 pm, Rahul coolrahul18...@gmail.com wrote:
 Hi,
 I don't understand how come this issue is not related to gwt.GWT
 parser which is import com.google.gwt.xml.client.XMLParser;
 has a function to remove white spaces so its common sense for someone
 to think that there are predefined functions in GWT which does the
 reversed functionality of that, so that the xml file can be retrieved
 and seen in a nice output manner.

 Yeah, I agree i should not have posted the urgent tag, except that I
 still agree this is an GWT issue.

 On Aug 25, 7:07 am, Frank Argueta frank.argu...@gmail.com wrote:

  Perhaps you should learn Java and also learn how to solve your
  problems instead, especially if its urgent to you - which does not
  make your issue urgent to anyone else. Please stop posting questions
  not related to GWT on this forum.

  On Aug 24, 11:50 pm, Rahul coolrahul18...@gmail.com wrote:

   Hi,
   I got another writer XML Writer but i am still not able to add white
   spaces into it.

   For example: i want a file like this

   ns:transformerControl xmlns:ns=http://cbesb.bostechcorp.com/trn/
   1.1ns:formatsns:input format=xsd name=$
   {cbesb_jbi_sa_proj}::src/formats/jdbc_request.xsd
   root=jdbc_responsens:namespacesns:namespace prefix=cbns1
   url=http://cbesb.bostechcorp.com/jdbc/1.0//ns:namespaces/
   ns:inputns:output format=hl7 name=${cbesb_esb_proj}::v2_2//ORU
   root=ORUns:namespacesns:namespace prefix=tns url=http://
   cbesb.bostechcorp.com/hl7/v2_2//ns:namespaces/ns:output/
   ns:formatsns:operationListns:operation class=OpDatabase
   name=database type=classns:parametersns:property name=mode
   value=Setup/ns:property name=variable 
   value=Connection1/ns:property name=connectionType 
   value=1/ns:property

   name=connectionFile value=${cbesb_jbi_sa_proj}::src/database/
   connections/SQLServer.dbc/ns:property name=driverName 
   value=/ns:property name=URL value=/ns:property name=user 
   value=/
   ns:property name=password value=/ns:property name=autoCommit

   value=false/ns:property name=connectionRetries 
   value=3/ns:property name=connectionInterval value=3000//

   ns:parameters/ns:operationns:operation name=iterate type=built-
   inns:parametersns:source type=absolute path=jdbc_response/rows/
   row/ns:property name=context value=Context1//
   ns:parametersns:operationList

   to be converted like this
   ?xml version=1.0 encoding=utf-8?
   ns:transformerControl xmlns:ns=http://cbesb.bostechcorp.com/trn/
   1.1
     ns:formats
       ns:input format=xsd name=${cbesb_jbi_sa_proj}::src/formats/
   jdbc_request.xsd root=jdbc_response
         ns:namespaces
           ns:namespace prefix=cbns1 url=http://cbesb.bostechcorp.com/
   jdbc/1.0 /
         /ns:namespaces
       /ns:input
       ns:output format=hl7 name=${cbesb_esb_proj}::v2_2//ORU
   root=ORU
         ns:namespaces
           ns:namespace prefix=tns url=http://cbesb.bostechcorp.com/
   hl7/v2_2 /
         /ns:namespaces
       /ns:output
     /ns:formats
     ns:operationList
       ns:operation class=OpDatabase name=database type=class
         ns:parameters
           ns:property name=mode value=Setup /
           ns:property name=variable value=Connection1 /
           ns:property name=connectionType value=1 /
           ns:property name=connectionFile value=$
   {cbesb_jbi_sa_proj}::src/database/connections/SQLServer.dbc /
           ns:property name=driverName value= /
           ns:property name=URL value= /
           ns:property name=user value= /
           ns:property name=password value= /
           ns:property name=autoCommit value=false /
           ns:property name=connectionRetries value=3 /
           ns:property name=connectionInterval value=3000 /
         /ns:parameters
       /ns:operation
       ns:operation name=iterate type=built-in
         ns:parameters
           ns:source type=absolute path=jdbc_response/rows/row /
           ns:property name=context value=Context1 /
         /ns:parameters
         ns:operationList
           ns:operation cl

   any suggestions anyone?
   I need it to work urgently

   On Aug 24, 11:45 am, Rahul coolrahul18...@gmail.com wrote:

Hi,
Confirmation, i opened my generated xml in XML notepad 2007, it added
white spaces automatically and then i saved and then send to the
application, it was giving me the desired output

how should i add white spaces to my xml in gwt? also would i need to
add it on server side when i am saving the modified xml?

Sincerely,
Rahul

On Aug 24, 11:22 am, Rahul coolrahul18...@gmail.com wrote:

 Hi,
 My gwt application modifies an xml document, and sends it to another
 application where the output is generated. Now for parsing with gwt, i
 had to remove the white spaces in it because if i didnt it was givin
 me an error.

 Now my

XML to Pdf

2009-08-24 Thread Rahul

Hi,
Is there any project in gwt which would help me create xml reports to
pdf
if there isnt, can anyone guide me how can I integrate my gwt project
so that i can have pdf reports

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



Re: XML to Pdf

2009-08-24 Thread Rahul

Thanks David,
Being a novice in this, can you suggest some of the frameworks if can
do that for:
I know two of them:

a) Jasper reports
b) Apache FOP project

Though its not a direct GWT question, but as my GWT application wants
this functionality thanks for ur responses


On Aug 24, 10:21 am, David david.no...@gmail.com wrote:
 Hi,

 Generate the PDFs on the serverside with any framework you want. GWT
 has nothing to do with it, except that you will need to use the
 RequestBuilder to get the file downloaded (with content disposition
 header, to force a save as dialog).

 David

 On Mon, Aug 24, 2009 at 4:02 PM, Rahulcoolrahul18...@gmail.com wrote:

  Hi,
  Is there any project in gwt which would help me create xml reports to
  pdf
  if there isnt, can anyone guide me how can I integrate my gwt project
  so that i can have pdf reports

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



Re: Refresh page on loading

2009-08-24 Thread Rahul

Hi Ian,
Sorry for the late reply, I was out of office for last few days

here is part of the code
for ( j = 0; j  URLs.getLength()-1; j++)
{
v1[j] = new VerticalPanel();
String str = 
URLs.item(j).getAttributes().toString();
//  System.out.println(str);

tabpanel.add(v1[j],str.substring(13,16));

fucn(v1[j],str.substring(13,16),drag);

v1[j].setTitle(str.substring(13,16));
b1 = new Button (Submit);
b1.addClickHandler(handler2);
v1[j].add(b1);


//end of for loop
}


the button b1 is an public button

Sincerely,
Rahul

On Aug 20, 1:08 pm, Ian Bambury ianbamb...@gmail.com wrote:
 Hi Rahul,
 That seems very odd to me. If you want to post of send me some code, I'll
 have a look. I wouldn't know how to make my code do that if I wanted it to
 :-)

 Ian

 http://examples.roughian.com

 2009/8/19 Rahul coolrahul18...@gmail.com



  Hi Ian,

  Yes sure i can give an example from my code.
  I have a tab panel that has 7 tabs. Each tab has 10 composite widgets.
  Each composite widget is composed of a label and textbox. I creating
  these widgets and first adding them to all a vertical panel. Then at
  last i am adding an Submit button to each vertical panel. and then to
  the tabpanel.

  the first time i run my application, i see the submit button on the
  top of each tab above all the composite widgets, when i refresh it, it
  comes to the bottom, below all the composite widgets.

  Now the cascading tabs: Some of the composite widgets when click open
  into more composite widgets. I created those widgets as separate
  tabpanel. and did the same thing as earlier. Now the first time the
  program runs, the composite widgets for example label 3 (thinking i
  have ten composite widgets from Label 1 to label 10 and they should be
  placed in order from 1 to 10) is placed after label 10. when refreshed
  once, it comes to its right place which is after label2 and before
  label4.

  I hope I was more clearer this time, if not, please ask, ill elborate
  more

  On Aug 19, 2:36 pm, Ian Bambury ianbamb...@gmail.com wrote:
   Hi Rahul,
   For some reason I didn't get the email Chad has replied to.

   I'm sure there must be a way to create the layout you want in the right
   order first time. Do you have an example?

   Refreshing should create exactly the same effect as running it the first
   time (all other factors being equal - i.e. you are not setting a bookmark
  or
   anything like that)

   Also, I'm not sure I understand what you mean by 'cascading tabs'.

   Ian

  http://examples.roughian.com

   2009/8/19 Chad chad...@gmail.com

Rahul,

Instead of trying to refresh the page, you should probably defer the
loading of your buttons, labels, and tabs. Use a DeferredCommand for
making the call to the method(s) for creating those widgets. It sounds
like they are loading before something that they rely on loads.
Although, this may have no effect whatsoever. :-/

HTH,
Chad

On Aug 18, 9:32 am, Rahul coolrahul18...@gmail.com wrote:
 Hi,
 I am loading buttons in individual tabs of a tab panel. In the tab
 panel i have some labels in order and also some cascading tabs in
 order.
 The first time the page is loaded, the buttons (which i want at the
 bottom) are at the top of each tab and the cascading tabs which i
  want
 in order are at the bottom of each tab. But whenever i refresh the
 page once, everything comes to the place i want. So i figured that if
 i refresh the page once it has been loaded, i can get the widgets
 where i want them

 is this the right approach or theres a better way to do this ?

 On Aug 17, 11:06 pm, Ian Bambury ianbamb...@gmail.com wrote:

  Why do you want to reload the page as soon as it has just loaded?
  Can't you just get it right the first time?

  What do you want to happen the second time that didn't happen the
  first
  time?

  Ian

 http://examples.roughian.com

  2009/8/18 Rahul coolrahul18...@gmail.com

   HI Ian,
   thanks for replying
   i have started looking at some tutorials for javascript
   but i have some more confusion.

   all coding i did in gwt was in java in the client class, so for
  this
   functionality also i need to code in the client class? or not? i
  need
   to do javascript for tht. and if i can do in java, what is the
function
   ( because when searched it always shows me how to do

Adding white spaces to my xml

2009-08-24 Thread Rahul

Hi,
My gwt application modifies an xml document, and sends it to another
application where the output is generated. Now for parsing with gwt, i
had to remove the white spaces in it because if i didnt it was givin
me an error.

Now my application wants my generated xml to have whitespaces in it,
any idea how can I add whitespaces to my xml document through gwt?

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



Re: Adding white spaces to my xml

2009-08-24 Thread Rahul

Hi,
Confirmation, i opened my generated xml in XML notepad 2007, it added
white spaces automatically and then i saved and then send to the
application, it was giving me the desired output

how should i add white spaces to my xml in gwt? also would i need to
add it on server side when i am saving the modified xml?

Sincerely,
Rahul

On Aug 24, 11:22 am, Rahul coolrahul18...@gmail.com wrote:
 Hi,
 My gwt application modifies an xml document, and sends it to another
 application where the output is generated. Now for parsing with gwt, i
 had to remove the white spaces in it because if i didnt it was givin
 me an error.

 Now my application wants my generated xml to have whitespaces in it,
 any idea how can I add whitespaces to my xml document through gwt?

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



Re: Adding white spaces to my xml

2009-08-24 Thread Rahul

Hi,
I got another writer XML Writer but i am still not able to add white
spaces into it.

For example: i want a file like this

ns:transformerControl xmlns:ns=http://cbesb.bostechcorp.com/trn/
1.1ns:formatsns:input format=xsd name=$
{cbesb_jbi_sa_proj}::src/formats/jdbc_request.xsd
root=jdbc_responsens:namespacesns:namespace prefix=cbns1
url=http://cbesb.bostechcorp.com/jdbc/1.0//ns:namespaces/
ns:inputns:output format=hl7 name=${cbesb_esb_proj}::v2_2//ORU
root=ORUns:namespacesns:namespace prefix=tns url=http://
cbesb.bostechcorp.com/hl7/v2_2//ns:namespaces/ns:output/
ns:formatsns:operationListns:operation class=OpDatabase
name=database type=classns:parametersns:property name=mode
value=Setup/ns:property name=variable value=Connection1/
ns:property name=connectionType value=1/ns:property
name=connectionFile value=${cbesb_jbi_sa_proj}::src/database/
connections/SQLServer.dbc/ns:property name=driverName value=/
ns:property name=URL value=/ns:property name=user value=/
ns:property name=password value=/ns:property name=autoCommit
value=false/ns:property name=connectionRetries value=3/
ns:property name=connectionInterval value=3000//
ns:parameters/ns:operationns:operation name=iterate type=built-
inns:parametersns:source type=absolute path=jdbc_response/rows/
row/ns:property name=context value=Context1//
ns:parametersns:operationList


to be converted like this
?xml version=1.0 encoding=utf-8?
ns:transformerControl xmlns:ns=http://cbesb.bostechcorp.com/trn/
1.1
  ns:formats
ns:input format=xsd name=${cbesb_jbi_sa_proj}::src/formats/
jdbc_request.xsd root=jdbc_response
  ns:namespaces
ns:namespace prefix=cbns1 url=http://cbesb.bostechcorp.com/
jdbc/1.0 /
  /ns:namespaces
/ns:input
ns:output format=hl7 name=${cbesb_esb_proj}::v2_2//ORU
root=ORU
  ns:namespaces
ns:namespace prefix=tns url=http://cbesb.bostechcorp.com/
hl7/v2_2 /
  /ns:namespaces
/ns:output
  /ns:formats
  ns:operationList
ns:operation class=OpDatabase name=database type=class
  ns:parameters
ns:property name=mode value=Setup /
ns:property name=variable value=Connection1 /
ns:property name=connectionType value=1 /
ns:property name=connectionFile value=$
{cbesb_jbi_sa_proj}::src/database/connections/SQLServer.dbc /
ns:property name=driverName value= /
ns:property name=URL value= /
ns:property name=user value= /
ns:property name=password value= /
ns:property name=autoCommit value=false /
ns:property name=connectionRetries value=3 /
ns:property name=connectionInterval value=3000 /
  /ns:parameters
/ns:operation
ns:operation name=iterate type=built-in
  ns:parameters
ns:source type=absolute path=jdbc_response/rows/row /
ns:property name=context value=Context1 /
  /ns:parameters
  ns:operationList
ns:operation cl

any suggestions anyone?
I need it to work urgently


On Aug 24, 11:45 am, Rahul coolrahul18...@gmail.com wrote:
 Hi,
 Confirmation, i opened my generated xml in XML notepad 2007, it added
 white spaces automatically and then i saved and then send to the
 application, it was giving me the desired output

 how should i add white spaces to my xml in gwt? also would i need to
 add it on server side when i am saving the modified xml?

 Sincerely,
 Rahul

 On Aug 24, 11:22 am, Rahul coolrahul18...@gmail.com wrote:

  Hi,
  My gwt application modifies an xml document, and sends it to another
  application where the output is generated. Now for parsing with gwt, i
  had to remove the white spaces in it because if i didnt it was givin
  me an error.

  Now my application wants my generated xml to have whitespaces in it,
  any idea how can I add whitespaces to my xml document through gwt?

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



Re: Refresh page on loading

2009-08-20 Thread Rahul

Hi Ian,

Yes sure i can give an example from my code.
I have a tab panel that has 7 tabs. Each tab has 10 composite widgets.
Each composite widget is composed of a label and textbox. I creating
these widgets and first adding them to all a vertical panel. Then at
last i am adding an Submit button to each vertical panel. and then to
the tabpanel.

the first time i run my application, i see the submit button on the
top of each tab above all the composite widgets, when i refresh it, it
comes to the bottom, below all the composite widgets.

Now the cascading tabs: Some of the composite widgets when click open
into more composite widgets. I created those widgets as separate
tabpanel. and did the same thing as earlier. Now the first time the
program runs, the composite widgets for example label 3 (thinking i
have ten composite widgets from Label 1 to label 10 and they should be
placed in order from 1 to 10) is placed after label 10. when refreshed
once, it comes to its right place which is after label2 and before
label4.

I hope I was more clearer this time, if not, please ask, ill elborate
more




On Aug 19, 2:36 pm, Ian Bambury ianbamb...@gmail.com wrote:
 Hi Rahul,
 For some reason I didn't get the email Chad has replied to.

 I'm sure there must be a way to create the layout you want in the right
 order first time. Do you have an example?

 Refreshing should create exactly the same effect as running it the first
 time (all other factors being equal - i.e. you are not setting a bookmark or
 anything like that)

 Also, I'm not sure I understand what you mean by 'cascading tabs'.

 Ian

 http://examples.roughian.com

 2009/8/19 Chad chad...@gmail.com



  Rahul,

  Instead of trying to refresh the page, you should probably defer the
  loading of your buttons, labels, and tabs. Use a DeferredCommand for
  making the call to the method(s) for creating those widgets. It sounds
  like they are loading before something that they rely on loads.
  Although, this may have no effect whatsoever. :-/

  HTH,
  Chad

  On Aug 18, 9:32 am, Rahul coolrahul18...@gmail.com wrote:
   Hi,
   I am loading buttons in individual tabs of a tab panel. In the tab
   panel i have some labels in order and also some cascading tabs in
   order.
   The first time the page is loaded, the buttons (which i want at the
   bottom) are at the top of each tab and the cascading tabs which i want
   in order are at the bottom of each tab. But whenever i refresh the
   page once, everything comes to the place i want. So i figured that if
   i refresh the page once it has been loaded, i can get the widgets
   where i want them

   is this the right approach or theres a better way to do this ?

   On Aug 17, 11:06 pm, Ian Bambury ianbamb...@gmail.com wrote:

Why do you want to reload the page as soon as it has just loaded?
Can't you just get it right the first time?

What do you want to happen the second time that didn't happen the first
time?

Ian

   http://examples.roughian.com

2009/8/18 Rahul coolrahul18...@gmail.com

 HI Ian,
 thanks for replying
 i have started looking at some tutorials for javascript
 but i have some more confusion.

 all coding i did in gwt was in java in the client class, so for this
 functionality also i need to code in the client class? or not? i need
 to do javascript for tht. and if i can do in java, what is the
  function
 ( because when searched it always shows me how to do with javascript
 and not in java)

 On Aug 17, 6:00 pm, Ian Bambury ianbamb...@gmail.com wrote:
  2009/8/17 Rahul coolrahul18...@gmail.com

   Hi
   I want to refresh my webpage once after loading completely. I am
  using
   this code for this

      script language= JavaScript 
          function MyReload()
          {
                  window.location.reload();
          }
          /SCRIPT

   and calling
   Body onLoad= MyReload()   on body part of my html file

   but this is not working
   can anyone tell me where am i going wrong?

  First problem is that you are asking a JavaScript question in a GWT
  group
  :-)

  Second problem is that your webpage will loop, endlessly loading
  and
  reloading. This a pretty basic a mistake, so maybe it would be a
  good
 idea
  to search for some JavaScript tutorials or sign up to a JavaScript
  beginners' group.
--~--~-~--~~~---~--~~
You received 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: Posting back xml to server

2009-08-19 Thread Rahul

Hi
Would using the Fileupload widget or the gwtupload project solve my
purpose?


On Aug 18, 1:47 pm, Rahul coolrahul18...@gmail.com wrote:
 Hi,
 I want to retrieve an XML from the server to my client , changing
 values of that xml and want to send the modified xml back to the
 server.

 Presently i am successful in retrieving the xml and modifying the xml,
 but how to send it back?

 i am using:
 RequestBuilder builder5 = new RequestBuilder
 (RequestBuilder.POST,file.xml);

 to post it back to the server

 but this is not working
 can anyone tell me where am i going 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
-~--~~~~--~~--~--~---



Re: Posting back xml to server

2009-08-19 Thread Rahul

hi,
I am sorry if i was unclear with my issue( because i havent recieved
any replies yet)

I am getting an xml file from the server using RequestBuilder. Then I
am modifying the values of the xml and I would like to post back the
modified xml back to the server. So the next time i get the xml file,
i get the modified xml file.

I am able to get the file from server and successful modify it, but i
am not able to get how to send the modified xml back to server.
I have few options but i have reasons that they would not work:

a) one if to use gwtupload or fileupload widget, but they want a file
to specified i.e. the path and wht is the path of the xml file that
has been retrieved by the client?

b) From RequestBuilder, i think there should be a way from this where
the functionality can be done, but i am searchingt and not able to
find it

please help!!!


On Aug 19, 11:05 am, Rahul coolrahul18...@gmail.com wrote:
 Hi
 Would using the Fileupload widget or the gwtupload project solve my
 purpose?

 On Aug 18, 1:47 pm, Rahul coolrahul18...@gmail.com wrote:

  Hi,
  I want to retrieve an XML from the server to my client , changing
  values of that xml and want to send the modified xml back to the
  server.

  Presently i am successful in retrieving the xml and modifying the xml,
  but how to send it back?

  i am using:
  RequestBuilder builder5 = new RequestBuilder
  (RequestBuilder.POST,file.xml);

  to post it back to the server

  but this is not working
  can anyone tell me where am i going 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
-~--~~~~--~~--~--~---



Posting back xml to server

2009-08-18 Thread Rahul

Hi,
I want to retrieve an XML from the server to my client , changing
values of that xml and want to send the modified xml back to the
server.

Presently i am successful in retrieving the xml and modifying the xml,
but how to send it back?

i am using:
RequestBuilder builder5 = new RequestBuilder
(RequestBuilder.POST,file.xml);

to post it back to the server

but this is not working
can anyone tell me where am i going 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
-~--~~~~--~~--~--~---



Compilation failing

2009-08-17 Thread Rahul

Hi,
My web application was working fine when it was running in hosted
mode, as soon as i compiled it, i got this error

[ERROR] Uncaught exception escaped
java.lang.StringIndexOutOfBoundsException: String index out of range:
16
at java.lang.String.substring(Unknown Source)
at com.example.test10.client.Test10$4.onResponseReceived(Test10.java:
330)
at com.google.gwt.http.client.Request.fireOnResponseReceivedImpl
(Request.java:264)
at com.google.gwt.http.client.Request.fireOnResponseReceivedAndCatch
(Request.java:236)
at com.google.gwt.http.client.Request.fireOnResponseReceived
(Request.java:227)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:
103)
at com.google.gwt.dev.shell.ie.IDispatchImpl.callMethod
(IDispatchImpl.java:126)
at com.google.gwt.dev.shell.ie.IDispatchProxy.invoke
(IDispatchProxy.java:155)
at com.google.gwt.dev.shell.ie.IDispatchImpl.Invoke
(IDispatchImpl.java:294)
at com.google.gwt.dev.shell.ie.IDispatchImpl.method6
(IDispatchImpl.java:194)
at org.eclipse.swt.internal.ole.win32.COMObject.callback6
(COMObject.java:117)
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1925)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2966)
at com.google.gwt.dev.SwtHostedModeBase.processEvents
(SwtHostedModeBase.java:235)
at com.google.gwt.dev.HostedModeBase.pumpEventLoop
(HostedModeBase.java:558)
at com.google.gwt.dev.HostedModeBase.run(HostedModeBase.java:405)
at com.google.gwt.dev.HostedMode.main(HostedMode.java:232)


any suggestions how to remove this error ?
--~--~-~--~~~---~--~~
You received 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: Compilation failing

2009-08-17 Thread Rahul

Hi,
Some more information,
when i compile the project i am getting succesful output i.e.
Compiling module com.example.test10.Test10
   Compiling 6 permutations
  Permutation compile succeeded
   Linking into war
  Link succeeded
   Compilation succeeded -- 22.428s

but now when i run it i am gettin the error. And it was working fine
in the hosted mode


On Aug 17, 1:18 pm, Rahul coolrahul18...@gmail.com wrote:
 Hi,
 My web application was working fine when it was running in hosted
 mode, as soon as i compiled it, i got this error

 [ERROR] Uncaught exception escaped
 java.lang.StringIndexOutOfBoundsException: String index out of range:
 16
         at java.lang.String.substring(Unknown Source)
         at com.example.test10.client.Test10$4.onResponseReceived(Test10.java:
 330)
         at com.google.gwt.http.client.Request.fireOnResponseReceivedImpl
 (Request.java:264)
         at com.google.gwt.http.client.Request.fireOnResponseReceivedAndCatch
 (Request.java:236)
         at com.google.gwt.http.client.Request.fireOnResponseReceived
 (Request.java:227)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:
 103)
         at com.google.gwt.dev.shell.ie.IDispatchImpl.callMethod
 (IDispatchImpl.java:126)
         at com.google.gwt.dev.shell.ie.IDispatchProxy.invoke
 (IDispatchProxy.java:155)
         at com.google.gwt.dev.shell.ie.IDispatchImpl.Invoke
 (IDispatchImpl.java:294)
         at com.google.gwt.dev.shell.ie.IDispatchImpl.method6
 (IDispatchImpl.java:194)
         at org.eclipse.swt.internal.ole.win32.COMObject.callback6
 (COMObject.java:117)
         at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
         at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1925)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2966)
         at com.google.gwt.dev.SwtHostedModeBase.processEvents
 (SwtHostedModeBase.java:235)
         at com.google.gwt.dev.HostedModeBase.pumpEventLoop
 (HostedModeBase.java:558)
         at com.google.gwt.dev.HostedModeBase.run(HostedModeBase.java:405)
         at com.google.gwt.dev.HostedMode.main(HostedMode.java:232)

 any suggestions how to remove this error ?
--~--~-~--~~~---~--~~
You received 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: Compilation failing

2009-08-17 Thread Rahul

Hi thanks for the reply

I am using an Windows XP machine and i am developing in Eclipse using
the GWT toolkit. I am using the default google explorer which one gets
while using the hosted mode. Everything was running perfectly while i
was running it. But when i clicked on the Compile/Browse button the
application gave me this error.

The error is happenning in the following part of functionality. I am
parsing an xml document and storing its attributes in a string.Then i
am reading an substring from the main string. The line says string out
of index ( from searching on google) says that there is no character
of the string on that place. When checked now, the is no value being
stored presently in the string variable, which is odd, because i
created backup of the application before hitting on compile/browse
button and its still working fine with no errors.

any ideas how should i proceed.

On Aug 17, 2:16 pm, Ian Bambury ianbamb...@gmail.com wrote:
 What OS are you developing in? What browser are you testing the compiled
 code in?
 I suspect that you are not developing in Windows and are testing compiled
 code in IE. IE will report errors that other browsers don't (yeah I know
 'typical IE', but there again if it didn't report errors when it should that
 would be 'typical IE' too).

 If that is the case, then you need to compile with the  -PRETTY option and
 find out where the error is. Or try it on a Windows machine where you will
 get a proper error report.

 If not, then more information would be useful.

 Ian

 http://examples.roughian.com

 2009/8/17 Rahul coolrahul18...@gmail.com



  Hi,
  Some more information,
  when i compile the project i am getting succesful output i.e.
  Compiling module com.example.test10.Test10
    Compiling 6 permutations
       Permutation compile succeeded
    Linking into war
       Link succeeded
    Compilation succeeded -- 22.428s

  but now when i run it i am gettin the error. And it was working fine
  in the hosted mode

  On Aug 17, 1:18 pm, Rahul coolrahul18...@gmail.com wrote:
   Hi,
   My web application was working fine when it was running in hosted
   mode, as soon as i compiled it, i got this error

   [ERROR] Uncaught exception escaped
   java.lang.StringIndexOutOfBoundsException: String index out of range:
   16
           at java.lang.String.substring(Unknown Source)
           at
  com.example.test10.client.Test10$4.onResponseReceived(Test10.java:
   330)
           at com.google.gwt.http.client.Request.fireOnResponseReceivedImpl
   (Request.java:264)
           at
  com.google.gwt.http.client.Request.fireOnResponseReceivedAndCatch
   (Request.java:236)
           at com.google.gwt.http.client.Request.fireOnResponseReceived
   (Request.java:227)
           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
  Source)
           at java.lang.reflect.Method.invoke(Unknown Source)
           at
  com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:
   103)
           at com.google.gwt.dev.shell.ie.IDispatchImpl.callMethod
   (IDispatchImpl.java:126)
           at com.google.gwt.dev.shell.ie.IDispatchProxy.invoke
   (IDispatchProxy.java:155)
           at com.google.gwt.dev.shell.ie.IDispatchImpl.Invoke
   (IDispatchImpl.java:294)
           at com.google.gwt.dev.shell.ie.IDispatchImpl.method6
   (IDispatchImpl.java:194)
           at org.eclipse.swt.internal.ole.win32.COMObject.callback6
   (COMObject.java:117)
           at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native
  Method)
           at
  org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1925)
           at
  org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2966)
           at com.google.gwt.dev.SwtHostedModeBase.processEvents
   (SwtHostedModeBase.java:235)
           at com.google.gwt.dev.HostedModeBase.pumpEventLoop
   (HostedModeBase.java:558)
           at com.google.gwt.dev.HostedModeBase.run(HostedModeBase.java:405)
           at com.google.gwt.dev.HostedMode.main(HostedMode.java:232)

   any suggestions how to remove this error ?
--~--~-~--~~~---~--~~
You received 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: Compilation failing

2009-08-17 Thread Rahul

Hi
Some more information

I just checked that whenever i am compiling my application all the xml
files which i have stored war directory are deleted. So there are no
xml files and this is why i am getting the error. also is there any
way that those xml files are not deleted when i compiling?

But now i am hosting it on the tomcat server, where should i paste my
xml files. I pasted them C:\cbesb-2.1\tomcat\webapps\test10\test10,
( test 10 being my application name) but its not showing on the
browser.

any suggestions?


On Aug 17, 2:22 pm, Rahul coolrahul18...@gmail.com wrote:
 Hi thanks for the reply

 I am using an Windows XP machine and i am developing in Eclipse using
 the GWT toolkit. I am using the default google explorer which one gets
 while using the hosted mode. Everything was running perfectly while i
 was running it. But when i clicked on the Compile/Browse button the
 application gave me this error.

 The error is happenning in the following part of functionality. I am
 parsing an xml document and storing its attributes in a string.Then i
 am reading an substring from the main string. The line says string out
 of index ( from searching on google) says that there is no character
 of the string on that place. When checked now, the is no value being
 stored presently in the string variable, which is odd, because i
 created backup of the application before hitting on compile/browse
 button and its still working fine with no errors.

 any ideas how should i proceed.

 On Aug 17, 2:16 pm, Ian Bambury ianbamb...@gmail.com wrote:

  What OS are you developing in? What browser are you testing the compiled
  code in?
  I suspect that you are not developing in Windows and are testing compiled
  code in IE. IE will report errors that other browsers don't (yeah I know
  'typical IE', but there again if it didn't report errors when it should that
  would be 'typical IE' too).

  If that is the case, then you need to compile with the  -PRETTY option and
  find out where the error is. Or try it on a Windows machine where you will
  get a proper error report.

  If not, then more information would be useful.

  Ian

 http://examples.roughian.com

  2009/8/17 Rahul coolrahul18...@gmail.com

   Hi,
   Some more information,
   when i compile the project i am getting succesful output i.e.
   Compiling module com.example.test10.Test10
     Compiling 6 permutations
        Permutation compile succeeded
     Linking into war
        Link succeeded
     Compilation succeeded -- 22.428s

   but now when i run it i am gettin the error. And it was working fine
   in the hosted mode

   On Aug 17, 1:18 pm, Rahul coolrahul18...@gmail.com wrote:
Hi,
My web application was working fine when it was running in hosted
mode, as soon as i compiled it, i got this error

[ERROR] Uncaught exception escaped
java.lang.StringIndexOutOfBoundsException: String index out of range:
16
        at java.lang.String.substring(Unknown Source)
        at
   com.example.test10.client.Test10$4.onResponseReceived(Test10.java:
330)
        at com.google.gwt.http.client.Request.fireOnResponseReceivedImpl
(Request.java:264)
        at
   com.google.gwt.http.client.Request.fireOnResponseReceivedAndCatch
(Request.java:236)
        at com.google.gwt.http.client.Request.fireOnResponseReceived
(Request.java:227)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
   Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at
   com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:
103)
        at com.google.gwt.dev.shell.ie.IDispatchImpl.callMethod
(IDispatchImpl.java:126)
        at com.google.gwt.dev.shell.ie.IDispatchProxy.invoke
(IDispatchProxy.java:155)
        at com.google.gwt.dev.shell.ie.IDispatchImpl.Invoke
(IDispatchImpl.java:294)
        at com.google.gwt.dev.shell.ie.IDispatchImpl.method6
(IDispatchImpl.java:194)
        at org.eclipse.swt.internal.ole.win32.COMObject.callback6
(COMObject.java:117)
        at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native
   Method)
        at
   org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1925)
        at
   org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2966)
        at com.google.gwt.dev.SwtHostedModeBase.processEvents
(SwtHostedModeBase.java:235)
        at com.google.gwt.dev.HostedModeBase.pumpEventLoop
(HostedModeBase.java:558)
        at 
com.google.gwt.dev.HostedModeBase.run(HostedModeBase.java:405)
        at com.google.gwt.dev.HostedMode.main(HostedMode.java:232)

any suggestions how to remove this error ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed

Refresh page on loading

2009-08-17 Thread Rahul

Hi
I want to refresh my webpage once after loading completely. I am using
this code for this

script language= JavaScript 
function MyReload()
{
window.location.reload();
}
/SCRIPT

and calling
Body onLoad= MyReload()   on body part of my html file

but this is not working
can anyone tell me where am i going 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
-~--~~~~--~~--~--~---



Re: Compilation failing

2009-08-17 Thread Rahul

thanks for the reply
i just checked that my application is running on IE
but its not running on firefox


On Aug 17, 3:23 pm, Lucas Neves Martins snown...@gmail.com wrote:
 You can try a debug from the entry point,

 check all the places where you replace layouts onto the html page.

 I don't know if your app contains sensitive data or information, but
 if not, post some code - or the whole code - so I can help you.

 Best if luck!

 On 17 ago, 15:53, Rahul coolrahul18...@gmail.com wrote:

  Hi
  Some more information

  I just checked that whenever i am compiling my application all the xml
  files which i have stored war directory are deleted. So there are no
  xml files and this is why i am getting the error. also is there any
  way that those xml files are not deleted when i compiling?

  But now i am hosting it on the tomcat server, where should i paste my
  xml files. I pasted them C:\cbesb-2.1\tomcat\webapps\test10\test10,
  ( test 10 being my application name) but its not showing on the
  browser.

  any suggestions?

  On Aug 17, 2:22 pm, Rahul coolrahul18...@gmail.com wrote:

   Hi thanks for the reply

   I am using an Windows XP machine and i am developing in Eclipse using
   the GWT toolkit. I am using the default google explorer which one gets
   while using the hosted mode. Everything was running perfectly while i
   was running it. But when i clicked on the Compile/Browse button the
   application gave me this error.

   The error is happenning in the following part of functionality. I am
   parsing an xml document and storing its attributes in a string.Then i
   am reading an substring from the main string. The line says string out
   of index ( from searching on google) says that there is no character
   of the string on that place. When checked now, the is no value being
   stored presently in the string variable, which is odd, because i
   created backup of the application before hitting on compile/browse
   button and its still working fine with no errors.

   any ideas how should i proceed.

   On Aug 17, 2:16 pm, Ian Bambury ianbamb...@gmail.com wrote:

What OS are you developing in? What browser are you testing the compiled
code in?
I suspect that you are not developing in Windows and are testing 
compiled
code in IE. IE will report errors that other browsers don't (yeah I know
'typical IE', but there again if it didn't report errors when it should 
that
would be 'typical IE' too).

If that is the case, then you need to compile with the  -PRETTY option 
and
find out where the error is. Or try it on a Windows machine where you 
will
get a proper error report.

If not, then more information would be useful.

Ian

   http://examples.roughian.com

2009/8/17 Rahul coolrahul18...@gmail.com

 Hi,
 Some more information,
 when i compile the project i am getting succesful output i.e.
 Compiling module com.example.test10.Test10
   Compiling 6 permutations
      Permutation compile succeeded
   Linking into war
      Link succeeded
   Compilation succeeded -- 22.428s

 but now when i run it i am gettin the error. And it was working fine
 in the hosted mode

 On Aug 17, 1:18 pm, Rahul coolrahul18...@gmail.com wrote:
  Hi,
  My web application was working fine when it was running in hosted
  mode, as soon as i compiled it, i got this error

  [ERROR] Uncaught exception escaped
  java.lang.StringIndexOutOfBoundsException: String index out of 
  range:
  16
          at java.lang.String.substring(Unknown Source)
          at
 com.example.test10.client.Test10$4.onResponseReceived(Test10.java:
  330)
          at 
  com.google.gwt.http.client.Request.fireOnResponseReceivedImpl
  (Request.java:264)
          at
 com.google.gwt.http.client.Request.fireOnResponseReceivedAndCatch
  (Request.java:236)
          at com.google.gwt.http.client.Request.fireOnResponseReceived
  (Request.java:227)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
  Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown 
  Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
 Source)
          at java.lang.reflect.Method.invoke(Unknown Source)
          at
 com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:
  103)
          at com.google.gwt.dev.shell.ie.IDispatchImpl.callMethod
  (IDispatchImpl.java:126)
          at com.google.gwt.dev.shell.ie.IDispatchProxy.invoke
  (IDispatchProxy.java:155)
          at com.google.gwt.dev.shell.ie.IDispatchImpl.Invoke
  (IDispatchImpl.java:294)
          at com.google.gwt.dev.shell.ie.IDispatchImpl.method6
  (IDispatchImpl.java:194)
          at org.eclipse.swt.internal.ole.win32.COMObject.callback6
  (COMObject.java:117

Prevent duplication of records on refresh

2009-08-17 Thread Rahul

Hi,
I am reading values from the database(sql server) and then showing
them on my webpage. Reading is done on the server side and showing
them its on the client side.

The problem i am facing is that whenever i refresh the page, all the
values get duplicated on the web page and it keeps going on.

How should i proceed to prevent this? would it be a javascript module
i need to put in? or a java code in my client?


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



  1   2   >