The goal is to make a component made up of other components that might 
or might not be needed at runtime. If I understand you suggestion, I 
should have a markup file for that component, and define the markup for 
the subcomponents as fragments in that same markup file. Does this allow 
me to dynamically leave out (i.e not create) some of these subcomponents 
if they are not required at runtime ?

Igor Vaynberg wrote:
> you can add any combination of components if you want them to be 
> repeated for every row. if you want rows to contain different 
> combinations of components then you have to use panels or fragments.
>
> for something like this i would probably use fragments rather then 
> panels because it doesnt make sense to have a buch of tiny external 
> markup files.
>
> -Igor
>
>
> On 9/25/06, *Jan Vermeulen* <[EMAIL PROTECTED] 
> <mailto:[EMAIL PROTECTED]>> wrote:
>
>     To our knowledge, the only components you can add to a repeating view,
>     are markup containers. So I cannot add just a textfield or a
>     combo. For
>     now, we are wrapping these simple components in their own panel,
>     just to
>     be able to add them dynamically to a repeating view.
>
>     Igor Vaynberg wrote:
>     > On 9/25/06, *Jan Vermeulen* <[EMAIL PROTECTED]
>     <mailto:[EMAIL PROTECTED]>
>     > <mailto: [EMAIL PROTECTED]
>     <mailto:[EMAIL PROTECTED]>>> wrote:
>     >
>     >     (2) use a repeating view, to which we can add the
>     subcomponents that
>     >     should display dynamically. This has the disadvantage that
>     repeating
>     >     views only accept markup containers, so we have to create a
>     wrapper
>     >     around all subcomponents if we want to add them dynamically.
>     >
>     >
>     >
>     > what exactly do you mean by this?
>     >
>     > -Igor
>     >
>     >
>     >     Question: is there a way we can build a component where we can
>     >     dynamically define the markup for the subcomponents, so that
>     we don't
>     >     have to generate any components that are not required or wrap
>     >     components
>     >     in markup containers to be able do add them dynamically ?
>     >
>     >     Jan Vermeulen.
>     >
>     >
>     >    
>     -------------------------------------------------------------------------
>     >     Take Surveys. Earn Cash. Influence the Future of IT
>     >     Join SourceForge.net 's Techsay panel and you'll get the
>     chance to
>     >     share your
>     >     opinions on IT & business topics through brief surveys --
>     and earn
>     >     cash
>     >    
>     http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>     
> <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV>
>     >    
>     <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>     
> <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV>>
>     >     _______________________________________________
>     >     Wicket-user mailing list
>     >     [email protected]
>     <mailto:[email protected]>
>     >     <mailto: [email protected]
>     <mailto:[email protected]>>
>     >     https://lists.sourceforge.net/lists/listinfo/wicket-user
>     <https://lists.sourceforge.net/lists/listinfo/wicket-user>
>     >
>     >
>     >
>     ------------------------------------------------------------------------
>     >
>     >
>     -------------------------------------------------------------------------
>     > Take Surveys. Earn Cash. Influence the Future of IT
>     > Join SourceForge.net's Techsay panel and you'll get the chance
>     to share your
>     > opinions on IT & business topics through brief surveys -- and
>     earn cash
>     >
>     http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>     
> <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV>
>     >
>     ------------------------------------------------------------------------
>     >
>     > _______________________________________________
>     > Wicket-user mailing list
>     > [email protected]
>     <mailto:[email protected]>
>     > https://lists.sourceforge.net/lists/listinfo/wicket-user
>     <https://lists.sourceforge.net/lists/listinfo/wicket-user>
>     >
>
>
>     -------------------------------------------------------------------------
>     Take Surveys. Earn Cash. Influence the Future of IT
>     Join SourceForge.net's Techsay panel and you'll get the chance to
>     share your
>     opinions on IT & business topics through brief surveys -- and earn
>     cash
>     http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>     
> <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV>
>     _______________________________________________
>     Wicket-user mailing list
>     [email protected]
>     <mailto:[email protected]>
>     https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ------------------------------------------------------------------------
>
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>   


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to