Re: [Dev] Clarification on invoking particular fragment in UUF

2017-01-11 Thread KasunG Gajasinghe
Hi Shan/Sajith, On Wed, Jan 11, 2017 at 12:57 PM, Shan Mahanama wrote: > Hi all, > > We can solve this by adding a hidden field to each form. > > > > Then inside of the onRequest function, we can check the value of the > hidden field. > > if (env.request.method == "POST" &&

Re: [Dev] Clarification on invoking particular fragment in UUF

2017-01-10 Thread Shan Mahanama
Hi all, We can solve this by adding a hidden field to each form. Then inside of the onRequest function, we can check the value of the hidden field. if (env.request.method == "POST" && env.request.formParams["tabId"]="tab1") { // do stuff related to tab1 } If a fragment is used only in

Re: [Dev] Clarification on invoking particular fragment in UUF

2017-01-10 Thread KasunG Gajasinghe
+Dev On Wed, Jan 11, 2017 at 12:49 AM, Denuwanthi De Silva wrote: > Hi, > > During user-portal implementations for IS, I can see that the POST methods > of all fragments get invoked if you do a POST only in one fragment. > > Ex: > we have base account-settings page. > It