This content has been marked as final. Show 2 replies
Gor_Mahia wrote:What version of Apex are you using? Not sure if you can partially submit a HTML region. I could think of 3 possible options:
I have 2 HTML regions in my page. Region1 has its set of buttons like while region2 but when submit button in region 1 is clicked i want it to only refresh/submit that particular region not the entrire page, also when button in region2 is clicked it should submit only that region2.
1. AJAX region pull as described here:
Partial refreshing of pages in 2.0 ?
So, in your case, you can have the Region 2 in a different page and use the technique described above to pull the region's HTML into your current page.
2. Use the Skillbuilder's modal window plugin - http://apex-plugin.com/oracle-apex-plugins/dynamic-action-plugin/skillbuilders-modal-page_138.html
You can have the Region 2 developed in a different page. You can then invoke it from your current page using a DA.
Set item value using AJAX
Hope the above helps.
I have 2 HTML regions in my page...You haven't supplied nearly enough information to be specific. You haven't explained what is being done by the submit. Certainly you could have a button in one region that submits with a request of 'ACTION_1'and a button in the second region that submits with a request of 'ACTION_2'. The page processing kicked off by ACTION_1 can be different than that kicked off by ACTION_2.
That said, if the two regions are contain page items based on a table and part of the submit process is a 'Process Row' function for the table, separating that would be... interesting. Again, without more details, I can't provide a focused suggestion.