Re: Drag and Drop to a RichTextArea / IFrame?

2012-08-06 Thread gangurg gangurg
is there a solution for this ? How do we do drag and drop in richTextArea On Wed, Oct 26, 2011 at 9:55 AM, Derek wrote: > I'm trying out some of the fun drag-and-drop stuff in GWT. My current > attempt is to drag a file into a richtextarea, but nothing seems to be > working correctly. It works f

Re: RichTextArea on IE7 insert after enter typed

2012-01-17 Thread gangurg gangurg
Any thoughts Team ? On Thu, Jan 12, 2012 at 12:01 PM, gangurg gangurg wrote: > > Thanks for pitching in . This is the Issue . I am trying to do some > formatting as well as recognizing text . > In firefox and chrome after you type in a word in the rich text area and > press ent

Re: RichTextArea on IE7 insert after enter typed

2012-01-12 Thread gangurg gangurg
Thanks for pitching in . This is the Issue . I am trying to do some formatting as well as recognizing text . In firefox and chrome after you type in a word in the rich text area and press enter , you would notice that the result html has br tag where as in IE it is tag . Basically , i just want

Re: RichTextArea on IE7 insert after enter typed

2012-01-11 Thread gangurg gangurg
Is there a solution for this issue On Thu, Aug 27, 2009 at 10:05 AM, Troll wrote: > > I'm having the same problem, no one managed to solve? > > --~--~-~--~~~---~--~~ > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit"

DOM replace Child

2011-11-18 Thread gangurg gangurg
This seems to work in Firefox but not in IE . Any ideas ? Element el = //Some Widgets element. el.getParentElement().replaceChild(newWidget.getElement(), el); //newWidget is not attached to DOM . its a dynamically created widget -- You received this message because you are subscribed to the Goo

Re: Basic JavaScript onClick not getting called from inside GWT richTextarea

2011-11-09 Thread gangurg gangurg
Its not possible to use Anchor and ClickHandlers inside RichTextArea directly . I could convert the anchor to element , but again events would not get intercepted . On Wed, Nov 9, 2011 at 9:09 AM, Danny Kirchmeier wrote: > No idea. Seems to me that you should be using an Anchor and ClickHandler

Re: Basic JavaScript onClick not getting called from inside GWT richTextarea

2011-11-09 Thread gangurg gangurg
Any thoughts ? On Mon, Nov 7, 2011 at 1:58 PM, gangurg gangurg wrote: > > The following code works fine if i do HTML = new HTML(" onclick=window.test()>Hi 123I'); ( Meaning HelloWorld gets Printed ) > But the same HTML from inside a RichTextArea does not get printed .

Re: Basic JavaScript onClick not getting called from inside GWT richTextarea

2011-11-07 Thread gangurg gangurg
Yes i Did . As i posted , earlier this works from a standalone HTML . if this is embedded inside the RichTextArea then onClick is not getting fired . I am thinking it could be because of the Iframe On Mon, Nov 7, 2011 at 8:48 PM, Danny Kirchmeier wrote: > Did you ever call exportMyFunction2? >

Re: Basic JavaScript onClick not getting called from inside GWT richTextarea

2011-11-07 Thread gangurg gangurg
Folks just a small type in the post , I do window.call instead of window.test(). Still have the same issue . Any thoughts . On Mon, Nov 7, 2011 at 1:58 PM, gangurg gangurg wrote: > > The following code works fine if i do HTML = new HTML(" onclick=window.test()>Hi 123I'); (

Basic JavaScript onClick not getting called from inside GWT richTextarea

2011-11-07 Thread gangurg gangurg
The following code works fine if i do HTML = new HTML("Hi 123I'); ( Meaning HelloWorld gets Printed ) But the same HTML from inside a RichTextArea does not get printed . I am doing missing something here MyPanel { RichTextArea ss = new RichTextArea (); ss.stHTML("Hi 123I"); pu

Re: Click Events not getting attached

2011-10-26 Thread gangurg gangurg
How to use them as Widgets ? On Wed, Oct 26, 2011 at 10:04 AM, Akash Gupta wrote: > ya use them as widgets instead of elements, if you want to retain the > listeners. > > > On Wed, Oct 26, 2011 at 10:13 PM, Jeff Larsen wrote: > >> Why do you need to get widgets as elements? >> >> Why not just

Re: Click Events not getting attached

2011-10-25 Thread gangurg gangurg
Any thoughts on the question below ? On similar lines , How to retain Widgets Events after the widget is added as an Element . I could add widget as an Element but loose the fact that dont get events attached to the widget . Is there any work around for this ? -- You received this message becaus

Click Events not getting attached

2011-10-24 Thread gangurg gangurg
public class MyPanel extends AbsolutePanel implements HasClickHandlers { public MyPanel (Element elem) { super(elem. cast()); onAttach(); } @Override public HandlerRegistration addClickHandler(ClickHandler handler) { return addDomHandler(handler

JSRange.insertNode

2011-10-22 Thread gangurg gangurg
Folks , I am trying to solve this native Java Script issue on IE but unable to . Any thoughts on this . what am trying to achieve here is add a widget into a text area . In Firefox this seems to work fine . //Element = new VerticalPanel().getElement(); private native void addNode(JSRange range

Parsing Words in a Text Area

2011-10-20 Thread gangurg gangurg
In one of my text area widgets , I do want to provide a mechanism where as the user types in a word , i replace the word with a more relevant technical term from my dictionary of words . Was thinking about something like create word boundaries ( comma, space , quotes etc ) . when you identify t

Re: Thoughts on Adding Widgets

2011-10-14 Thread gangurg gangurg
Good Idea , I will ponder my head on this one . On Thu, Oct 13, 2011 at 9:55 PM, -sowdri- wrote: > Did you thought about using HTMLPanel, with handlers for keyboard input? > such that you can have a complete control over the area and this will also > enable you to add any kind of widget dynami

Thoughts on Adding Widgets

2011-10-12 Thread gangurg gangurg
Posted a similar question before but could not get any concrete answer for this . Now the problem is back to haunt me again . Would appreciate any help on this , especially with 2.4 GWT APi avilaible , just want to check back with you guys If this is even possible . Basically what I want to do

CEll Table Sorting

2011-10-03 Thread gangurg gangurg
I use Async Data provider for my cell Table . The pagination part seems to be work fine . But somehow I am not able to figure out how to get Column sorting working . Is there any working example for this . I tried to follow the Showcase method , but it does not seem to work . Can anybody provide a

TextCell in Cell Table

2011-09-24 Thread gangurg gangurg
Can I add Text Cell in Cell Table . I extended TextCellbut later realzied cant add cellTable.addColumn(MyTextCell,"Col Name") public class MyTextCell extends TextCell { public MyTextCell () { super(); } public void render(Context context, SafeHtml value, SafeHtmlBuilder sb) { if (value != null) {

Difference between DataGrid and Cell Table

2011-09-23 Thread gangurg gangurg
Guys whats the difference between DataGrid and Cell Table , other than Data Grid has fixed header and footer and just the content scrolls . I have this problem where I have almost given up on resizing Cell Table if window resizes . The problem here is I am not able to get cell Table height.I tr

GWT Cell Table Re sizing

2011-09-21 Thread gangurg gangurg
1.How do i re size the Cell Table if the window re sizes . By default say I raw a cell table with 25 rows and when the the window is shrink ed in size to show 20 rows , then scroll bar should automatically appear on the table . 2. Is it possible to resize the Cell table column after it is rendered

Re: Cell Table Styling

2011-09-21 Thread gangurg gangurg
ng: 2px 25px; > } > .cellTableEvenRow { > background: #fffaf0; > font-size:12px; > } > > .cellTableOddRow { >background: #fff8e8; > } > > S. Abraham > www.DataStoreGwt.com > Persist objects directly in GAE > > > On Sep 21, 7:04 am, gangurg gangurg wro

Cell Table Styling

2011-09-20 Thread gangurg gangurg
I am trying to come up with styling of Cell Table . However not able to figure out how . Trying to achieve 1. Should be able to Style any given row of a Cell table 2, Any Column of a Cell table 3. dynamically style any particular cell of a cell table . I tried to do the style sheet injection me

Rich Text Area replace Text

2011-07-20 Thread gangurg gangurg
I have a rich Text Area , as the user types in something i want to automatically check spelling and replace the appropriate word .Folks any idea -- 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-we

Re: 回覆:How to add a widget inside a Text Area GWT

2011-07-17 Thread gangurg gangurg
Thanks , I did that but the widget does not show up . Do you have any example 2011/7/17 yes2000 > In GWT, If one widget can contain another widget, It must be implement > HasWidgetsinterfac

How to add a widget inside a Text Area GWT

2011-07-17 Thread gangurg gangurg
How do i add a widget inside a GWT Text Area . I want to a Grid ,or VerticalPanel or HorizontalPanel -- 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

Complex Panel

2011-07-13 Thread gangurg gangurg
I am trying a build a panel which can take text , widgets anything . This is what I am trying to do As the user types in a Text , check the text and if necessary build a widget . Example : if user types in USA, inside the panel i want to replace the word USA with Image of USa flag or a GWT

Re: Need help on GWT hot deployment on JBOSS in Eclipse

2011-07-12 Thread gangurg gangurg
Whats the problem ? On Tue, Jul 12, 2011 at 3:04 PM, Mahesh Halkatti wrote: > *Need help on GWT hot deployment on JBOSS in Eclipse* > > -- > 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-t

Speech to Text

2011-07-12 Thread gangurg gangurg
Folks , I am using GWT on my client and want to know if there is any way I could speech to Text Search Translation . Basically after every pause the user makes on a word I want to go to the server and fetch some results for that word . I dont use GAE. -- You received this message because you

Facebook like Chat App with GWT

2011-06-25 Thread gangurg gangurg
I am trying to implement a Facebook style Chat APP . I use JBOSS as my APP server . Can anyone share thoughts on how do I go about . I have GWT for my client . -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send ema

Re: JWebSocket using GWT

2011-04-23 Thread gangurg gangurg
Thanks for the reply . I see the project is tested against JWebSocket .How did you guys invoke JWebScoket from the Client . Can you kindly share that piece of code or the structure you guys adopted . On Sat, Apr 23, 2011 at 6:42 AM, gaill...@audemat.com wrote: > On GWT client side, you can use

Rich Text Area Basic Question

2010-06-15 Thread gangurg gangurg
Help me on this issue . I am trying to build a Text Area . (Its ok it is a RichText Area, i dont need anything else of a rich text area functionalites ) . Inside the Text area user should see a message saying View Link . The View Link should be built in as soon as the user comes to this page 1.

Creating Links out of Tab Items

2010-06-12 Thread gangurg gangurg
First there is a Page which list out list of all Employess . When uSer clicks on one employee , I construct a TabLayoutPanel TabLayoutPanel tabPanel = new TabLayoutPanel(1.5, Unit.EM tabPanel.add(new HTML ("Employee"), "Employee"

Re: GWT Service Injection

2010-06-08 Thread gangurg gangurg
Sry it was an incomplete post . Here is my full post . I am new to Injection . What I wanted to do was a simple Interface Injection in my GWT IMpl . Can anyone tell me how do a Field Injection or a construction based Injection .Assume Everything in this snippet works fine . public Interface Payme

GWT Service Injection

2010-06-08 Thread gangurg gangurg
I am new to Injection . What I wanted to do was a simple Interface Injection in my GWT IMpl . Can anyone tell me how do a Field Injection or a construction based Injection .Assume Everything in this snippet works fine . Public Interface Payment( public void pay(); } -- You received this message

Re: How to navigate to particular tab of GWT automatically

2010-05-21 Thread gangurg gangurg
Thanks for your answer I am a newbie . I am not still sure how to do this if you can provide me sample it would be great Let me explain it more This is what happens when the user hits the employer.jsp , what my app does is show all the employees who belong to a particular employer in a grid . W

GWT Compile Issue

2009-07-31 Thread gangurg gangurg
I have included org.apache.common.lang.StrinUtils in my Entry Point java file . I have included common-lang.jar in my web-app library .The Java Compilation goes through . but if i do a GWT compile i get the following error [ERROR] Line 32: No source code is available for type org.apache.commons.l