on 06-16-2008 10:28 AM
Hi ;
I want to set the date to a fix date as 31/12/9999 and then update it in backend.please specify the code for the same .Its urgent.
Hi,
To set the date to 31/12/9999,
lets say context attribute name is Date
Calendar cal = Calendar.getInstance();
cal.set(9999, 11, 31);
Date date = new Date(cal.getTimeInMillis());
wdContext.currentContextElement().setDate(date);
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Ayyapparaj;
It worked.Now I am facing another problem that I have an overview page and detailview page.On overview there is a table which contains tha person name and occupation .On Detail we display entire details of the person selected on overview and allow the details to be modified. So changes in the name reflect on overview .
But I want the name to reflect in overview on insert as well how to do that .
I have to refresh overview after inserting new record to see it.
Is it possible without refreshing overview
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
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.