Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily.
X
Does anyone know how to register a UIComponentValidator for a soft type? For example I have soft typed the Change Task to an Engineering Change Task. I want to register a validator but I only want it to be called when an Engineering Change Task is being created and NOT when a Change Task is being created. I found in the Customization Guide on page 803 that this can be done but I haven't seen an example with a soft type.
The requestor attribute is supposed to be able to do this but I'm wondering if it's not working because my soft type class is not defined in actions.xml. Do I have to "duplicate" the blocks for the changeTask for my EngineeringChangeTask in actions.xml? Any thoughts?
Patrick Williams | Engineering Systems | c: 616.947.2110 [cid:image003.jpg@01CEE209.8D6FA3D0]
Same syntax as OIR, like with "WCTYPE|" leading, but it's been awhile. Suggest trying both ways.
I personally find it easier to against WTObject one of these, then setup a properties file to eval type and then load another class for biz logic execution.
Yes David I tried that syntax. The reason I can't put my soft type in as the requestor is because my soft type doesn't have a definition block in the actions.xml file...and it shouldn't.
Patrick Williams | Engineering Systems | c: 616.947.2110 [cid:image002.jpg@01CEE431.F12DBCC0]