Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Jun 2009

    change RightSoftkeyLabel when html page changed


    I want to change RightSoftkeyLabel when load a new html page.

    i am using
    window.menu.setRightSoftkeyLabel("Back", returnToMainView);
    to override the RightSoftkeyLabel but it is not working.

    plz help me

    thanks in advance


  2. #2
    Regular Contributor
    Join Date
    Apr 2003
    Akron Ohio USA

    Re: change RightSoftkeyLabel when html page changed

    Its been my experience that when you load a new html page into a WRT application, the WRT environment disables proprietary apis like the widget api. So, you will not be able to use the softkey after loading a new HTML file. These apis are only available to the startup HTML file specified in the configuration file.

    A work around is to load html fragment into the body tag of the startup html file, using Javascript and AJAX response.text.

Similar Threads

  1. Notification for change in battery level
    By venunet in forum Symbian
    Replies: 4
    Last Post: 2009-05-21, 08:43
  2. Change page in dialog programically
    By VigenIssahhanjan in forum Symbian User Interface
    Replies: 1
    Last Post: 2005-07-19, 07:53
  3. Replies: 0
    Last Post: 2005-02-17, 06:15

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts