B4J Question Websocket target

TomDuncan

Active Member
Licensed User
Longtime User
Hi all,
I am building a websocket based server at the moment.
All pages are designed and saved into a sqlite database which will serve my website.
Still in design stage but it is getting there.
Full software will be available to all when I get it ready.

The problem I have (have many but this one at the moment) is how to trigger a page change.
I have a menu items which I have given an id (for the page to go to)
The Target subroutine gives me the id, that bit is fine.
How do I then load the required page dynamically?
At the moment when the websocket routine is loaded it loads all values by doing a sql query for page 1.
What I waant to do is set this to page X and load it.
Hope this makes sense.
Tom
 

TomDuncan

Active Member
Licensed User
Longtime User
Well Still working on menu bits, but the site is going.
The Designer has still lots of work to do but it is getting there.
Anyway here it is so far.
http://ctd.noip.me/
Running from a machine at home and using noip.
Speed might be a bit slow since my upload speed is not great, but seems OK at the moment.

Tom
 
Upvote 0

TomDuncan

Active Member
Licensed User
Longtime User
Thanks will have a look at static for display and websockets from designer to the server.
So would it be better for my designer to create each page, then use the server to handle the pre built pages.

Tom
 
Last edited:
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…