hello geoff,

thanks for your feedback, and indeed: I believe it looks very much
like a tapestry 5.4 bug ;-)

thanks & kind regards, g.

On 5 February 2016 at 02:00, JumpStart
<geoff.callender.jumpst...@gmail.com> wrote:
> Sorry, just looked at your stack overflow example and I’m baffled as to why 
> it wouldn’t work.
>
> Geoff
>
>> On 5 Feb 2016, at 8:55 AM, JumpStart <geoff.callender.jumpst...@gmail.com> 
>> wrote:
>>
>> Here are some working examples that may help.
>>
>> In a callback:
>>
>>       
>> http://jumpstart.doublenegative.com.au/jumpstart7/examples/javascript/modal/1
>>
>> In afterRender:
>>
>>       
>> http://jumpstart.doublenegative.com.au/jumpstart7/examples/javascript/robust
>>
>> Geoff
>>
>>> On 5 Feb 2016, at 6:52 AM, g <g...@gwiki.be> wrote:
>>>
>>> hello,
>>>
>>> I noticed some inconsistent behavior when calling
>>> "jss.require(javascript).invoke(functionname).with(arguments)".
>>>
>>> if the call is made inside a construct
>>> "ajaxResponseRenderer.addCallback(new JavaScriptCallback() {public
>>> void run(JavaScriptSupport jss);}", the javascript code is NOT
>>> executed, where calling the same code inside void afterRender(){}, it
>>> DOES get executed correctly.
>>>
>>> so, I think there is a problem/bug in the code of the current 5.4.0
>>> tapestry when processing the jss.require inside a
>>> JavaScriptCallback...
>>> my code works fine in 5.3.8 when using the jss.addScript() rather than
>>> the jss.require...
>>>
>>> I posted sample source code on stackoverflow, but have not gotten any
>>> feedback so far:
>>> http://stackoverflow.com/questions/35127426/ajaxresponserenderer-addcallback-calling-requirejavascript-is-never-executed-f
>>>
>>> thanks for your feedback, g.
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to