dynamic tabview fist tab = no post request

UI Components for JSF
Post Reply
chsi
Posts: 57
Joined: 01 Sep 2010, 08:08

09 Sep 2010, 10:17

Why for dynamic tabview if i click on the first tab when we are on the second (for example) does not generate a post request ??? The click on the others tabs generate a post but not the first.

I put cache = "false".

Thank's

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

09 Sep 2010, 11:04

It should load it again yes, by the way why do you set cache to false? It will load the contents on every click.

chsi
Posts: 57
Joined: 01 Sep 2010, 08:08

09 Sep 2010, 11:30

i remove cache = false but my problem stays..

I begin on the first tab, i go the second for finally return to the first without never validate. I validate the first tab and i'm redirect to the second .. :? I don't understand because i don't manage the active index .

Actually when i click on the second ( a request is generate) and when i'm back to the first ( no request is generate) , thus when i fired an action on first tab (this action return null) i refresh the same page (last request) and i'm found to the second tab in place of the first.

chsi
Posts: 57
Joined: 01 Sep 2010, 08:08

09 Sep 2010, 11:50

I have this problem when i use the attribute process in p:commandButton.

chsi
Posts: 57
Joined: 01 Sep 2010, 08:08

09 Sep 2010, 12:14

I confirm..
Actually i use process attribute to do partial processing, but the behavior of index tab is different with this attribute...

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 51 guests