Re: ProgressiveDisplay

Michał Więckowski <[email protected]>
Newsgroups gmane.comp.java.tapestry.user
Message-ID <CAPQvC-rFpipvMC6B4erqNarmGOVSY6oF67Di-HBtu9twboAdaA@mail.gmail.com>
Hi Thiago,

Finally I change the whole idea, but this is a very good advice for the
future.

So many thanks to you :)

2018-01-25 12:22 GMT+01:00 Thiago H. de Paula Figueiredo <[email protected]
>:

> 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 <
> [email protected]> 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
>



-- 
pozdrawiam

Michał Więckowski
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.