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
Developer
ryanmc
Posts: 71
Registered: ‎02-04-2011
My Device: Blackberry Bold & Pearl

Playbook - QueryString Variables problem

Hey Guys,

 

The Query Vars seem to be causing problems in the Playbook browser (0.9.3).

 

If I have something like this <a href='/test.html'>test</a> the page navigates fine.

If I have something like this <a href='/test.html?test=test'>test</a> the app gets the following error:

 

 

Error

A network error occured

* Please try again later.

 

Also, is it possible for us to trap this error and do something else when it occurs? I know if I did everything async then I wouldn't have any problems but its too late to do that now.

 

Cheers

 

- Ryan

Developer
ryanmc
Posts: 71
Registered: ‎02-04-2011
My Device: Blackberry Bold & Pearl

Re: Playbook - QueryString Variables problem

I ended up putting event handlers on each of the links to split the query vars off of the links and put them into the localstore and retreiving from the local store at the other end.

 

Calling it a hack is an understatement.

Retired
tneil
Posts: 3,708
Registered: ‎10-16-2008
My Device: Z10
My Carrier: Rogers

Re: Playbook - QueryString Variables problem

This is a known issue outlined in the Known Issue List for Beta.  It has been corrected for the upcoming production RTM build.

Tim Neil
Director, Application Platform & Tools Product Management
Follow me on Twitter