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
Posts: 235
Registered: ‎12-13-2011
My Device: Curve 9380
My Carrier: Vodafone-IN

Issue in BBUI back and Forth

Hi,

    I am trying to develop an application for BB10 using BBUI version 0.9.5. I am implemented two pages Which is dynamically loaded. The first page contains a list which is loaded dynamically (from xml). I am tap on the list it loaded another page. 

 

Which have Action bar and back button. I tap on that button It shows the page one but unfortunatly it doesnot show the list. 

 

Please help

 

Thanks

Deepu

Developer
Posts: 214
Registered: ‎01-07-2011
My Device: Bold 9900
My Carrier: Rogers

Re: Issue in BBUI back and Forth

could you post some code? Hard to help you if we can't see how your doing things... index.html and the first page would be a good start.

--
Rory (@roryboy)
Click "Accept as Solution" if post solved your original issue. Give like/thumbs up if you feel post is helpful
Highlighted
Developer
Posts: 235
Registered: ‎12-13-2011
My Device: Curve 9380
My Carrier: Vodafone-IN

Re: Issue in BBUI back and Forth

 

 

/////First screen

<div data-bb-type="screen" data-bb-effect="fade" data-bb-scroll-effect="off">



<!--<div data-bb-type="title" style="background-image:url(images/topBar.png);"> </div>-->
<div data-bb-scroll-effect="off" style="position:fixed; z-index:100;"> <img src="images/topBar.png" width="768" height="123" /></div>
<div id="newstitle" style="padding-top:140px;position:fixed; z-index:50;"></div>
<!--************************************List***********************-->
<div data-bb-type="activity-indicator" data-bb-size="large" id="loadingIndecator"></div>
<div id="mainlist" style="padding-top:200px;">
/// Dyanamically populate list her
</div>



<div data-bb-type="action-bar">
//Action bar components which gives urls when user clicked


</div>

 

 

 

//// Second screen

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">

<div data-bb-type="screen" data-bb-effect="fade" data-bb-scroll-effect="off">



<!--<div data-bb-type="title" style="background-image:url(images/topBar.png);"> </div>-->
<div data-bb-scroll-effect="off" style="position:fixed; z-index:100;"> <img src="images/topBar.png" width="768" height="123" /></div>



<div data-bb-type="action-bar" data-bb-back-caption="Back" ></div>
</div>

 

////

 

Please help me

Developer
Posts: 314
Registered: ‎03-28-2012
My Device: Curve 9360, Playbook, BB10 Dev Alpha
My Carrier: TMN

Re: Issue in BBUI back and Forth

the HTML doesn't matter so much, show us where are you populating the list.

probably you are doing it when your app starts, but you need to call that function everytime the screen loads, either on the ondomready or on the onscreenready calls of bbUI.

Nuno