PDA

View Full Version : Sample Login App on Architech



debe78
1 Mar 2017, 7:09 AM
Hi,


How is possible to implement the Sample Login App explained on the tutorial when application launch method in Architect is locked relatively to the part of creating the initial view?




Ext.create({ xtype: loggedIn ? 'app-main' : 'login' });


It's not possible on Application.launch() function modify the call at Ext.create

petr.vecera
1 Mar 2017, 7:31 AM
Hello

The App launch is not locked completely.

# Right Click on the panel which is marked as initial view
# Select unmark as initial view

55972

# Select the Application node
# Find the launch function in the config panel, click add

55973

# Select the launch function

55974

I hope this is the answer you are looking for.

Regards
Petr

debe78
1 Mar 2017, 8:26 AM
Totally right. Thank you very much