Hi
I want to disable my button, which owns an icon,
but the image disappears :( how can I improve my code that my button be disabled but the icon be displayed as something reasonable.
here is my code:
.
.
.
iisc.Button.create({wrapTitle:false, title:"<s:text name="portal.bulletinboard.publish"/>",
ID:"publishbtn",
type:"Button",
width:120,
icon:"/apusermanagement/images/demoApp/icon_export.png",
iconWidth:24,
colSpan:"4",
disabled: true,
click:"publishbtn.setDisabled(false); publishBulletinBoardForm.publishFormSaveData()"
})
.
.
.
TNX 4 Ur attention
Regards
nazila
I want to disable my button, which owns an icon,
but the image disappears :( how can I improve my code that my button be disabled but the icon be displayed as something reasonable.
here is my code:
.
.
.
iisc.Button.create({wrapTitle:false, title:"<s:text name="portal.bulletinboard.publish"/>",
ID:"publishbtn",
type:"Button",
width:120,
icon:"/apusermanagement/images/demoApp/icon_export.png",
iconWidth:24,
colSpan:"4",
disabled: true,
click:"publishbtn.setDisabled(false); publishBulletinBoardForm.publishFormSaveData()"
})
.
.
.
TNX 4 Ur attention
Regards
nazila
Comment