dear all
I encounter a cusomization prolbem with AbstractAttributesComponentBuilder for build a wtdocument in wizard step.
After I configure universal language . The html table sytle is not as expected.
This is piecess source code.The attribute attach customize dataUtility.
@TypeBased({"com.XXXXXXX.XXXXXXXXXXXXXXXXXXX"})
@ComponentBuilder({"XXXXXXXXXXXXXXXX.MaterialSpecSchedule"})publicclass XXXXXXXXXXXX extends AbstractAttributesComponentBuilder{ @Override public AttributePanelConfig buildAttributesComponentConfig(ComponentParams paramComponentParams) throws WTException{ Object obj= paramComponentParams.getContextObject(); ComponentConfigFactory localComponentConfigFactory = getComponentConfigFactory(); com.ptc.jca.mvc.components.JcaTypedAttrLayOutFactory tfactory= new com.ptc.jca.mvc.components.JcaTypedAttrLayOutFactory(); AttributePanelConfig localAttributePanelConfig =localComponentConfigFactory.newAttributePanelConfig(); String s = com.ptc.jca.mvc.components.JcaComponentParamsUtils.getInstance().getContextObjectClassName((com.ptc.jca.mvc.components.JcaComponentParams)paramComponentParams); localAttributePanelConfig.setType(s); localAttributePanelConfig.setComponentType(ComponentType.WIZARD_ATTRIBUTES_TABLE); GroupConfig localGroupConfig2 = localComponentConfigFactory.newGroupConfig("lwcGroupNameOutputVoltageCurrentGroup"); localGroupConfig2.setLabel("Output Voltage & Current"); com.ptc.mvc.components.AttributeConfig columnConfig= localComponentConfigFactory.newAttributeConfig("outputVoltageCurrent"); columnConfig.setDataUtilityId("voltageDataUtility"); localGroupConfig2.addComponent(columnConfig); localAttributePanelConfig.addComponent(localGroupConfig2); return localAttributePanelConfig; } protected ComponentType getComponentType(ComponentParams paramComponentParams, ComponentMode paramComponentMode){ return ComponentType.WIZARD_ATTRIBUTES_TABLE; }}
I also try to disable all customlize.The result is same.
How can I do to delete the style value ?