Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
New Contributor
Posts: 2
Registered: ‎03-08-2010
My Device: Not Specified
My Carrier: India

Blackberry Widgest With Blackberry OS 7

 

 

with in widgest application of blackberry i first display loginpage after that success of login page i display my home page but all other blackberry os work fine with the statement as follow but in blackberry os 7 next page is not draw

 

window.location.href = 'homepage.htm';

not working in Blackberry

what is replace command of window.location in blackberry os 7

Satish Kayada
Softwere Developer (Blackberry)
Shree Ramkrishna Export
Retired
Posts: 1,382
Registered: ‎07-02-2009
My Device: BlackBerry Bold 9900
My Carrier: Bell

Re: Blackberry Widgest With Blackberry OS 7

Seems like a change in behavior may have been introduced.  However note that the .href method property is not part of any JavaScript standard (http://docs.blackberry.com/en/developers/deliverables/27297/Location_569358_11.jsp).

 

 

Recommend using the following to do a JavaScript redirect:

 

window.location = 'homepage.htm';

 

 

If you feel like this is a critical bug, please enter a defect report using the developer issue tracker: https://www.blackberry.com/jira/secure/Dashboard.jspa

Follow me on Twitter: @n_adam_stanley
-------------------------------------------------------------------------------------------------------------------------
Your app doesn't work? Use BlackBerry remote web inspector to find out why.