Emmanuel,

This is what I found. In the .tml before the progressiveDisplay blocks, I
have this at the top of the page:

<div style="visibility: hidden">
<a t:type="eventLink" t:event="confirmHelp" t:message="" t:mixins="confirm"
></a>
</div>

I had to do this to ensure that tapestry properly loaded the confirm mixin
(written by Chris Lewis) before it displayed the page; at one point it was
causing errors due to some timing issue. If I remove the eventlink from the
block, then the progressiveDisplay blocks work correctly. This is %100
reproducible.

As I said, this error only occurs when tapestry5-jquery is in the classpath.

I find this very strange!

-George



On Mon, Feb 11, 2013 at 5:46 PM, George Ludwig <georgelud...@gmail.com>wrote:

> Emmanuel,
>
> I resolved the issue...thanks for your help!
>
> -George
>
>
> On Mon, Feb 11, 2013 at 5:34 PM, George Ludwig <georgelud...@gmail.com>wrote:
>
>> I created an empty project using the tapestry prototype and imported
>> jquery, and sure enough, progressive display works. I guess I'm going to
>> have to start paring my app down until I discover what is causing the
>> problem...
>>
>>
>> On Mon, Feb 11, 2013 at 4:10 PM, George Ludwig <georgelud...@gmail.com>wrote:
>>
>>> Emmanuel,
>>>
>>> Much appreciated. Here's my situation...
>>>
>>> I've got a page with 3 progressiveDisplay blocks...and it works fine
>>> until I add tapestry5-jquery in to my classpath. With jquery in my
>>> classpath, the progressive display events never fire on the server, and all
>>> I get are the spinning ajax icons. I have done nothing to my project other
>>> than adding the jquery jar to my classpath...i.e., didn't add anything to
>>> my layouts or anything other than simply adding it to the classpath.
>>>
>>> At first I thought there must have been a change in the syntax, based on
>>> this: http://tapestry5-jquery.com/core/docsprogressivedisplay It shows
>>> a different syntax than what I'm used to. But I'm not able to make that
>>> syntax work either, even for a single progressive display.
>>>
>>> Finally, I took a closer look at the jumpstart project, which presumably
>>> has jquery in the classpath, and the syntax he is using for progressive
>>> display is identical to what I'm using.
>>>
>>> I'm dead in the water here...any help is much appreciated!
>>>
>>> -George
>>>
>>> Here is a simplified version of my tml and class files:
>>>
>>> .tml:
>>>
>>> <fieldset>
>>> <legend>Acquisition Info</legend>
>>> <t:progressiveDisplay t:id="getAcquisitionInfo"
>>> t:initial="block:genericBlock" t:update="show" style="margin-left: 10px;">
>>>  <table border="0" align="center">
>>>  <!-- a bunch of gnarly code dealing with acquisition info -->
>>>  </table>
>>> </t:MyProgressiveDisplay>
>>> </fieldset>
>>>
>>> <fieldset>
>>>  <legend>Marketing Info</legend>
>>> <t:progressiveDisplay t:id="getMarketingInfo"
>>> t:initial="block:genericBlock" t:update="show" style="margin-left: 10px;">
>>>  <div>
>>>  <!-- a bunch of gnarly code dealing with marketing info -->
>>>  </div>
>>> </t:progressiveDisplay>
>>> </fieldset>
>>>
>>> <fieldset >
>>>  <legend>Tweet Info</legend>
>>> <t:progressiveDisplay t:id="getTweets" t:initial="block:genericBlock"
>>> t:update="show" style="margin-left: 10px;">
>>>  <div>
>>>  <!-- a bunch of gnarly code dealing with tweet info-->
>>>  </div>
>>> </t:progressiveDisplay>
>>> </fieldset>
>>>
>>> class:
>>>
>>> void onProgressiveDisplayFromGetAcquisitionInfo() throws Exception {
>>> // a bunch of calculations to set up an acquisitionInfo data structure
>>> that is referenced by the tml
>>> }
>>>
>>> void onProgressiveDisplayFromGetTweets() throws Exception {
>>> // a bunch of calculations to set up a tweets data structure that is
>>> referenced by the tml
>>> }
>>>
>>> void onProgressiveDisplayFromGetMarketingInfo() {
>>> // a bunch of calculations to set up a marketingInfo data structure that
>>> is referenced by the tml
>>> }
>>>
>>>
>>> On Mon, Feb 11, 2013 at 12:57 AM, Emmanuel DEMEY <
>>> demey.emman...@gmail.com> wrote:
>>>
>>>> Hi George,
>>>>
>>>> I have seen your post on the Tapestry5-jQuery mailing list. If it is OK
>>>>  for you, we will try to find a solution for your problem on the
>>>> Tapestry5
>>>> ML.
>>>>
>>>> What exactly you want to do with multiple blocks ?
>>>>
>>>> Emmanuel
>>>>
>>>>
>>>> 2013/2/10 George Ludwig <georgelud...@gmail.com>
>>>>
>>>> > I found the docs here:
>>>> > http://tapestry5-jquery.com/core/docsprogressivedisplay however,
>>>> looking
>>>> > at
>>>> > the code examples, I am unable to infer how to do multiple blocks on a
>>>> > page.
>>>> >
>>>> > Can anyone point me to an example?
>>>> >
>>>>
>>>>
>>>>
>>>> --
>>>> Emmanuel DEMEY
>>>> Ingénieur Etude et Développement
>>>> ATOS Worldline
>>>> +33 (0)6 47 47 42 02
>>>> demey.emman...@gmail.com
>>>> http://emmanueldemey.fr/
>>>>
>>>> Twitter : @EmmanuelDemey
>>>>
>>>
>>>
>>
>

Reply via email to