Skip to main content

Timeline for Visualforce form entry behaviour

Current License: CC BY-SA 3.0

6 events
when toggle format what by license comment
Jun 9, 2016 at 3:45 comment added TheMikeyBoosh I have added the same detail, but only using VF tags. The same issues occur. 1. Adding a new account - Account name still remains, regardless of rerender. 2. Adding new accounts stops after 1 or 2 entries...
Jun 9, 2016 at 3:34 comment added Anurag Bhardwaj If you need to reuse the query then you fire it in constructor and use the same variable of List<Account> everywhere you use. But I fear that whenever you perform CRUD operation you doesn't get the updated list. For that you need to follow the third step that I refer. So like in save() method after update statement, you called getAccounts() method that perform SOQL and return you the result.
Jun 9, 2016 at 3:10 comment added TheMikeyBoosh I am having trouble fitting in the function, in my pasted code (question 3). I already query the fields, I need to use this query again? Or is what you posted an addition? either way, how do i build the variable in to the save/insert functions?
Jun 9, 2016 at 3:03 comment added Anurag Bhardwaj Does it helps you?1. You can also apply classes, styles on pageBlockTable. 2. This method you have written in controller in save() method, I didn't find this in controller.
Jun 9, 2016 at 3:02 comment added TheMikeyBoosh Thanks for your reply! 1. The input is going on a highly customised modal, where i would rather keep the table for classes, styles and JS interactions. 2. I have added the full page to the HTML section above. 3. Thanks for this!
Jun 9, 2016 at 2:40 history answered Anurag Bhardwaj CC BY-SA 3.0