on 10-22-2004 9:53 AM
We are trying to bind the context from model interface to Custom controller, everything is fine. But when we try to bind from Custom controller to View Controller, apparently in the view context, it did not support java.util.Date and java.util.Calendar datatypes. What should we do, do we change the date type to String. Or am I doing something wrong here?
You probably want to use the type "date" from the Java DDIC (data dictionary).
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes. As a general rule: whenever your context attribute is used by the UI, it must have a type from the dictionary, not a Java native type. The latter ones are just for internal use within your controller, not for use by the UI.
Final remark: don't be surprised that "date" is mapped to java.sql.Date.
this definitely is WD, therefore moved here.
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 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.