Re: Timer / Progress bar on a form to show countdown.

2009-02-17 Thread Litty Preeth
Well using the Timer you can periodically request the server for the time remaining and update the count down Label. But this will require may be a server call in every min or few seconds. But I think the better approach is to get the remaining time at the first load and using a Timer to deduct a s

Re: Web link on a widget

2009-02-12 Thread Litty Preeth
May be you can look at the Anchor widget On Thu, Feb 12, 2009 at 8:34 PM, Piotre Ugrumov wrote: > > Hi, > I have a simple question, how can I assign a web link on a widget? > > I have an url as http://www.google.it how can I assign this url to a > click on a widget? > Does it exist a simple meth

Re: Hard problem: detecting url change in a gwt Frame (or iframe)

2009-02-11 Thread Litty Preeth
Yes u are right, you need to use GWT History mechanism. On Thu, Feb 12, 2009 at 5:37 AM, Max wrote: > > HI,all, > Is there a way to detect url change in a gwt Frame? I used > geturl > () but it didn't detect new url when users click on a link in the > Frame. Maybe i need to mess up with gwt

Re: Id property on a Button

2009-02-11 Thread Litty Preeth
button.getElement().setId("btn_1"); On Thu, Feb 12, 2009 at 4:45 AM, Ruku wrote: > > Does anyone know how to set the id property of a button? I am adding > buttons to a panel with a for loop. I want each button to get a > different Id so I can act differently for each button. Does anyone > know

Re: Popup panel over the cursor

2009-02-06 Thread Litty Preeth
int posLeft = event.getScreenX(); if ((posLeft + popupWidth) > (Window.getClientWidth() + Window .getScrollLeft())) posLeft = posLeft - (posLeft + popupWidth - (Window.getClientWidth() + Window .getScrollLef

Re: Deploying GWT application (WAR)

2009-02-06 Thread Litty Preeth
to deploy the app. > > Thanks again for your support! > Best regards. > > On 6 fév, 06:07, Litty Preeth wrote: > > Well for web application you dont give the user a WAR file, but you > deploy > > the war file on a server machine (where you have an application server &g

Re: Best image preloading practice?

2009-02-06 Thread Litty Preeth
> > > "You are thinking of loading 20MB of images into the DHTML DOM of you > > application" > > > Am I? Does the DOM keep them there even when not displayed? > > These images certainly wouldnt be displayed all at once. 1 or 2 at a > > time at most. > > I'm not absolutely sure, but I think if you l

Re: Call event after an other

2009-02-05 Thread Litty Preeth
I dont think you can change the order of the vents. But here may be what you can do is in the Class B have a flag indicating the running of onChnage and when onChnage is complete set this flag. Now in Class A onClick wait till the Class B flag is set and then only start handling the onClick logic.

Re: onclick event for inline text

2009-02-05 Thread Litty Preeth
You can use a HTML widget and around the particular word you can place anchor tags with onclick handler. On Fri, Feb 6, 2009 at 5:11 AM, vroom_vroom wrote: > > I should say, the way i am planning to do it is to use labels for the > words i want to be able to click on and use ccs to try and make

Re: onClick event for inline text

2009-02-05 Thread Litty Preeth
Well you can make tht particular word into a seperate Label and give click listener to the label. On Fri, Feb 6, 2009 at 4:58 AM, vroom_vroom wrote: > > this seams like it would be incredibly easy and straight forward, but > after an hour of looking i had to post. I have a bunch of text in a > p

Re: Deploying GWT application (WAR)

2009-02-05 Thread Litty Preeth
Well for web application you dont give the user a WAR file, but you deploy the war file on a server machine (where you have an application server like Tomcat installed) and then give the url of the application to the user. User will use his browser to open ur URL. - litty On Fri, Feb 6, 2009 at 4

Re: ScrollPanel maxWidth or maxHeight?

2009-02-05 Thread Litty Preeth
there is some max-height CSS property. But dont know if it works. On Thu, Feb 5, 2009 at 8:59 PM, alex.d wrote: > > > > On 5 Feb., 16:10, gregor wrote: > > Hi Alex, > > > > I think you have to explicitly specify the height of a ScollPanel in > > pixels to get the scroll bars to kick in, and that

Re: how to add items in tree from database after immediately inserting new items

2009-02-05 Thread Litty Preeth
If the data insertion call is happening from some UI action then in the onSuccess of insertion call you can tell the tree to update itself. If that is not possible then your tree can check for any updates proactively using a Timer. On Thu, Feb 5, 2009 at 3:47 PM, kanan wrote: > > I'm using tree

Re: unable to remove widget from a vertical panel

2009-02-04 Thread Litty Preeth
May be if you post the part of code then we can see if ur loop has any issues. On Wed, Feb 4, 2009 at 9:32 PM, marce_liz wrote: > > hi I've been working with gwt since the last year, well my problem is > that I have a VerticalPanel with widgets but when i want to remove > them from my VerticalPa

Re: Javascript in HTML blocks

2009-02-04 Thread Litty Preeth
And also checkout that the tag is broken into two: sScript = sScript + ""; If you dont do that then also it wont work. On Thu, Feb 5, 2009 at 9:59 AM, Litty Preeth wrote: > RootPanel.get().add(this); > HTML html = new HTML(); > this.add(html); >

Re: Javascript in HTML blocks

2009-02-04 Thread Litty Preeth
RootPanel.get().add(this); HTML html = new HTML(); this.add(html); String sHTML=""; String sScript="

Re: Javascript in HTML blocks

2009-02-04 Thread Litty Preeth
t javascript in this way, we may > ask the user to put all it's javascript code in one place and load > this as an external js script file. But this would be seen (at least > by me ;-) ) as a less flexible solution... > > S. > > On 4 fév, 12:21, Litty Preeth wrote: > >

Re: Javascript in HTML blocks

2009-02-04 Thread Litty Preeth
May I know why u want this? On Wed, Feb 4, 2009 at 3:41 PM, sgaide wrote: > > Hi, > > I'm looking for a clear answer about the possibility to inject > javascript into the DOM using HTML widget. > I have found two threads about this, with no definitive answers: > >

Re: Opening a new browser window in gwt

2009-02-04 Thread Litty Preeth
Hi Manish, I think I got the problem. When I used the following code in IE Window.open( "http://google.com";, "*My Window*", "menubar=yes,location=yes,resizable=yes,scrollbars=yes,status=yes" ); It was giving me script error (U ll c tht only if script error notification is enabled). But when I u

Re: Opening a new browser window in gwt

2009-02-04 Thread Litty Preeth
Well I copy pasted your same code and it worked. Just check if the url is valid. Also check if popup is not disabled. On Wed, Feb 4, 2009 at 3:59 PM, Manish Kumar wrote: > Hi everybody, > > I am trying to open a new browser window on click. I am trying this line of > code but this does work ( no

Re: Capture ctrl + mouse click event on grid

2009-02-04 Thread Litty Preeth
I think event.getCtrlKey() is the function for you. - Litty On Wed, Feb 4, 2009 at 3:23 PM, Mikhail M wrote: > I need to capture the ctrl + mouse click event on grid. > Any suggestions regarding this are welcome. > Thanks > > > > --~--~-~--~~~---~--~~ You receiv

Re: How to capture the mouse Double click event?

2009-02-04 Thread Litty Preeth
Follow this thread: http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/c1d7fd8f7f0f9a0f# On Wed, Feb 4, 2009 at 1:53 PM, Prashant wrote: > > I need to capture the mouse double click event on the widget that is > attached to the RootPanel.Event.ONDBLCLICK isn't working fine.An

Re: how to catch the double click event

2009-02-04 Thread Litty Preeth
they are returned from 2 > different fields in Event: > > > > if(event.getButton() == Event.BUTTON_RIGHT) > > > > if(event.getTypeInt() == Event.ONDBLCLICK) > > > > Hope that helps > > //J > > > > > > > > arun wrote: > > > no..

Re: how to catch the double click event

2009-02-03 Thread Litty Preeth
No the constants for both are different... Event.ONCLICK and Event. ONDBLCLICK On Wed, Feb 4, 2009 at 12:44 PM, arun wrote: > > i have a requirement to catch the double click event. i am catching > right click too. but both event are getting mixed up. only right click > is working fine. Thsi may

Re: Starting with GWT - Error compiling GWT-RPC Class

2009-02-03 Thread Litty Preeth
[ERROR] Errors in 'file:/Users/viniciuscarvalho/ > > Documents/Caravela/ > spotlight/gwt-bundle/src/org/openspotlight/client/OSLApplication.java' > [ERROR] Line 5: *The import > org.openspotlight.server.**GWTServiceImpl cannot be resolved* Plz see the line in bold. It says that your client c

Re: data returned from Async call... how to use it?

2009-01-29 Thread Litty Preeth
Either you can set the Label text inside the onSuccess method itself... For this you can make the Label a member variable OR you can the set the value you retrieved frm the server to a member variable and use it later On Fri, Jan 30, 2009 at 5:59 AM, keith.m...@gmail.com wrote: > > Hi > I'm

Re: How to insert/create data nto database using Hibernate?

2009-01-28 Thread Litty Preeth
You are posting in the wrong forum... On Wed, Jan 28, 2009 at 12:19 PM, Srihari.Ch wrote: > > > Hi all, > > I need to know basics of Hibernate about creating hibernate > methods/classes to retrieve and save data to and from the database. > > > I am new to Hibernate. Send me .. it'

Re: what widget to display status?

2009-01-28 Thread Litty Preeth
Litty. > I added css to the Label and it does look better. But still wondering > if this is the best practice to implement a status Widget for users. > > Thanks again, > Tony > > On Jan 28, 7:16 am, Litty Preeth wrote: > > You can make the label "pretty" using

Re: Error Message

2009-01-28 Thread Litty Preeth
u shud use setWidget not add. On Wed, Jan 28, 2009 at 8:00 PM, fatjack1...@googlemail.com < fatjack1...@googlemail.com> wrote: > > The items should be added to a FlexTable and the FlexTable is being > added to a ScrollPanel. > > > On Jan 28, 1:24 pm, Litty Preeth wrote:

Re: Problem with anchor on image

2009-01-28 Thread Litty Preeth
Put style="height: 20px; display: block;" to all the anchor tags. On Wed, Jan 28, 2009 at 4:22 AM, drbethel wrote: > > I am having an issue with the anchor tags on this page I am working > on. If I remove the anchor tags then it looks like what I want but if > I replace the tags then it leaves

Re: Error Message

2009-01-28 Thread Litty Preeth
What is the type of Panel you are using? On Wed, Jan 28, 2009 at 3:39 AM, fatjack1...@googlemail.com < fatjack1...@googlemail.com> wrote: > > Does anyone know which method/panel I should be using? > > > On Jan 27, 10:01 pm, Jason Essington > wrote: > > What ever type of panel you are attempting

Re: Automatically updating data

2009-01-28 Thread Litty Preeth
May be some of the Event Listeners will help you... But I dnt really follow your problem... Can you explain a bit more? On Wed, Jan 28, 2009 at 1:25 AM, fatjack1...@googlemail.com < fatjack1...@googlemail.com> wrote: > > Hi, > > I wonder if anyone can help me. I am trying to get a box with an > A

Re: what widget to display status?

2009-01-28 Thread Litty Preeth
You can make the label "pretty" using CSS. - Litty On Tue, Jan 27, 2009 at 11:23 PM, tony.p.. wrote: > > Hello all, > > I'm developing a gwt app and in it I want to display error messages, > status, etc... to the user in a widget. I want to display it in a gray > color, to distinguish it from t

Re: Help with RPC, database and properties file

2009-01-27 Thread Litty Preeth
s this web.xml from my .java file in the server > package?? > > thanks > > On 27 ene, 05:37, Litty Preeth wrote: > > Are you sure the application is able to find the properties file? Did u > try > > debugging and find out this? Also the best way to configure ur conne

Re: Help with RPC, database and properties file

2009-01-26 Thread Litty Preeth
192.168.31.41 . . - litty preeth On Tue, Jan 27, 2009 at 6:39 AM, Fitch wrote: > > Hi, i´m devloping a GWT web application and i´m having problems > deploying it. > My application does interact with a database, so i have got a client > package and a server package. The

Re: Multiple same buttons

2009-01-25 Thread Litty Preeth
While creating the table rows you can do something like: for (int i=0; i wrote: > > Moreover the way i m using the buttons is > > Button []but = new Button[x]; > > > and in every table i add the following but[y] ( 0<= y < x ) > > > the question remains though. > > > ty. > > > --~--~-~--~

Re: tree item horizontal scroll moves by itself

2009-01-25 Thread Litty Preeth
There are bugs reported on GWT for these scrollbar moving issues... you may check them out if they r relevent to ur case... On Fri, Jan 23, 2009 at 10:08 PM, rookie wrote: > > Hi, > I've tree in scroll panel. When user selects tree item, horizontal > scroll moves to right. Scrollbar should not m

Re: Question about Panels

2009-01-25 Thread Litty Preeth
Yes flex table would be a good option. On Sat, Jan 24, 2009 at 6:15 PM, sshah wrote: > > Hello: > > I am just getting starting with GWT and have a question about the > various panels. > > I need to create a form that has multiple columns. What is a good way > to create multiple column form? I tr

Re: Setting the DialogBox to popup at the center

2009-01-25 Thread Litty Preeth
Just call DialogBox.center() It will center the Dialogbox and show it. On Sun, Jan 25, 2009 at 10:34 AM, Joshua Partogi wrote: > > Dear all, > > Does anyone know how to make the DialogBox to popup at the center of > the screen? I could not find a method for figuring out the width and > height of

Re: gray effect when dialogbox appears

2009-01-23 Thread Litty Preeth
search the forum u ll get posts on this. On Fri, Jan 23, 2009 at 1:14 PM, ramesh chiluveri wrote: > > Hai All, > > I want to transparent background window when dialog box shown. > i think we have solutions to this. > > please give me your suggestions. > > > > > > --~--~-~--~~---

Re: The method forName(String) is undefined for the type Class !!!

2009-01-22 Thread Litty Preeth
-web-toolkit-doc-1-5&t=RefJreEmulation - Litty Preeth On Fri, Jan 23, 2009 at 8:45 AM, keith.m...@gmail.com wrote: > > Hi > I'm pretty new at the GWT, but have been using java for a few years. > For whatever reason, I simply CANNOT get around this dumb error. > Every exa

Re: Filling a form

2009-01-21 Thread Litty Preeth
tried this so I dont have much details, may be you can google more on this. I have seen posts related to this on this forum also. - Litty Preeth On Wed, Jan 21, 2009 at 10:13 PM, jucimarjr wrote: > > Hi, > > I would like to know if is possible (with gwt) the fields that I'

Re: tree item and focus

2009-01-21 Thread Litty Preeth
get sender) { Window.*alert*("Focus lost"); item.setText(box.getText()); } }); } } *public* *void* onTreeItemStateChanged(TreeItem item) { // *TODO

Re: GWT with Linux Ubuntu 8.10

2009-01-20 Thread Litty Preeth
plication on Windows, that folder "tomcat" is > automatically created! > > Thanks! > > On Jan 20, 10:42 am, "Litty Preeth" wrote: > > Hi Muhannad, > > > > You can keep the context parameters in your web.xml itself. > > > > - Litty Preeth

Re: GWT with Linux Ubuntu 8.10

2009-01-20 Thread Litty Preeth
Hi Muhannad, You can keep the context parameters in your web.xml itself. - Litty Preeth On Tue, Jan 20, 2009 at 1:53 PM, Muhannad wrote: > > Hello! > Any body's here??! > > On Jan 19, 10:58 am, Muhannad wrote: > > Hi, > > > > I'm trying to develo

Re: tree item and focus

2009-01-19 Thread Litty Preeth
May be you should first select the treeitem and then change the String item into a TextBox item. - Litty Preeth On Mon, Jan 19, 2009 at 9:32 PM, David Durham wrote: > > On Thu, Jan 8, 2009 at 11:53 AM, todd.sei...@gmail.com > wrote: > > > > Whenever I see problems like thi

Re: TreeNode Listener issues

2009-01-19 Thread Litty Preeth
Hi manish, May be you can explain a bit more about your issue. You hav just posted some code and did not tell what you want and what you get. Also if you think this is GWT EXT related issue post in their forum, you ll get more responses. - Litty Preeth On Mon, Jan 19, 2009 at 8:46 PM, Manish

Re: ListBox

2009-01-19 Thread Litty Preeth
You can add a ChangeListener to the list box, and put ur logic in onChange() method. Refer the java docs for getting the selected item and all. - Litty On Mon, Jan 19, 2009 at 1:14 PM, Venkat wrote: > > Hi All, > > Please guide me.. > > I would like to display the selected item of listbox in a

Re: How to show our widget in new window

2009-01-18 Thread Litty Preeth
Why do u want to open a popup in new window? On Fri, Jan 16, 2009 at 3:01 PM, ramesh chiluveri wrote: > > Hai All, > > I have requirement like , i want to show my popup panel in a new > window when application loads. > > is there any way to show our widgets in a new window. > > i think we have wi

Re: Necessary .class files in order to deploy a GWT application

2009-01-15 Thread Litty Preeth
Well if your ..server code references any ..client code then you ll need to include tht also in the WEB-INF/classes. An example may be java bean classes shared by both server and client. - Litty Preeth On Thu, Jan 15, 2009 at 6:58 PM, Rafael wrote: > > ¡Hello People! > > I was f

Re: exchange data between pages

2009-01-14 Thread Litty Preeth
://code.google.com/docreader/#p=google-web-toolkit-doc-1-5&s=google-web-toolkit-doc-1-5&t=GettingStartedRPC Regards, Litty Preeth On Wed, Jan 14, 2009 at 7:09 PM, newlis wrote: > > The solution seems really nice!! > But because of lack of knowledge of HttpServletRequests i cound

Re: Inconsistent behavior with insertRow and removeRow

2009-01-14 Thread Litty Preeth
It ofcourse decreases the size but the size variable you are initializing before the removal and you are using the previousely stored value in the for loop condition. Either you shud call the getRowCount() in each loop or put a break after the deletion. - Litty Preeth On Wed, Jan 14, 2009 at 4

Re: How to enable enter key for a button

2009-01-14 Thread Litty Preeth
Well you must be adding keyboard listener to the textboxes, not to the button. - Litty Preeth On Wed, Jan 14, 2009 at 3:55 PM, newlis wrote: > > This is what i m do. What is wrong? > > public Login() { > > > > > . >

Re: exchange data between pages

2009-01-14 Thread Litty Preeth
I assume that you are using RemoteServiceServlet. In ur login service implementation put, HttpServletRequest request = this.getThreadLocalRequest(); HttpSession session = request.getSession(); session.setAttribute("username",userName); And in the main application Service implementation you can re

Re: Gwt application deployment

2009-01-13 Thread Litty Preeth
If you hav to make jdbc entries in web.xml depends on your implementation. What is the error you are getting? - Litty Preeth On Wed, Jan 14, 2009 at 5:30 AM, jredick wrote: > > Hi, > first of all i am sorry if this is a stupid question :) > I am pretty new on using gwt. I wr

Re: How to enable enter key for a button

2009-01-13 Thread Litty Preeth
(true); } }); - Litty Preeth On Wed, Jan 14, 2009 at 5:28 AM, newlis wrote: > > hello i have tried also without success. > Any other solutions? > > > --~--~-~--~~~---~--~~ You received this message because you are subscr

Re: exchange data between pages

2009-01-13 Thread Litty Preeth
Cant you store the username to the HttpSession ? - Litty Preeth On Wed, Jan 14, 2009 at 5:25 AM, newlis wrote: > > Hello I m making a two level application. > > By this i mean that i have made a separate login application > > and in another folder i have made my main applica

Re: KeyboardListener help

2009-01-13 Thread Litty Preeth
. have a class that extends may be the AbsolutePanel and add sinkEvents and onBrowserEvent to that. Now add your widgets to this panel and add this panel to ur RootPanel. I think tht shud work. Hope this helps. Regards, Litty Preeth On Fri, Jan 9, 2009 at 1:40 AM, Alfred S wrote: > > This

Re: Refreshing the Page

2009-01-13 Thread Litty Preeth
What is ur logic for showing the login page? Is it tht the onmoduleload is showing the login page? I think may be you should check for a valid session before showing the login page... On Mon, Jan 12, 2009 at 3:43 PM, Sandy wrote: > > Hi, > > I am creating a web portal, I have required to refresh

Re: how to hide / show a panel by clicking on a button

2008-12-29 Thread Litty Preeth
If what you want is something like this: http://gwt.google.com/samples/Showcase/Showcase.html#CwDisclosurePanel then may be you can use the DisclosurePanel widget. - Litty Preeth On Mon, Dec 29, 2008 at 4:01 PM, rajasekhar wrote: > > Hi All, > > how to hide /sho

Re: Listbox Listener

2008-12-29 Thread Litty Preeth
What do you mean by "position"? You mean the "x" of data[x][0] for the current selected index? For that may be you can add the elements to the ListBox in the order of array then the listBox.getSelectedIndex() is the x you want or if its not possible then while creating the LB you can add the value

Re: Listbox Listener

2008-12-28 Thread Litty Preeth
May be you shud add a ChangeListener to the ListBox element and implement ur logic in the onChange() method. On Mon, Dec 29, 2008 at 12:13 PM, jake H wrote: > > Hellooo > i m wondering how can i implement a ListBox listener. > > I save my data into an 2-dimension array. > > In the ListBox i m sh

Re: how to implement history mechanism for tree structure

2008-12-14 Thread Litty Preeth
Have a historyListener in the class having the reference to borderlayoutpanel. Then onCLick of the tree button u can fire History.newItem("sometoken") In the onHistoryChange() you check for the token and refresh the central panel accordingly. Hope this helps. - Litty Preeth On S

Re: dialogBox.hide() is not working

2008-12-11 Thread Litty Preeth
you dnt hav to call dialogBox.center() and show() both... if you want to centralize ur dialogBox then u can call dialogBox.center() alone. It will both centralize ur dialogbox and shows it. And I think the DialogBox class itself has a mouseListener for dragging. So it could be tht the mouse events

Re: TextBox listener for contents changed?

2008-12-11 Thread Litty Preeth
If you want to be notified for each char change then you should use onKeyUp else if you want to process the text after all the text has been entered then u shud use onChange of ChangeListener. On Thu, Dec 11, 2008 at 10:51 PM, David Hoffer wrote: > > Is this better than using onKeyUp() ? What

Re: How to size VerticalSplitPanel contents?

2008-12-11 Thread Litty Preeth
did u try css width: 100% height:100% - Litty On Thu, Dec 11, 2008 at 10:48 PM, dhoffer wrote: > > I have a VerticalSplitPanel that contains a Tree in the top panel and > TextArea in the bottom panel. How can I make the top & bottom panels > fill all available space? > > Currently the tree is

Re: How to have a layered panel?

2008-12-11 Thread Litty Preeth
Hey Make sure that the contents of the popup is put into a ScrollPanel. Coz if you disable the window scrolling and the popup size goes beyond the screen size then the overflowing popup area will get hidden. - Litty On Thu, Dec 11, 2008 at 2:13 AM, rakesh wagh <[EMAIL PROTECTED]> wrote: > > Yup

Re: change default style

2008-12-11 Thread Litty Preeth
Its done as: .gwt-SmallTree { } .gwt-SmallTree .gwt-TreeItem { } .gwt-SmallTree .gwt-TreeItem-selected { } .gwt-BigTree { } .gwt-BigTree .gwt-TreeItem { } .gwt-BigTree .gwt-TreeItem-selected { } - Litty Preeth On Thu, Dec 11, 2008 at 3:53 PM, ArunDhaJ <[EMAIL PROTECTED]> wrote: >

Re: TextBox listener for contents changed?

2008-12-10 Thread Litty Preeth
ChangeListener is the right one On Thu, Dec 11, 2008 at 7:06 AM, David Hoffer <[EMAIL PROTECTED]> wrote: > > It looks like KeyboardListenerAdapter's onKeyUp will do what I need. > > -Dave > > On Wed, Dec 10, 2008 at 5:50 PM, dhoffer <[EMAIL PROTECTED]> wrote: > > Does anyone know how to confi

Re: How can I hide the border of richtextarea?

2008-12-08 Thread Litty Preeth
both IE and firefox, then may be u can try setting a solid 1px border, this ll give u "somewhat" similar looknfeel for IE n firefox. - Litty Preeth On Mon, Dec 8, 2008 at 8:23 PM, <[EMAIL PROTECTED]> wrote: > Thank you for your reply,but this way doesn't work. > >

Re: problem in getting window size in IE

2008-12-08 Thread Litty Preeth
with the glass popup panel. Thnx, Litty Preeth On Mon, Dec 8, 2008 at 7:53 PM, olivier FRESSE <[EMAIL PROTECTED]>wrote: > Hi, > I'm not sure to understand what you're trying to do,but at least, I know > that you can't set a size on a popup panel :-) > It

problem in getting window size in IE

2008-12-08 Thread Litty Preeth
ns only with IE. In firefox this works fine. I tried using RootPanel.get().getOffsetWidth() instead of Window.*getClientWidth*() but with no luck. This occurs irrespective of the window having a scrollbar or not. - Litty Preeth --~--~-~--~~~---~--~~ You received this me

Re: How to have a layered panel?

2008-12-08 Thread Litty Preeth
ent like view of the > underlying data, informing the user that the screen has been disabled. > Is Lightbox etc the only way? If so, would i be interfacing that call > into GWT using native code? > > On Dec 8, 2:19 am, "Litty Preeth" <[EMAIL PROTECTED]> wrote: > &g

Re: How to use a GWT client to send messages to a JMS queue

2008-12-07 Thread Litty Preeth
Well I suppose u ll have to do the JMS connection at the server side only. Send the data from the form fields to server through RPC, then inside the RPC service method, create the message using the data, get the connection to the JMS queue and send the message. - Litty Preeth On Mon, Dec 8, 2008

Re: How can I hide the border of richtextarea?

2008-12-07 Thread Litty Preeth
May be you should try DOM.setStyleAttribute(rta.getElement(), "border", "0px"); On Sun, Dec 7, 2008 at 3:12 PM, lichking.zz <[EMAIL PROTECTED]> wrote: > > Hi,all > > I try to hide the border by using: > > RichTextArea rta = new RichTextArea(); > rta.getElement().setAttribute("frameborder", "no");

Re: How to have a layered panel?

2008-12-07 Thread Litty Preeth
Ry googling "Glass panel","light box effect", "panel fade" etc... U ll get lots of examples... On Sun, Dec 7, 2008 at 1:05 PM, olivier FRESSE <[EMAIL PROTECTED]>wrote: > CSS is probably the way to go. > A simple panel with a good css style may do the trick : > > some samples here : > http://dev.o

Re: how to refresh panel

2008-12-05 Thread Litty Preeth
I dont see any issues here... I have never used GWT-EXT so if there is any problems in usage of BorderLayoutPanel thn i wont be able to say I suppose that u are seeing the alerts in the onSUccess and all May be u can try first removing the old panel from the center and then adding the new p

Re: viewport resize listener

2008-12-05 Thread Litty Preeth
;wrote: > > yeah, but it is defined as: > > Definition and Usage > The onresize event occurs when a window or frame is resized. > > which I took to mean what we already get with WindowResizeListener, > and not that it fires when an individual element grows or shrinks. > &

Re: how to refresh panel

2008-12-05 Thread Litty Preeth
deal in this?? Or may be I am not getting ur point :-( Regards, Litty Preeth On Fri, Dec 5, 2008 at 5:38 PM, rajasekhar <[EMAIL PROTECTED]> wrote: > > These methods are in LeftContainer and CenterContainer classes. > > CenterContainer class : > public class CenterPar

Re: viewport resize listener

2008-12-05 Thread Litty Preeth
There is an onresize event in javascript. As per the doc the following tags support this event: , , , , , , , , , , , , , , , , , , to , , , , , , , , , , , , , , , , , , , , , , , , Do you hav any idea if I can use this one? - Litty Preeth On Fri, Dec 5, 2008 at 6:29 PM, gregor <[EM

Re: how to refresh panel

2008-12-05 Thread Litty Preeth
Whr are these methods written? - public Panel leftPanel(String s) & public Panel centerPanel(String s) On Fri, Dec 5, 2008 at 3:48 PM, rajasekhar <[EMAIL PROTECTED]> wrote: > > Hi Preeth, > > In my case it is diffrent because I am adding these two > classes to main class. > > LeftSi

Re: how to refresh panel

2008-12-04 Thread Litty Preeth
ontainer(String text) { // Create new center } } Hope this helps. Thanks, Litty Preeth On Thu, Dec 4, 2008 at 3:13 PM, rajasekhar <[EMAIL PROTECTED]> wrote: > > Hi Preeth, > > > Thank you for reply.But

Re: viewport resize listener

2008-12-04 Thread Litty Preeth
document size got changed. (BTW i have a windowresize listener on the glass panel so that part is take care of.) Hope this explains my problem. Thanks, Litty Preeth On Thu, Dec 4, 2008 at 4:57 PM, gregor <[EMAIL PROTECTED]> wrote: > > I'm not sure I understand your situation r

Re: how to refresh panel

2008-12-03 Thread Litty Preeth
To the class implementing contents of the left-side panel, give a handle to the BorderLayoutPanel itself. Now in the onClick you can refresh the center panel of the BorderLayoutPanel. Thanks and Regards, Litty Preeth On Wed, Dec 3, 2008 at 11:33 PM, rajasekhar <[EMAIL PROTECTED]> wrote:

Re: viewport resize listener

2008-12-03 Thread Litty Preeth
At run time I add widgets to the page which causes the size of the panel (scrollable size) to change. Regards, Litty Preeth On Wed, Dec 3, 2008 at 7:22 PM, gregor <[EMAIL PROTECTED]> wrote: > > Oh, I see. How is the size of your RootPanel changed then if not by > changing

Re: viewport resize listener

2008-12-03 Thread Litty Preeth
WindowResizeListener will listen for window resize events only. It wont be invoked if ur scrollable page size is changed. It ll be notified only if the WINDOW itself is mazximized, resized etc. Regards, Litty Preeth On Wed, Dec 3, 2008 at 4:31 PM, gregor <[EMAIL PROTECTED]> wrote: > &

Re: viewport resize listener

2008-12-02 Thread Litty Preeth
Hi friends, Anybody has any ideas on this? Thanks and Regards, Litty Preeth On Dec 2, 4:42 pm, "Litty Preeth" <[EMAIL PROTECTED]> wrote: > Hi All, > > Anybody know how to implement a viewport resize listener? Basically I have a > glass panel (light box effect).

Re: ListBox + FlexTable + How to maintain value in ListBox

2008-12-02 Thread Litty Preeth
-construct the listbox. -Litty Preeth On Dec 3, 8:14 am, Suri <[EMAIL PROTECTED]> wrote: > Hey all, >  - I've got a ListBox added to a cell in a FlexTable. > - The FlexTable has a TableListener, and when the cell contain the > ListBox is clicked, an RPC call is made that returns

viewport resize listener

2008-12-02 Thread Litty Preeth
Hi All, Anybody know how to implement a viewport resize listener? Basically I have a glass panel (light box effect). I want to notify this glass panel whenever my RootPanel size gets changed so that I can resize my glass panel to fillup the area. Regards, Litty Preeth

Re: disable hyperlink

2008-11-27 Thread Litty Preeth
S for your link-button should look something like this: >> > .button-link { >> > cursor: pointer; >> > cursor: hand; >> > border: none; >> > /* Disable the button-style */ >> > background-color: transparent; >> > padding: 0px; >&

Re: disable hyperlink

2008-11-27 Thread Litty Preeth
you wanna your >> clickListener not being executed - just remove it(use a single >> listener method - not an anonymous inner class). >> >> On 26 Nov., 17:03, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> >> wrote: >> > It's a littl

disable hyperlink

2008-11-26 Thread Litty Preeth
Hi, Anybody knows how we can disable a HyperLink in GWT? Regards, Litty Preeth --~--~-~--~~~---~--~~ 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-W

Re: Exception handling in GWT Service

2008-11-23 Thread Litty Preeth
I think you shud hav a no argument constructor for ur exception tooo On Sun, Nov 23, 2008 at 11:28 AM, satya <[EMAIL PROTECTED]> wrote: > > Hi, > > Can i pass exceptions between client and server. > Can i have an RPC serice with method that throw an user defined > exception and handle that ex

Re: variable argument type in RPC service

2008-11-21 Thread Litty Preeth
WT compiler)... A better > option is to just go with the > old 1.4 syntax: > > doSomething(param1, new String[] { "String 1", "String 2" }); > > although it's the same expense as varargs, it plays nicely with RPC. > > Litty Preeth wrote: > > Hi

variable argument type in RPC service

2008-11-21 Thread Litty Preeth
Hi all, Anybody have any idea how to use variable length argument (like String...) in an RPC service. Coz the corresponding async service should have AsyncCallback as its last argument. But when we use variable type argument that should be the last argument of the method. Thanks, Litty Preeth

Re: Problem in redirecting to differnet page

2008-11-19 Thread Litty Preeth
Why do u want to open a new window? You can create the Home UI using GWT and then add this to the RootPanel. - Litty Preeth On Wed, Nov 19, 2008 at 8:11 PM, zubair <[EMAIL PROTECTED]> wrote: > > Hi All, > > I want to redirect to the different page after successfull > authen

Re: authentication in GWT

2008-11-19 Thread Litty Preeth
ing back-end stores for > your realm data (JDBC, e.g.). In the worst case, you can roll your > own realm component (one Java class) and plug it in to the container's > security stack. What is your application server? > > Walden > > On Nov 18, 11:14 pm, "Litty Preet

Re: authentication in GWT

2008-11-18 Thread Litty Preeth
hentication *protocol*, which is where the simplicity/economy is to > be had. > > Walden > > On Nov 18, 10:40 am, "Litty Preeth" <[EMAIL PROTECTED]> wrote: > > Actually my applications authentication is done by a third party. I need > to > > call their AP

Re: authentication in GWT

2008-11-18 Thread Litty Preeth
> > wrote: > > > > You could try the simplest thing that could possibly work...HTTP > > Authentication: let the existing security stack earn its keep. > > > > Walden > > > > On Nov 18, 6:52 am, "Litty Preeth" <[EMAIL PROTECTED]> wrote:

Re: authentication in GWT

2008-11-18 Thread Litty Preeth
27;re confident with Spring (Security) && GWT the lack of > documentation won't block you :-/ > > > > > On Tue, Nov 18, 2008 at 12:52 PM, Litty Preeth <[EMAIL PROTECTED]> > wrote: > > Hi All, > > > > What should be the best authenti

  1   2   >