I have a search page, it will allow user to search all the existing records in the custom database table.Results will be displayed in advance table.
In my main page(creation page) I have a column called attachment. In that column users will upload pdf file. its optional column. they might ot mightnot attach attachments.
My scenerio is :
I have record no.1 with attachment
record no.2 with out attachment
If i search from my search page, i wil get 2 records in my results. If i click on record 1 it will call my main page and in my main page the attachments column SHOULD display..(render true)
similarly If i click on record 2 the attachments column in the creation page SHOULD NOT display.(render false)
hope it is clear, if you need any another information please let me know.