Export to GitHub

struts2-jquery - issue #798

Named cookies for sj:tabbedpanel useSelectedTabCookie


Posted on Mar 25, 2012 by Helpful Wombat

(This is for feature requests and bugs in Struts2 jQuery Plugin - for getting help, please use the User Group. http://groups.google.com/group/struts2-jquery )

What steps will reproduce the problem? 1.Make an application which uses two implementations of the sj:tabbedpanel, both using useSelectedTabCookie="true" 2.You will see that the same cookie is used for all sj:tabbedpanel implementations.

What is the expected output? What do you see instead? I would like to be able to have each work independently

Which struts2 version? 2.2.3.1

Which struts2-jquery plugin version? 3.2.0

Please provide any additional information below.

Comment #1

Posted on Mar 28, 2012 by Swift Lion

should be easy to fix, solution is the name attribute:

    cookie: {
        name: 'tab_cookie'
    }

Comment #2

Posted on Mar 29, 2012 by Swift Lion

Can you please try if current SNAPSHOT solves your problems?

http://code.google.com/p/struts2-jquery/source/detail?r=1633

Comment #3

Posted on May 8, 2012 by Swift Lion

(No comment was entered for this change.)

Status: Fixed

Labels:
Type-Defect Priority-Medium Component-Plugin Milestone-3.3.1