Yves Sablonier wrote:
> I could not find any useful description in the user guide or tag library
> of how to format my dateField. What should I write into format="xxx"?
> There is an example of how to use SimpleDateFormat and examples are
> taken from Java API - using this examples directly with the Attribute
> produces an exception. But how can I use it? Is there any further
> description of this attribute? Thanks - Yves
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> DbForms Mailing List
> 
> http://www.wap-force.net/dbforms
> 
> 
> 

Hi Yves,
here it is an example with the dateLabel tag...

<%
   SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/yyyy");
%>

...
<db:dateLabel format='<%=sdf %>' fieldName="MY_DATE_FIELD"/>

try this example with the dateField tag.

Luca




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
DbForms Mailing List

http://www.wap-force.net/dbforms

Reply via email to