I am unable to get the customizations to a theme to load the first time the application is invoked. Please help! Each time the application is launched for a new Session, no theme customizations show. If the application is restarted via ?restartApplication, the customizations go away. Once the application has been launched and then the page refreshed - the customizations show. I have been banging my head against this for what seems like weeks and nothing seems to make sense.
Is there anyone who can assist me here? Is it a bad idea to try to change the theme for the touchkit add-on? Again, theme customizations work - but NEVER on the initial application launch. I have followed the themeing instructions time and time again to no avail and have set up new projects as tests and now I am hoping against all hope that someone here can answer. My company has bought licenses for touchkit and we are seriously considering trashing the project and moving to dedicated iOS development due to theme and navigation issues. We would prefer to develop in Java, but this minor roadblock has become a source of frustration and pain and is a serious delay to our project.
Here is what we have done:
Created a new theme inheriting from the …/base/styles.css
We are using the TouchKitApplicationServlet.
We call setTheme(“our-theme”) immediately upon application launch.
We are using AppFoundation, FormBinder, and MultiButton addons in addition to TouchKit.