How to send the image from one page to another page

0
I have created three page upload page admin page and show all page. If I upload the image in upload page the image is shown in admin page I want to create a accept button at that image if the admin clicks it then only it should be shown in the show all page can you help
asked
1 answers
0

Maybe you should add a boolean Status member to the entity with default = false. In admin page, then make admin page display only accepted image filtered by [Status = true]. When admin clicks accept button, change the image status to active.

 

Another possible solution is to store the pending images in another entity. When the admin clicks accept button, map the object that hold the pending images to the entity used in admin page then remove the object holding the pending image.

answered