Source Code‎ > ‎WebContent‎ > ‎jsp‎ > ‎

MyProfile.jsp

<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sx" uri="/struts-dojo-tags"%>
<sx:head />
<h1 align="center">My Profile</h1>
<font color="red"><s:actionerror /></font>
<font color="green"><s:actionmessage /></font>
<s:form action="s_MyProfile">
    <s:hidden name="id"></s:hidden>
    <s:hidden name="login"></s:hidden>
    <tr>
        <td><s:textfield name="login" label="Login*" disabled="true"></s:textfield></td>
        <td><s:textfield name="firstName" label="First Name*"></s:textfield></td>
        <td><s:textfield name="lastName" label="Last Name*"></s:textfield>
        <td><s:radio name="gender" list="{'Male','Female'}"
                label="Gender*"></s:radio></td>
        <td><s:textfield name="mobileNo" label="Mobile No*"></s:textfield></td>
        <td><sx:datetimepicker name="dob" label="Date of Birth*"
                toggleType="explode" adjustWeeks="true" displayFormat="dd/MM/yyyy"></sx:datetimepicker></td>
    </tr>
    <tr>
        <td><s:submit name="operation" value="Save" theme="simple"></s:submit></td>
        <td><s:submit name="operation" action="d_ChangePassword"
                value="Change Password" theme="simple"></s:submit></td>
</s:form>
Comments