tabView bug when selected and refresh page

UI Components for JSF
Post Reply
darkrv
Posts: 34
Joined: 01 Aug 2011, 21:02

07 Oct 2011, 03:33

When u select a tab and u refresh the page (F5) u cant' choose the same tab again.

i found a solution, u need to reset the tab view at loading page with for example:

$(document).ready(function() {
tabView.select(0);
});

ltune
Posts: 125
Joined: 20 Jul 2011, 20:25
Contact:

07 Oct 2011, 04:04

darkrv wrote:select a tab and u refresh the page (F5) u cant' choose the same tab again.
Thought of Firefox 5 for linux here;), OK, i think the problem is page reload will lead you to the default tabview`s tab. (default is 0). So, if you want to remember the tabs position you can work with ajax calls to update parts of your page and not issue a complete page reload (what happens with actions with ajax="false"). :idea:

I also noticed some strange behaviour when using effects and effect speed. On Primefaces 3.0.M3 content of tabs disappear. Not sure if this is fault of "lazy" and "cache" options. :|


Greets.

Adam
Busy applying primefaces patches to my local repo at /dev/null

darkrv
Posts: 34
Joined: 01 Aug 2011, 21:02

07 Oct 2011, 21:58

Yeah but i need to let the users refresh the data (F5) so i need to reload everything, i think the tabview must reset on a reload.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 29 guests