For a current project, I needed to use a db:select tag
in an empty dbforms (no table) to display some
selectable information (report selection criteria). In
addition, needed to have the ability to select more
than one item from the selection. To facilitate this
situation, I added the following in the
DbSelectTag.generateSelectHeader method:
...
if (size != null)
{
if (size.endsWith("*")) { // MGS
size = size.substring(0, size.length()-1);
tagBuf.append(" MULTIPLE");
}
tagBuf.append(" size=\"");
tagBuf.append(size);
tagBuf.append("\"");
}
...
This way, when size is specified and it ends with an
'*' (i.e., size="6*"), the mulitple selection flag is
set for the control. This may or may not be useful to
others, but just in case, here it is.
Mike