On Friday 17 June 2005 03:10, Kent Tong wrote:
> <form name="myform" action="bar">
> <p><input type="text" name="foo"/>

I used a table for nice alignment:
<FORM jwcid='loginForm' action="">
        <table>
        <tr>
                <td>Name</td>
                <td><input jwcid='loginUserName'/></td>
        </tr>
        <tr>
            <td>Password</td>
            <td><input jwcid="loginPassword" type="password" 
maxlength="50"/></td>
        </tr>
        <tr>
            <td/>
            <td align='right'><br>
                <input class='button' type="submit" value="Log in" 
maxlength="50">&nbsp;
            </td>
        </tr>
    </table>    
</FORM>

Actually this is what tapestry generates:
<form method="post" name="Form0" action="/koen/app">
<input type="hidden" name="service" value="direct/1/Login/loginForm"/>
<input type="hidden" name="sp" value="S0"/>
<input type="hidden" name="Form0" value="loginUserName,loginPassword"/>
        <table>
        <tr>
                <td>Name</td>
                <td><input type="text" name="loginUserName" value="" 
displayName="Name"/></td>
        </tr>
        <tr>

            <td>Password</td>
            <td><input type="password" name="loginPassword" value="" 
maxlength="50"/></td>
        </tr>
        <tr>
            <td/>
            <td align='right'><br>
                <input class='button' type="submit" value="Log in" 
maxlength="50">&nbsp;
            </td>

        </tr>
    </table> </form>

You can see the form and table element are switched.
Any ideas how to solve this?

I tried it your way, but it looks very ugly...
-- 

Koen Segers

<[EMAIL PROTECTED]>
<http://eddyvite.dyndns.org>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to