on 02-03-2012 9:47 PM
Hi Experts,
We call a component as a popup on click of a button in exisiting component.
.
The component which is called as a popup is used to attach files to a business object and is used in other components also.My requirement is that user should not be able to add more then 1 file.
I dont want to modify anything in the component which is called as popup as it is used at many places.
We want when user adds 1 file then he should not be allowed to add more files.
I was thinking to disable the button after user has uploaded 1 file but what if he wants to delete that file or check it again.
Can we do it in a way without making changes to component used as popup?
Experts please suggest on this?
Then make use of some variable as count,it should count no of files stored in some place ( the place where he can delete as you said?) , if the count is less than or equal to 1, then enable the upload file UI element other wise disable it.
Regards
Srinivas
Edited by: sanasrinivas on Feb 4, 2012 10:22 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.