aspose file tools*
The moose likes JSF and the fly likes display date(formatted with select boxes) from oracle DB in jsf Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "display date(formatted with select boxes) from oracle DB in jsf" Watch "display date(formatted with select boxes) from oracle DB in jsf" New topic
Author

display date(formatted with select boxes) from oracle DB in jsf

paul ogunnaike
Greenhorn

Joined: Feb 23, 2012
Posts: 1
i ave designed a from, and i am trying to input data from an oracle DB. the date is in DD-MMM-YYYY format in the DB i want it to show like that in the form but can get it to work.. sample of d form code.

<LABEL for="DOB" >Date of Birth</LABEL>

<select id="dateofbirth" tabIndex=2 name=dateofbirth_day style="width:55px";>
<OPTION value=" " selected>Select</OPTION>
<option value="01">01</option>
<option value="02">02</option>
<option value="03">03</option>
<option value="04">04</option>
<option value="05">05</option>
<option value="06">06</option>
<option value="07">07</option>
<option value="08">08</option>
<option value="09">09</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>
<option value="23">23</option>
<option value="24">24</option>
<option value="25">25</option>
<option value="26">26</option>
<option value="27">27</option>
<option value="28">28</option>
<option value="29">29</option>
<option value="30">30</option>
<option value="31">31</option>

</select><SELECT id="dateofbirth" tabIndex=7
name=dateofbirth_month style="width:55px";><OPTION value=" "
selected>Select</OPTION><OPTION
value=JAN>JAN</OPTION><OPTION
value=FEB>FEB</OPTION><OPTION
value=MAR>MAR</OPTION><OPTION
value=APR>APR</OPTION><OPTION
value=MAY>MAY</OPTION><OPTION value=JUN>JUN</OPTION><OPTION
value=JUL>JUL</OPTION><OPTION
value=AUG>AUG</OPTION><OPTION
value=SEP>SEP</OPTION><OPTION
value=OCT>OCT</OPTION><OPTION
value=NOV>NOV</OPTION><OPTION
value=DEC>DEC</OPTION></SELECT>
<INPUT id=dateofbirth_year tabIndex=8 maxLength=2
onchange=trimSpaces(this.form.dateofbirth_year); size=2
name=dateofbirth_year style="width:55px";>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: display date(formatted with select boxes) from oracle DB in jsf