GWT 1.6 Jetty Server and Expression Language

2009-04-20 Thread Mr. Taylor

I am trying to use expression language with Jetty and would like to
know if Jetty is able to parse a page with expression language. Should
I go back to using tomcat?  I have the required jars inside the war/
web-inf/lib folder.

i.e. 

Thanks,
LT
--~--~-~--~~~---~--~~
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: Can we load an html file and add it as a Widget?

2009-02-05 Thread Mr. Taylor

Just use the RequestBuilder class and do a get request for your html
file.

Create the html panel and use DOM to set the inner html
(DOM.setInnerHTML()) with the String returned from the request builder
callback.

You can then do myPanel.addAndReplaceElement(widget,"id");

I am doing this now in my current project.  Make sure to check the
response code is = 200 so you can handle any errors.  You would want
to check this in the onSuccess for the RequestBuilder because it
treats 403 errors ,if i am not mistaken, as being successful.

Hope that helps.

LT


On Feb 2, 2:04 am, Joshua Partogi  wrote:
> Dear all,
>
> I know that there is anHTMLclass in GWT for buffering out a plainhtml. But I 
> have a case where it would be too much having to write all
> thehtmlin my Java class. So I was wondering whether we can just load
> anHTMLfile and add that loadedHTMLfile as a widget. Is there any
> such class like that in GWT? Or does anyone has the trick for that?
>
> Thank you in advance.
>
> --
> If you can't believe in God the chances are your God is too small.
>
> Read my blog:http://joshuajava.wordpress.com/
> Follow me on twitter:http://twitter.com/jpartogi
--~--~-~--~~~---~--~~
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: Script running slow error in IE

2009-02-05 Thread Mr. Taylor

Make use of DeferredCommand when performing intense UI updates.  The
drop downs could be lazy loaded as when the user clicks on them the
content gets loaded from the server.  I hope that leads you into the
right direction to fix your problem.  I believe there is an
incremental DeferredCommand which you could try when adding items to a
drop down box.

If the error occurs when you remove the form then you could try
setting the visibility to hidden and try to use the deferred command
to itterate through it to remove the widgets from memory afterwards.

Regards,
LT

On Feb 4, 9:33 pm, rishi  wrote:
> I have developed an application in GWT-Ext. I am facing a problem with
> one of the screens. Whenever this screen is removed from its parent
> panel, IE shows "script running slow..." warning. This screen is
> FormPanel and has a tabbed panel inside it. There are five tabs on
> this tabbed panel, and each tab has a form panel.  Each form has many
> drop downs and tables. These drop downs and tables are populated using
> GWT-Async callbacks.
>
> I have tried to debug this problem alot, and have not been successful
> till now.
>
> Please let me know if someone can help me debugging this, This
> application needs to go in production very soon. If anybody has faced
> similar problem or can guide me how to debug this.
>
> I am using Eclipse/GWTShell to debug the problem. The application is
> huge so i can not paste the code here. I can share the code if need
> be.
>
> Thanks - Rishi
--~--~-~--~~~---~--~~
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: Debugger app always out of memory on Vista

2009-01-27 Thread Mr. Taylor

Look in this forum for setting the maxmemory parameter in the build-
gwt.xml

On Jan 25, 4:01 pm, Arilian  wrote:
> I'm trying to setup and run the basic app (from applicationCreator) in
> intellij. Every time I try to run it it gives me any out of memory
> error. I've upped the -Xms to 4096 and still the same result. I could
> keep going but I'm guessing that's fairly futile.
>
> Does anyone have any ideas what might be causing this?
>
> I'm using gwt-1.5.3
>
> Thanks
> Gerwood
--~--~-~--~~~---~--~~
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 for a great GWT GUI library

2008-12-19 Thread Mr. Taylor

I understand your pain.  I use both GWT and GWT-EXT.  I have found
most of my issues with GWT-EXT CSS stylesheet not displaying correctly
in IE.
Maybe someone can post a gwt CSS file that contains better looking
widgets out of the box.

As far as the slowness goes then you might be better off telling users
to buy a faster computer :)



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



Using body element class attribute gets overridden when RootPanel adds a widget to the page

2008-12-04 Thread Mr. Taylor

I am experience a problem when I set the border to different colors
based on whatever the class argument is in the body tag of a given
page.

my css is

body.class1 #main-nav {border-bottom:6px; solid #db6d16;}
body.class2 #main-nav {border-bottom:6px; solid #db6d16;}

Problem:  The page loads with the border and as soon as the widgets
are attach to the screen the border underneath the navigation bar
dissapears.  Is this a bug?  Has anyone else experience this?  I am
using GWT 1.5.3 with GWT-EXT framework.

My workaround was to use a span tag (instead of the body tag) around
my navigation bar and change the class attribute there.

-LT
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---