on 07-24-2006 8:12 AM
Hi,
how to show the current system date in the Input field
Thanks for all ur help.
Hi jayaram,
use the code,
java.sql.Date sqlDate;
java.util.Date tempDate;
tempDate = Calendar.getInstance().getTime() ;
sqlDate = new java.sql.Date(tempDate.getTime());
Create a attribute of type date and set the value of this attribute by sqlDate
as
wdContext.currentContextElement.set<Contextattribute>(sqlDate);
and finally assign this attribute to the inputfield.
Regards,
Saravanan K
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.