use block:autoPagingContent instead of block:components.autoPagingContent On Mon, Oct 1, 2012 at 7:40 AM, Ken in Nashua <kcola...@live.com> wrote:
> > Hi Folks, > > I am modeling a gallery in a template. This worked beautiful in T4. > > But for T5 I have the following: > > > Gallery.TML (without showing all the code) > > <t:block t:id="autoPagingContent" id="autoPagingContent"> > </t:block> > > <t:block t:id="collectionContent" id="collectionContent"> > </t:block> > > <t:Any id="headerSelect"> > <t:delegate to="block:components.autoPagingContent"/> > </t:Any> > <t:Any id="galleryContent"> > <t:delegate to="block:components.collectionContent"/> > </t:Any> > > I am receiving an error as follows > > error Template for component Home:gallerywidget does not contain a block > with identifier 'components.autoPagingContent'. > > My question is... > is this notation valid for T5 'components.autoPagingContent' > > I know the error mentions Home.tml and yes thats where this gallery is > defined in code template... I will show that for reference > > <t:form t:id="galleryForm" id="galleryForm" clientValidation="true" > > <t:errors/> > > <t:Gallery t:id="galleryWidget" id="galleryWidget" > collectionType="${uploadableMediaClass}" > itemsPerPage="${itemsPerPage}" > tableColumns="${tableColumns}" > cursor="${cursor}" > /> > > </t:form> > > > any help is appreciated. I am unsure as to why it isnt locating the block. > > kcola...@live.com > > > -- BR Ivan