I think I was recursively calling index which was the cause of the timeout, got it.
I’ve changed the handler helloWorld to just an event.setView.
Inside view/helloWorld/index I’m doing:
`
helloWorld.index
hi
#renderView(view='helloWorld/list',collection=prc.Users, collectionAs='mytest')#
`
and this is causing view/helloWorld/list to show 10 times (YEA!) but…
it’s displaying the same data each time.
Here is my list.cfm in it’s entirety:
`
helloWorld.list
#mytest.fiscalday# #_counter# of #_items#
`
and here is the first couple of “rows” of the result:
helloWorld.index
query
RESULTSET
query
DATE FISCALDAY PERIOD WEEKNUM YEAR
1 2004-12-27 00:00:00.0 1 01 1 2005
2 2004-12-28 00:00:00.0 2 01 1 2005
3 2004-12-29 00:00:00.0 3 01 1 2005
4 2004-12-30 00:00:00.0 4 01 1 2005
5 2004-12-31 00:00:00.0 5 01 1 2005
6 2005-01-01 00:00:00.0 6 01 1 2005
7 2005-01-02 00:00:00.0 7 01 1 2005
8 2005-01-03 00:00:00.0 8 01 2 2005
9 2005-01-04 00:00:00.0 9 01 2 2005
10 2005-01-05 00:00:00.0 10 01 2 2005
CACHED false
EXECUTIONTIME 2
SQL SELECT top 10 * FROM PeriodLookUp
hi
helloWorld.list1 1 of 10
query
RESULTSET
query
DATE FISCALDAY PERIOD WEEKNUM YEAR
1 2004-12-27 00:00:00.0 1 01 1 2005
2 2004-12-28 00:00:00.0 2 01 1 2005
3 2004-12-29 00:00:00.0 3 01 1 2005
4 2004-12-30 00:00:00.0 4 01 1 2005
5 2004-12-31 00:00:00.0 5 01 1 2005
6 2005-01-01 00:00:00.0 6 01 1 2005
7 2005-01-02 00:00:00.0 7 01 1 2005
8 2005-01-03 00:00:00.0 8 01 2 2005
9 2005-01-04 00:00:00.0 9 01 2 2005
10 2005-01-05 00:00:00.0 10 01 2 2005
CACHED false
EXECUTIONTIME 2
SQL SELECT top 10 * FROM PeriodLookUp
helloWorld.list1 1 of 10
query
RESULTSET
query
DATE FISCALDAY PERIOD WEEKNUM YEAR
1 2004-12-27 00:00:00.0 1 01 1 2005
2 2004-12-28 00:00:00.0 2 01 1 2005
3 2004-12-29 00:00:00.0 3 01 1 2005
4 2004-12-30 00:00:00.0 4 01 1 2005
5 2004-12-31 00:00:00.0 5 01 1 2005
6 2005-01-01 00:00:00.0 6 01 1 2005
7 2005-01-02 00:00:00.0 7 01 1 2005
8 2005-01-03 00:00:00.0 8 01 2 2005
9 2005-01-04 00:00:00.0 9 01 2 2005
10 2005-01-05 00:00:00.0 10 01 2 2005
CACHED false
EXECUTIONTIME 2
SQL SELECT top 10 * FROM PeriodLookUp
helloWorld.list1 1 of 10
query
RESULTSET
query
DATE FISCALDAY PERIOD WEEKNUM YEAR
1 2004-12-27 00:00:00.0 1 01 1 2005
2 2004-12-28 00:00:00.0 2 01 1 2005
3 2004-12-29 00:00:00.0 3 01 1 2005
4 2004-12-30 00:00:00.0 4 01 1 2005
5 2004-12-31 00:00:00.0 5 01 1 2005
6 2005-01-01 00:00:00.0 6 01 1 2005
7 2005-01-02 00:00:00.0 7 01 1 2005
8 2005-01-03 00:00:00.0 8 01 2 2005
9 2005-01-04 00:00:00.0 9 01 2 2005
10 2005-01-05 00:00:00.0 10 01 2 2005
CACHED false
EXECUTIONTIME 2
SQL SELECT top 10 * FROM PeriodLookUp
Shouldn’t this be incrementing like a cfloop over a collection would increment?
-Jim