• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: ERXAjaxSession, Ajax framework
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ERXAjaxSession, Ajax framework


  • Subject: Re: ERXAjaxSession, Ajax framework
  • From: Bogdan Zlatanov <email@hidden>
  • Date: Mon, 1 Sep 2008 15:32:02 +0300

Hi again,


On Aug 14, 2008, at 8:13 PM, Mike Schrag wrote:

1. Is there a specific reason so that ERXAjaxSession does not have constructors specified?

It's not a bid deal. I've added them myself. Just curious.
You mean the missing ERXAjaxSession(String)? I guess just an oversight ... I've never seen anyone actually use that constructor and I don't think even ERXSession has it. But we can add it in if you need it.


It would be nice if you add ERXAjaxSession() and ERXAjaxSession(String) constructors to ERXSession.


Since we are using MooTools instead of prototypes and friends, I'm about to put some effort into making the Ajax.framework do its magic
using MooTools. Here comes the next question:


2. Is someone working on making Ajax.fwk be used with any javascript library or at least something different from prototypes?
You have a bit of work ahead of you on this one. I started abstracting out the Javascript calls that are inside the Java code, but there's a lot more to do. A lot of this depends on exactly what features of the framework you want to use -- you can obviously convert this piecemeal for your own purposes. The intent is that all of the Javascript calls would move to wonder.js and some shim class (which doesn't exist) that can accommodate the cases where you have to generate JS from the Java side (sort of like RJS in Rails), but it's not there yet. If you do undertake this, though, I would urge you to implement it like that ... Anywhere you make a change, either pull the original code out into a wonder.js call (so you can just provide a wonder_mootools.js that can be ERXResponseRewriter replaced) or pull the code into an intermediate class that we can provide a Prototype and a Mootols implementation of so that your work can be integrated back into the trunk.


OK, I think I got your idea. I guess I'd be bothering you again some time in the near future to check if I'm on the right direction.


Regards,
bzlat
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: How to expand a set of nodes automatically in AjaxTree
  • Next by Date: Re: WebObjects/WOnder CSS and Image path issues
  • Previous by thread: How to expand a set of nodes automatically in AjaxTree
  • Next by thread: Re: WebObjects/WOnder CSS and Image path issues
  • Index(es):
    • Date
    • Thread