/* Add in Image Url
CustomFolderName :- This folder should be inside the OA_Media
ImageName := ViewAttribute with the Image Name from Database
*/
/OA_MEDIA/CustomFolderName /{@EmpNo}.jpg
CustomFolderName :- This folder should be inside the OA_Media
ImageName := ViewAttribute with the Image Name from Database
*/
/OA_MEDIA/CustomFolderName /{@EmpNo}.jpg
Adding Image & Data In Same Field
Process Request
=========================
Object localObject3 = (OAImageBean)localOATableBean.findIndexedChildRecursive("StatusImage");
Object localObject5 = new OADataBoundValueViewObject((OAWebBean)localObject3, "StatusImage");
Object localObject4 = new FixedBoundValue("/OA_MEDIA/");
ConcatBoundValue localConcatBoundValue = new ConcatBoundValue(new BoundValue[] { localObject4, localObject5 });
((OAImageBean)localObject3).setAttributeValue(SOURCE_ATTR, localConcatBoundValue);
((OAImageBean)localObject3).setAttributeValue(SHORT_DESC_ATTR, "Purchase order status indicator");
Status Item Type :- FlowLayout
No comments:
Post a Comment