Thanks. Perhaps I'll create a webmarkup container that is as minimal as possible with visibility false by default -- and then just name it NullComponent.
On 8/20/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > in this case you can do something like this - which is a bit of a hack but > ok because you have a limited number of rows > > > if you have column x then add the appropriate component - if not add a > webmarkup container and set its visibility to false. > > -Igor > > > > On 8/20/06, Scott Swank <[EMAIL PROTECTED]> wrote: > > > I'm working on a table that is to contain a combination of static and > dynamic columns -- though the dynamic ones aren't too varied. It goes > like this: > > ProductType Category SubCategory Day1 Day2 ... DayN > > I'm hesitant to use a DataTable or DataGridView because then our html > folk can't see much of anything. We won't have more than 5 days, is > there an easy way to simply not display a given <td>? > > <tr> > <td wicket:id="ProductType">Product Type A</td> > <td wicket:id="Category">Category 100</td> > ... > <td wicket:id="Day1">8/1</td> > <td wicket:id="Day2">8/2</td> > ... > </tr> > > > Or is it time for me to figure out how fragments work? > > <tr> > <td wicket:id="ProductType">Product Type A</td> > <td wicket:id="Category">Category 100</td> > ... > <wicket:fragment wicket:id="myDay"> > <td wicket:id="DayN">8/1</td> > </wicket:fragment> > ... > </tr> > > Thank you for your time. > > Scott > > > > > -- > Scott Swank > reformed mathematician > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Wicket-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > Wicket-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > -- Scott Swank reformed mathematician ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
