Changing Attribute to Required (or Not Required) Without Using Custom Control
I'm trying to modify an attribute on the properties page of an object in Web Publisher after the controls on the page have been initialized. I'm trying to change the attribute so it's required (or not required) depending on the value of another attribute. So, for example, if a user selects a certain value for attribute A, then attribute B becomes required. If the user selects a different value for attribute A, then attribute B becomes not required.
The only way I've been able to make this work is by creating a custom control using the <docbaseattributevalue> tag on the JSP form page and modifying it in the onRender() method with DocbaseAttributeValue.setRequired(Boolean boolean). I've been told there is a way to do this without creating a custom control. The custom control is presenting a problem because I don't want to change the order of attribute B in relation to the other attributes coming from the docbase. Is this possible without creating a custom control?
Any help would be greatly appreciated.
Categories
- All Categories
- 108 Developer Announcements
- 53 Articles
- 106 General Questions
- 144 IM Services
- 43 OpenText Hackathon
- 32 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 899 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 120 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management