NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: ccordes on December 01, 2011, 01:07:25 PM

Title: NT 6 - popup problems
Post by: ccordes on December 01, 2011, 01:07:25 PM
This is a drift from the lookup thread.
I ran into some issues with popups in NT 6.05. Mine don't popup.
I set the lookup button to not use the popup and the browse displayed, but didn't return the selected item.

I used Example 2 to do some tests. Here is what I've found out so far -
Calling the form from a browse -
if the form is a popup and the lookup is a popup, everything works as expected.
if the form is a  popup and the lookup isn't, the lookup works, but the form "UNPOPS" when the lookup returns.
if the form isn't a popup, and the lookup is a popup, the lookup is not displayed.
if the form isn't a popup, and the lookup isn't a popup, the lookup is displayed, value is returned but couldn't cancel. (That might unrelated)
Since it seemed to work when both are set as popups, I set the global popup setting to Yes. This caused the menus to not work.:(

I have another test not included in the sample where the update form is called from an Other button on the browse. This would not display the update form as a popup. That form display if not requested as a popup BUT then the look up buttons don't work.

Does anyone see a pattern here?

Chris C

Modified - added example.

[attachment deleted by admin]
Title: Re: NT 6 - popup problems
Post by: Bruce on December 01, 2011, 09:56:20 PM
>> if the form is a  popup and the lookup isn't, the lookup works, but the form "UNPOPS" when the lookup returns.

correct, once you're on a popup you can't go to a page and then return to a popup. Or put more simply, once you're on a popup, you have to popup everything else downstream.

Title: Re: NT 6 - popup problems
Post by: Bruce on December 01, 2011, 11:48:06 PM
>> if the form isn't a popup, and the lookup isn't a popup, the lookup is displayed, value is returned but couldn't cancel. (That might unrelated)

testing your example out-the-box, this appears to be the way you left it, but I'm able to cancel the lookup ok.
One thing I did notice was that on opening the app it dropped the csNTMultiSSV template - have you tried the example without this template?
Title: Re: NT 6 - popup problems
Post by: Bruce on December 01, 2011, 11:51:46 PM
>> if the form isn't a popup, and the lookup is a popup, the lookup is not displayed.

duplicated!
fixed in 6.07
Title: Re: NT 6 - popup problems
Post by: Bruce on December 02, 2011, 12:21:38 AM
>> I have another test not included in the sample where the update form is called from an Other button on the browse. This would not display the update form as a popup.

correct. "Other" buttons calling popups is not supported yet.

cheers
Bruce
Title: Re: NT 6 - popup problems
Post by: ccordes on December 02, 2011, 06:18:40 AM
Didn't realize I had included that template - csNTMultiSSV just saves preserved global values to session values. I use a dictionary field option "hold" to preserve globals.
I tried it again and now it is working. Maybe I had the conditions written down incorrectly.

Thanks for the fixes! Can't wait to try them.

Chris