Sun Java System Web Server 6.1 SP9 Administrator's Guide

In a horizontal bar

The sample code below would create a form with a select box of all collections, a query input box and a submission button all in one row.

<s1ws:form>
    <table cellspacing="0" cellpadding="3" border="0">
    <tr class="navBar">
        <td class="navBar"><s1ws:collElem type=”select”/></td>
        <td class="navBar">
            <s1ws:querybox size="30"/>
            <s1ws:submitButton class="navBar" style="padding: 0px; 
margin: 0px; width: 50px"/>
        </td>
    </tr>
    </table>
</s1ws:form>