Timeline for Problem with understanding way of work with VF page
Current License: CC BY-SA 4.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 4, 2019 at 14:49 | comment | added | Marcin Trofiniak | The man is right!!! All needed is : <apex:commandButton value="Generate" action="{!dataSetter}"/> and everything works fine! | |
Mar 4, 2019 at 14:48 | vote | accept | Marcin Trofiniak | ||
Mar 5, 2019 at 10:09 | |||||
Mar 1, 2019 at 15:49 | comment | added | cropredy | The whole point is that command button when clicked sends the form elements to your setters, then the page is refreshed by invoking the getters. | |
Mar 1, 2019 at 11:24 | comment | added | Marcin Trofiniak | So the function you say is not needed on the onclick atribute is really going to be the whole huge function that will work with my logic. So i need it to trigger after values of startDate and endDate will be transfered. | |
Mar 1, 2019 at 9:16 | comment | added | Marcin Trofiniak | So what you say is that we can't really control or make sure when what will be triggered? Cause what i want is that right after button being clicked i want values to be sent to setter so that i can use them in my SOQL in controller and gather records from that period. Then i want to do aloooot on that that few more SOQL's and then change variable mainTableArea so that it will have information i generated. So i can deal with all of the logic in between what i need is a way to force order of events some how... : By the way thx for answer! :D And plis some more info | |
Mar 1, 2019 at 2:46 | history | answered | cropredy | CC BY-SA 4.0 |