Corinne
Posts: 0
Joined: Thu Sep 19, 2013 2:43 pm

Adding a screen to Appery Eclipse project

I Exported Appery project as Eclipse Project(1).

Say I add a basic popup screen without any other resources to the Appery project and export another Eclipse Project(2)

To get the added popup content from Eclipse Project(2) to Eclipse Project(1).

Could you tell me what I need to add/edit ?

Obviously I add the popup.js, popup.html,popup.css
Maybe over-write the appery.js ?

Or is there too many potential issues.

Thanks again!

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Adding a screen to Appery Eclipse project

Hi, you don't need to rewrite, but on all pages in JS files all screens are listed. For example:
preAppery.AppPages = [{
"name": "FacebookLogin",
"location": "FacebookLogin.html"
}, {
"name": "profile",
"location": "profile.html"
}, {
"name": "startScreen",
"location": "startScreen.html"
}]; /pre

If you add the page you have to add for all pages in JS file corresponding object to array.

Corinne
Posts: 0
Joined: Thu Sep 19, 2013 2:43 pm

Adding a screen to Appery Eclipse project

Really?
So All I have to do is add my popup js, html, css
And push mypopup name, location to all other popup screens...
Is it really that easy??

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Adding a screen to Appery Eclipse project

Hi Corinne,

I hope so. Let's try :)

Corinne
Posts: 0
Joined: Thu Sep 19, 2013 2:43 pm

Adding a screen to Appery Eclipse project

IT WORKED!!!
Thank you soooooo much.

I did exactly as Marina Said. Adding my popups name location pairs to the Array on all other existing pages...

Did lots of App stress testing and all is well
THIS IS AWESOME !!!

Return to “Issues”