Re: GWT RPC behind an Apache Proxy

2010-02-25 Thread siberian
Same problem that I have here:

http://groups.google.com/group/google-web-toolkit/browse_thread/thread/df013dc962cc268e/21920de1cdf1edbc?lnk=gstq=siberian#21920de1cdf1edbc

The RPC and the JS apps are in the same path space (/siteGWT) and I
get failures. Not NPE, just inability for RPC to connect.

John-

On Feb 25, 3:07 am, Fabiano ftar...@gmail.com wrote:
 n Feb 25, 2:26 am, Chad cha...@sbcglobal.net wrote: I have setup a Proxy 
 in apache to forward all request fromhttp://www.myserver.com/appstothe 
 glassfish serverhttp://www.myserver.com:8080/.
  This appears to work for everything, but requests to the GWT RPC
  service which throws an NPE. If I change the proxy 
  fromhttp://www.myserver.com/myApplicationtoforward 
  tohttp://www.myserver.com:8080/myApplication. Does anyone know how to

 I have not verified, I have not checked, this is a rough hypothesis
 I have not played with servlet and AS a lot but, is there a way to set
 the context of an application to /apps/application1 ... /apps/
 application2? Or better.. is /apps/application1 a valid context
 value?
 you can try moving your application in order to share the same /apps/
 prefix.
 in this case you can set a policy to redirect requests fromhttp://site/apps/*
 tohttp://site:8080/apps/*.
 This stuff is quite easy to implement with squid url-rewriters or
 redirectors but don't know about Apache's proxy configuration.
 regards

 P.s: copypaste a bunch of your GWT-RPC request's headers may help me
 to understand the problem.

-- 
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-tool...@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: Ext/GXT/ExtGWT v2.1.0 vs. SmartGWT v2.0

2010-02-04 Thread siberian
We don't want nested grids. We don't want nested html. We want a
nested composite panel with arbitrary widgets in them. Neither
framework does well there, hence the custom solution.

Anyhow, we'll be looking on our next project and seeing how we feel
about it. Extended GXT was very simple for us once we got over the
learning curve and SmartGWT will have the same learning curve.

John-

On Feb 3, 4:26 pm, ckendrick charles.kendr...@gmail.com wrote:
 Re: widgets inside grid rows: not only is it out of the box in
 SmartGWT, there are multiple out of the box modes for it, including
 nested editable grids.

    http://www.smartclient.com/smartgwt/showcase/#featured_nested_grid
    http://www.smartclient.com/smartgwtee/javadoc/com/smartgwt/client/typ...

 In the latest nightlies you can play with yet another level of
 sophistication, for release in 2.1:

 1. general purpose APIs for attaching components to any individual
 cell or row, with multiple sizing modes
 2. support for automatic pooling of components at the record level,
 for use cases where you have components in most/every row and you are
 paging through a large dataset and need to re-use a pool of components
 attached to the currently visible records

 If it's a positive experience to have to fix a lot of bugs, and have
 to add missing features, can't wait to see what you guys say when you
 evaluate SmartGWT for your next project ;)

-- 
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-tool...@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: Ext/GXT/ExtGWT v2.1.0 vs. SmartGWT v2.0

2010-02-03 Thread siberian
We've found this ability to override methods and subclass components
to be invaluable. You may be able to do some of this with SmartGWT, I
have not specifically looked. Coming from a Wicket background I found
GXT to be very comfortable and 'Wicketlike' in the way thats its pure
Java and abstracts that level of the platform away.

For example, I needed to add a rowexpander to a grid that expanded out
to show editable record details. GXT has a widget that lets you inject
arbitrary html into an expanded row out of the box. This obviously
sucks when your dealing with a complex and interactive editable row
detail. The entire point (for us) of working in this environment is to
be widget driven vs html driven.  With a touch of work I was able to
expand the RowExpander class with my own version that allowed me to
put a Composite Panel in the expanded row vs plain html which let all
of my other tools and the panels sub-components do their job. Once
again, very Wicket-Like for me.

Probably totally possible and easy for SmartGWT (maybe even Out Of The
Box) but I also found it very easy with GXT.

The docs are crap though. One you get into the 'GXT Mindset' it comes
fast and easy but it takes a long time to get into the GXT
mindset.

We will evaluate SmartGWT for a future project, the pace of
development there and the level of support can't really be denied. GXT
is falling over in this regard. Slow release process and no real
support (even Premium forums are mostly dead) is a big concern.

For now we're GXT though.
John-

On Feb 3, 8:24 am, Tercio terciofi...@gmail.com wrote:
 You know guys, this is a tough decision. We all differ in experience
 and knowledge.

 I think that this criticism is good for every one.

 SmartGWT is very good in Server-side integration, with a lot UI
 widgets, but it's a wrapper to JS and you can't override the way it
 work internally(Yes, some will disagree), you can just override some
 PROPERTY methods, and I think that this discussion is over.

 GXT has no Server-side integration, they have far less widgets than
 SmartGWT, but, it's pure Java, you can change it completely just
 overriding some methods or classes and yes, NO documentation at all,
 theirs JavaDoc just SUCKS.

 But I'd prefer GXT instead SmartGWT. My experience with SmartGWT
 isn't that good, the way the data is managed in the UI is a little bit
 weird to me.

 I'd recommend to use GXT.

 On Feb 3, 11:49 am, Jeff Larsen larse...@gmail.com wrote:



  We're currently using GXT on a large project and I'd like to say that

  GXT's layout system is alien to GWT, the documentation is
  nonexistant,
  the appearance is highly inflexible, and the attitude of the support
  team sucks (even for customers that pay for support).  Consider, for a
  moment, that there is nobody at Ext commenting on the GXT-related
  threads that show up in this forum.  Totally out to lunch. 

  is 100% accurate to my experience. I don't have the luxury of ripping
  it out of my app at work, but I wouldn't use it in personal app if it
  were free.

  Everything you know about GWT and GWT widgets can basically be thrown
  out the window. The event model is entirely different. The widgets
  have a ton of properties that are set on construction that you cannot
  change. Oh and when you decide on GXT know that you're probably going
  to be locked into that version and will not be able to upgrade to any
  new versions of the software.

  I would recommend not using GXT.

  On Feb 3, 2:22 am, Sanjiv Jivan sanjiv.ji...@gmail.com wrote:

   Bogdan,
   Thanks for the kind words :) Constructive criticism is always welcome as 
   the
   goal is to improve the product. However please do follow up with the
   appropriate posts and report enhancements / issues in tracker.

   Regarding the Calendar event dialog customization, that appears to be an
   enhancement request rather than a bug. I still could not find a user id by
   your name however I did find a similar thread :

  http://forums.smartclient.com/showthread.php?t=4900

   As you can see, the user was advised to

   1) either create an enhancement request that other users could vote on or
   2) make the enhancement themselves since it is open source and share their
   work.

   However no such enhancement request was created in tracker.  Please email 
   me
   your SmartGWT forum user name so that I can view the other posts / issues
   reported by you.

   New features are being added to SmartGWT / SmartClient at a really really
   fast pace. This should be evident by the release notes of each new 
   release,
   and the commit logs in SVN. For example some 10 significant new features
   have already been added since the SmartGWT 2.0 release, and countless 
   other
   minor enhancements as well. So unless users file issues and enhancements, 
   it
   is not going to be easy to track. Moreover even if you do have a feature
   request, prioritization will depend on the number of votes it receives