Re: ProgressiveDisplay

"Thiago H. de Paula Figueiredo" <[email protected]>
Newsgroups gmane.comp.java.tapestry.user
Message-ID <CAE_88GYaOhKK4TC0=0bkg6K5jG=+K2sDPOCMB+Z5HDOBWGuJrA@mail.gmail.com>
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
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.