on 10-16-2008 2:01 PM
We are making localization of some product. There are Calendars on some IViews. By default each calendar shows date with format, which depends on current user language.
We need to change this format by setting the value from our application config to this Calendar element.
Calendar must show format, which was set in configuration. Format must not be depend on current user language.
We can change such format by setting simple type and his format.
But we need to set this format from configuration programmatically.
Thanks,
Maksim.
HI,
ISimpleTypeModifiable sim = wdContext.getNodeInfo().getAttribute(<aattributename>).getModifiableSimpleType();
sim.setFormat("yyyy-mm-dd");//you may set the format as per your logic.
Regards,
Murtuza
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.