Si,

Is the MIT License compatible?

I think it is, but can't remember for sure...

- Andrew

On Thu, 2006-09-21 at 07:41 -0700, Si Chen wrote:
> We thought it was good to integrate something called prototype.js  
> which is pretty lightweight and saves us from writing the ajax stuff.
> 
> You can take a look at it yourself:
> demo - http://demo.opentaps.org:8086/crmsfa/control/main - login as  
> "DemoSalesManager/crmsfa" and go to "Opportunities"  The create  
> opportunity box uses ajax to complete the account name
> checkout the code svn co svn://svn.opentaps.org/crmsfa/versions/1.0/ 
> trunk
> 
> Si
> 
> 
> On Sep 20, 2006, at 11:48 AM, tibor katelbach wrote:
> 
> > Hi all
> > I just read this post,
> > having worked quite a bit with ajax ,
> > it can get a bit chaotic if a choice has to be made amongst all  
> > available
> > scripts and ajax base codes.
> > They have great features but the hard part can be making the choice (
> > openrico.org or http://www.zkoss.org/ are also interesting )
> >
> > But ajax being so simple to set up, it would be simplest  to set up  
> > ofbiz's
> > own ajax.js.
> >
> > After that Ajax calls work perfectly with ofbiz's REST url's,  
> > screen widget
> > .
> > example of where ajax came in handy for us :
> >
> > - retreiving event or error messages from session attributes as  
> > asynchronous
> > services were launched.
> > - autocompletion
> > - databse updates
> >
> > my two cents
> > Regards
> > Tibor
> >
> >
> >
> >
> >
> > On 9/20/06, Leon Torres <[EMAIL PROTECTED]> wrote:
> >>
> >> Prototype. This will be explained in the document. :)
> >>
> >> It might be a good exercise to attempt the same feature in other
> >> frameworks.
> >> I've already tried with Dojo and some others, of which the  
> >> impression are
> >> explained in the tutorial.
> >>
> >> - Leon
> >>
> >>
> >> Andrew Sykes wrote:
> >> > Leon,
> >> >
> >> > What technology have you settled on?
> >> >
> >> > - Andrew
> >> >
> >> > On Tue, 2006-09-19 at 08:18 -0700, Leon Torres wrote:
> >> >> Great Idea.  Our document is crmsfa based because we're  
> >> actually using
> >> it and
> >> >> have a live demo.  The css and javascript libraries are in place.
> >> However, it
> >> >> should be easy to create one for example/ that autocompletes  
> >> Person
> >> based on our
> >> >> implementation.
> >> >>
> >> >> I hope the dust settles in AJAX, but I bet there will be several
> >> different
> >> >> mainstream approaches, just like there are several different  
> >> scripting
> >> languages
> >> >> that fill the scripting niche.  We're going to have to settle  
> >> for one,
> >> just like
> >> >> we settled on freemarker and bsh.  :-)
> >> >>
> >> >> - Leon
> >> >>
> >> >>
> >> >>
> >> >> David E Jones wrote:
> >> >>> It would be great to have an example/poc or two in different  
> >> parts of
> >> >>> the project, or even in the example component, that people can  
> >> look at
> >> >>> and use as a basis for other parts of the project or  
> >> customizations or
> >> >>> whatever.
> >> >>>
> >> >>> Given the somewhat chaotic nature of the AJAX world, it might  
> >> be nice
> >> to
> >> >>> have multiple PoC bits in place to compare things for making a
> >> decision
> >> >>> for other parts.
> >> >>>
> >> >>> -David
> >> >>>
> >> >>>
> >> >>> On Sep 18, 2006, at 6:23 PM, Leon Torres wrote:
> >> >>>
> >> >>>> By the way, we'll be publishing a tutorial for using AJAX to  
> >> create
> >> an
> >> >>>> autocomplete text field sometime this week.
> >> >>>>
> >> >>>> - Leon Torres
> >> >>>> Open Source Strategies Inc.
> >> >>>>
> >> >>>>
> >> >>>> Amit Shinde wrote:
> >> >>>>> That worked! I can get userLogin now but LocalDispatcher with
> >> dispatcher
> >> >>>>> attribute is still null. That is not a big deal as I get the
> >> >>>>> LocalDispatcher
> >> >>>>> this way -
> >> >>>>> LocalDispatcher dispatcher =
> >> >>>>> GenericDispatcher.getLocalDispatcher("local",
> >> >>>>> delegator);
> >> >>>>> Thanks for all the help,
> >> >>>>> Amit Shinde
> >> >>>>> -----Original Message-----
> >> >>>>> From: tibor katelbach [mailto:[EMAIL PROTECTED]
> >> >>>>> Sent: Monday, September 18, 2006 7:32 PM
> >> >>>>> To: [email protected]
> >> >>>>> Subject: Re: AJAX and HttpSession
> >> >>>>> try
> >> >>>>> req.open("POST", "/erp/control/dyna", true);
> >> >>>>> the call has to start from the base.
> >> >>>>> here's mine
> >> >>>>> xhr_object.open("GET",
> >> "/PBBO/catalog/control/getimporterror?date="+new
> >> >>>>> Date().getTime(), true);
> >> >>>>> Tibor
> >> >>>>> On 9/18/06, Amit Shinde <[EMAIL PROTECTED]> wrote:
> >> >>>>>> Lon,
> >> >>>>>>         Heres the URL -
> >> >>>>>>
> >> >>>>>>
> >> >>>>>>
> >> >>>>>> Amit
> >> >>>>>>
> >> >>>>>>
> >> >>>>>> -----Original Message-----
> >> >>>>>> From: Lon Binder [mailto:[EMAIL PROTECTED]
> >> >>>>>> Sent: Monday, September 18, 2006 7:18 PM
> >> >>>>>> To: [email protected]
> >> >>>>>> Subject: RE: AJAX and HttpSession
> >> >>>>>>
> >> >>>>>>
> >> >>>>>> Amit,
> >> >>>>>>
> >> >>>>>> What URL are you requesting?  The app server doesn't know the
> >> >>>>>> difference
> >> >>>>>> between plain browser requests and ajax requests.  It's just a
> >> >>>>>> matter of
> >> >>>>>> URL construction.
> >> >>>>>>
> >> >>>>>> - Lon
> >> >>>>>>
> >> >>>>>>
> >> >>>>>> -----Original Message-----
> >> >>>>>> From: Amit Shinde [mailto:[EMAIL PROTECTED]
> >> >>>>>> Sent: Monday, September 18, 2006 9:41 AM
> >> >>>>>> To: [email protected]
> >> >>>>>> Subject: AJAX and HttpSession
> >> >>>>>>
> >> >>>>>> Hello,
> >> >>>>>>         I was wondering if anyone has played with AJAX. I  
> >> want to
> >> >>>>>> call a
> >> >>>>>> OFBiz service by making an XMLHttpRequest. I have a  
> >> RequestHandler
> >> that
> >> >>>>>> is supposed to process this request. The problem I am  
> >> facing is of
> >> >>>>>> HttpSession.
> >> >>>>>> Even though I am logged in, I get userLogin, dispatcher and
> >> delegator
> >> >>>>>> attributes null. Is there a way where we can get our  
> >> HttpSession
> >> >>>>>> attributes from XMLHttpRequest. Do we need to do any  
> >> special thing
> >> >>>>>> or is
> >> >>>>>> this just a limitation?
> >> >>>>>>
> >> >>>>>>         Without a valid HttpSession, I obviously cant run the
> >> service
> >> >>>>>> unless I pass userLoginId in the XMLHttpRequest and get  
> >> UserLogin
> >> value
> >> >>>>>> through delegator.
> >> >>>>>> This approach will pose a security hazard nonetheless.
> >> >>>>>>
> >> >>>>>>         Any insight will be appreciated.
> >> >>>>>>
> >> >>>>>>
> >> >>>>>> Thanks in advance,
> >> >>>>>>
> >> >>>>>> Amit Shinde
> >> >>>>>>
> >> >>>>>>
> >> >>>>>>
> >> >>>>>>
> >> >>>>>>
> >> >>>>>>
> >> >>>>>>
> >> >>>
> >>
> 
-- 
Kind Regards
Andrew Sykes <[EMAIL PROTECTED]>
Sykes Development Ltd
http://www.sykesdevelopment.com

Reply via email to