i have application 2 pages. enter values 1st page hit enter button , validation error occurs. instead of fixing validation errors go next page , make valid entry , hit entry getting error messages first page. how handle this? if set clearcacheonrollback true appmodule, happening? once clear when cache repopulated?
we using unbounded taskflows. have 2 master pages 1 creating different regions in country, second create different govt schools these separate jsf pages.
this expected behaviour because both pages sharing same application module instance.
if using pages (not fragments), have place each page in different isolated task flows . each isolated task flow have own application module instance - therefore own cache. can excellent explanation of how task flow transactions here.
if using fragments (and ui shell, example), additionally above, might need add exceptionmode="immediate" attribute "bc4jdatacontrol" tags inside databindings.cpx file.
setting clearcacheonrollback="true" relevant when rolling transaction. in practice, reason i've seen flag being used produce "rollback , preserve current row behaviour"
Comments
Post a Comment