[Building Sakai] Reload Top Navigation Menu

Nguni Phakela nguni52 at gmail.com
Wed Oct 30 05:56:00 PDT 2013


Hi Adrian,

Thanks, That worked perfectly!

Cheers,
Nguni

--
Nguni Phakela


On Wed, Oct 30, 2013 at 11:37 AM, Adrian Fish <adrian.r.fish at gmail.com>wrote:

> Ah, right. How about this?
>
>
> http://stackoverflow.com/questions/954454/how-to-reload-main-page-from-within-an-iframe
>
> window.top.location.reload(). You could call that from within your ui code.
>
> Cheers,
> Adrian.
>
>
> On 30 October 2013 07:58, Nguni Phakela <nguni52 at gmail.com> wrote:
>
>> Hi Adrian,
>>
>> Perhaps I didn't explain myself clearly. Programmatically, after I make
>> changes in a module and go to the next page, how would I go about
>> programmatically reloading the whole page, like pressing F5? I make changes
>> to the top menu, from within a customized tool, and would like to not
>> reload the tool frame, but the whole window.
>>
>> Cheers,
>> Nguni
>>
>> --
>> Nguni Phakela
>>
>>
>> On Tue, Oct 29, 2013 at 3:46 PM, Adrian Fish <adrian.r.fish at gmail.com>wrote:
>>
>>> I should elaborate a little. You can directly change the vms in the
>>> webapps themselves. Sometimes the portal servlet, SkinnableCharon or
>>> whatever, will pick up the vm changes without a reload, but you often have
>>> to restart the webapp in the manager. Otherwise, a mvn -o clean install
>>> sakai:deploy in the portal project will deploy all the changes to code in
>>> vms, js or java.
>>>
>>> Cheers again,
>>> Adrian.
>>>
>>>
>>> On 29 October 2013 13:43, Adrian Fish <adrian.r.fish at gmail.com> wrote:
>>>
>>>> Hi Nguni.
>>>>
>>>> In the tomcat manager, stop and start the portal webapp. That'll pick
>>>> up vm and java changes.
>>>>
>>>> Cheers,
>>>> Adrian.
>>>>
>>>>
>>>> On 29 October 2013 12:48, Nguni Phakela <nguni52 at gmail.com> wrote:
>>>>
>>>>> Hi All,
>>>>>
>>>>> It's probably a very simple thing to do, but how does one reload top
>>>>> menu after making changes? I'm implementing a custom feature that hides
>>>>> courses that appear at the top, but would like to refresh right away after
>>>>> changing.
>>>>>
>>>>> Regards,
>>>>> --
>>>>> Nguni Phakela
>>>>>
>>>>> _______________________________________________
>>>>> sakai-dev mailing list
>>>>> sakai-dev at collab.sakaiproject.org
>>>>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>>>>
>>>>> TO UNSUBSCRIBE: send email to
>>>>> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
>>>>> "unsubscribe"
>>>>>
>>>>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20131030/3a93424f/attachment.html 


More information about the sakai-dev mailing list