You need to sign in to do that
Don't have an account?
actionRegion to partition validation blocks?
I have a problem which I think is simple but for some reason is eluding me. Here's the setup: I have two pageBlocks on the same VF page, but they are independent from each other, meaning user can fill either one or another and save one or another, not both. However both blocks have their own mandatory fields and each block has its own save button which fires up an extension method.
The problem: button in one block always fires the validation for the entire page, regardless of where I put the actionRegion, thus preventing me from submiting jsut a portion I need (which is valid). I tried embedding the whole pageblocks in action regions, it didnt work, i tried just the sections, still no game. It seems like actionRegion has zero influence on the commandButton. Do keep in mind that I have to submit the page block data on button so immediate=true wont cut it.
Hi,
Have you tried 2 forms, one for each pageBlock ?
Kind Regards,
Catherin.