Hey Pavel,
I'm not using -noserver? To be honest I've only recently
started with GWT.
I'm having a huge problem injecting GWT implemented javascript into my
jsp file.
Basically I can't amend the JSP file as it's used in a number of
different applications
none of which else use GWT so I need some way of referencing a textbox
that exists
already in the jsp from within the GWT code.
I was thinking of doing something like...
Element elem = RootPanel.get("sortCode").getElement(); // where
sortCode is the unique id associated with my textbox.
Yet I can't then cast it to a TextBox in order to add a focuslistener
to it. From what I've gathered on the groups this is not
an easy task within GWT and essentially I am potentially using GWT for
the wrong reason.
If you know how to do this that would be great.
Thanks,
Mark.
On Jan 31, 4:09 pm, Pavel <
pave...@gmail.com> wrote:
> You don't have to copy your jsps to the public directory. You're not
> required to have the public directory at all. You can add the <script
> src="gwt/deployment/directory/com.myorg.gwt.MyModule"></script> tag to
> any of your existing JSPs. Are you using -noserver?
>
> Pavel
>