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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Web and WebWorks Development

Reply
Trusted Contributor
Deepu_George_Jacob
Posts: 182
Registered: ‎12-13-2011
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

Please use plain text.
Developer
rorybarnes
Posts: 214
Registered: ‎01-07-2011
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
Please use plain text.
Trusted Contributor
Deepu_George_Jacob
Posts: 182
Registered: ‎12-13-2011
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

Please use plain text.
Developer
nunodonato
Posts: 313
Registered: ‎03-28-2012
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
theBBthing.wordpress.com - my BlackBerry development blog: news, tips and tutorials
bitoutsidethebox.com - re-imagining digital solutions


Please use plain text.