Yes, its an enhancement to HTML that most (but not all) browsers no support. It's the right way to break a bunch of options into groups, with the options indented under the corresponding labels.
On 5/29/07, Davor Hrg <[EMAIL PROTECTED]> wrote:
Optiongroup is a SELECT tag feature, http://www.htmlhelp.com/reference/html40/forms/optgroup.html Davor Hrg On 5/29/07, Daniel Jue <[EMAIL PROTECTED]> wrote: > > Great Howard! Extending the abstract worked fine, and the last > explanation helped me grasp the usage. > > I've never dealt with "option groups" before, is that related somehow > to radio groups, or is that a term for multiple selections as seen > with Palette? > > On 5/29/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > > I should add; this visitor interface is how Select and Palette > components > > navigate the options and option groups in the correct render > order. Moving > > that logic to the SelectModel removes a lot of repetitive code inside > the > > two components. > > > > On 5/29/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > > > > > > Hint #1: Connect to the source (that "arg0" means you haven't > connected > > > the JAR to source, so you miss out on all the Javadoc). > > > > > > Hint #2: I put the implementation of this into a base class you can > extend > > > from. > > > > > > On 5/29/07, Daniel Jue <[EMAIL PROTECTED]> wrote: > > > > > > > > Hello all, > > > > > > > > I have a > > > > > > > > public class GenericSelectionModel<T> implements SelectModel { > > > > ...} > > > > > > > > That I need to add this method to: > > > > > > > > public void visit(SelectModelVisitor arg0) {...} > > > > > > > > I think Howard added this in response to some enhancements to the T5 > > > > Palette component. At the moment I can't quite wrap my head around > > > > how to use it. Any tips out there? > > > > > > > > Thanks > > > > > > > > Daniel > > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > -- > > > Howard M. Lewis Ship > > > TWD Consulting, Inc. > > > Independent J2EE / Open-Source Java Consultant > > > Creator and PMC Chair, Apache Tapestry > > > Creator, Apache HiveMind > > > > > > Professional Tapestry training, mentoring, support > > > and project work. http://howardlewisship.com > > > > > > > > > > -- > > Howard M. Lewis Ship > > TWD Consulting, Inc. > > Independent J2EE / Open-Source Java Consultant > > Creator and PMC Chair, Apache Tapestry > > Creator, Apache HiveMind > > > > Professional Tapestry training, mentoring, support > > and project work. http://howardlewisship.com > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
-- Howard M. Lewis Ship TWD Consulting, Inc. Independent J2EE / Open-Source Java Consultant Creator and PMC Chair, Apache Tapestry Creator, Apache HiveMind Professional Tapestry training, mentoring, support and project work. http://howardlewisship.com