B4J Question [ABMaterial] Strange problem running on VPS Server (table)

MichalK73

Well-Known Member
Licensed User
Longtime User
Hello.

I have quite a strange problem.Writes apps in ABMaterial.On one of the pages I have used the tables and handled it in the form of sorting and selecting a row in the table.Locally on the computer works in debug and release.How do I upload to VPS server these features stop working.Web structure suitable for version.

Add in Build_Page.
B4X:
    page.NeedsTable=True
    page.NeedsTabs=True
    page.NeedsCombo=True
    page.NeedsDateTimeScroller=True


What could be the reason?
 

stanmiller

Active Member
Licensed User
Longtime User
Hello.

I have quite a strange problem.Writes apps in ABMaterial.On one of the pages I have used the tables and handled it in the form of sorting and selecting a row in the table.Locally on the computer works in debug and release.How do I upload to VPS server these features stop working.Web structure suitable for version.

Add in Build_Page.
B4X:
    page.NeedsTable=True
    page.NeedsTabs=True
    page.NeedsCombo=True
    page.NeedsDateTimeScroller=True


What could be the reason?

As you develop the project, ABMaterial will automatically create a "needs" file in the Objects folder with each launch of the app.

You need both the .NEEDS and .JAR in the same folder on the VPS. Otherwise you will have to manually specify the "needs" in code as in the snippet above.

1_abm_needs_file_zpstgnig099.jpg
 
Last edited:
Upvote 0

MichalK73

Well-Known Member
Licensed User
Longtime User
Oh yes, it works!
I did not know about it. In the past, enough entries were 'needs' in build_page, but at the table I did not work. And man is fresher now :)

Very THX
 
Upvote 0
Top