I have several custom dialogs I made, A, B, C and D. There are two properties (FOO on dialog A, BAR on dialog B) that if either is true then dialog C should be shown.
I have a published NewDialog event on dialog B with argument DialogC to check for either value, in which case it forwards to dialog C instead of going straight to dialog D: AI_INSTALL AND ((FOO = "truefoovalue") OR (BAR = "truebarvalue"))
The problem is that dialog C is always skipped regardless of FOO or BAR's values. If I add two textboxes to dialog B set to properties FOO and BAR the textboxes correctly reflect the property values. However, if I add a custom script action to the NEXT button on dialog B to display a message box with either/both of the property values the message box always displays an empty string.
I shortened the above names for brevity, but the actual property names are "DATABASESERVERTYPE" and "TOMCATSERVERHOSTTYPE" so they should be public properties freely available to the dialogs.
I'm confused as to why this isn't working, especially since we do the exact same thing in one of our other AI projects which works fine. Any help would be greatly appreciated! This project is in AI 8.2 and is an Enterprise type.
Thanks!
FOLLOW US
Get the latest news in Application Packaging