You need to sign in to do that
Don't have an account?
Gaurav Agnihotri 11
unable to display a message on the Visualforce page
I want to display a message when a button is invoked in VF page.
I declared it as a public string:
public string broadcastMessage { get; set; }
I am updating the value in a button calling a class search()
the value is not updating in the VF page.
Not sure what I am doing wrong!
I declared it as a public string:
public string broadcastMessage { get; set; }
I am updating the value in a button calling a class search()
if (oppSplits.size() > 0) { //oppSplitSize = true; if (oppSplits.size() <= 400) { OpportunityEdit newOppEdit = new OpportunityEdit(); newOppEdits = newOppEdit.createOppEditList(oppSplits); newOppEditsSearch = newOppEdit.createOppEditList(oppSplits); } else { broadcastMessage = 'The record size is more than 400. Refine the Query to reduce the size'; System.debug('broadcastmessage='+broadcastMessage); } }
the value is not updating in the VF page.
Not sure what I am doing wrong!
try like below