tiles-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric B <ebe...@hotmail.com>
Subject Re: Infinite loop when using completeAutoLoad=true & Tiles 3.0.1
Date Tue, 05 Nov 2013 19:49:20 GMT
On 13-11-01 8:49 AM, Mck wrote:
>
>> I don't think there is anything specifically special in this
>> configuration, so am not sure why I get into an infinite loop.  If I
>> replace the CompleteAutoTilesInitializer class with the
>> BasicTilesInitializerClass and use Wildcards (ie: */*) instead and
>> replace {1} with {1}/{2}, then the view loads properly (no infinite loop).
>
>
> This problem was fixed by making the REGEXP pattern less greedy correct?

Yes - a less greedy regexp fixed this problem.  I had not realized that every template name
would be tested against the definition names/patterns as 
well, and therefore cause an infinite loop with a greedy regex.



Mime
View raw message