Skip to Content.
Sympa Menu

comanage-dev - Re: [comanage-dev] Re: [JIRA] Commented: (CO-220) CO selector

Subject: COmanage Developers List

List archive

Re: [comanage-dev] Re: [JIRA] Commented: (CO-220) CO selector


Chronological Thread 
  • From: Marie Huynh <>
  • To: Benn Oshrin <>
  • Cc: comanage-dev <>
  • Subject: Re: [comanage-dev] Re: [JIRA] Commented: (CO-220) CO selector
  • Date: Wed, 15 Feb 2012 16:46:37 -0800

I think Heather dropped off the call before this. As we discussed,
this ticket now needs to be split into 2:
1) a dropdown CO selector that reloads the page with the proper menu
links and url (for proper bookmarking)
2) persistence of a selected CO
- Should this selection be retained when navigating to a page that
is not part of a model that requires a CO (and therefore does not have
it as part of the URL to be passed on)?
- How should this be implemented if not as a session var? (For
note, we're already using things like $session->read('Auth.User.name')
and $this->Session->read('Auth.User.cos').)

It looks like I will have to change a few things to make #1 work
without #2 so I will strip #2 out rather than plan on committing it
with #2 commented out. Since #2 may not be a desirable feature, it is
now in this ticket for whenever we decide to revisit the idea:
https://bugs.internet2.edu/jira/browse/CO-247

On Fri, Feb 3, 2012 at 7:57 PM, Benn Oshrin
<>
wrote:
> Yeah, let's leave for now and revisit after the code is merged together.
>
>
> On 2/3/12 6:11 PM, Marie Huynh wrote:
>>
>> Hey Benn,
>>
>> I got the dropdown in the menu to work except for the dropdown CO
>> selector page, which still requires you to select via its dropdown.  I
>> used a combination of javascript to reload a page when the CO is
>> changed via the dropdown, and $this->Session->write in the
>> app_controller to hold onto it when browsing through the site. I don't
>> know how the dropdown page works or if it's being changed in the
>> update.  Should I leave that as is for now?
>>
>> On Wed, Feb 1, 2012 at 3:25 PM, Marie Huynh (JIRA)
>> <>
>>  wrote:
>>>
>>>
>>>    [
>>> https://bugs.internet2.edu/jira/browse/CO-220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16292#comment-16292
>>> ]
>>>
>>> Marie Huynh commented on CO-220:
>>> --------------------------------
>>>
>>> http://www.justkez.com/understanding-cakephp-sessions/
>>>
>>>> CO selector
>>>> -----------
>>>>
>>>>                 Key: CO-220
>>>>                 URL: https://bugs.internet2.edu/jira/browse/CO-220
>>>>             Project: COmanage
>>>>          Issue Type: Sub-task
>>>>          Components: Registry
>>>>    Affects Versions: COmanage Registry 0.3 (Basic Shape)
>>>>            Reporter: Marie Huynh
>>>>            Assignee: Marie Huynh
>>>>              Labels: sprint03
>>>>
>>>> The dropdown menu on top of the page should be used for selecting a CO.
>>>>  How will this be implemented so that it is remembered?  One option is:
>>>> $this ->  Session ->  write("currentCO", "LIGO");  // Or co id
>>>
>>>
>>> --
>>> This message is automatically generated by JIRA.
>>> For more information on JIRA, see: http://www.atlassian.com/software/jira
>>>
>>>
>



Archive powered by MHonArc 2.6.16.

Top of Page