I have resolved the timeout issue by adding a new attribute 'ajaxTimout' to
the formtools

If you use AJX formtools - please vote for this (after you have tested it of
course :-)
    http://bugs.farcrycms.org/browse/FC-1968


2009/8/18 Blair McKenzie <shi...@gmail.com>

> I don't think you'll have much luck with a progressive response. You may
> need to roll your own custom optimised solution. For example posting the
> form via ajax, then GETing progress information.
>
> Blair
>
>
> On Tue, Aug 18, 2009 at 1:22 PM, AJ Mercer <ajmer...@gmail.com> wrote:
>
>> looks like the problem was the use of bAjax="true" in the skin call
>> can use both together.
>>
>> Is there a timeout setting for the ajax call.
>> Looks like my process is taking too long - the reason for going to AJX in
>> the first place.
>>
>>
>> Also, can the AJAX client accept progress calls
>> So can display text like 'Loading 3 of 10 ...'
>>
>> Can I send data back progressively?
>> I am looping through a list - would be good if I can return the results
>> within the loop.
>>
>>
>>
>> 2009/8/17 AJ Mercer <ajmer...@gmail.com>
>>
>> Do I need anything else to make the form submit via AJAX?
>>> This submits to a new page
>>> with this URL
>>>
>>> /pslclient/aj-mercer?&view=displayBodyPortfolioValuation&ajaxmode=true
>>>
>>> <cfimport taglib="/farcry/core/tags/formtools/" prefix="ft" />
>>>>
>>>> <cfset ajaxURL = APPLICATION.fAPI.getLink(typename='pslClient',
>>>> objectID=SESSION.dmProfile.objectID,
>>>> view='displayBodyPortfolioValuation')/>
>>>>
>>>> <ft:form name="updatePricing" bAjaxSubmission="true" action="#ajaxURL#">
>>>>     <ft:farcrybuttonpanel>
>>>>     <ft:button type="submit" value="update prices"   />
>>>>     </ft:farcrybuttonpanel>
>>>> </ft:form>
>>>>
>>>
>>> This code is within webskin called via
>>>
>>>> <skin:view typename="pslClient"
>>>> template="displayBodyPortfolioValuation" bAjax="true" />
>>>>
>>> --
>>> AJ Mercer
>>> Web Log: http://webonix.net
>>>
>>
>>
>>
>> --
>> AJ Mercer
>> Web Log: http://webonix.net
>>
>>
>>
>
> >
>


-- 
AJ Mercer
Web Log: http://webonix.net

--~--~---------~--~----~------------~-------~--~----~
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: farcry-dev@googlegroups.com
To unsubscribe, email: farcry-dev+unsubscr...@googlegroups.com
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
-~----------~----~----~----~------~----~------~--~---

Reply via email to