On 5/30/07, Trent <[EMAIL PROTECTED]> wrote:
On Wed, 30 May 2007 22:31:05 -0600, Matt Raible wrote
> You can no longer use Canoo WebTest to enter dates in a form.
> Is there anyone out there that'd like the option of WebTest or
> Selenium? It's probably possible to support both, but I'd rather
> not. Selenium is simply a better solution for the problem AFAICT.
If AJAX is to be a standard feature of Appfuse, then Selenium becomes the only
practical way to test the web tier.
True.
Do all the web frameworks Appfuse supports include AJAX libraries? (either
built-in or added by appfuse).
Struts 2 and Tapestry 4.1.x (not supported yet by AppFuse) have Dojo
baked in. JSF doesn't have anything that's standard and most of the
component libraries seem to use their own JavaScript libraries rather
than building on others. Spring MVC has nothing by default, but we
include Scriptaculous (and make it available to all frameworks).
If so, then webtest has no role to play. If
not, then maybe it's easier to force adoption by the other frameworks instead
of maintaining both canoo and selenium support.
JSF has issues with WebTest currently because of all the JavaScript it uses.
FWIW, I found this Scriptaculous based datepicker that seems a little
less intrusive than Dojo.
http://www.eulerian.com/en/opensource/datepicker-prototype-scriptaculous
I got it to work with Spring MVC, but it does have some issues (shows
up on far left and doesn't go away when I click somewhere else on the
screen).
I like my Ajax effects to be of the "progressive enhancement" nature,
which AFAICT Dojo doesn't do that well. I'm more than willing to
support Dojo if that's what AppFuse users want, but in my experience
with the datepicker, it seems pretty slow. Of course, if I could
render my own input element and then add a datepicker next to it, I'd
be much happer. AFACT, the Struts datetimepicker doesn't allow you to
do this, but I could be wrong.
I guess I'm still leaning toward using Dojo for Struts and Spring MVC,
but it'd be nice if it supported progressive enhancement better so
everything still worked with JavaScript turned off.
Matt
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]