ok using this code

<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
        pageEncoding="ISO-8859-1"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">


<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<%@ taglib prefix="t" uri="http://myfaces.apache.org/tomahawk"%>



        <t:div styleClass="portletheader">
                <h:outputText value="Add Contact"></h:outputText>
        </t:div>

        <h:form>
                <table>
                        <tr>
                                <td width="50%"><h:outputText value="First Name: " 
/></td>
                                <td width="50%"><h:inputText id="fName" value="" 
/></td>
                        </tr>
                        <tr>
                                <td><h:outputText value=" Last Name: " /></td>
                                <td><h:inputText id="lName" value="" /></td>
                        </tr>
                        <tr>
                                <td><h:outputText value=" Office: " /></td>
                                <td><h:inputText id="office" value="" /></td>
                        </tr>
                        <tr>
                                <td><h:outputText value=" Extension: " /></td>
                                <td><h:inputText id="extension" value="" /></td>
                        </tr>
                        <tr>
                                <td><h:outputText value=" Email: " /></td>
                                <td><h:inputText id="email" value="" /></td>
                        </tr>
                        <tr>
                                <td><h:outputText value=" IM Username: " /></td>
                                <td><h:inputText id="imUsername" value="" 
/></td>
                        </tr>
                        <tr>
                                <td><h:outputText value=" IM Service:" /></td>
                                <td><h:inputText id="imService" value="" /></td>
                        </tr>
                </table>
                <h:commandButton styleClass="managerboxbutton" 
style="margin-top:5%;"
                        value="Add Contact" 
action="addcontact"></h:commandButton>
        </h:form>

the form gets rendered wrong. please see attachment for a picture.

_________________________________________________________________
Stay in touch with old friends and meet new ones with Windows Live Spaces http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us

Reply via email to