Is it possible to change the default max length validator for Character fields? 255 is often not long enough and I would prefer a much larger value by default that I only have to change if I want to specify a smaller max length.
Thanks,
Edd
Changing default max length validator
Moderators: Jon, Steve, Ian, Dave
-
- Ebase User
- Posts: 53
- Joined: Wed Jan 02, 2013 4:23 pm
- Location: Lyndhurst, Hampshire
- Contact:
-
- Moderator
- Posts: 1342
- Joined: Wed Sep 12, 2007 12:49 pm
Edd,
This is not one of the parameters that we have externalised. However, it is technically possible, just a bit difficult. The value of 255 is contained within the MAX_LENGTH field validator in file sysConfig.xml which is contained within the ufs.jar file in package com.ebasetech.ufs.kernel. To change this you need to un-jar the ufs.jar file, edit the file, then re-jar it. And you would need to repeat this each time you upgrade the Ebase Xi system. Might not be worth the effort.
Regards
Jon
This is not one of the parameters that we have externalised. However, it is technically possible, just a bit difficult. The value of 255 is contained within the MAX_LENGTH field validator in file sysConfig.xml which is contained within the ufs.jar file in package com.ebasetech.ufs.kernel. To change this you need to un-jar the ufs.jar file, edit the file, then re-jar it. And you would need to repeat this each time you upgrade the Ebase Xi system. Might not be worth the effort.
Regards
Jon
0 x
-
- Ebase User
- Posts: 53
- Joined: Wed Jan 02, 2013 4:23 pm
- Location: Lyndhurst, Hampshire
- Contact:
Who is online
Users browsing this forum: No registered users and 17 guests