How about a defect as a result of upgrading jQuery to 1.3.1?

Viktor,
Rogue Software Architect

15 feb 2009 kl. 14.43 Meredith Gregory <lgreg.mered...@gmail.com> skrev:

> Marius,
>
> Agreed on two points:
> JsRaw is not the culprit -- it seems to be a bad interaction with  
> version of JavaScript modules
> JavaScript is the source of the "meta" problem -- there's no way to  
> get the compiler to warn about this because this world is devoid of  
> useful typing info.
> It would appear that a vast number of web technologies have accepted  
> a programming model proposition that is predicated on typelessness.  
> 'This has all happened before and it will happen again.' It looks  
> like i'm going to have to resurrect my rhoscript project.
>
> Best wishes,
>
> --greg
>
> On Sat, Feb 14, 2009 at 2:20 PM, Marius <marius.dan...@gmail.com>  
> wrote:
>
> Interesting ...
>
> When dragging I'm getting a JS error in jquery-ui.js:
>
> "$.Event is not a function" ... which appears to cause the odd
> behavior. I'm not sure yet why this error appears. BUt I found that
> this may appear when you have incompatible versions of jquery and
> jquery ui, Perhaps try here?
> http://groups.google.com/group/jquery-ui/browse_thread/thread/8fbe3061bd567e2f/a19f7e874ea48e74?lnk=raot
>
> I really do not think that JsRaw has anything to do with this. It
> fails even if you have a plain link in the page ... pretty much like
> in the static example.
>
> I don't think there is a way of detecting such behavioral things at
> compile time.
>
> Br's,
> Marius
>
> On Feb 13, 10:38 pm, Meredith Gregory <lgreg.mered...@gmail.com>
> wrote:
> > Lifted,
> >
> > Attached is a minimal example of a strange interaction between  
> lift and a
> > jQuery plugin. If you unzip the example you will find inside the
> > liftTestCase directory 5 subdirectories two of which contain  
> behaviors to
> > compare. The directory 23 contains an example that is purely  
> jQuery with the
> > EasyWidgets plugin. The directory dspace contains a lift-based site.
> >
> > If you open 23/index.html in a browser you will see a page that  
> allows you
> > to add widgets that can be dragged and dropped around. This all  
> works. If
> > you cd into dspace and launch mvn jetty:run, sign up, login, then  
> you will
> > see a boiled down version of the same thing. The difference is  
> that the
> > javascript jQuery call is run as a JsRaw. Everything seems to work  
> except
> > you attempt to drag and drop the components. Then you get very weird
> > behavior that is easier to see than to describe.
> >
> > The thing is, we haven't actually done any interesting lift stuff,  
> yet, in
> > the boiled down sample. We're just calling into the EasyWidgets  
> function
> > just like in the sample. i would expect these two examples to  
> exhibit nearly
> > identical behavior. i'm guessing there's some weird interaction  
> between
> > lift-included javascript and the jQuery plugin.
> >
> > Several questions:
> >
> >    - How could we devise a way to check at compile time that there  
> is such
> >    an interaction? This seems to be a crucial point as the  
> momentum is to use
> >    third party frontend web components.
> >    - What is the best way to go about finding the interaction if  
> it has
> >    escaped compile time detection?
> >
> > Best wishes,
> >
> > --greg
> >
> > --
> > L.G. Meredith
> > Managing Partner
> > Biosimilarity LLC
> > 806 55th St NE
> > Seattle, WA 98105
> >
> > +1 206.650.3740
> >
> > http://biosimilarity.blogspot.com
> >
> >  liftTestCase.zip
> > 407KViewDownload
>
>
>
>
> -- 
> L.G. Meredith
> Managing Partner
> Biosimilarity LLC
> 806 55th St NE
> Seattle, WA 98105
>
> +1 206.650.3740
>
> http://biosimilarity.blogspot.com
>
> >

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to