Re: opening new page

2009-04-05 Thread bhanu
Hi, Thanks sir for the reply.I need to use to use form.setAction ("newpage"); Because it has to bring the values from login page to newpage. when I used form.setAction("newpage") I got the the runtime error saying newpage-gwt.xml could not find in classpath. So my doubt is, for each page do I nee

Re: Why doesn't work my form?

2009-04-05 Thread milcsi04
Hi! My code here: gwt.xml: client side code: final FormPanel formPanel = new FormPanel(); formPanel.setEncoding(FormPanel.ENCODING_MULTIPART); formPanel.setMethod(FormPanel.METHOD_POST); formPanel.setAction(GWT.getModuleBa

Re: Connecting to database with eclipse

2009-04-05 Thread Cryssyenddo
I found two web.xml in my project files, first one in tomcat -> conf -> gwt which has a long list of session mapping and mime mapping second web.xml file is in tomcat -> webapps -> ROOT -> WEB-INF which looks like this: shell com.google.gwt.dev.shell

Re: Connecting to database with eclipse

2009-04-05 Thread Vitali Lovich
I dunno about the JDBC configuration, but you're servlet mapping seems wrong - it should, AFAIK, point to your RPC class, not some GWT class (unless that's what you called it?). As for setting up JDBC with tomcat, a simple google search should help you. On Sun, Apr 5, 2009 at 5:00 AM, Cryssyendd

Re: Connecting to database with eclipse

2009-04-05 Thread Cryssyenddo
Do you mean this part?: shell com.google.gwt.dev.shell.GWTShellServlet I was wondering if changed these mapping, would be able to test run my GWT app in hosted mode? On the other hand, I thought i just need to point to my RPC class in my module xml as

Re: Connecting to database with eclipse

2009-04-05 Thread Vitali Lovich
The gwt.xml is for the gwt framework & is used, I believe, during the compilation phase so that the compiler generates the appropriate RPC calls & knows how to compile your code. How are you planning on running your app in hosted mode through compiled javascript deployed in tomcat? Contradiction

Re: Connecting to database with eclipse

2009-04-05 Thread Cryssyenddo
Thanks, but when i applied the changes...here's what i got: HTTP Status 404 - /vCarePortal.DiscussionBoard/DiscussionBoard.html type Status report message /vCarePortal.DiscussionBoard/DiscussionBoard.html descrip

Re: How to get internal widget to notify its parent widget when clicked (and have the parent execute something)

2009-04-05 Thread gregor
Hi matttai, unless you have a big reason to do so, I would avoid sinking/unsinking events etc. I would go for one of two options: 1. if the inner widget is *only* ever used by the parent (owned by parent only), then you can make it an inner class of the parent widget. This is convenient since yo

Re: Connecting to database with eclipse

2009-04-05 Thread Cryssyenddo
oh, by the way, i got these errors too: [WARN] Parse error in application web.xml org.xml.sax.SAXParseException: Error at (12, 20: Invalid DiscussionBoard/DiscussionBoardServices in servlet mapping at org.apache.commons.digester.Digester.createSAXException (Digester.java:2540) at

Is this gwt webapp good for seo?

2009-04-05 Thread Paul van Hoven
I developped a webapp with GWT. The webapp has the following functionality: 1) A search functionality: i)Startpage of my webapp is a custom SearchWidget (extended from DecoratorPanel). The user enters some Parameters and clicks on Search. ii) When the search is completed, the user is redirected (v

Re: Why doesn't work my form?

2009-04-05 Thread Thomas Broyer
On 5 avr, 10:43, milcsi04 wrote: > >                 final FormPanel formPanel = new FormPanel(); >                 formPanel.setEncoding(FormPanel.ENCODING_MULTIPART); >                 formPanel.setMethod(FormPanel.METHOD_POST); >                 formPanel.setAction(GWT.getModuleBaseURL() + "

Which images are being displayed

2009-04-05 Thread Shivi
Hi I am trying to implement this new functionality in an online shop that sells watches using AJAX and GWT. I am displaying a list of products in a scrollPanel. What I need to do is this:- Imagine there being 100 products. I populate the scoll panel with information about those 100 products i

lazyPanel, where should i setVisible to true

2009-04-05 Thread asianCoolz
Hi, I read http://googlewebtoolkit.blogspot.com/2008/11/improving-performance-with-on-demand.html on lazypanel, may i know where should I put setVisible(true) if my scenario is "i want to lazy load stackpanel" ? --~--~-~--~~~---~--~~ You received this message

Re: Which images are being displayed

2009-04-05 Thread Shivi
Another explanation of my problem:- I want to pre-fetch the images around (on either side of) the currently viewed ones If the user (say) drags the scroll bar a long way up or down out of my pre-fetch window I am no longer pre-fetching and need to get what the user has dragged to now ..so that I

Re: Which images are being displayed

2009-04-05 Thread Shivi
or maybe this is what I need to do: To find out which particular set of rows of the flexTable are visible in the current view port (window being displayed to the user ) of the user. does anyone know how I could do this? Thanks again Shivi On Apr 5, 3:46 pm, Shivi wrote: > Another explanation

Anyone know what an NS_ERROR_NOT_AVAILABLE is?

2009-04-05 Thread Ian Bambury
Here's the full error text (NS_ERROR_NOT_AVAILABLE): Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIXMLHttpRequest.statusText] QueryInterface: function QueryInterface() { [native code] } result: 2147746065 filename: http://kivivi.com/Kivivi/F70A2E28EEB11C134EB9B1C3

GWT for Solaris

2009-04-05 Thread Peter Ondruška
Hello, Are there any plans to provide GWT for Solaris? If not is it OK to request this by creating bug a let vote/star for it? Thanks, Peter --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" gro

Re: Problem with GWT Widget Printing

2009-04-05 Thread Freller
The beauty of open source! I haven't migrated to 1.5 yet, so this error is new to me. We will jump directly to 1.6. The Print class boil down to : public static void it(String html) { try { buildFrame(html); DeferredCommand.add(printFrameCommmand); } c

flexTable rows displayed in Viewport

2009-04-05 Thread Shivi
Hi How can I find out which particular rows of the FlexTable are viewable in the view-port. So if we have a panel inside which I have a FlexTable with say 100 rows. Currently in the view-port if say user can see the 5th, 6th and 7th row.. how can I know that these rows are being displayed? how

adding listener when scrollBar has finished scrolling

2009-04-05 Thread Shivi
I need to add a listener to the scroll bar when it has finished scrolling. This is because sometimes user scrolls down fast and sometimes user could be scrolling slowly. My listener to the scrollbar populates rows of a flexTable as the user scrolls. When a user scrolls slowly, then it is good t

Re: How do I implement NodeList?

2009-04-05 Thread scottland.yo...@googlemail.com
Nevermind, got it sorted: Document termsDom = XMLParser.parse(myXmlText); NodeList termsList = termsDom.getElementsByTagName("Result"); for (int i = 0; i < termsList.getLength(); i++) { Element results = (Element) termsList.item(i); String result =

Android RPC Problem

2009-04-05 Thread Evan Ruff
Hey guys, I'm trying to test out a simple little RPC guy using my G1. The service works as expected on any of the desktop browsers, but when I got to dispatch my RPC call from the G1, I get a service failed alert on the client (aka, I hit the onFailure portion of the AsyncCallback) and I get a "S

Re: Android RPC Problem

2009-04-05 Thread Evan Ruff
ANNND, I'm a moron. I've got 1.5.3 sitting there, but it's compiling against 1.5.2. Sorry guys!!! I'll upgrade and I'm sure that'll fix the issues. PHEW Evan On Apr 5, 2:13 pm, Evan Ruff wrote: > Hey guys, > > I'm trying to test out a simple little RPC guy using my G1. The > service wor

Re: Android RPC Problem

2009-04-05 Thread Evan Ruff
Works perfectly. Sorry guys, my fault. E On Apr 5, 2:17 pm, Evan Ruff wrote: > ANNND, I'm a moron. > > I've got 1.5.3 sitting there, but it's compiling against 1.5.2. > > Sorry guys!!! > > I'll upgrade and I'm sure that'll fix the issues. > > PHEW > > Evan > > On Apr 5, 2:13 pm, Evan Ruff

django forms - JSONRPC API - progress

2009-04-05 Thread lkcl
the basic plan is to provide a generic JSONRPC front-end to Django forms which could conceivably become a de-facto interoperability standard for web 2.0 applications to create, validate and store data in "forms". i've just added "describe" and "describe_errors". http://pyjamas.svn.sourceforge.ne

Re: GWT for Solaris

2009-04-05 Thread hazy1
Wow, you actually develop on Solaris? I think your kind will soon be extinct. You realize that GWT runs just fine on Solarisright? On Apr 5, 12:02 pm, Peter Ondruška wrote: > Hello, > > Are there any plans to provide GWT for Solaris? If not is it OK to > request this by creating bug a let

Re: Announcing GWT 1.6 RC2

2009-04-05 Thread Ken
You fixed the "Embedded Jetty is unable to run JSP files" issue, awesome! Thank you so much! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web

Re: Easiest way to package a library with optional features requiring a sub-library?

2009-04-05 Thread John Gunther
Sorry, for late reply, I just saw your post. I think you are correct. But, my goal is to eliminate the need for users to physically add the extra JAR file associated with the optional library to their project (unless they need the optional features it provides). What I want is: o Just 1 JAR d

Security Verfication of normalized data submitted by client to server

2009-04-05 Thread M Shannon
Hi All, I have a database-backed data model for my application in third normal form. e.g USER table: ID NAME ORDER table: ID USER_ID ORDER_LINE table: ID ORDER_ID DESCRIPTION AMOUNT CUSTOM_FIELD I'm intending on user dozer to m

Re: Security Verification of normalized data submitted by client to server

2009-04-05 Thread Matt (AUS)
Sorry for the typo in subject line! On Apr 6, 12:33 pm, M Shannon wrote: > Hi All, > > I have a database-backed data model for my application in third normal > form. > > e.g > > USER table: > > ID > NAME > > ORDER table: > > ID > USER_ID > > ORDER_LINE t

Security verification of normalized data submitted by client to server.

2009-04-05 Thread M Shannon
Hi All, I have a database-backed data model for my application in third normal form. e.g USER table: ID NAME ORDER table: ID USER_ID ORDER_LINE table: ID ORDER_ID DESCRIPTION AMOUNT CUSTOM_FIELD I'm intending on user dozer to map

guide on using third party tool to create CSS

2009-04-05 Thread studproc
any step by step guideliness or procedures on how to use third party tools like dreamweaver..etc to come out GWT templates? I want to know in detail how designer work with gwt developer ? what files required by designers? --~--~-~--~~~---~--~~ You received this mess

Re: Gwt

2009-04-05 Thread jagadesh
i tried to work out according to Adam, here is the sample widget i created , public class SampleWidget extends Composite implements SourcesLoadEvents { private LoadListenerCollection loadListener; public void addLoadListener(LoadListener listener) { if(loadListener==null) {

Re: GWT for Solaris

2009-04-05 Thread Vitali Lovich
Uggh - I remember the pain of that well. Had to use it on the school's solaris lab last year. *shudder* On Sun, Apr 5, 2009 at 9:29 PM, hazy1 wrote: > > Wow, you actually develop on Solaris?  I think your kind will soon be > extinct. > > You realize that GWT runs just fine on Solarisright?

Re: GWT for Solaris

2009-04-05 Thread Peter Ondruška
Thank you. Shall I download GWT for Mac or Linux? I will try Linux and will let you know if it really runs on Open/Solaris. Peter 2009/4/6, hazy1 : > > Wow, you actually develop on Solaris? I think your kind will soon be > extinct. > > You realize that GWT runs just fine on Solarisright? > >

Re: Newbie question

2009-04-05 Thread redzedi
Thanks Paul !! On Apr 3, 7:03 pm, Paul Robinson wrote: > redzediwrote: > > Hi All, > >    Here are a couple of elementary questions, pardon me if they sound > > very naive but i really really need to know the answer :- > > > 1. why do we need to do a setEndPoint on the client-side stub we get >