with transient short you have same problem as with flags. so you need a Boolean.
or a short and a flag (in which case two flags make much more sense, because flags are 32 bits now). -Matej Igor Vaynberg wrote: > yeah, basically - to save on space you can have a transient short > > and to represent each cached boolean value you need two bits - one to > flag if it has been cached and one to store the actual value. > > -Igor > > > On 8/15/06, *Matej Knopp* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> > wrote: > > Yeah, except that you'd need two flags. Forget it. > > -Matej > > Matej Knopp wrote: > > Make it a flag? > > > > -Matej > > > > Igor Vaynberg wrote: > >> i think it would be nice if visible/enabled flags were cached > for the > >> duration of request to keep things consistent. we can stash them > into a > >> transient var that gets reset in ondetach() or something. i dont > know of > >> implications this change might have though. > >> > >> -Igor > >> > >> > >> On 8/15/06, *Juergen Donnerstag* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > >> <mailto: [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>>> wrote: > >> > >> Just one comment: label.isVisible() will be called twice if > >> isVisible() == true. First the wicket:enclosure will call > it, and if > >> true the label itself will as well before rendering the > label. Any > >> simple idea on how to prevent it? Should we prevent it? > >> > >> Juergen > >> > >> On 8/15/06, Igor Vaynberg < [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > >> <mailto:[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>>> wrote: > >> > woops, minor correction - damn copynpaste > >> > > >> > > >> > > >> > > > >> > > <wicket:enclosure> > >> > > <table wicket:id="label-container" > class="notify"><tr><td><span > >> > wicket:id="label">[[notification]]</span></td></tr></table> > >> > > </wicket:enclosure> > >> > > > >> > > >> > should be: > >> > > >> > > >> > > > >> > > <wicket:enclosure> > >> > > <table class="notify"><tr><td><span > >> > wicket:id="label">[[notification]]</span></td></tr></table> > >> > > </wicket:enclosure> > >> > > > >> > > >> > -Igor > >> > > >> > > >> > > >> > ------------------------------------------------------------------------- > >> > >> > 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 > <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642> > >> > <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642>> > >> > >> > > >> > _______________________________________________ > >> > Wicket-develop mailing list > >> > Wicket-develop@lists.sourceforge.net > <mailto:Wicket-develop@lists.sourceforge.net> > >> <mailto:Wicket-develop@lists.sourceforge.net > <mailto:Wicket-develop@lists.sourceforge.net>> > >> > https://lists.sourceforge.net/lists/listinfo/wicket-develop > >> > > >> > > >> > > >> > >> > ------------------------------------------------------------------------- > > >> 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 > <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642> > >> > <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642>> > >> _______________________________________________ > >> Wicket-develop mailing list > >> Wicket-develop@lists.sourceforge.net > <mailto:Wicket-develop@lists.sourceforge.net> > >> <mailto: Wicket-develop@lists.sourceforge.net > <mailto:Wicket-develop@lists.sourceforge.net>> > >> https://lists.sourceforge.net/lists/listinfo/wicket-develop > >> > >> > >> > >> > ------------------------------------------------------------------------ > >> > >> > ------------------------------------------------------------------------- > >> 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 > <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642> > >> > >> > >> > ------------------------------------------------------------------------ > >> > >> _______________________________________________ > >> Wicket-develop mailing list > >> Wicket-develop@lists.sourceforge.net > <mailto:Wicket-develop@lists.sourceforge.net> > >> https://lists.sourceforge.net/lists/listinfo/wicket-develop > > > > > > > ------------------------------------------------------------------------- > > 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 > <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642> > > _______________________________________________ > > Wicket-develop mailing list > > Wicket-develop@lists.sourceforge.net > <mailto:Wicket-develop@lists.sourceforge.net> > > https://lists.sourceforge.net/lists/listinfo/wicket-develop > > > > > ------------------------------------------------------------------------- > > 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 > <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642> > _______________________________________________ > Wicket-develop mailing list > Wicket-develop@lists.sourceforge.net > <mailto:Wicket-develop@lists.sourceforge.net> > https://lists.sourceforge.net/lists/listinfo/wicket-develop > <https://lists.sourceforge.net/lists/listinfo/wicket-develop> > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > 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-develop mailing list > Wicket-develop@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-develop ------------------------------------------------------------------------- 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-develop mailing list Wicket-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-develop