Is you form inside ProgressiveDisplay or the other way around? If not, then the error is expected, since part of the form would be loaded in a request and the rest in another.
The solution for your problem is creating a component which is basically the Select component but loading the options through AJAX (or finding some existing one that does that). On Wed, Jan 24, 2018 at 1:37 PM, Michał Więckowski < michal.wieckows...@gmail.com> wrote: > Hi Tapestry Users, > > I've got a question regarding ProgressiveDisplay component. I try to use it > combined with form element but each time it is complaining that there is no > form (*Component must be enclosed by a Form component*). > > I want to use *progressivedisplay *because data for my select are loading > long. > > > Example page: > > *Tml page:* > > <form t:type="form" t:id="myForm"> > <div> > <t:label for="data1">Data 1</t:label> > <t:textfield t:id="data1" value="...." /> > </div> > <div> > <t:label for="data2">Data2</t:label> > <t:progressivedisplay t:id="showSelect"> > <t:select t:id="data2" t:model="myModel" t:value="......"/> > </t:progressivedisplay> > </div> > </t:form> > > > Any ideas how this can get working will be appreciated :) > -- Thiago