L
LiquidDog
I am using the following code using the jakarta taglibs datetime tag:
<tr>
<td width="52">Date:
<dt:format pattern="MMMM d, yyyy">
<dt:currentTime/>
</dt:format>
</td>
<td width="123">
<input name="textfield" type="text" size="20"
value="<dt:format pattern="MMMM d,
yyyy"><dt:currentTime/></dt:format>"></td>
The output from the first dt tag is as expected: February 25, 2004
The output from the second tag (inside the input field value
attribute) comes out as: 0014 25, 2004
The 0014 appears to be a random number. I have tried pattern="MMM d,
yyyy" and get similar results. Am I missing something?
Thanks in advance for any help.
<tr>
<td width="52">Date:
<dt:format pattern="MMMM d, yyyy">
<dt:currentTime/>
</dt:format>
</td>
<td width="123">
<input name="textfield" type="text" size="20"
value="<dt:format pattern="MMMM d,
yyyy"><dt:currentTime/></dt:format>"></td>
The output from the first dt tag is as expected: February 25, 2004
The output from the second tag (inside the input field value
attribute) comes out as: 0014 25, 2004
The 0014 appears to be a random number. I have tried pattern="MMM d,
yyyy" and get similar results. Am I missing something?
Thanks in advance for any help.