You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by linuja <li...@gmail.com> on 2005/11/23 10:34:35 UTC

How to impl double-combo in T4?

The first ItemSelectionModel can be initiated in pageAttached method, and
it's ok.

but where to initiate the second  ItemSelectionModel ?

Re: How to impl double-combo in T4?

Posted by Kent Tong <ke...@cpttm.org.mo>.
linuja <linuja <at> gmail.com> writes:

> 
> What is "How about doing it on demand"?
> 
> is this:
> 
> public ItemSelectionModel getFirstItemSelectionModel(){
>     if(firstItemSelectionModel == null{
>         firstItemSelectionModel = constructFirstSelectionModel();
>     }
> }

Yes.

--
Author of a book for learning Tapestry (http://www.agileskills2.org/EWDT)


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: How to impl double-combo in T4?

Posted by linuja <li...@gmail.com>.
What is "How about doing it on demand"?

is this:

public ItemSelectionModel getFirstItemSelectionModel(){
    if(firstItemSelectionModel == null{
        firstItemSelectionModel = constructFirstSelectionModel();
    }
}

2005/11/24, Kent Tong <ke...@cpttm.org.mo>:
>
> linuja <linuja <at> gmail.com> writes:
>
> >
> > The first ItemSelectionModel can be initiated in pageAttached method,
> and
> > it's ok.
> >
> > but where to initiate the second  ItemSelectionModel ?
>
> How about doing it on demand?
>
> --
> Author of a book for learning Tapestry (http://www.agileskills2.org/EWDT)
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>

Re: How to impl double-combo in T4?

Posted by Kent Tong <ke...@cpttm.org.mo>.
linuja <linuja <at> gmail.com> writes:

> 
> The first ItemSelectionModel can be initiated in pageAttached method, and
> it's ok.
> 
> but where to initiate the second  ItemSelectionModel ?

How about doing it on demand?

--
Author of a book for learning Tapestry (http://www.agileskills2.org/EWDT)


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org