PDA

View Full Version : Hamburger Menu and Edit Record don't work for WebApp



gcjm
2020-04-07, 08:04
There is an app for the web with 10 pages.
The third page ("persons") is a TabView with 2 canvas sections and 1 form section.
Suddenly (no idea what change that caused) the Hamburger menu (a) and the "Edit Record" (pencil) (b) no longer work on this page.

(a) You can get to all pages, but if you are on the third page ("persons"), then you can not get to any other side.
(b) When I click "Edit Record" there appears no "Save Changes" symbol.

Where could I look for this error?

Thank you
Georg

yvonne.milne
2020-04-07, 09:20
Hi Georg,

Ctrl + Shift + i

Will open the browser developer tools. Check the Console and Network (may need to redo an operation for Network to log) tabs.

Regards,

Yvonne

gcjm
2020-04-07, 09:56
Thank you, Yvonne,

this helped, many thanks!

An js function for the TabView Section was missing.
This happened because I was looking for an event to fill an EditBox in one of the canvas sections once with a constant value (many lines) when the page was started.

What kind of event (and where) do I use best for? (WebApp)

Keep healthy!
Georg

yvonne.milne
2020-04-07, 10:09
Hi Georg,

You can use the Page ready event delegate if you want something to happen once when the App is loaded.

Event Delegate Sequences: Open Web/Mobile App (https://www.lianja.com/doc/index.php/Event_Delegate_Sequences#Web.2FMobile_App)

You can use the Page activate event delegate if you want something to happen every time the Page is selected.

Event Delegate Sequences: Navigating between Pages for Web/Mobile App. (https://www.lianja.com/doc/index.php/Event_Delegate_Sequences#Web.2FMobile_App_3)

All Event Sequences (https://www.lianja.com/doc/index.php/Event_Delegate_Sequences)

Regards,

Yvonne