Hi,
I have a JSP page and while it loads up, I want it to get the value of a DocbaseAttributeValue. I've tried getValue() and getAttributeValue() methods but they are returning null value for the first time when we click ok button on jsp. and it returns actual value when we click ok button for the next time.
I also tried my code in the updateStateFromRequest() method too with the same results.
here is my code
public void updateStateFromRequest() {
DocbaseAttributeValue desVal = (DocbaseAttributeValue) getControl( "attr_value_description", DocbaseAttributeValue.class);
String description = desVal.getValue();
System.out.println("description value is>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"+description);
so, for the first time when you click ok button it is printing null value. and for the second time it is printing the exact value.
can any one help me on how to solve this problem i need to get the exact value for the first time itself.
thank you.