Re: Extending WOPopupButton
Anjo Krank <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.devel |
|---|---|
| Message-ID | <[email protected]> |
Either by re-writing the dynamic element (not recommened), by using some funky javascript (tag.innerHTML = "...") - also not recommended, or write some WOComponent by looking at the ComponentElementTour example. Cheers, Anjo Am 09.02.2006 um 21:25 schrieb André Koppany: > Hi, > > I want to extend the normal WOPopupButton and make a resuable > component with the > following behavior: > > <select > > <option>Element 1</option> > <optgroup label="Group1"> > <option>Element 1</option> > </optgroup> > <optgroup label="Group2"> > <option>Element 2</option> > </optgroup> > </select> > > The popup differs from the default one in having special <optgroup> > elements. > How can I add this elements to my WOPopupButtons ? > > Any help is very appreciated, > > André > > > > _______________________________________________ > WebObjects-dev mailing list > [email protected] > http://www.omnigroup.com/mailman/listinfo/webobjects-dev