Source Code‎ > ‎WebContent‎ > ‎BT‎ > ‎

BTMyProfile.jsp

<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sb" uri="/struts-bootstrap-tags"%>
<%@ taglib prefix="sj" uri="/struts-jquery-tags"%>
<h1 align="center">My Profile</h1>
<div align="center">
    <font color="red"><s:actionerror /></font> <font color="green"><s:actionmessage /></font>
</div>
<s:form action="s_MyProfile" theme="bootstrap"
    cssClass="form-horizontal offset4">
    <s:hidden name="id"></s:hidden>
    <s:hidden name="login"></s:hidden>
    <s:textfield name="login" label="Login*" disabled="true"
        tooltip="Enter your Login here"></s:textfield>
    <s:textfield name="firstName" label="First Name*"
        tooltip="Enter your First Name here"></s:textfield>
    <s:textfield name="lastName" label="Last Name*"
        tooltip="Enter your Last Name here"></s:textfield>
    <s:radio name="gender" list="{'Male','Female'}" labelposition="inline"
        label="Gender*" tooltip="Enter your Gender here"></s:radio>
    <s:textfield name="mobileNo" label="Mobile No*"
        tooltip="Enter your Mobilr No. here"></s:textfield>
    <sj:datepicker id="datepicker" parentTheme="bootstrap" name="dob"
        label="Date of Birth*" tooltip="Enter your DOB here"
        cssClass="form-control" elementCssClass="col-sm-5" showOn="focus"
        inputAppendIcon="calendar" />
    <div class="span6" align="center">
        <s:submit name="operation" value="Save" theme="simple"
            cssClass="btn-success"></s:submit>
        <s:submit name="operation" action="d_ChangePassword"
            value="Change Password" theme="simple" cssClass="btn-success"></s:submit>
    </div>
</s:form>
Comments