Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > datetime jakarta taglib

Reply
Thread Tools

datetime jakarta taglib

 
 
LiquidDog
Guest
Posts: n/a
 
      02-25-2004
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.
 
Reply With Quote
 
 
 
 
P.Hill
Guest
Posts: n/a
 
      02-25-2004
LiquidDog wrote:
<dt:format pattern="MMMM d, yyyy"><dt:currentTime/></dt:format>"></td>

Specifying month, day and year and you want the current time?
What did you really want?

HTH,
-Paul

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Lowongan : Web Programmer / Developer (Jakarta Raya – Jakarta Pusat) untung Java 0 10-07-2009 01:22 PM
Logging the Jakarta Session Taglib mfaine Java 0 05-23-2008 02:06 PM
mx.DateTime to datetime.datetime mp Python 1 07-28-2006 10:57 PM
datetime: .datetime-.datetime = .timedelta, .time-.time=TypeError ? Christos TZOTZIOY Georgiou Python 3 09-13-2003 10:44 AM
RE: datetime: .datetime-.datetime = .timedelta, .time-.time=TypeError ? Tim Peters Python 0 09-09-2003 12:57 AM



Advertisments